Opened 10 years ago

Closed 10 years ago

Last modified 10 years ago

#4523 closed defect (fixed)

Libcap pam module installation

Reported by: Randy McMurchy Owned by: Igor Živković
Priority: normal Milestone:
Component: BOOK Version: SVN
Severity: normal Keywords:
Cc:

Description

The current instructions do not take into account a PAM installation as the installed module is put into /usr/lib/security instead of /lib/security.

Also, the SBINDIR parameter used in 'make install' is not respected by a DESTDIR= parameter. Not that this is a book issue, just FYI.

Change History (6)

comment:1 by Armin K, 10 years ago

Now that you mention the pam module, I've ran into the same issue, but did some hacking to override it.

sed -i "s:LIBDIR:PAM_&:g" pam_cap/Makefile

make
make RAISE_SETFCAP=no PAM_LIBDIR=${DEST}/lib prefix=/usr DESTDIR=${DEST} install

comment:2 by bdubbs@…, 10 years ago

Yes I did something similar:

make RAISE_SETFCAP=no prefix=/usr SBINDIR=$DEST/sbin DESTDIR=$DEST install

I don't have PAM installed so I didn't use the PAM_LIBDIR variable.

comment:3 by Igor Živković, 10 years ago

Owner: changed from blfs-book@… to Igor Živković
Status: newassigned

comment:4 by Igor Živković, 10 years ago

Fixed at r12551, thanks.

comment:5 by Igor Živković, 10 years ago

Resolution: fixed
Status: assignedclosed

comment:6 by bdubbs@…, 10 years ago

Milestone: current

Milestone current deleted

Note: See TracTickets for help on using tickets.