systemd-bootchart icon indicating copy to clipboard operation
systemd-bootchart copied to clipboard

systemd-bootchart.service fails to write SVG file

Open teknoraver opened this issue 5 years ago • 0 comments

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

teknoraver avatar May 10 '20 00:05 teknoraver