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

canvas_init: Set shell (-s) - suppport limited system user #2150

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

JedMeister
Copy link

Minor change to canvas_init so that it can also run under a limited system user account (that does not have a shell by default, or uses /bin/nologin or /bin/false).

Currently the service will fail to start if the user does not have a shell set.

As an aside, I would like to see a native systemd service. Even though systemd is ubiquitous these days, it wouldn't be unreasonable to keep this init.d script (e.g. for those few that might wish to use OpenRC - or something else). But a native canvas_init.service file would be preferable. I have personally noticed some weirdness (e.g. the system losing track of it's workers) with the init.d script unless used via systemd (i.e. if you /etc/init.d/canvas_init start, I found on most occasions if I follow that with systemctl status canvas_init it reports "failed" - but it's actually running).

@CLAassistant
Copy link

CLAassistant commented Jan 30, 2023

CLA assistant check
All committers have signed the CLA.

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

Successfully merging this pull request may close these issues.

None yet

3 participants