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)
Search Criteria
Package Details: pam-selinux 1.6.1-3
Package Actions
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.001492 |
First Submitted: | 2013-11-03 20:05 (UTC) |
Last Updated: | 2024-09-07 13:41 (UTC) |
Dependencies (18)
- audit
- glibc (glibc-gitAUR, glibc-linux4AUR, glibc-eacAUR, glibc-eac-binAUR, glibc-eac-rocoAUR)
- libaudit.so (audit)
- libcrypt.so (libxcrypt-gitAUR, libxcrypt, libxcrypt-compat)
- libnsl (libnsl-gitAUR)
- libselinuxAUR
- libtirpc
- libxcrypt (libxcrypt-gitAUR)
- pambase-selinuxAUR
- systemd-libs (systemd-chromiumos-libsAUR, systemd-libs-selinuxAUR, sysupdated-systemd-libs-gitAUR, systemd-libs-fmlAUR, systemd-libs-gitAUR)
- docbook-xml (make)
- docbook-xsl (make)
- docbook5-xml (make)
- flex (flex-gitAUR) (make)
- fop (make)
- git (git-gitAUR, git-glAUR) (make)
- libxslt (libxslt-gitAUR) (make)
- w3m (make)
Required by (838)
- alock (requires pam)
- alock-git (requires pam)
- alock-git (requires pam) (optional)
- alpine (requires pam)
- alpine-git (requires pam)
- anubis (requires pam)
- apparmor-git (requires pam)
- authconfig (requires pam)
- autologin (requires pam)
- away (requires pam)
- c-client (requires pam)
- c-client (requires pam) (make)
- cado-git (requires pam)
- cdesktopenv (requires pam)
- cfengine (requires pam)
- cfengine-git (requires pam)
- cherokee-git (requires pam) (make)
- cherokee-git (requires pam) (optional)
- collabora-online-server-nodocker (requires pam)
- collabora-online-server-nodocker_ar (requires pam)
- Show 818 more...
Sources (2)
xangelux commented on 2013-02-24 20:24 (UTC)
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
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.