[systemd-devel] "telinit u" works strange and breaks glibc uprades

Colin Guthrie gmane at colin.guthr.ie
Thu Aug 30 02:50:38 PDT 2012


'Twas brillig, and Alexey Shabalin at 30/08/12 10:07 did gyre and gimble:
> Hello.
> We have critival bug when upgading glibc(2.11.3-alt8 -> 2.16-alt1):
> 
> error: execution of %post scriptlet from glibc-core-2.16-alt1 failed, exit
> status 1
> 
> This error from /sbin/glibc_post_upgrade after run "telinit u".
> In dmesg i see:
> 
> [1541516.951306] telinit[28180] general protection ip:7f3f08a328ae
> sp:7fff0776e490 error:0 in libpthread-2.11.3.so[7f3f08a2d000+17000]
> 
> After error in %post i have two packages of glibc-core, and need
> manual uninstall old glibc-core :(
> 
> Can you help me made upgrade glibc without error for  "telinit u".
> 
> PS: i see fedora don't run "telinit u" from /sbin/glibc_post_upgrade since 2008

Hmm, We don't use that script here, but we do call "telinit u" in our
glibc %post.

Seems to work fine for me here on systemd 189. Which version are you
using? If you are using 188 I think there may have been a bug with
daemon-reexec (which is what telinit u does) due to dbus changes. I
didn't look specifically but I presume that is fixed in 189. Could it be
that that's your issue?

Col



-- 

Colin Guthrie
gmane(at)colin.guthr.ie
http://colin.guthr.ie/

Day Job:
  Tribalogic Limited http://www.tribalogic.net/
Open Source:
  Mageia Contributor http://www.mageia.org/
  PulseAudio Hacker http://www.pulseaudio.org/
  Trac Hacker http://trac.edgewall.org/



More information about the systemd-devel mailing list