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

service.running fails on OpenSUSE #14

Open
noelmcloughlin opened this issue Jun 27, 2019 · 4 comments
Open

service.running fails on OpenSUSE #14

noelmcloughlin opened this issue Jun 27, 2019 · 4 comments

Comments

@noelmcloughlin
Copy link
Member

State failure on OpenSUSE 15

 ID: sysstat-service
    Function: service.running
        Name: boot.sysstat
      Result: False
     Comment: The named service boot.sysstat is not available
     Started: 03:10:51.472607
    Duration: 11.789 ms
     Changes:
@aboe76
Copy link
Member

aboe76 commented Jun 27, 2019

@noelmcloughlin I think it is sysstat.service

the sysstat package on opensuse provides this:

content:

[Unit]
Description=Write information about system start to sysstat log
After=remote-fs.target local-fs.target
Before=cron.service

[Service]
Type=oneshot
ExecStart=/usr/lib/sa/sa1  --boot
ExecStart=/bin/ln -fs /etc/sysstat/sysstat.cron /etc/cron.d/sysstat
ExecStop=/bin/rm -f /etc/cron.d/sysstat
StandardOutput=null
RemainAfterExit=true

[Install]
WantedBy=multi-user.target

@noelmcloughlin
Copy link
Member Author

Ahh, the name is wrong. okay. thanks @aboe76

@aboe76
Copy link
Member

aboe76 commented Jun 27, 2019

no problem

@noelmcloughlin
Copy link
Member Author

Fixed by #12

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

No branches or pull requests

2 participants