Re: [PATCH] common/rc: use getent when available

[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]



On 3/11/25 2:42 AM, Christoph Hellwig wrote:
> On Mon, Mar 10, 2025 at 12:55:51PM -0500, Eric Sandeen wrote:
>> Zorro noticed that on systems using nss-altfiles, some tests failed when
>> trying to parse /etc/passwd directly. The "getent" command does the
>> right thing in this case, so let's use it as long as it's available.
> 
> Are the reevant systyems where it does not exist?  It seems to come
> with glibc and apparenly has for a long time.

It's impossible for me to know whether any systems exist that don't have
it, so I erred on the safe side to not break things for anyone.

(i.e. it could depend on packaging etc, and I simply have no idea.)

-Eric




[Index of Archives]     [Linux Filesystems Development]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux