[SM-Discuss] util-linux, coreutils, shadow ...
ladislav.hagara at unob.cz
Thu Jan 24 20:20:43 EST 2008
-----BEGIN PGP SIGNED MESSAGE-----
if you use test grimoire you have probably found out that I updated
util-linux, coreutils and shadow.
Because there are a lot of changes I write this email to inform/warn you.
It all started by updating stable branch of util-linux to version
In reality it is not an util-linux but an util-linux-ng.
Last util-linux 2.12r is from 2005-09-24 and util-linux-ng was added to
test grimoire on 2007-07-23 (as test branch of util-linux).
Problem of util-linux-ng is that it do not install /bin/kill.
It is not a problem if you use bash shell because bash contains builtin
Our init scripts contains only "kills" without path so builtin kill from
bash is used.
Problem is if you use shell which do not provide builtin kill, so bug
14247 was filed .
During updating coreutils to 6.10 I decided to use kill from coreutils. 
We had not used this kill, we used to patch coreutils to remove it.
Problem of new coreutils is that it no longer installed "su" by default. 
I decided to use "su" from package shadow, so I removed our patch for
removing su from shadow. 
Now it needs testing. First problem I run up against was with /etc/pam.d/su.
After "sorcery system-update" I could not use "su" because /etc/pam.d/su
Originally it was installed by coreutils, now it is installed by shadow.
In install queue the shadow was located (by chance) before coreutils so
shadow installed its pam.d/su and later on coreutils removed it.
I fixed this by  I temporarily added coreutils to DEPENDS of shadow
to prevent removing of pam.d/su.
I am sure other problems will emerge.
Just now I found out that "su" works differently.
If I am login as ordinary user and use "su" there are some problems with
PATH and root (after this su) can not run sorcery commands.
If I run "su -" all works like before.
No idea if this is a bug or feature of su from shadow.
Please, if you have problems with this update, write it to this list so
we can discuss it.
I have no idea if for example selinux suport is not broken.
Some discussion already has come up in sm-commit mailing list. 
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
-----END PGP SIGNATURE-----
More information about the SM-Discuss