This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libc/16142] Supporting /usr/lib/passwd


https://sourceware.org/bugzilla/show_bug.cgi?id=16142

--- Comment #1 from Colin <walters at verbum dot org> ---
Moving on to implementation; at the moment, my OS (gnome-continuous) has a
hacked up copy of the glibc "files" backend which just looks up in
/usr/lib/passwd, then our default /etc/nsswitch.conf has:

passwd: files altfiles
group: files altfiles

Now what I'd like to move on to here is upstreaming this logic, because my
ultimate plan is to have OSTree's logic *underneath* dpkg/rpm, and to do that
really, I'd like Debian and Red Hat Enterprise Linux to come capable of this
out of the box.

So for upstreaming, what do you think of these options?

1) Change "files" to do this by default
 1a) Unconditionally (though obviously not erroring out if /usr/lib/passwd
doesn't exist)
 1b) Behind a build-time --enable-usrlib-passwd option
2) Ship "usrlibfiles" as a separate upstream module
3) Something else?

I personally think 1a) will be fine, but I'm open to discussion.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]