-
Notifications
You must be signed in to change notification settings - Fork 247
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
init.d/bootmisc: create /run/user #659
base: master
Are you sure you want to change the base?
Conversation
init.d/bootmisc.in
Outdated
if [ ! -d /run ]; then | ||
extra="/var/run $extra" | ||
fi | ||
else | ||
extra=/var/run | ||
extra=/var/run /var/run/user |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
missing quoting
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice catch
init.d/bootmisc.in
Outdated
@@ -168,11 +168,14 @@ start() | |||
if [ "$RC_UNAME" = Linux ]; then | |||
# Satisfy Linux FHS | |||
extra=/var/lib/misc | |||
if [ ! -d /var/run/user ]; then |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we should stick to /run/user
, not /var/run
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
okay
This is needed for some pam services that create the user XDG_RUNTIME_DIR. By example dumb_runtime_dir require the RUNTIME_DIR_PARENT to be present first.
Can I have some news about this? Its been some months and I still would like for this directory to exists thanks to openrc. |
This is an humble bump. Someone could give a review please? |
This is needed for some pam services that create the user XDG_RUNTIME_DIR. By example dumb_runtime_dir require the RUNTIME_DIR_PARENT to be present first.
Fixes: #658