lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Sat, 11 Feb 2012 09:39:20 +0100
From:	Paolo Bonzini <pbonzini@...hat.com>
To:	"Nelson, Doug" <doug.nelson@...el.com>
CC:	Matthew Wilcox <willy@...ux.intel.com>,
	Linus Torvalds <torvalds@...ux-foundation.org>,
	linux-kernel@...r.kernel.org, Kay Sievers <kay.sievers@...y.org>
Subject: Re: scsi_id: sending ioctl 2285 to a partition

On 02/11/2012 12:47 AM, Nelson, Doug wrote:
>
> Here's what I had in 20-local.rules
>
> KERNEL=="sd*", BUS=="scsi", PROGRAM="scsi_id --whitelisted -d
> $tempnode", ENV{ID_BUS}="scsi"
>
> BUS=="scsi", RESULT=="3500151795924153d", NAME="disk-r1e1-d1s%n",
> GROUP:="dba", OWNER:="oracle"
> BUS=="scsi", RESULT=="35001517959269241", NAME="disk-r1e1-d2s%n",
> GROUP:="dba", OWNER:="oracle"
> BUS=="scsi", RESULT=="3500151795926930d", NAME="disk-r1e1-d3s%n",
> GROUP:="dba", OWNER:="oracle"
>

Thanks.  I think we could fix scsi_id to strip a partition number and 
print itself a warning if passed a partition number.

That said, the above rules alone would have failed with latest udev due 
to the use of BUS= (removed in udev 174).

Paolo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ