-
Notifications
You must be signed in to change notification settings - Fork 98
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
Wrong link to /usr/local/share/pam-configs/fscrypt #240
Comments
The usual convention is for build systems to install to So if Ubuntu's Of course, there's the option of using |
If anyone else can confirm that the issue described is indeed occurring on their installation of Ubuntu too, then I agree recommending this explicitly is a good idea. If no one experiences this, perhaps it's Linux Mint specific or something else in the way or order of things I use to setup these machines. |
Ubuntu's PAM configuration framework only recognizes files in /usr, not /usr/local. So for installs from source, unfortunately we have to recommend installing to /usr, despite this not being conventional. Resolves #240
@ebiggers commented:
So far I've encountered the same in multiple Debian derivatives. I find it hard to find out what the convention is because documentation on this component is slim. I'm getting the impression that in Debian derivatives (such as Ubuntu, Linux Mint, Pop!OS) system components and security contexts should always be in
On my (Debian/Ubuntu based) systems, Are we sure Google isn't going against the grain here? EDIT - Actually your |
Almost all Linux distros use the convention is that When you install software from source, it usually goes to The problem here is that Ubuntu's PAM configuration framework (which maybe has been adopted by Debian too?) doesn't take |
Thanks for explaining. The prefix works. Can I keep the systems where I manually copied the config file, or will that cause trouble at some point, e.g. when some pam related packages are updated? |
Manually copying the PAM config file into |
I (manually) installed
fscrypt
0.2.9 on Ubuntu 20.04 on a couple of machines, and noticed that whilesudo pam-auth-update
expects/usr/share/pam-configs/fscrypt
but it is actually installed in/usr/local/share/pam-configs/fscrypt
(note thelocal
).On one computer I just copied the file over, and on the other computer I make a symlink:
Both work fine, but I'm not sure what is technically the best workaround.
Perhaps this can be fixed in the Makefile, but that might break things for other distros.
See the following sections in
README.md
:fscrypt/README.md
Lines 138 to 141 in 0972347
fscrypt/README.md
Lines 335 to 340 in 0972347
Feel free to close this issue if
#wontfix
because of reasons.The text was updated successfully, but these errors were encountered: