Skip to content

Commit

Permalink
minimal disk image: add pam_login_access.so
Browse files Browse the repository at this point in the history
I just got SSH errors booting minimal disk images and `truss sshd -d -d -d`
showed an error loading this file.
Adding it to the image appears to resolve this issue.
Most likely culprit is CTSRD-CHERI/cheribsd@3b23fbd
  • Loading branch information
arichardson committed Sep 6, 2023
1 parent 8403acb commit c70d2d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pycheribuild/projects/disk_image.py
Original file line number Diff line number Diff line change
Expand Up @@ -1064,7 +1064,7 @@ def add_required_libraries(self, libdirs: "list[str]"):
"libexecinfo.so.1", # depends on libelf.so
]
# Add the required PAM libraries for su(1)/login(1)
for i in ("permit", "rootok", "self", "unix", "nologin", "securetty", "lastlog"):
for i in ("permit", "rootok", "self", "unix", "nologin", "securetty", "lastlog", "login_access"):
required_libs += ["pam_" + i + ".so", "pam_" + i + ".so.6"]

# Libraries to include if they exist
Expand Down

0 comments on commit c70d2d8

Please sign in to comment.