Bug#1042082: Please take over udev SysV init script

lorenzo plorenzo at disroot.org
Wed Aug 23 12:46:35 BST 2023


On Thu, 27 Jul 2023 11:11:41 +0100
Mark Hindley <mark at hindley.org.uk> wrote:

Hi Mark,

> On Wed, Jul 26, 2023 at 08:22:15PM +0100, Matthew Vernon wrote:
> > Hi,
> > 
> > On 26/07/2023 19:43, lorenzo wrote:
> > 
> > > may I suggest to add this script to initscripts
> > > package(sysvinit:src) instead of o-s-s?
> > > A system without udev is not very common after all and the vast
> > > majority of scripts strictly needed to boot and shutdown the
> > > system are shipped there.
> > 
> [...]
> 
> I can see some logic to this approach. 
> 
> I am away until next week, but can look at it then.
> 

I'm attaching git patches that can be 'git am' on top of the master
branch at
https://salsa.debian.org/debian/sysvinit/-/tree/master?ref_type=heads

Since I'm on holiday and away from from my testing setup, I did no test
to ensure that this warks as intended, so consider it as experimental.
Also, the "breaks and replaces" patch need to be amended with the
version of systemd that removes the udev script, which is unknwnown to
me (I used the unreleased 254.1-3, which of course is wrong).
Anyway I think there need to be some work on udev's side to ensure that
the udev script is not removed when the initscripts package is
installed in the system.

Hope this helps,
Lorenzo

> Mark

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Import-udev-script-from-systemd-src.patch
Type: text/x-patch
Size: 7799 bytes
Desc: not available
URL: <http://www.chiark.greenend.org.uk/pipermail/debian-init-diversity/attachments/20230823/3eaf89e7/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-add-udev-to-initscripts-postinst-and-postrm.patch
Type: text/x-patch
Size: 1671 bytes
Desc: not available
URL: <http://www.chiark.greenend.org.uk/pipermail/debian-init-diversity/attachments/20230823/3eaf89e7/attachment-0001.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0003-update-d-copyright.patch
Type: text/x-patch
Size: 2168 bytes
Desc: not available
URL: <http://www.chiark.greenend.org.uk/pipermail/debian-init-diversity/attachments/20230823/3eaf89e7/attachment-0002.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0004-remove-x-mode-from-udev-on-non-linux-archs.patch
Type: text/x-patch
Size: 1028 bytes
Desc: not available
URL: <http://www.chiark.greenend.org.uk/pipermail/debian-init-diversity/attachments/20230823/3eaf89e7/attachment-0003.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0005-Breaks-and-Replaces-with-udev.patch
Type: text/x-patch
Size: 701 bytes
Desc: not available
URL: <http://www.chiark.greenend.org.uk/pipermail/debian-init-diversity/attachments/20230823/3eaf89e7/attachment-0004.bin>


More information about the Debian-init-diversity mailing list