Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Releases: add etc/shadow-maint to distfiles #785

Merged
merged 1 commit into from Aug 13, 2023

Conversation

hallyn
Copy link
Member

@hallyn hallyn commented Aug 11, 2023

Closes #784

Closes shadow-maint#784

Signed-off-by: Serge Hallyn <serge@hallyn.com>
@hallyn hallyn requested review from jubalh and ikerexxe August 11, 2023 18:52
@hallyn
Copy link
Member Author

hallyn commented Aug 11, 2023

Does this look like an ok place to drop them?

drwxrwxr-x 1000/1000         0 2023-08-11 13:45 shadow-4.14.0-rc3/etc/
-rw-rw-r-- 1000/1000     13622 2023-03-13 15:58 shadow-4.14.0-rc3/etc/login.defs
-rw-rw-r-- 1000/1000     24657 2023-08-11 13:44 shadow-4.14.0-rc3/etc/Makefile.in
drwxrwxr-x 1000/1000         0 2023-08-11 13:45 shadow-4.14.0-rc3/etc/pam.d/
-rw-rw-r-- 1000/1000       103 2022-03-06 17:33 shadow-4.14.0-rc3/etc/pam.d/useradd
-rw-rw-r-- 1000/1000       103 2022-03-06 17:33 shadow-4.14.0-rc3/etc/pam.d/groupadd
-rw-rw-r-- 1000/1000       103 2022-03-06 17:33 shadow-4.14.0-rc3/etc/pam.d/chgpasswd
-rw-rw-r-- 1000/1000     16535 2023-08-11 13:44 shadow-4.14.0-rc3/etc/pam.d/Makefile.in
-rw-rw-r-- 1000/1000       103 2022-03-06 17:33 shadow-4.14.0-rc3/etc/pam.d/chsh
-rw-rw-r-- 1000/1000       103 2022-03-06 17:33 shadow-4.14.0-rc3/etc/pam.d/chage
-rw-rw-r-- 1000/1000       103 2022-03-06 17:33 shadow-4.14.0-rc3/etc/pam.d/chfn
-rw-rw-r-- 1000/1000       103 2022-03-06 17:33 shadow-4.14.0-rc3/etc/pam.d/userdel
-rw-rw-r-- 1000/1000       103 2022-03-06 17:33 shadow-4.14.0-rc3/etc/pam.d/newusers
-rw-rw-r-- 1000/1000       103 2022-03-06 17:33 shadow-4.14.0-rc3/etc/pam.d/groupmod
-rw-rw-r-- 1000/1000       605 2023-03-13 15:58 shadow-4.14.0-rc3/etc/pam.d/su
-rw-rw-r-- 1000/1000        97 2022-03-06 17:33 shadow-4.14.0-rc3/etc/pam.d/passwd
-rw-rw-r-- 1000/1000       103 2022-03-06 17:33 shadow-4.14.0-rc3/etc/pam.d/groupmems
-rw-rw-r-- 1000/1000       103 2022-03-06 17:33 shadow-4.14.0-rc3/etc/pam.d/chpasswd
-rw-rw-r-- 1000/1000       103 2022-03-06 17:33 shadow-4.14.0-rc3/etc/pam.d/groupdel
-rw-rw-r-- 1000/1000       552 2023-03-13 15:58 shadow-4.14.0-rc3/etc/pam.d/Makefile.am
-rw-rw-r-- 1000/1000       438 2023-03-13 15:58 shadow-4.14.0-rc3/etc/pam.d/login
-rw-rw-r-- 1000/1000       103 2022-03-06 17:33 shadow-4.14.0-rc3/etc/pam.d/usermod
drwxrwxr-x 1000/1000         0 2023-08-11 13:45 shadow-4.14.0-rc3/etc/shadow-maint/
drwxrwxr-x 1000/1000         0 2023-08-11 13:45 shadow-4.14.0-rc3/etc/shadow-maint/groupdel-pre.d/
-rw-rw-r-- 1000/1000       622 2023-05-25 21:56 shadow-4.14.0-rc3/etc/shadow-maint/groupdel-pre.d/01-kill_group_procs.sh
-rw-rw-r-- 1000/1000     13921 2023-08-11 13:44 shadow-4.14.0-rc3/etc/shadow-maint/Makefile.in
drwxrwxr-x 1000/1000         0 2023-08-11 13:45 shadow-4.14.0-rc3/etc/shadow-maint/userdel-pre.d/
-rwxrwxr-x 1000/1000       768 2023-07-30 05:38 shadow-4.14.0-rc3/etc/shadow-maint/userdel-pre.d/01-kill_user_procs.sh
-rw-rw-r-- 1000/1000       135 2023-08-11 13:38 shadow-4.14.0-rc3/etc/shadow-maint/Makefile.am
-rw-rw-r-- 1000/1000      1999 2023-03-13 15:58 shadow-4.14.0-rc3/etc/login.access
-rw-rw-r-- 1000/1000       827 2022-03-06 17:33 shadow-4.14.0-rc3/etc/limits
-rw-rw-r-- 1000/1000       419 2023-08-11 12:52 shadow-4.14.0-rc3/etc/Makefile.am

@hallyn hallyn merged commit ee3e611 into shadow-maint:master Aug 13, 2023
9 checks passed
@jubalh
Copy link
Member

jubalh commented Aug 14, 2023

Does this look like an ok place to drop them?

Maybe /usr/lib/shadow-maint (main) and /etc/shadow-maint (admin overridable) would make sense as we did here: #587 (comment)

For openSUSE we probably won't package these files anyways.

Will the processes even be killed and cleaned up fast enough?
Or will user {user,group}del later on report `userdel: user XX is currently used by process YY from:

static int user_busy_processes (const char *name, uid_t uid)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants