Bug #5212
closedDescription
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' [...]
Updated by Nicolas PERRON over 10 years ago
"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)
Updated by Nicolas PERRON over 10 years ago
- 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
Updated by Nicolas PERRON over 10 years ago
- 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
PR URL added: https://github.com/Normation/rudder-packages/pull/434
Jon, could you review it please ?
Updated by Nicolas PERRON over 10 years ago
- Status changed from Pending technical review to Pending release
Applied in changeset packages:commit:40970ddba5743d54cb8a2fa4d2888ac28d489486.
Updated by Nicolas PERRON over 10 years ago
Applied in changeset packages:commit:eaa8b7f839951e718b844f1ae4393c7fbe79bc18.
Updated by Vincent MEMBRÉ over 10 years ago
- Status changed from Pending release to Released
This bug has been fixed in Rudder 2.11.0~rc1 (announcement , changelog), which was released today.
- Download information: https://www.rudder-project.org/site/get-rudder/downloads/