Project

Profile

Help

Issue #7443

Updated by ipanova@redhat.com about 4 years ago

Some steps are skipped because user apache cannot be found and added to the pulp group https://github.com/pulp/pulp_installer/blob/master/roles/pulp_common/tasks/install.yml#L107-L133 

 ``` 
 TASK [pulp_common : Find the nologin executable] ******************************* 
 ok: [pulp2-nightly-pulp3-source-centos7] 

 TASK [pulp_common : Make sure pulp group exists] ******************************* 
 ok: [pulp2-nightly-pulp3-source-centos7] 

 TASK [pulp_common : Create user vagrant] *************************************** 
 skipping: [pulp2-nightly-pulp3-source-centos7] 

 TASK [pulp_common : Add user vagrant to extra groups] ************************** 
 skipping: [pulp2-nightly-pulp3-source-centos7] 

 TASK [pulp_common : Add user vagrant to pulp group] **************************** 
 changed: [pulp2-nightly-pulp3-source-centos7] 

 TASK [pulp_common : Make sure /var/lib/pulp is world executable, and exists] *** 
 changed: [pulp2-nightly-pulp3-source-centos7] 

 TASK [pulp_common : Create cache dir for Pulp] ********************************* 
 changed: [pulp2-nightly-pulp3-source-centos7] 

 TASK [pulp_common : Check if we have Pulp 2 installed] ************************* 
 ok: [pulp2-nightly-pulp3-source-centos7] 

 TASK [pulp_common : Add user 'apache' to 'pulp' group if it exists] ************ 
 skipping: [pulp2-nightly-pulp3-source-centos7] 

 TASK [pulp_common : Set permissions on '/var/lib/pulp' if pulp2 is installed] *** 
 skipping: [pulp2-nightly-pulp3-source-centos7] 

 TASK [pulp_common : Find subdirs without setgid] ******************************* 
 skipping: [pulp2-nightly-pulp3-source-centos7] 

 TASK [pulp_common : Set setgid on the /var/lib/pulp subdirs] ******************* 
 skipping: [pulp2-nightly-pulp3-source-centos7] 
 ``` 

 After install finishes 

 ``` 
 $ ll /var//lib/pulp 
 total 8 
 -rw-r--r--. 1 apache    apache       2 Sep    1 19:18 0005_puppet_module_name_change.txt 
 drwxrwxr-x. 7 vagrant vagrant    103 Sep    1 19:30 assets 
 -rw-r--r--. 1 root      root         0 Sep    1 19:18 db_initialized.flag 
 drwxrwxr-x. 7 apache    pulp        73 Sep    1 19:18 published 
 drwxr-xr-x. 3 vagrant pulp        25 Sep    1 19:25 pulpcore_static 
 drwxrwxr-x. 2 apache    pulp        25 Sep    1 19:18 static 
 drwxrwxr-x. 7 vagrant pulp      4096 Sep    1 19:24 tmp 
 drwxrwxr-x. 2 apache    pulp         6 Jul 13 15:40 uploads 
 ``` 

 There is not /var/lib/pulp/content because this is a fresh inststall. I have created and synced a pulp2 repo. 
 Directly is created however it does not belond to the pulp group, in attidion the sticky bit is missing and there is not write permission for the group. 
 ``` 

 $ ll /var//lib/pulp 
 total 8 
 -rw-r--r--. 1 apache    apache       2 Sep    1 19:18 0005_puppet_module_name_change.txt 
 drwxrwxr-x. 7 vagrant vagrant    103 Sep    1 19:30 assets 
 drwxr-xr-x. 3 apache    apache      19 Sep    2 07:32 content 
 -rw-r--r--. 1 root      root         0 Sep    1 19:18 db_initialized.flag 
 drwxrwxr-x. 7 apache    pulp        73 Sep    1 19:18 published 
 drwxr-xr-x. 3 vagrant pulp        25 Sep    1 19:25 pulpcore_static 
 drwxrwxr-x. 2 apache    pulp        25 Sep    1 19:18 static 
 drwxrwxr-x. 7 vagrant pulp      4096 Sep    1 19:24 tmp 
 drwxrwxr-x. 2 apache    pulp         6 Jul 13 15:40 uploads 

 ```

Back