Opened 9 years ago

Closed 9 years ago

#3499 closed task (fixed)

RFC: Glibc nscd and nss_db use non-FHS compliant directories

Reported by: Armin Owned by: lfs-book@…
Priority: normal Milestone: 7.5
Component: Book Version: SVN
Severity: normal Keywords:
Cc:

Description

As you might have noticed, systemd branch has a glibc patch named -fhs-1.patch.

The patch addresses nscd program and nss_db library usage of the non-FHS compliant directory /var/db. The patch changes the paths from /var/db to /var/cache/nscd and /var/cache/nss_db respectively.

The patch has also svn diff from the last modification (which wouldn't happen with git :(), but the change should be clear. It also adds instructions to install nscd configuration file and runtime directory.

Patch isn't mandatory since LFS doesn't even have the bootscript for nscd and doesn't use nss_db at all. I'm just looking to minimize the differences between lfs systemd and lfs shared packages.

Your call.

Attachments (1)

glibc.patch (3.3 KB ) - added by Armin 9 years ago.

Download all attachments as: .zip

Change History (9)

comment:1 by bdubbs@…, 9 years ago

OK, I'll take a look at this. I don't want to diverge any more than really needed.

comment:2 by bdubbs@…, 9 years ago

Resolution: wontfix
Status: newclosed

There is a conflict with the patch and the newly incorporated FHS.

comment:3 by Armin, 9 years ago

Resolution: wontfix
Status: closedreopened

comment:4 by Armin, 9 years ago

Resolution: fixed
Status: reopenedclosed

Fixed as part of revision 10469.

comment:5 by Armin, 9 years ago

Resolution: fixed
Status: closedreopened

comment:6 by Armin, 9 years ago

Resolution: wontfix
Status: reopenedclosed

I apologize for this. My local tree and svn diff showed that this wasn't implemented. Yet my changes were still there showing otherwise.

You could've just asked for a rebase though. Glibc will still install non-fhs compliant directory.

by Armin, 9 years ago

Attachment: glibc.patch added

comment:7 by Armin, 9 years ago

Resolution: wontfix
Status: closedreopened

I've rebased the patch for latest updates. I've also made a change in "Installed directories" since there's no /usr/lib/glibc - it's now just /usr/libexec/getconf.

comment:8 by bdubbs@…, 9 years ago

Resolution: fixed
Status: reopenedclosed

OK, I applied the patch. I did move the text in glibc.xml by a paragraph. It seems to fit better.

Fixed at revision 10482.

Note: See TracTickets for help on using tickets.