Yes, I was getting the same dependencies on /etc/passwd and
/etc/group. I have a workaround in Perceus for this now, but I would
rather not drag along those shared libs if not necessary.

This sounds perfect, thanks!

Greg

On Tue, Sep 23, 2008 at 7:36 PM, Hugh N. Greenberg <[EMAIL PROTECTED]> wrote:
>
> Greg,
>
> Previously, xget was only aware of the root user.  This was a problem if a
> regular user wanted to use xget.  So, I changed xget so it was aware of
> the current user using it.  In addition to the permission preservation,
> this feature is also causing xget to be dependent on libnss,
> /etc/password, and /etc/group.  I will create an option so the old
> behavior is still available.
>
>>
>> I am pretty sure that this will need to be a compile option to ensure
> that xget can stay light for usage within initramfs images.
>>
>> Thanks though, this is moving in the right direction! :)
>>
>> Greg
>>
>> On Tue, Sep 23, 2008 at 4:25 PM, Hugh Greenberg <[EMAIL PROTECTED]> wrote:
>>> Greg,
>>> The libnss* files are used by libspfs, not just xget.  They are used to
> authenticate the user and verify that the user can access the
> filesystem
>>> and/or files.  I have created a runtime option that will disable the
> permission changing, but that will not prevent the libnss libraries
> from
>>> being loaded.
>>> On Mon, 2008-09-15 at 23:43 -0700, Greg Kurtzer wrote:
>>>> Well,... rather a feature un-request.
>>>> Recently support for maintaining permissions and ownership were added
> to xget. This feature added requirements for getpwent() and getgrent()
> which added more dynamic requirements on the host operating system
> (e.g. libnss_files.so.2 when building against glibc).
>>>> I have already added proper support into the Perceus initramfs, but
> the long term fix I think would be to have a compile option to disable
> certain features not needed for OS bootstrapping and keep things as
> light as can be.
>>>> Thanks guys, and great work!
>>>> Greg
>>>> --
>>>> Greg Kurtzer
>>>> http://www.infiscale.com/
>>>> http://www.runlevelzero.net/
>>>> http://www.perceus.org/
>>>> http://www.caoslinux.org/
>>
>>
>>
>> --
>> Greg Kurtzer
>> http://www.infiscale.com/
>> http://www.runlevelzero.net/
>> http://www.perceus.org/
>> http://www.caoslinux.org/
>>
>
>
> --
> Hugh Greenberg
> Los Alamos National Labs, CCS-1
> Email: [EMAIL PROTECTED]
> Phone: (505) 665-6471
>
>
>
>



-- 
Greg Kurtzer
http://www.infiscale.com/
http://www.runlevelzero.net/
http://www.perceus.org/
http://www.caoslinux.org/

Reply via email to