reassign 407458 kvm 11-1
thanks
On Sat, Jan 20, 2007 at 11:40:51AM +0200, Leonard Norrgard wrote:
> It does purge here, with both dpkg and aptitude.
> What shell are you using when seeing this? (The bug report indicates
> bash). Testing with dash, I notice that dash silently leaves the symlink
> in place [2]. Bash handles it ok. [3] and the postrm script itself is
> posixly correct as far as I can tell. [4].
> Did you change /etc/udev/rules.d/z60_kvm.rules yourself? Is it still a
> symbolic link?
Um, one of the cases that your maintainer script needs to handle is that the
admin has manually *removed* the symlink because they didn't want the rules
to be used. That's how the rules in /etc/udev/rules.d are supposed to be
managed.
Your postrm:
[ -L /etc/udev/rules.d/z60_kvm.rules ] && \
rm /etc/udev/rules.d/z60_kvm.rules
exits non-zero if the symlink has already been removed (or if it was never
added for some reason, etc).
> > # dash
> > $ id
> > uid=0(root) gid=0(root) groups=0(root)
> > $ . ./postrm purge
> > $ echo $?
> > 0
> > $ ls -l /etc/udev/rules.d/z60_kvm.rules
> > lrwxrwxrwx 1 root root 12 Jan 20 11:19 /etc/udev/rules.d/z60_kvm.rules
> > -> ../kvm.rules
Well, that's evidently a separate bug.
--
Steve Langasek Give me a lever long enough and a Free OS
Debian Developer to set it on, and I can move the world.
[EMAIL PROTECTED] http://www.debian.org/
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]