[Bug 98846] Re: dmraid starts before udev in rcS.d

2007-04-13 Thread Luca Falavigna
Package built and uploaded into archives. ** Changed in: dmraid (Ubuntu) Status: Fix Committed => Fix Released -- dmraid starts before udev in rcS.d https://bugs.launchpad.net/bugs/98846 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact f

[Bug 98846] Re: dmraid starts before udev in rcS.d

2007-04-02 Thread Michael Bienia
-BEGIN PGP SIGNED MESSAGE- Hash: RIPEMD160 Format: 1.7 Date: Mon, 26 Mar 2007 17:25:01 -0400 Source: dmraid Binary: dmraid-udeb dmraid Architecture: source Version: 1.0.0.rc13-2ubuntu2 Distribution: feisty Urgency: low Maintainer: Ubuntu MOTU Developers Changed-By: Richard Bailey (3-Oct-2

[Bug 98846] Re: dmraid starts before udev in rcS.d

2007-04-02 Thread Richard Bailey
No I don't object, my concern right now it to get this update in before the freeze on Thursday. -- dmraid starts before udev in rcS.d https://bugs.launchpad.net/bugs/98846 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-

[Bug 98846] Re: dmraid starts before udev in rcS.d

2007-04-02 Thread Michael Bienia
I'd do it as if [ -e /etc/rcS.d/S04dmraid ]; then /usr/sbin/update-rc.d -f dmraid remove fi This way it's only removed when the link is still at the old location. Your solution will override changes made by an admin if he moves the link from S11 to something else. If you don't object I will up

[Bug 98846] Re: dmraid starts before udev in rcS.d

2007-04-02 Thread Richard Bailey
I did it this way because debian has both udev and dmraid at different points in rcS, dmraid's point (what I'm trying to set to 11) is dependent on ubuntu's place in rcS.d. This way, when dmraid needs to be sync'd/merged again from debian, it will still remove a non S11 link if it exists. -- dmra

[Bug 98846] Re: dmraid starts before udev in rcS.d

2007-04-02 Thread Steve Kowalik
I'd still rather the rcS.d munging was done guarded by a version check as opposed to just checking if the symlink exists. However, if someone else thinks it's fine, I won't stop them uploading it. -- dmraid starts before udev in rcS.d https://launchpad.net/bugs/98846 -- ubuntu-bugs mailing list

[Bug 98846] Re: dmraid starts before udev in rcS.d

2007-04-01 Thread Richard Bailey
** Attachment added: "updated debdiff with test before call to update-rc.d -f remove" http://librarian.launchpad.net/7100087/dmraid.debdiff -- dmraid starts before udev in rcS.d https://launchpad.net/bugs/98846 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.c

[Bug 98846] Re: dmraid starts before udev in rcS.d

2007-04-01 Thread Richard Bailey
Can one of you, Steve or Michael check this new diff and if it's good release it? I want to get this in before feisty since I think it's already affecting people. -- dmraid starts before udev in rcS.d https://launchpad.net/bugs/98846 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com http

[Bug 98846] Re: dmraid starts before udev in rcS.d

2007-03-31 Thread Richard Bailey
Reverted to in progress to iron out updating symlink in rcS.d ** Changed in: dmraid (Ubuntu) Status: Fix Committed => In Progress -- dmraid starts before udev in rcS.d https://launchpad.net/bugs/98846 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mail

[Bug 98846] Re: dmraid starts before udev in rcS.d

2007-03-31 Thread Michael Bienia
Doing update-rc.d -f remove and update-rc.d add on every update of the package will remove every time the changes the admin has done. Either check the version from where you update and only do it for versions before this was fixed or check for the existance of a symlink to the old number. You can

[Bug 98846] Re: dmraid starts before udev in rcS.d

2007-03-30 Thread Steve Kowalik
Which means that update-rc.d remove is called and then update-rc.d is called again to install the new file. This strikes me as wrong. -- dmraid starts before udev in rcS.d https://launchpad.net/bugs/98846 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/

[Bug 98846] Re: dmraid starts before udev in rcS.d

2007-03-30 Thread Richard Bailey
I'm a "green" packager so I'll take any advice you give, but I was working on the premise that the call to dh_installinit always exists in the rules so in subsequent upgrades the update-rc.d -f remove will get called and dh_installinit will put back the file. -- dmraid starts before udev in rcS.d

[Bug 98846] Re: dmraid starts before udev in rcS.d

2007-03-30 Thread Steve Kowalik
And what happens when the dmraid package is upgraded after your change is applied? I am of the opinion that the update-rc.d -f remove should be guarded to only do it on upgrade to the current version only. -- dmraid starts before udev in rcS.d https://launchpad.net/bugs/98846 -- ubuntu-bugs ma

[Bug 98846] Re: dmraid starts before udev in rcS.d

2007-03-30 Thread Richard Bailey
The update-rc.d -f remove is in preparation to run: dh_installinit -p dmraid -- start 11 S . start 51 0 6 . later on in the rules. It used to be: dh_installinit -p dmraid -- start 04 S . start 51 0 6 . Without that dmraid gets two entries in rcS.d... I've tested it ** Changed in: dmraid (Ubuntu)

[Bug 98846] Re: dmraid starts before udev in rcS.d

2007-03-29 Thread Steve Kowalik
I daresay just running update-rc.d -f remove in the postinst is going to just remove the startup link everytime this package is upgraded. That can't be good for the boot process. :-) -- dmraid starts before udev in rcS.d https://launchpad.net/bugs/98846 -- ubuntu-bugs mailing list ubuntu-bugs@l

[Bug 98846] Re: dmraid starts before udev in rcS.d

2007-03-29 Thread Richard Bailey
Ready for upload -- dmraid starts before udev in rcS.d https://launchpad.net/bugs/98846 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 98846] Re: dmraid starts before udev in rcS.d

2007-03-29 Thread Richard Bailey
** Attachment added: "debdiff for update" http://librarian.launchpad.net/7052432/dmraid.debdiff -- dmraid starts before udev in rcS.d https://launchpad.net/bugs/98846 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs