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
Could you please show me the output of this command:
ls -l /etc/rc*.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.
> 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?
Regards,
--
Colin Watson [[email protected]]
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]