[Bug 2041699] [NEW] term.log is a 0 byte file
Launchpad Bug Tracker
2041699 at bugs.launchpad.net
Thu Nov 16 16:16:44 UTC 2023
You have been subscribed to a public bug by Benjamin Drung (bdrung):
There is code in ubuntu-release-upgrader to create a term.log file but
looking at ubuntu-release-upgrader bug reports (there is an apport hook
which attaches it) and upgrades I've done recently term.log appears to
be a 0 byte file.
DistUpgrade/DistUpgradeViewGtk3.py
601: self._terminal_log = open(os.path.join(self.logdir,"term.log"),"w")
Having term.log would have been helpful as messages regarding upgrading
/ refreshing snaps are sent there.
$ stat /var/log/dist-upgrade/term.log
File: /var/log/dist-upgrade/term.log
Size: 0 Blocks: 0 IO Block: 4096 regular empty file
Device: 252,4 Inode: 1708433 Links: 1
Access: (0644/-rw-r--r--) Uid: ( 0/ root) Gid: ( 0/ root)
Access: 2023-09-08 15:39:42.130497519 -0700
Modify: 2023-09-06 16:03:54.183130984 -0700
Change: 2023-09-06 16:03:54.183130984 -0700
Birth: 2023-09-06 16:03:54.183130984 -0700
This is a search of my local cache of bug attachments:
$ find . -iname \*DistupgradeTermlog\*
./bug-1173934/VarLogDistupgradeTermlog.txt
./bug-930839/VarLogDistupgradeTermlog.txt
./bug-1265387/VarLogDistupgradeTermlog.txt
./bug-1175251/VarLogDistupgradeTermlog.txt
./bug-1316789/VarLogDistupgradeTermlog.txt
./bug-2037899/VarLogDistupgradeTermlog.txt
./bug-1998935/VarLogDistupgradeTermlog.txt
./bug-1302218/VarLogDistupgradeTermlog.txt
./bug-2002380/VarLogDistupgradeTermlog.txt
./bug-1547837/VarLogDistupgradeTermlog.txt
./bug-1026588/VarLogDistupgradeTermlog.txt
** Affects: ubuntu-release-upgrader (Ubuntu)
Importance: High
Status: New
** Tags: foundations-todo
--
term.log is a 0 byte file
https://bugs.launchpad.net/bugs/2041699
You received this bug notification because you are a member of Ubuntu Foundations Bugs, which is subscribed to the bug report.
More information about the foundations-bugs
mailing list