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
the limit is 32 characters according to the useradd manpage
systemctl status static-darkhttpd-options-search-darkhttpd
echo static-darkhttpd-options-search-darkhttpd | wc
1 1 42
the problem is that systemd won't be able to start the services with a 'too' long username and bail out with a:
Mar 08 18:58:01 nixos systemd[1]: /nix/store/0fd31nk9n2yankhvg5hq2z7nxa7gcr29-unit-static-darkhttpd-iiiiiiii-darkhttpd.service/static-darkhttpd-iiiiiiii-darkhttpd.service:14: Invalid user/group name or numeric ID: static-darkhttpd-iiiiiiii-webserver
Mar 08 18:58:01 nixos systemd[1]: static-darkhttpd-iiiiiiii-darkhttpd.service: Cannot add dependency job, ignoring: Unit static-darkhttpd-iiiiiiii-darkhttpd.service is not loaded properly: Exec format error.
diff --git a/modules/web/core/webserver.nix b/modules/web/core/webserver.nix
index 6d0ebb4..c7d5e12 100644
--- a/modules/web/core/webserver.nix
+++ b/modules/web/core/webserver.nix
@@ -59,7 +59,7 @@ in {
};
webserver.user = lib.mkOption {
- default = "webserver";
+ default = "";
type = lib.types.str;
description = "The main user name which executes this webservice.";
};
@@ -76,7 +76,7 @@ in {
};
webserver.group = lib.mkOption {
- default = "webserver";
+ default = "";
type = lib.types.str;
description = "The main group name which executes this webservice.";
};
The text was updated successfully, but these errors were encountered:
issue description
user/group
names are getting too long:the limit is 32 characters according to the useradd manpage
the problem is that systemd won't be able to start the services with a 'too' long username and bail out with a:
nixpkgs
NixOS/nixpkgs#36556
nixcloud-webservices
@aszlig i'd like to apply this patch
The text was updated successfully, but these errors were encountered: