You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
host os: Linux 5.6.4, NixOS, 20.09.git.a2d9f584333M (Nightingale)
multi-user?: yes
sandbox: yes
version: nix-env (Nix) 2.3.4
nixpkgs: /home/alab/ws/nixpkgs
Maintainer information:
# a list of nixpkgs attributes affected by the problemattribute: systemd.tmpfiles.rules# a list of nixos modules affected by the problemmodule: nixos/modules/services/misc/nix-daemon.nix
The text was updated successfully, but these errors were encountered:
calbrecht
changed the title
nix-daemon sets /tmp 775 and tempfilesd ignores second entry which reverts to 777
nix-daemon sets /tmp 775 and tempfilesd ignores second entry which should revert to 777
Apr 19, 2020
Just far enough to get the fix for
NixOS/nixpkgs#85552
I'm surprised how much still worked without being able to
write to /tmp, though some of that may have been due to
existing files.
Describe the bug
nix-daemon.nix sets
/tmp
to775 root root
That is written into
/etc/tmpfiles.d/nixos.conf
systemd-tmpfiles
ignores duplicate entries and warns when doingsudo nixos-rebuild test
with the messageTo Reproduce
Steps to reproduce the behavior:
systemd.tmpfiles.rules
sudo nixos-rebuild test
systemd-tmpfiles
/tmp
owned by root and not writeable by unpriviledged usersExpected behavior
/tmp should be writeable by unpriviledged users
Notify maintainers
@avnik
Metadata
"x86_64-linux"
Linux 5.6.4, NixOS, 20.09.git.a2d9f584333M (Nightingale)
yes
yes
nix-env (Nix) 2.3.4
/home/alab/ws/nixpkgs
Maintainer information:
The text was updated successfully, but these errors were encountered: