On Sun, May 09, 2010 at 11:39:14AM +0300, Elan Ruusamäe wrote: > On Friday 07 May 2010 16:33:21 Jacek Konieczny wrote: > > Hello, > > > > Your volunteer has done his job :) > > seems there's some deadlock with initctl emiting
Isn't that another result of https://bugs.launchpad.net/upstart/+bug/406397 > also seems the "nice service name" is lost there (see sshd part). How is that supposed to work and where is that 'sshd part'? > also seems there's no our typical restart service after package upgrade, > if you've upgrading upstart-enabled service. > %define upstart_post() \ > if [ -f /var/lock/subsys/"%1" ] ; then \ > /sbin/service --no-upstart "%1" stop \ > /sbin/service "%1" start \ > fi The service will be restarted after main package upgrade. Though we have the real problem of -upstart subpackage here: the restart should probably be done when both main and -upstart packages are upgraded. > anyway, ps of stall: > root 25974 0.4 0.5 15596 6064 pts/3 S+ 11:23 0:00 \_ > poldek -u upstart --up --sn carme openssh-server-upstart syslog-ng-upstart > root 27078 0.4 0.5 12516 5804 pts/3 S+ 11:24 0:00 > \_ > rpm --upgrade -vh --root / > /var/cache/poldek/http_carme.pld-linux.org..glen.th.i686/syslog-ng-3.0.5-2.1.i > root 27181 0.0 0.0 1872 584 pts/3 S+ 11:24 0:00 > \_ /bin/sh /home/users/glen/tmp/rpm-tmp.59975 2 > root 27184 0.0 0.0 1872 604 pts/3 S+ 11:24 0:00 > \_ /bin/sh /sbin/service syslog-ng restart > root 27187 0.0 0.0 2000 808 pts/3 S+ 11:24 0:00 > \_ /bin/sh /etc/rc.d/init.d/syslog-ng restart > root 27321 0.0 0.0 5716 972 pts/3 S+ 11:24 0:00 > \_ /sbin/initctl emit started JOB=syslog-ng SERVICE=syslog I guess --no-wait for emit should be used here. Though there is something blocking – emit waits for some action on the 'started' event to finish and some service starting on this even has probably locked up (most probably due to https://bugs.launchpad.net/upstart/+bug/406397 and broken /etc/init/*.conf file (I have recently fixed those for openssh and syslog-ng)). Greets, Jacek _______________________________________________ pld-devel-en mailing list pld-devel-en@lists.pld-linux.org http://lists.pld-linux.org/mailman/listinfo/pld-devel-en