Merge pull request #31032 from yuwata/pam-session-close

pam: fix warning "Attempted to close sd-bus after fork, this should not happen." on session close
This commit is contained in:
Yu Watanabe
2024-02-02 09:51:08 +09:00
committed by GitHub
2 changed files with 12 additions and 2 deletions
+3
View File
@@ -6,5 +6,8 @@ set -o pipefail
(! journalctl -q -o short-monotonic --grep "didn't pass validation" >>/failed)
# Here, the redundant '[.]' at the end is for making not the logged self command hit the grep.
(! journalctl -q -o short-monotonic --grep 'Attempted to close sd-bus after fork whose connection is opened before the fork, this should not happen[.]' >>/failed)
systemctl poweroff --no-block
exit 0