defaults to /var/log/bootchart.tgz which doesn't exist

Bug #565970 reported by ullix on 2010-04-18
This bug affects 6 people
Affects Status Importance Assigned to Milestone
pybootchartgui (Ubuntu)

Bug Description

Binary package hint: bootchart

When bootchart is started by the command 'bootchart' , it tries to find '/var/log/bootchart.tgz', while Lucid stores its files in it own subdiretory '/var/log/bootchart/' with names like 'hostname-lucid-20100418-1.tgz'.
The default path should include the subdirectory bootchart.

Just changing the path won't help, since bootchart can't predict what the right path would be.

For lucid, it's probably wisest to use the latest .tgz file in /var/log/bootchart

affects: bootchart (Ubuntu) → pybootchartgui (Ubuntu)
Changed in pybootchartgui (Ubuntu):
status: New → Triaged
importance: Undecided → Low
summary: - [ubuntu lucid] bootchart uses wrong default folder
+ defaults to /var/log/bootchart.tgz which doesn't exist
Sander Jonkers (jonkers) wrote :

And what if /var/log/bootchart/ neither exists?

sander@quirinius:~$ bootchart
No path given, trying /var/log/bootchart.tgz
warning: path '/var/log/bootchart.tgz' does not exist, ignoring.
Parse error: empty state: '/var/log/bootchart.tgz' does not contain a valid bootchart

sander@quirinius:~$ ls -al /var/log/bootchart/
ls: cannot access /var/log/bootchart/: No such file or directory

sander@quirinius:~$ uname -a
Linux quirinius 2.6.32-22-generic-pae #33-Ubuntu SMP Wed Apr 28 14:57:29 UTC 2010 i686 GNU/Linux

sander@quirinius:~$ cat /etc/lsb-release

Sander Jonkers (jonkers) wrote :

Oops, sorry: after installing bootchart (not just pybootchargui), /var/log/bootchart/ does exist, and contains a .tgz and even a .png.

Roman Stingler (coolx67) wrote :

if this error message is displayed:

/var/log/bootchart.tgz not found

and you have a SSD and optimized it in fstab like me

 tmpfs /tmp tmpfs nodev,nosuid 0 0

tmpfs /dev/shm tmpfs nodev,nosuid 0 0

tmpfs /var/tmp tmpfs defaults 0 0

tmpfs /var/log tmpfs nodev,nosuid 0 0

tmpfs /var/cache/apt/archives tmpfs defaults 0 0

 there is the problem that all in /var/log is deleted after reboot because it's in the RAM

so all you have to do is just add this line

tmpfs /var/log/bootchart tmpfs nodev,nosuid 0 0

so the folder is being created and the files are copied after a few seconds.

meda (ademcal) on 2014-11-28
Changed in pybootchartgui (Ubuntu):
assignee: nobody → meda (ademcal)
assignee: meda (ademcal) → nobody
assignee: nobody → meda (ademcal)
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers