Bug#211825: libc6: breaks xdm on libnss_compat upgrade
At Sat, 20 Sep 2003 15:45:12 +0200,
Vincent Zweije wrote:
> Philip:
>
> || On Sat, 2003-09-20 at 14:17, Vincent Zweije wrote:
> || > I suspect xdm needs a restart after the upgrade of libnss_compat.
> || >
> || > A simple "/etc/init.d/xdm restart" is *not* advisable though, as many
> || > (including me) would be thrown out of their root shell in the X session.
> ||
> || Thanks for the report. Do you have any suggestions as to how xdm might
> || be safely restarted?
>
> Difficult.
>
> I think you're looking for a way where you can restart the xdm master
> process, and leave any other active-display-session process running until
> the session is over. Then it should die (not just reset (not sure if it
> normally dies)), and the new master process should start a fresh process
> for the display.
>
> It is conceivable that you can't get any further than give a warning
> that xdm should be restarted manually to prevent killing a user session.
>
> Come to think of it, you may want to check with gdm, kdm, and
> whatever-other-dm if they suffer the same problem.
This problem was already discussed. Our last conclusion is to warn
users about this problem if we detect gdm/kdm/xdm. Look at libc6
preinst and postinst.
However, oops, I've found my fault: I modified postinst in 2.3.2-2 as
follows:
if dpkg --compare-versions $2 lt 2.3.2-2; then
<NSS restarting script>
But I didn't modify preinst:
if dpkg --compare-versions $2 lt 2.2.94-1; then
<NSS restarting script>
It's the problem. I've modified preinst version from 2.2.94-1 to 2.3.2-2.
Thanks for your report!
Regards,
-- gotom
Reply to: