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

init script doesn't work on CentOS (one-line fix provided) #338

Closed
dtreskunov opened this issue Mar 27, 2013 · 1 comment
Closed

init script doesn't work on CentOS (one-line fix provided) #338

dtreskunov opened this issue Mar 27, 2013 · 1 comment
Assignees
Labels
Milestone

Comments

@dtreskunov
Copy link

I have the following packages:

rundeck-1.5-1.6.GA.noarch
rundeck-config-1.5-1.6.GA.noarch
coreutils-8.4-19.el6.x86_64 (provides /sbin/runuser)
coreutils-libs-8.4-19.el6.x86_64

When I run service rundeckd start, the following line gets written to /var/log/rundeck/service.log and the service doesn't start:

runuser: /bin/nologin: No such file or directory

Changing /etc/init.d/rundeckd like this fixed the issue:
From:

nohup runuser -l rundeck -c "$rundeckd" 2>&1 >>$servicelog &

To:

nohup runuser -s /bin/bash -l rundeck -c "$rundeckd" 2>&1 >>$servicelog &
@gschueler
Copy link
Member

thanks for the fix!

@ghost ghost assigned ahonor Apr 24, 2013
@ahonor ahonor closed this as completed in 16e35f0 Apr 24, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants