Il 12/06/2012 19:20, James Bottomley ha scritto:
> I don't think you understand how persistent reservations work.
>
> The first thing I'll say is I agree with Alan. Unless you can justify
> why you want to relax permissions I'm not going to do it.
See my answer to John. The reason is that I want to let VMs use
persistent reservations without running them as root.
> But secondly, the reason we're so up in arms about SCSI-3 PR is that
> there's a feature called reservation by transport ID. This is used to
> reserve multipath devices when one of the paths is down. Effectively it
> allows a PR-OUT command to set a reservation on any LUN with access only
> to one of them. It's definitely a hack in the SCSI standard, but it's
> not one that can be controlled by a unix like permission model. Write
> access to *any* LUN allows you to reserve *all* luns.
Thanks for taking the time to explain---I knew about this, but I thought
it could (perhaps should) be disabled on the SAN. Anybody could already
use reservation by transport ID if they had root access on the local
machine, no?
Paolo
--
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
[SCSI Target Devel]
[Linux SCSI Target Infrastructure]
[Kernel Newbies]
[Share Photos]
[IDE]
[Security]
[Git]
[Netfilter]
[Bugtraq]
[Photos]
[Yosemite]
[Yosemite News]
[MIPS Linux]
[ARM Linux]
[Linux Security]
[Linux RAID]
[Linux ATA RAID]
[Linux IIO]
[Samba]
[Video 4 Linux]
[Device Mapper]
[Linux Resources]