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

Feature req: systemd in home dir #11401

Closed
Tracked by #11422
unidef opened this issue Mar 30, 2024 · 2 comments
Closed
Tracked by #11422

Feature req: systemd in home dir #11401

unidef opened this issue Mar 30, 2024 · 2 comments

Comments

@unidef
Copy link

unidef commented Mar 30, 2024

Id like systemd to be in the home dir for stuff like servers or maybe even multiple low priv servers for azure or wsl, it could help on wsl desktop

btw last time I tried online politics I made no sense lol I’m on meds

but in a container or azure it allows stuff cosmetic stuff like postfix on port 35k for stuff while stuff like spamd and imapd run on logical user accounts for testbedding

Systemd in the home dir allows stuff like, allowing custom start files for postfix and ftpd, could help for sys admin, while a main postfix runs as root, and a gui to it all would be nice

you can setup a quick version with a daemon that elevates privilege and copies of systemd files

@unidef unidef added the feature label Mar 30, 2024
Copy link

Logs are required for review from WSL team

If this a feature request, please reply with '/feature'. If this is a question, reply with '/question'.
Otherwise please attach logs by following the instructions below, your issue will not be reviewed unless they are added. These logs will help us understand what is going on in your machine.

How to collect WSL logs

Download and execute collect-wsl-logs.ps1 in an administrative powershell prompt:

Invoke-WebRequest -UseBasicParsing "https://raw.githubusercontent.com/microsoft/WSL/master/diagnostics/collect-wsl-logs.ps1" -OutFile collect-wsl-logs.ps1
Set-ExecutionPolicy Bypass -Scope Process -Force
.\collect-wsl-logs.ps1

The scipt will output the path of the log file once done.

Once completed please upload the output files to this Github issue.

Click here for more info on logging
If you choose to email these logs instead of attaching to the bug, please send them to [email protected] with the number of the github issue in the subject, and in the message a link to your comment in the github issue and reply with '/emailed-logs'.

@OneBlue
Copy link
Collaborator

OneBlue commented Apr 1, 2024

By 'home', do you mean usermode systemctl ? If so this is already supported. You can create and access systemd units via systemctl --user <command> as long as systemd is enabled.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants