On Tue, Sep 29, 2015 at 2:15 PM, Avery Payne <[email protected]> wrote: > On 9/29/2015 1:27 PM, Colin Booth wrote: >> >> udev, being a freedesktop special child, has both oneshot (cleanup, >> sanitization, prep) and longrun (daemonization) operations intermixed >> in the same script which makes things suck. > > Why do you need all of that in the same definition? Why not copy your udev > definition and create separate oneshots for them, one for startup, and one > for shutdown?
Nonono, the stock Debian one has all that in a single definition. I (currently) treat it like a oneshot that leaves a program around, tell that extra program to terminate, and then supervise a udev process. In the future I'm going to supervise udev and then fire off a oneshot that does all the device node work. At this point, all I'm doing is lamenting the fact that my preferred ordering isn't possible without duplicating work already done in the init script shipped with udev because the package maintainers packed too much functionality into /etc/init.d/udev. I'm also lamenting the fact that people appear to not understand what I'm writing and instead seem to think that I've got my head up my ass. Cheers! -- "If the doors of perception were cleansed every thing would appear to man as it is, infinite. For man has closed himself up, till he sees all things thru' narrow chinks of his cavern." -- William Blake
