[Nix-dev] [Nix-commits] [NixOS/nixpkgs] 5a475f: utillinux: fixing mount/umount, for our case of /e...
Lluís Batlle i Rossell
viric at viric.name
Mon Dec 17 13:26:53 CET 2012
On Mon, Dec 17, 2012 at 01:24:32PM +0100, Eelco Dolstra wrote:
> On 16/12/12 15:44, Lluís Batlle i Rossell wrote:
>
> > Branch: refs/heads/master
> > Home: https://github.com/NixOS/nixpkgs
> > Commit: 5a475f72501f4fafd90342db2b22651fde40b097
> > https://github.com/NixOS/nixpkgs/commit/5a475f72501f4fafd90342db2b22651fde40b097
> > Author: Lluís Batlle i Rossell <viric at viric.name>
> > Date: 2012-12-16 (Sun, 16 Dec 2012)
> >
> > Changed paths:
> > M pkgs/os-specific/linux/util-linux/default.nix
> >
> > Log Message:
> > -----------
> > utillinux: fixing mount/umount, for our case of /etc/mtab symlinking to /proc/mounts
>
> This breaks VM builds (see e.g. http://hydra.nixos.org/build/3509195).
>
> > In systemd, without this patch, 'mount' for 'user' fstab devices works, but
> > umount does not; it says to require root.
>
> Don't "user" fstab devices (an obsolete concept, btw) require a setuid mount
> program?
Hello,
Yes. We have setuid mount and umount. But umount didn't work without the patch
in systemd. No idea why.
Are such obsolete concepts depreated already? :)
More information about the nix-dev
mailing list