#4523 closed defect (fixed)
Libcap pam module installation
| Reported by: | Randy McMurchy | Owned by: | Igor Živković |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | BOOK | Version: | SVN |
| Severity: | medium | 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 , 13 years ago
comment:2 by , 13 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 , 13 years ago
| Owner: | changed from to |
|---|---|
| Status: | new → assigned |
comment:5 by , 13 years ago
| Resolution: | → fixed |
|---|---|
| Status: | assigned → closed |
Note:
See TracTickets
for help on using tickets.

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