-
-
Notifications
You must be signed in to change notification settings - Fork 13.7k
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
lightdm is writing config files to / #187963
Comments
I just realized after I posted this that I used an old iso from 21.11 to install. So I reinstalled with 22.05, and this still happens - system: `"x86_64-linux"`
- host os: `Linux 5.15.60, NixOS, 22.05 (Quokka), 22.05.2609.52527082ea2`
- multi-user?: `yes`
- sandbox: `yes`
- version: `nix-env (Nix) 2.8.1`
- channels(root): `"nixos-22.05.2609.52527082ea2"`
- nixpkgs: `/nix/var/nix/profiles/per-user/root/channels/nixos` |
Are you using KDE Plasma? Can you reproduce the issue with SDDM? |
I am using KDE. The issue also happens with SDDM. I went ahead and tested GDM as well (while still using plasma,) and it does not happen. |
I can reproduce. For my case, in |
All the files in my / are exactly the files being generated in desktop-managers/plasma5.nix |
I can reproduce this with Plasma 5/SDDM on nixpkgs-unstable. |
I also observed these files, tracked down the problem and prepared a pull-request that -- hopefully -- fixes the issue: #199881 . I came to the conclusion that it is best to entirely remove the code that creates those file. However, I feel a bit unconfident about my solution, so it would be good to have it tested by more users. If you can spare the time, please have a look at my draft pull request, maybe try my solution, and feel free to report back or even drop a review. Thanks a lot! |
These commands create horrible directories & files: /.gtkrc and /.cache during system boot. The patch is a workaround of NixOS/nixpkgs#199881, NixOS/nixpkgs#187963. Link: NixOS/nixpkgs#187963 Link: NixOS/nixpkgs#199881 (review)
These commands create horrible directories & files: /.gtkrc and /.cache during system boot. The patch is a workaround of NixOS/nixpkgs#199881, NixOS/nixpkgs#187963. Link: NixOS/nixpkgs#187963 Link: NixOS/nixpkgs#199881 (review)
Describe the bug
On a fresh install, lightdm is writing several files to /
These should probably be either in /root or in some other runtime directory.config .cache and .gtkrc-2.0
Steps To Reproduce
Steps to reproduce the behavior:
Expected behavior
That my / will stay clean.
Additional context
If I stop display-manager.service, delete the files, then restart it, the files return.
Looking in my /etc/passwd, shows that lightdm does have a home directory set at /var/lib/lightdm. But for some reason these files are not being written there as they should be.
Notify maintainers
@davidak
@bobby285271
Metadata
Please run
nix-shell -p nix-info --run "nix-info -m"
and paste the result.The text was updated successfully, but these errors were encountered: