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

rsyslog: fix sbindir variable substitution #321

Commits on Mar 12, 2021

  1. rsyslog: fix sbindir variable substitution

    Noticed that when we pulled the latest commits into OpenBMC that this
    issue hit:
    systemd[228]: rsyslog.service: Failed to locate executable /rsyslogd: No such file or directory
    
    Looking at the service file you can see the issue with the ExecStart
    line:
    cat /lib/systemd/system/rsyslog.service
    [Unit]
    Description=System Logging Service
    Requires=syslog.socket
    Wants=network.target network-online.target
    After=network.target network-online.target
    Documentation=man:rsyslogd(8)
    Documentation=http://www.rsyslog.com/doc/
    
    [Service]
    Type=notify
    ExecStart=/rsyslogd -n -iNONE
    
    The issue appears to be with the sed statement in situations where the
    systemd feature is enabled. A {} is required around the sbindir vs.
    the ().
    
    Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
    geissonator committed Mar 12, 2021
    Configuration menu
    Copy the full SHA
    35ad735 View commit details
    Browse the repository at this point in the history