On Thu, 27 Nov 2014 12:32:08 +0100 Andreas Henriksson <[email protected]>
wrote:
> Control: tags 771092 + moreinfo
>
> Just adding the passwd dependency would hide the real problem here.
> Someone needs to look into why the migration code is being run
> again and again (as it apparently does on a sparc buildd atleast)!
> This code is going to be dropped in Jessie+1 where it's expected
> that everyone has migrated. If there are cases where migration
> isn't working we need to fix those now.
>
> Regards,
> Andreas Henriksson
>
>
Hi,
The postinst looks like (modulo wrapping):
"""
# upgrade existing libuuid user/group.
if getent group libuuid >/dev/null && ! getent group uuidd >/dev/null ; then
groupmod --new-name uuidd libuuid
fi
if getent passwd libuuid >/dev/null && ! getent passwd uuidd >/dev/null
; then
[...]
fi
"""
In both cases, the condition for the ifs seems to be false. But:
"""
$ getent group libuuid >/dev/null && echo "group libuuid present"; \
getent group uuidd >/dev/null && echo "group uuidd present"
group uuidd present
$ getent group libuuid >/dev/null && ! getent group uuidd >/dev/null
$ getent passwd libuuid >/dev/null ; echo "User libuuid present" ; \
getent passwd uuidd >/dev/null && echo "User uuidd present"
User libuuid present
User uuidd present
$ getent passwd libuuid >/dev/null && ! getent passwd uuidd \
>/dev/null && echo "true"
"""
I "only" have /group/ uuidd, but I have both users present!?
Inside the user migration, there is a remark that usermod will fail if
the process is running. Does that hold for groupmod as well?
~Niels
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]