curtin-install.log and curtin-install-cfg.yaml are not collected

Bug #2059386 reported by Nobuto Murata
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
sosreport (Ubuntu)
Confirmed
Medium
Unassigned

Bug Description

Installed: 4.5.6-0ubuntu1~22.04.2

When a server was provisioned by MAAS, troubleshooting of the installation process or configuration issue require the logs of the curtin process.

It's usually stored in /root

# ll -h /root/curtin-install*
-r-------- 1 root root 5.4K Mar 28 05:34 /root/curtin-install-cfg.yaml
-r-------- 1 root root 109K Mar 28 05:36 /root/curtin-install.log

But those are not collected by sosreport.

$ sudo sos report -a --all-logs

$ grep curtin sos_logs/sos.log
2024-03-28 05:52:14,335 INFO: [plugin:apt] collecting path '/etc/apt/sources.list.curtin.old'
2024-03-28 05:52:14,361 INFO: [plugin:apt] collecting path '/etc/apt/apt.conf.d/90curtin-aptproxy'
2024-03-28 05:52:34,778 INFO: [plugin:system] collecting path '/etc/default/grub.d/50-curtin-settings.cfg'

Revision history for this message
Nobuto Murata (nobuto) wrote (last edit ):

It's worth noting that those files contain some MAAS token.

Revision history for this message
Nobuto Murata (nobuto) wrote :
Arif Ali (arif-ali)
Changed in sosreport (Ubuntu):
status: New → Confirmed
importance: Undecided → Medium
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.