-
-
Notifications
You must be signed in to change notification settings - Fork 17.7k
Closed
Labels
0.kind: bugSomething is brokenSomething is broken2.status: stalehttps://github.com/NixOS/nixpkgs/blob/master/.github/STALE-BOT.mdhttps://github.com/NixOS/nixpkgs/blob/master/.github/STALE-BOT.md6.topic: nixosIssues or PRs affecting NixOS modules, or package usability issues specific to NixOSIssues or PRs affecting NixOS modules, or package usability issues specific to NixOS
Description
Describe the bug
hydra-init (and the rest of hydra) fails if sudo is disabled.
systemd[1]: Starting hydra-init.service...
sudo[2278042]: root : unable to stat /etc/sudoers : No such file or directory ; PWD=/ ; USER=postgres ;
hydra-init-pre-start[2278042]: sudo: unable to stat /etc/sudoers: No such file or directory
hydra-init-pre-start[2278042]: sudo: no valid sudoers sources found, quitting
hydra-init-pre-start[2278042]: sudo: error initializing audit plugin sudoers_audit
systemd[1]: hydra-init.service: Control process exited, code=exited, status=1/FAILURE
Steps To Reproduce
Install hydra and set security.sudo.enable = false
Expected behavior
Hydra works.
NixOS 21.11
Metadata
Metadata
Assignees
Labels
0.kind: bugSomething is brokenSomething is broken2.status: stalehttps://github.com/NixOS/nixpkgs/blob/master/.github/STALE-BOT.mdhttps://github.com/NixOS/nixpkgs/blob/master/.github/STALE-BOT.md6.topic: nixosIssues or PRs affecting NixOS modules, or package usability issues specific to NixOSIssues or PRs affecting NixOS modules, or package usability issues specific to NixOS