openSUSE / agama

A service-based Linux installer
GNU General Public License v2.0
126 stars 36 forks source link

Getting logs from a successful installation screen #1447

Open lkocman opened 2 weeks ago

lkocman commented 2 weeks ago

Hello team,

we're debugging issue #1446 where installation passes and system is not bootable and it would still be nice to be able to get logs even from a successful installation. I already got used so much to convenience to fetch logs from a webbroswer.

image

Current steps is

agama:~ # tar -cvf YaST2.tar /var/log/YaST2 # no y2save_logs
tar: Removing leading `/' from member names
/var/log/YaST2/
/var/log/YaST2/storage-inst/
/var/log/YaST2/storage-inst/01-probed.xml
/var/log/YaST2/storage-inst/02-proposed.yml
/var/log/YaST2/storage-inst/03-committed.xml
/var/log/YaST2/storage-inst/03-committed.yml
/var/log/YaST2/storage-inst/02-proposed.xml
/var/log/YaST2/storage-inst/01-probed.yml
/var/log/YaST2/control-inst/
/var/log/YaST2/control-inst/control.xml
/var/log/YaST2/control-inst/README
/var/log/YaST2/y2log-1.gz
/var/log/YaST2/y2log
/var/log/YaST2/config_diff_2024_07_07.log

agama:~ # vim ~/.ssh/authorized_keys # no way I'm retyping that password

lkocman@localhost:~> sftp root@192.168.100.135
Connected to 192.168.100.135.
sftp> ls
YaST2.tar  bin        
sftp> get YaST2.tar 
Fetching /root/YaST2.tar to YaST2.tar
YaST2.tar                                                                                   100% 2380KB 380.8MB/s   00:00    
sftp> 
lkocman commented 1 week ago

Actually if it's done nicely, it could be exposed everywhere including install progress

image

lkocman commented 1 week ago

Fixed by https://build.opensuse.org/package/rdiff/openSUSE:Leap:16.0/000release-packages?linkrev=base&rev=25

image

ancorgs commented 1 week ago

Fixed by https://build.opensuse.org/package/rdiff/openSUSE:Leap:16.0/000release-packages?linkrev=base&rev=25

I think you posted this in the wrong issue. I guess you meant #1446