Package Details: pam-selinux 1.6.1-2

Git Clone URL: https://aur.archlinux.org/pam-selinux.git (read-only, click to copy)
Package Base: pam-selinux
Description: SELinux aware PAM (Pluggable Authentication Modules) library
Upstream URL: http://linux-pam.org
Keywords: selinux
Licenses: GPL-2.0-only
Groups: selinux
Conflicts: pam, selinux-pam
Provides: libpam.so, libpamc.so, libpam_misc.so, pam, selinux-pam
Submitter: Siosm
Maintainer: IooNag
Last Packager: IooNag
Votes: 22
Popularity: 0.118685
First Submitted: 2013-11-03 20:05 (UTC)
Last Updated: 2024-04-14 11:56 (UTC)

Pinned Comments

IooNag commented on 2021-10-10 19:27 (UTC)

WARNING: When upgrading a system using pam-selinux, it is recommended to keep a root shell open in a different session/terminal to fix issues, as the authentication system could break when a dependency is updated. For example when libnsl 2.0.0 was released, /usr/lib/security/pam_unix.so could no longer be loaded and pam-selinux needed to be rebuilt/updated in order to fix the authentication system.

Latest Comments

« First ‹ Previous 1 2 3 4 5 Next › Last »

xangelux commented on 2013-02-24 20:24 (UTC)

it seems that pastebin is blocked on my country (I don't know why) can you post it somewhere else? (i.e. pastie or gist on github)

Nicky726 commented on 2013-02-24 20:21 (UTC)

This is it: http://pastebin.com/PS8de8qP

xangelux commented on 2013-02-24 16:43 (UTC)

It worked for me, can you post your pam_unix2-2.9.1/src/selinux_utils.c ?

Nicky726 commented on 2013-02-24 11:03 (UTC)

Hi, unfortunately the patch does not work: patching file src/read-files.c patching file src/public.h Hunk #1 succeeded at 97 with fuzz 2. patching file src/selinux_utils.c Reversed (or previously applied) patch detected! Skipping patch. 1 out of 1 hunk ignored -- saving rejects to file src/selinux_utils.c.rej

xangelux commented on 2013-02-24 09:39 (UTC)

I've created a patch for it to build normally (with pam_unix2) https://gist.github.com/xangelux/5023246

Nicky726 commented on 2013-02-10 16:14 (UTC)

Thank you! With this patch it builds and installs fine. Excespt for pam_unix2 which I skip, as discussed earlier. I have installed in my testing machine and it seams to work fine, though I do not yet have SELinux installed there.

Siosm commented on 2013-02-09 23:25 (UTC)

First sorry, I made this fix a while ago and it worked at that time (I'm guessing before the automake 1.13 release). This is a minor packaging bug which should be reported upstream (unfortunately I don't were upstream is for pam...). The patch is taken from the Fedora repo: http://pkgs.fedoraproject.org/cgit/pam.git/tree/pam-1.1.6-install-empty.patch If you use the Fedora patch, you have to run autoreconf, and version 1.13 is not happy with pam... I have created a new patch/hack and re-uploaded it here: https://git.siosm.fr/siosm-selinux/tree/selinux-pam?h=untested Still Untested. Should not break anything, but I can't promise. I have to build a new Arch SELinux test machine...

xangelux commented on 2013-02-09 19:29 (UTC)

I just sended a mail to the SELinux mailing list, I hope they respond soon.

Nicky726 commented on 2013-02-09 19:26 (UTC)

Hm, I already had the pam_namespace-build-1.1.6.patch, but the pam-1.1.6-install-empty.patch seems it could make it past make install. However, with autoreconf in the PKGBUILD it fails during autoreconf call as xangelux noted and without autoreconf in it the second patch seems not to be taken in acount, that is DESTDIR is for some files ignored and make install fails. I do not understand it on that level, so I am still stuck.

xangelux commented on 2013-02-09 17:46 (UTC)

@Siosm: it doesn't build, the clasic warning about configure.in should be .ac, the AC_LANG_CONFTEST instead of AC_LANG_SOURCE and one error: parallel-tests: error: required file 'build-aux/test-driver' not found