[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#275403: preinst NSS restart does not work with file-rc



Hello Masanori

On 2004-10-08 GOTO Masanori wrote:
> > - I have none of  /usr/share/file-rc/rc /usr/lib/file-rc/rc, just 
> >   /etc/runlevel.conf so make it at least an "-o" and not "&&".
> 
> When woody's file-rc is installed, /usr/share/file-rc/rc and
> /usr/lib/file-rc/rc are existed.  The above code in libc6.postinst is
> used when you upgrade from woody to sarge, so "file-rc" should be
> woody's version.
...
> No, again, look at the postinst.  filerc is defined in libc6.postinst.

Ok. I was under the assumption that the code snippet you presented in the
mail was something new that should now be included.

> > As I don't know if there are backward compatibility issues you should better
> > contact the file-rc maintainer to get recommends how to search and start/stop
> > entries from runlevel.conf.
> 
> You reported "(libc6.) preinst NSS restart does not work with
> file-rc".  However file-rc is used in _postinst_ because restart is
> done in postinst.
> 
> Moreover, this restart code is used only when you upgrade from woody
> to sarge.  I think you misunderstand why this code is existed.  Did
> you get any problems with this issue?  If you really had trouble with
> it, please report with more information (ex: upgrade messages and so
> on).  If not, please let me know; I'll close this bug.

I did get errors when upgrading a server from Woody (up-to-date) to Sarge.
There were about 5-6 services which needed to be restarted (postfix, bind,
apache, inetd etc) and *all* of them failed.
As I was logged in I tried some of them by hand and start,stop,restart worked
just find and gave 0 as $? exit code.
The messages run through the xterm history too fast and I did not cut&paste
them. There were no further explanations why the restart failed.

As file-rc is not so common and the code looked (just by taking a quick glance
at it) a bit strange so I assumed that this might have been the problem.

If you can't reproduce it I will try to build and upgrade woody chroots,
maybe I can do it then.

bye,

-christian-

Attachment: pgpq0A30dFV91.pgp
Description: PGP signature


Reply to: