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 <hramr...@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

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to