Bug #5212
closed
Bug #5172: ncf-api does not run as root and cannot use command to read/write promises
Bug #5194: correct permission on /var/rudder/configuration-repository so ncf-builder can write/delete techniques
The group 'rudder' can't be added on SLES or RHEL during installation of rudder-webapp
Added by Nicolas PERRON over 10 years ago.
Updated about 8 years ago.
Description
During installation of rudder-webapp on SuSE, the postinst script will fail as the group 'rudder' can't be added. The reason is that addgroup does not exist and usermod does not have option "-a":
[...]
Installing: rudder-webapp-1398866025:2.11.0.beta3.git201407030326-1.SLES.11 [...........................................done]
Additional rpm output:
[...]
INFO: Creating group rudder.../var/tmp/rpm-tmp.17571: line 37: addgroup: command not found
Done
INFO: Adding ncf-api-venv to the rudder group...usermod: invalid option -- 'a'
Try `usermod --help' or `usermod --usage' for more information.
Done
chgrp: invalid group: `rudder'
[...]
"addgroup --system" equivalent is "groupadd --system" (generic)
"usermod -a -G" equivalent is "usermod -A" (specific to SuSE)
The same problem exist for "delgroup" which does not exist on SuSE.
"delgroup" equivalent is "groupdel" (generic)
- Subject changed from The group 'rudder' can't be added on SLES SP1 during installation of rudder-webapp to The group 'rudder' can't be added on SLES or RHEL during installation of rudder-webapp
The binaries don't exist on RHEL too
- Status changed from New to Pending technical review
- Assignee set to Jonathan CLARKE
- Priority changed from N/A to 1 (highest)
- Target version set to 2.11.0~rc1
- % Done changed from 0 to 100
- Pull Request set to https://github.com/Normation/rudder-packages/pull/434
- Status changed from Pending technical review to Pending release
Applied in changeset packages:commit:40970ddba5743d54cb8a2fa4d2888ac28d489486.
Applied in changeset packages:commit:eaa8b7f839951e718b844f1ae4393c7fbe79bc18.
- Status changed from Pending release to Released
Also available in: Atom
PDF