3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/nixos/modules
B YI f40f98a732
pam_mount: change order of lines in pam_mount.conf
Change order of pam_mount.conf.xml so that users can override the preset configs.

My use case is to mount a gocryptfs (a fuse program) volume. I can not do that in current order.

Because even if I change the `<fusermount>` and `<fuserumount>` by add below to extraVolumes
```
<fusemount>${pkgs.fuse}/bin/mount.fuse %(VOLUME) %(MNTPT) "%(before=\"-o \" OPTIONS)"</fusemount>
<fuseumount>${pkgs.fuse}/bin/fusermount -u %(MNTPT)</fuseumount>
```
mount.fuse still does not work because it can not find `fusermount`. pam_mount will told stat /bin/fusermount failed.

Fine, I can add a `<path>` section to extraVolumes
```
<path>${pkgs.fuse}/bin:${pkgs.coreutils}/bin:${pkgs.utillinux}/bin</path>
```
but then the `<path>` section is overridden by the hardcoded `<path>${pkgs.utillinux}/bin</path>` below. So it still does not work.
2019-11-03 12:43:01 +08:00
..
config Merge pull request #68483 from chkno/optional-home-bin-in-path 2019-11-02 14:27:24 +01:00
hardware nixos/steam-hardware: add uinput to boot.kernelModules 2019-10-06 11:34:54 +09:00
i18n/input-method Revert "nixos/doc: re-format" 2019-09-19 19:17:30 +02:00
installer nixos-generate-config: Fix incorrectly named option 2019-11-02 15:46:16 -04:00
misc locate.nix: Don't create /var/cache 2019-10-08 21:45:42 +02:00
profiles Revert "installer: Disable udisks" 2019-10-16 20:31:24 -04:00
programs Merge pull request #72391 from urkud/gnupg-pinentry-gnome3 2019-11-01 13:02:21 +00:00
security pam_mount: change order of lines in pam_mount.conf 2019-11-03 12:43:01 +08:00
services Merge pull request #72415 from 1000101/trickster 2019-11-01 15:39:50 +01:00
system nixos/networkd: add ipv4-fallback and fallback as valid options to LinkLocalAddressing 2019-10-28 20:51:17 +01:00
tasks Fix typo in message (vswichtesvswitches) 2019-10-26 13:26:01 +02:00
testing nixos/test: remove the stateVersion statement from the test-instrumentation 2019-06-03 15:05:24 +02:00
virtualisation ec2-utils: init at 0.5.1, include in amazon-image profile (#67347) 2019-11-01 20:57:44 +00:00
module-list.nix Merge pull request #72415 from 1000101/trickster 2019-11-01 15:39:50 +01:00
rename.nix nixos/matomo: fix deprecation warnings 2019-10-28 05:07:27 +00:00