Skip to content
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

fcron-module: Add fcron user. Fixes #23320 #23413

Closed
wants to merge 1 commit into from
Closed

fcron-module: Add fcron user. Fixes #23320 #23413

wants to merge 1 commit into from

Conversation

ndowens
Copy link
Contributor

@ndowens ndowens commented Mar 3, 2017

Motivation for this change

Add fcron user

Things done
  • Tested using sandboxing
    (nix.useSandbox on NixOS,
    or option build-use-sandbox in nix.conf
    on non-NixOS)
  • Built on platform(s)
    • NixOS
    • macOS
    • Linux
  • Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
  • Tested execution of all binary files (usually in ./result/bin/)
  • Fits CONTRIBUTING.md.

@mention-bot
Copy link

@ndowens, thanks for your PR! By analyzing the history of the files in this pull request, we identified @edolstra, @peti and @nbp to be potential reviewers.

@ndowens ndowens mentioned this pull request Mar 3, 2017
7 tasks
@@ -105,6 +105,10 @@ in
];

environment.systemPackages = [ pkgs.fcron ];
users.extraUsers.fcron = {
isNormalUser = true;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why does it need to be a normal user?

@ndowens
Copy link
Contributor Author

ndowens commented Mar 3, 2017 via email

@joachifm
Copy link
Contributor

joachifm commented Mar 3, 2017

Safer than what? Daemon users are typically added as system users, not ordinary logins.

@ndowens
Copy link
Contributor Author

ndowens commented Mar 3, 2017 via email

@joachifm
Copy link
Contributor

joachifm commented Mar 3, 2017

Sure, but please use isSystemUser for daemon accounts.

@ndowens
Copy link
Contributor Author

ndowens commented Mar 3, 2017 via email

fcron-mod: changed isNormalUser to isSystemUser
@ndowens
Copy link
Contributor Author

ndowens commented Mar 3, 2017 via email

Mic92 added a commit that referenced this pull request Mar 5, 2017
@Mic92
Copy link
Member

Mic92 commented Mar 5, 2017

fixed by 947815f

@Mic92 Mic92 closed this Mar 5, 2017
Mic92 added a commit that referenced this pull request Mar 5, 2017
fixes #23320 #23413

(cherry picked from commit 947815f)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants