Colin Watson wrote:
> On Sat, Oct 31, 2009 at 06:16:58PM +0100, Peter Fritzsche wrote:
> > Colin Watson wrote:
> > > It would have been considerable effort for me to arrange things such
> > > that it only worked on fresh install and not on upgrade (in the case
> > > where the file was not changed locally), and I did not do so. You're
> > > free to look at the source to confirm this if you don't believe me.
> >
> > The problem is update-rc.d and not the real file. Update-rc.d will not
> > catch changes to that line if there are already links inside /etc/rc?.d/
> > for that script. See for example bug #548306
> 
> Ah, so we're talking about the changes in 1.2.8, in fact. The postinst
> already includes the following code:
> 
>   if [ -e /etc/rc0.d/K90binfmt-support ]; then
>       rm -f /etc/rc0.d/K90binfmt-support /etc/rc6.d/K90binfmt-support
>   fi
These names (K90....) doesn't work when insserv is enabled. Insserv will 
rename them to whatever it things is good regarding to the specified 
dependencies.

> Could you please show me the output of this command:
> 
>   ls -l /etc/rc*.d/*binfmt-support
I cannot give these informations as the backup only saves the content not the 
permissions or users and I just reinstalled the package with the current 
version. But here are the symlinks with targets:

rc0.d/K01binfmt-support -> ../init.d/binfmt-support
rc1.d/K01binfmt-support -> ../init.d/binfmt-support
rc2.d/S01binfmt-support -> ../init.d/binfmt-support
rc3.d/S01binfmt-support -> ../init.d/binfmt-support
rc4.d/S01binfmt-support -> ../init.d/binfmt-support
rc5.d/S01binfmt-support -> ../init.d/binfmt-support
rc6.d/K01binfmt-support -> ../init.d/binfmt-support

> Also, roughly when was binfmt-support originally installed on this
> system? The only change I'm aware of in the positioning of
> binfmt-support's rc symlinks already has postinst code that's supposed
> to handle upgrades, but the answer to this question might give me a
> place to start.
It should be binfmt-support_1.2.11.

> > This file was never changed by me or by an automatic script
> 
> Was the position of binfmt-support's rc symlinks ever changed by you or
> by some services manager or similar, though?
No, never.

Best regards,
        Peter



-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to