Project

General

Profile

Actions

Bug #15434

closed

Cannot start relayd

Added by Nicolas CHARLES over 5 years ago. Updated about 5 years ago.

Status:
Released
Priority:
N/A
Category:
Server components
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
0
Name check:
To do
Fix check:
To do
Regression:

Description

running systemctl start rudder-relayd doesn't start relayd on centos7
exit code is indeed 0, but journalctl shows

Aug 08 12:49:48 server systemd[1]: Started Rudder Relay Daemon.
Aug 08 12:49:48 server polkitd[682]: Unregistered Authentication Agent for unix-process:23907:277601 (system bus name :1.118, object path /org/freedesktop/PolicyKit1/AuthenticationAgent, locale en_US.UTF-8) (disconnected from bus)
Aug 08 12:49:48 server rudder-relayd[23913]:  INFO relayd: Starting rudder-relayd 5.1.0-alpha1-git201908072219
Aug 08 12:49:48 server rudder-relayd[23913]:  INFO relayd: Read configuration from "/opt/rudder/etc/relayd/" 
Aug 08 12:49:48 server rudder-relayd[23913]: ERROR rudder_relayd: I/O error: Permission denied (os error 13)
Aug 08 12:49:48 server systemd[1]: rudder-relayd.service: main process exited, code=exited, status=1/FAILURE
Aug 08 12:49:48 server systemd[1]: Unit rudder-relayd.service entered failed state.

perms are
drwxr-xr-x.  2 root root     43 Aug  8 12:50 relayd

root@server:/var/rudder/reports# ls -alh /opt/rudder/etc/relayd
total 12K
drwxr-xr-x.  2 root root   43 Aug  8 12:50 .
drwxr-xr-x. 10 root root 4.0K Aug  8 12:50 ..
-rw-r--r--.  1 root root  429 Aug  8 08:50 logging.conf
-rw-r--r--.  1 root root  851 Aug  8 12:50 main.conf


Subtasks 2 (0 open2 closed)

Bug #15439: Update rudder relay reload command to permit permission checkReleasedAlexis MoussetActions
Bug #15441: change call to rudder relay reload to check permission of generated fileReleasedAlexis MoussetActions
Actions

Also available in: Atom PDF