[Pkg-iscsi-maintainers] Bug#584939: open-iscsi: cannot log into target from initramfs
Ritesh Raj Sarraf
rrs at debian.org
Tue Jun 8 05:19:33 UTC 2010
There are many users using iscsi boot solutions (which requires login from
initramfs). Are you sure you are following the right steps ?
In the current upload in squeeze, there's a bug. It is fixed and pending an
upload. You might want to check it. (DBTS #576786)
Ritesh
On Monday 07 Jun 2010 22:24:17 Michal Suchanek <hramrach at centrum.cz> wrote:
> The iscsid daemon only allows root to manage the iscsi disks.
>
> To check that the user is root it fist gets the uid, then calls getpwent
> on the uid and then compares the username with the string "root".
>
> This is imho stupid and superfluous as just comparing the uid to zero
> would give the same level of sucurity wiht much less code.
>
> What's more, there is no /etc/passwd in initramfs.
>
> This patch just installs a default pwent entry for root in case getpwent
> fails.
>
> However, ripping out the junk with getpwent is suggested.
>
> I tried with the 2.0.870-rc3 iscsid but the patch still applies.
>
>
--
Ritesh Raj Sarraf | http://people.debian.org/~rrs
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.alioth.debian.org/pipermail/pkg-iscsi-maintainers/attachments/20100608/a1315cc2/attachment.pgp>
More information about the Pkg-iscsi-maintainers
mailing list