Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NixOS/nixpkgs
base: e569d1e99e23
Choose a base ref
...
head repository: NixOS/nixpkgs
compare: 88e69097fa12
Choose a head ref
  • 2 commits
  • 1 file changed
  • 2 contributors

Commits on Nov 3, 2019

  1. 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.
    contrun committed Nov 3, 2019
    Copy the full SHA
    f40f98a View commit details
    Browse the repository at this point in the history
  2. Merge pull request #72664 from contrun/patch-2

    pam_mount: change order of lines in pam_mount.conf
    matthewbauer committed Nov 3, 2019
    Copy the full SHA
    88e6909 View commit details
    Browse the repository at this point in the history