!MthpOIxqJhTgrMNxDS:nixos.org

NixOS ACME / LetsEncrypt

117 Members
Another day, another cert renewal48 Servers

You have reached the beginning of time (for this room).


SenderMessageTime
2 Feb 2023
@raitobezarius:matrix.orgraitobezariusSo even if you bind it, you cannot read it because it's not a+r or you're not in the group (or it's not g+r, whatever)23:40:42
@raitobezarius:matrix.orgraitobezariusOr am I confusing it with ReadOnlyPaths23:40:50
@hexa:lossy.networkhexaI don't think you need extra permissions, when systemd provides the mount for the service23:49:16
3 Feb 2023
@hexa:lossy.networkhexa hm, nvm. I did indeed add SupplementaryGroup with BindPaths 00:15:39
@m1cr0man:m1cr0man.comm1cr0manLoadCredentials isn't the best option unfortunately because it means you must always restart the service, as a reload won't reload the creds from disk.21:42:13
@m1cr0man:m1cr0man.comm1cr0manTemporaryFilesystem suffers the same caveat21:42:23
@m1cr0man:m1cr0man.comm1cr0manFor things where restart is viable/standard, then LoadCredential can work quite well21:42:39
@hexa:lossy.networkhexayeah, LoadCredential= would need to inotify the original file and sighup the process or something to be useful22:47:36
@m1cr0man:m1cr0man.comm1cr0man Or systemd needs to provide a mechanism for reloading credential files in cases where the application will auto-reload all files itself. Like, if I could do systemctl reload httpd --credentials that would do the trick so long as credentials are reloaded before the process itself 22:51:31
@hexa:lossy.networkhexahow does BindPaths suffer from the same caveat, then its just a bind mount?22:55:13
@hexa:lossy.networkhexa * how does BindPaths suffer from the same caveat, when its just a bind mount?22:55:35
4 Feb 2023
@m1cr0man:m1cr0man.comm1cr0manI was only referring to LoadCredentials. BindPaths is fine if you are also ok with extending the service user's groups in some fashion.11:47:57
7 Feb 2023
@m1cr0man:m1cr0man.comm1cr0manI just saw #215124, will look into it tonight15:19:02

Show newer messages


Back to Room ListRoom Version: 6