[GH-ISSUE #3388] Use /usr/etc/login.defs after checking for /etc/login.defs #2128

Closed
opened 2026-05-05 08:48:29 -06:00 by gitea-mirror · 3 comments
Owner

Originally created by @libreunkraut on GitHub (Apr 28, 2020).
Original GitHub issue: https://github.com/netblue30/firejail/issues/3388

Describe the bug
firejail report an error on every run if no /etc/login.defs is found even though login.defs exists in /usr/etc/ where distro defaults are stored.

To Reproduce
Run firejail on any distribution without login.defs in /etc and instead being in /usr/etc

Expected behavior
firejail should use the login.defs available in /usr/etc

Desktop:

  • openSUSE Tumbleweed - 20200425
  • firejail version 0.9.62
Originally created by @libreunkraut on GitHub (Apr 28, 2020). Original GitHub issue: https://github.com/netblue30/firejail/issues/3388 **Describe the bug** firejail report an error on every run if no /etc/login.defs is found even though login.defs exists in /usr/etc/ where distro defaults are stored. **To Reproduce** Run firejail on any distribution without login.defs in /etc and instead being in /usr/etc **Expected behavior** firejail should use the login.defs available in /usr/etc **Desktop:** - openSUSE Tumbleweed - 20200425 - firejail version 0.9.62
gitea-mirror 2026-05-05 08:48:29 -06:00
  • closed this issue
  • added the
    duplicate
    label
Author
Owner

@rusty-snake commented on GitHub (Apr 28, 2020):

Duplicate of #3145

<!-- gh-comment-id:620728331 --> @rusty-snake commented on GitHub (Apr 28, 2020): Duplicate of #3145
Author
Owner

@rusty-snake commented on GitHub (Apr 28, 2020):

It was fixed on master in cd184e9919.

<!-- gh-comment-id:620729177 --> @rusty-snake commented on GitHub (Apr 28, 2020): It was fixed on master in https://github.com/netblue30/firejail/commit/cd184e9919bb67fb88ee6208c395682f5f0ba764.
Author
Owner

@jubalh commented on GitHub (Apr 29, 2020):

And 609be4fda2 if I am not mistaken

<!-- gh-comment-id:621140910 --> @jubalh commented on GitHub (Apr 29, 2020): And https://github.com/netblue30/firejail/commit/609be4fda2dda5557de864eba814c42fe2f40dca if I am not mistaken
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/firejail#2128
No description provided.