Re: cardmgr start message during base install (extra packages)

2004-08-08 Thread Petter Reinholdtsen
[Per Olofsson] > And here's an (untested) patch which also adds policy-rc.d > support. Furthermore it corrects a problem in your patch: it runs > cleanup code if apt-get fails. I submitted a new bug report against di-utils with your patch included. Someone with more time then me should test it a

Re: cardmgr start message during base install (extra packages)

2004-07-31 Thread Per Olofsson
Petter Reinholdtsen wrote: > Here is a patch to divert start-stop-daemon. Mostly unsteded, but > half of it is cut-n-paste from my upgrade-testing script. And here's an (untested) patch which also adds policy-rc.d support. Furthermore it corrects a problem in your patch: it runs cleanup code if a

Re: cardmgr start message during base install (extra packages)

2004-07-29 Thread Per Olofsson
Petter Reinholdtsen wrote: > I guess we could do both, and remove the dummy start-stop-daemon when > everything is using invoke-rc.d. Seems like a good idea. I'll make pcmcia-cs use invoke-rc.d then. -- Pelle -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Troub

Re: cardmgr start message during base install (extra packages)

2004-07-28 Thread Petter Reinholdtsen
[Per Olofsson] > Isn't policy-rc.d a cleaner solution? AFAIK nothing in policy requires > a package to use start-stop-daemon, but it does say that maintainer > scripts [1]should use invoke-rc.d. Perhaps. But at the moment, start-stop-daemon has the largest chance of working. > Maybe > both techn

Re: cardmgr start message during base install (extra packages)

2004-07-28 Thread Per Olofsson
Petter Reinholdtsen wrote: > Hm, I thougth apt-install already made sure no such daemon is started > in /target/, but it doesn't seem like it when I check the source now. > > I suggest changing it to replace start-stop-daemon with a dummy script > doing nothing, to make sure no daemon is started i

Re: cardmgr start message during base install (extra packages)

2004-07-28 Thread Per Olofsson
Joey Hess wrote: > Per Olofsson wrote: > > Obviously, cardmgr should not be started at all. It seems like > > pcmcia-cs does not use invoke-rc.d in the maintainer script. If I > > change it to use invoke-rc.d (which it should anyway), will that make > > it work? Does d-i use policy-rc.d or somethin

Re: cardmgr start message during base install (extra packages)

2004-07-28 Thread Joey Hess
Per Olofsson wrote: > I haven't been at my usual testing environment at home. However, I see > in cardmgr's source that it calls openlog() with the LOG_CONS > option. This flag makes it "write directly to system console if there > is an error while sending to system logger". > > Obviously, cardmgr

Re: cardmgr start message during base install (extra packages)

2004-07-28 Thread Petter Reinholdtsen
[Per Olofsson] > Obviously, cardmgr should not be started at all. It seems like > pcmcia-cs does not use invoke-rc.d in the maintainer script. If I > change it to use invoke-rc.d (which it should anyway), will that make > it work? Does d-i use policy-rc.d or something to stop init scripts > from be

Re: cardmgr start message during base install (extra packages)

2004-07-28 Thread Per Olofsson
Martin Michlmayr wrote: > Does anyon else get this (when installing extra packages): > >x Installing extra packages...cardmgr[19799]: starting, version is 3.2.5 x I haven't been at my usual testing environment at home. However, I see in cardmgr's source that it calls openlog() with the LOG_C