Bug#691422: init-functions: order of arguments is not context-free
"Didier 'OdyX' Raboud" <[email protected]>
| Newsgroups | gmane.linux.debian.devel.lsb |
|---|---|
| Organization | Debian - The Universal OS |
| Message-ID | <201211101716.22133.odyx__36044.0429686152$1352564134$gmane$org@debian.org> |
Control: tags -1 -wontfix +pending Le samedi, 10 novembre 2012 16.36:35, Jeff Licquia a écrit : > I've attached a patch which will add some sanity checking to pidofproc's > command-line argument parsing. With this patch, pidofproc will fail if > it finds more than one non-dashed argument under any circumstances. > I've also created a simple test. > > I'll leave it up to Didier as to whether to apply it or just leave the > bug "wontfix". Yay, thanks! I have committed it to the packaging repository. Now I am slightly relunctant to add it to wheezy, not sure it would warrant an unblock (although [0] shows no forecoming problem). This fix could potentially break existing initscripts (admittedly relying on that broken behaviour), so I have uploaded to experimental for now. Opinions ? OdyX [0] http://codesearch.debian.net/search?q=pidofproc+*+-p
signature.asc
(application/pgp-signature, 665 B)
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) iQGcBAABCAAGBQJQnn3UAAoJEIvPpx7KFjRVoN0L/0RO0r435s8aTIGUUPPRJTdm zXZzcLJyGO88ee3GnBqlIT8IpbkyaJioNqbv6BeYv2iT+OmOH6mirVrNWLO9mz4H boQMAPREWvyQntyefWMZlOtkgZQVGjbPE/+leqHfpTh40uJvISIcumtKORDxbuzo ljmdVec0JqejuoFi/E9QDwTYbGzh9IOKCZvtNkrrxmFTV2SkE0/FjeqoNrrzsfex bYqvaWxUck2QGGQlDlcGDMdOGAHtgsM9/y6XebCg2oPs5Q/SGRxpn6b6/eZPW8vS aFUfDT2W7rVukaV51xFERWSeDybViNwHl+kDcfQvgNvAv05j+8H47zom39CVtUY9 u+4iwaTG+1TK8X/Zt2//FLy5KEV3nRgZOv1S8e4fJL8SG1S9LwqgLlB5+uNX0WK8 or20pM4TDRvtahQwIexc0e5Lp+mpWkPfJoHqGW+2Zle2CES8CJmSjxav6MzXbIR9 rm5U2Zg1kWpbImrC+iB0938R3a7GLvVTSQADkpc0sA== =u5Sr -----END PGP SIGNATURE-----