Issue #2129 has been updated by volcane.
The full bit of code is:
<pre>
%pre
getent group puppet >/dev/null || groupadd -r puppet -g 52
getent passwd puppet >/dev/null || \
useradd -r -u 52 -g puppet -d %{_localstatedir}/lib/puppet -s /sbin/nologin \
useradd -r -g puppet -d %{_localstatedir}/lib/puppet -s /sbin/nologin \
-c "Puppet" puppet || :
</pre>
it seems someone made some changes to the file and did a copy/paste mistake.
in the above I'd say the 2nd 'useradd....' line must just be deleted.
The effect of this is that new installs do not get the puppet user added, so
logrotates fail etc, existing isntalls that were upgraded to packages with this
mistake will work fine,
----------------------------------------
Bug #2129: RedHat spec file has typo on the useradd lines
http://projects.reductivelabs.com/issues/2129
Author: jenza
Status: Unreviewed
Priority: Normal
Assigned to:
Category:
Target version:
Complexity: Trivial
Affected version: 0.24.8
Keywords:
The current conf/redhat/puppet.spec has a line typo in it which breaks on new
installs.
<pre>
useradd -r -u 52 -g puppet -d %{_localstatedir}/lib/puppet -s /sbin/nologin \
useradd -r -g puppet -d %{_localstatedir}/lib/puppet -s /sbin/nologin \
-c "Puppet" puppet || :
</pre>
This throws an error when an install attempts to create the puppet user.
----------------------------------------
You have received this notification because you have either subscribed to it,
or are involved in it.
To change your notification preferences, please click here:
http://reductivelabs.com/redmine/my/account
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Puppet Bugs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/puppet-bugs?hl=en
-~----------~----~----~----~------~----~------~--~---