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

systemd-bootchart.service fails to write SVG file #45

Open
teknoraver opened this issue May 10, 2020 · 0 comments
Open

systemd-bootchart.service fails to write SVG file #45

teknoraver opened this issue May 10, 2020 · 0 comments

Comments

@teknoraver
Copy link

systemd-bootchart exits with an error:

matteo@turbo:~$ sudo systemctl status systemd-bootchart.service 
● systemd-bootchart.service - Boot Process Profiler
     Loaded: loaded (/usr/lib/systemd/system/systemd-bootchart.service; enabled; vendor preset: disabled)
     Active: failed (Result: exit-code) since Sun 2020-05-10 02:18:56 CEST; 1min 55s ago
       Docs: man:systemd-bootchart.service(1)
             man:bootchart.conf(5)
    Process: 589 ExecStart=/usr/lib/systemd/systemd-bootchart -r (code=exited, status=1/FAILURE)
   Main PID: 589 (code=exited, status=1/FAILURE)
        CPU: 3.690s

mag 10 02:18:56 turbo systemd-bootchart[589]: Error opening output file '/run/log/bootchart-20200510-0218.svg': Permission denied
mag 10 02:18:56 turbo systemd[1]: systemd-bootchart.service: Main process exited, code=exited, status=1/FAILURE
mag 10 02:18:56 turbo systemd[1]: systemd-bootchart.service: Failed with result 'exit-code'.
mag 10 02:18:56 turbo systemd[1]: systemd-bootchart.service: Consumed 3.690s CPU time.

but actually the file does exist and is writable:

matteo@turbo:~$ ll /run/log/bootchart-20200510-0218.svg
-rw-rw-rw-. 1 root root 48K mag 10 02:18 /run/log/bootchart-20200510-0218.svg

I'm using Fedora 32:

matteo@turbo:~$ uname -a
Linux turbo 5.6.10-300.fc32.x86_64 #1 SMP Mon May 4 14:29:45 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
matteo@turbo:~$ rpm -q systemd
systemd-245.4-1.fc32.x86_64
matteo@turbo:~$ rpm -q systemd-bootchart
systemd-bootchart-233-6.fc32.x86_64
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant