Bug#721506: multipath-tools black list usb disk by default

Ritesh Raj Sarraf rrs at researchut.com
Sun Sep 1 14:58:28 UTC 2013


On Sunday 01 September 2013 05:43 PM, YunQiang Su wrote:
> -#define DEFAULT_GETUID         "/lib/udev/scsi_id --whitelisted
> --replace-whitespace --device=/dev/%n"
> +#define DEFAULT_GETUID         "[ -n \"$(udevadm info --query=symlink
> --name=/dev/%n |grep -- '-usb-')\" || /lib/udev/scsi_id --whitelisted
> --replace-whitespace --device=/dev/%n"

That'd fork a shell. Right?

BTW, the latest upstream code has dropped that code.

-- 
Ritesh Raj Sarraf
RESEARCHUT - http://www.researchut.com
"Necessity is the mother of invention."

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/pkg-lvm-maintainers/attachments/20130901/5ec55fbd/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 897 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-lvm-maintainers/attachments/20130901/5ec55fbd/attachment.sig>


More information about the pkg-lvm-maintainers mailing list