View Issue Details

IDProjectCategoryView StatusLast Update
0000135My infrastructureGeneralpublic2024-07-01 21:53
Reporterdvl Assigned Todvl  
PrioritynormalSeverityminorReproducibilityhave not tried
Status assignedResolutionopen 
Summary0000135: move directory creation from packages to ansible scripts
DescriptionInstead of relying on pkg-plist, let Ansible scripts do the creation of these directories.

From freshports-scripts-git/pkg-plist:

Use a leading 0 on those.

@dir(www,freshports,755) %%FP_DATADIR%%/cache
@dir(freshports,freshports,755) %%FP_DATADIR%%/cache/html
@dir(www,freshports,775) %%FP_DATADIR%%/cache/spooling
@dir(freshports,freshports,755) %%FP_DATADIR%%/mail
@dir(freshports,freshports,755) %%FP_DATADIR%%/ports-jail
@dir(freshports,freshports,755) %%FP_DATADIR%%/ports-jail/var
@dir(freshports,freshports,755) %%FP_DATADIR%%/ports-jail/var/db
@dir(freshports,freshports,755) %%FP_DATADIR%%/ports-jail/var/db/repos
@dir(freshports,freshports,755) %%FP_DATADIR%%/message-queues
@dir(freshports,freshports,755) %%FP_DATADIR%%/message-queues/archive
@dir(freshports,freshports,755) %%FP_DATADIR%%/message-queues/recent - this one should be 775
@dir(freshports,freshports,755) %%FP_DATADIR%%/message-queues/retry
@dir(freshports,freshports,755) %%FP_DATADIR%%/signals
@dir(freshports,freshports,755) %%FP_DATADIR%%/tmp
TagsNo tags attached.

Activities

dvl

2021-01-03 14:48

manager   ~0000132

Once completed, the directory code can be removed from /usr/local/etc/rc.d/freshports

dvl

2021-01-03 19:24

manager   ~0000133

added a bunch to roles/freshports-configuration-ingress/tasks/main.yml

dvl

2021-01-26 15:19

manager   ~0000134

The permissions and directory creations have been removed from these ports:

* dvl/freshports-www
* dvl/freshports-www-git

Issue History

Date Modified Username Field Change
2021-01-03 14:20 dvl New Issue
2021-01-03 14:48 dvl Note Added: 0000132
2021-01-03 19:24 dvl Note Added: 0000133
2021-01-26 15:19 dvl Note Added: 0000134
2024-07-01 21:53 dvl Status new => assigned
2024-07-01 21:53 dvl Assigned To => dvl