Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 10 additions & 3 deletions linux-pam.yaml
Original file line number Diff line number Diff line change
@@ -1,10 +1,13 @@
package:
name: linux-pam
version: "1.7.1"
epoch: 2
epoch: 3
description: Linux PAM (Pluggable Authentication Modules for Linux)
copyright:
- license: BSD-3-Clause
checks:
disabled:
- setuidgid
dependencies:
runtime:
- merged-usrsbin
Expand Down Expand Up @@ -52,12 +55,16 @@ pipeline:
done
# make "unix_chkpwd" shadow group and enable g+s
chgrp shadow ${{targets.destdir}}/bin/unix_chkpwd \
&& chmod g+s ${{targets.destdir}}/bin/unix_chkpwd
chgrp shadow ${{targets.destdir}}/usr/bin/unix_chkpwd \
&& chmod g+s ${{targets.destdir}}/usr/bin/unix_chkpwd
# Don't ship /var/run
rm -r ${{targets.destdir}}/var/run
# Copy tmpfile template
mkdir -p ${{targets.destdir}}/usr/lib/tmpfiles.d/
mv pam-faillock.conf ${{targets.destdir}}/usr/lib/tmpfiles.d/
subpackages:
- name: linux-pam-dev
pipeline:
Expand Down
3 changes: 3 additions & 0 deletions linux-pam/pam-faillock.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Create faillock directory with correct SELinux context
d /var/log/faillock 0700 root root - -
Z /var/log/faillock - - - - -
Loading