https://bugzilla.redhat.com/show_bug.cgi?id=857708
Heldwin <heldwin_(a)hotmail.fr> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |heldwin_(a)hotmail.fr
--- Comment #4 from Heldwin <heldwin_(a)hotmail.fr> ---
I am not using F18 (F17), but I am getting the same thing.
So I posted here in case it would be the same source of the problem.
If you prefer I open a new bug for F17, sorry in advance.
It isn't from installation but after updating the package jetty.
During an update, the user jetty is deleted but not recreated.
In the spec file of version: jetty-8.1.2-11.fc17.noarch.rpm, the user is
deleted during the update in the postun section:
%postun
[..]
# Remove the user even during upgrade, it will be added later in %post.
# This is required to force incorrect UID to be replaced with the new one.
userdel %username &>/dev/null || :
groupdel %username &>/dev/null || :
But there is no user creation in %post, there is one in %pre:
%pre
# Add the "jetty" user and group
(getent group %username || groupadd -r -g %jtuid %username) &>/dev/null || :
(getent passwd %username || useradd -r -u %jtuid -g %username -d %homedir \
-M -s /sbin/nologin %username) &>/dev/null || :
%post
if [ $1 -eq 1 ] ; then
# Initial installation
/bin/systemctl daemon-reload >/dev/null 2>&1 || :
fi
After an update, it doesn't seem to execute the %pre section, but will for an
install.
Checked with yum and rpm commands, and both act the same.
--
You are receiving this mail because:
You are on the CC list for the bug.