Skip to content

Adding user service support fails: No such file or directory #873

@brandon-arnold

Description

@brandon-arnold

Hi all. I'm on Artix Linux, but the documentation for OpenRC in Gentoo's Wiki has been pretty solid so far.

I'm trying to get the experimental user services going. Generally I can get it going if I copy-paste /etc/init.d/user to /etc/init.d/user_brandon, and run sudo rc-update add user_brandon manually. Notice the underscore in my filename.

This filename isn't kosher with the documentation and doesn't start as-is on boot. I'm pretty sure I could just edit the script to make it work, but I want to do it the way the documentation (and OpenRC) is designed.

The recommended approach is making a symlink from, e.g., /etc/init.d/user.brandon -> /etc/init.d/user, with a dot . in the filename. But:

sudo ln -s /etc/init.d/user /etc/init.d/user.brandon
sudo rc-update add user.brandon
 * rc-update: failed to add service `user.brandon' to runlevel `default': No such file or directory

Can anyone say why?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions