[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#539158: [#] assumes printf is a builtin



Hi again,

fact is that the udev maintainer uses an idiom which is broken,
so I think your resolution 1 is flawed.

I propose that it be changed to have udev use #!/bin/dash (in
sid) and #!/bin/bash (in lenny) instead of #!/bin/sh as shebang
line, since otherwise, no action at all would be taken.

Of course, I’m still in favour of getting the problem really
fixed and documented in policy, but if that (change of the
shebang line for scripts not having /usr/bin in their path)
is all I get, I’ll be okay with it.

Current behaviour, and the result of your unchanged resolution
suggestion, would be in extreme unfavour towards mksh, since it
*is* a Policy compliant /bin/sh-capable shell, where the udev
maintainer actively breaks EVERY OTHER aspect of the system (by
making it unbootable with mksh as /bin/sh), whereas changing his
shebang line would not affect the rest of the system.

//mirabilos
-- 
Sometimes they [people] care too much: pretty printers [and syntax highligh-
ting, d.A.] mechanically produce pretty output that accentuates irrelevant
detail in the program, which is as sensible as putting all the prepositions
in English text in bold font.	-- Rob Pike in "Notes on Programming in C"




Reply to: