agama-project / agama

A service-based Linux installer
https://agama-project.github.io/
GNU General Public License v2.0
143 stars 43 forks source link

Latest agama produces unbootable Leap16 #1446

Closed lkocman closed 4 months ago

lkocman commented 4 months ago

Tested with latest agama in :Devel. Neither TW nor Leap16 can boot to grub2 after installation. Screen is stuck at loading bootloader.

image

stacheldrahtje commented 4 months ago

I get the same result in a KVM VM, no exotic options WRT partitioning.

lkocman commented 4 months ago

logs from TW based installation done by agama-installer-openSUSE.x86_64-9.0.0-openSUSE-Build5.3.iso (downloaded from :Devel) today in the morning). All kept as default just changed root password.

YaST2.zip

lkocman commented 4 months ago

Hmmm that system indeed booted. Seems like ball is on my playground.

imobachgs commented 4 months ago

I have reproduced the problem with Leap 16.0. Here are the YaST2 logs. y2logs-leap.tar.gz

imobachgs commented 4 months ago

I do not whether it is a red herring, but Agama cannot umount the target system at the end of the installation because of this:

# fuser -mv /mnt
                     USER        PID ACCESS COMMAND
/mnt:                root     kernel mount /mnt
                     root      11326 .rce. gpg-agent
                     root      11328 .rce. scdaemon

And the processes look like this:

 gpg-agent --homedir /var/tmp/zypp.sGTfPc/zypp-trusted-krhTfaOt --use-standard-socket --daemon
 scdaemon --multi-server --homedir /var/tmp/zypp.sGTfPc/zypp-trusted-krhTfaOt

Bear in mind that /var/tmp/zypp.sGTfPc is under /mnt.

lkocman commented 4 months ago

ah that could be it!

lkocman commented 4 months ago

YaST2.zip

uploading recent logs after fixing the product fine in 000release-packages

stacheldrahtje commented 4 months ago

Mount strikes again: 2024-07-10 13:47:30 <3> agama(2710) [Ruby] lib/cheetah.rb(log_stream_line):211 Error output: umount: /mnt/run: target is busy.

and in de y2log-1 file: 2024-07-10 13:41:34 <1> agama(2708) [Ruby] lib/cheetah.rb(record_commands):163 Executing "/usr/bin/mount -o ro UUID\=64f87baa-4d25-4e15-8f1c-49033389bab4 /mnt". 2024-07-10 13:41:34 <1> agama(2708) [Ruby] lib/cheetah.rb(record_status):183 Status: 0 2024-07-10 13:41:34 <1> agama(2708) [Ruby] modules/Misc.rb(SysconfigRead):182 ."/mnt/etc/os-release"."NAME": 'openSUSE Leap' 2024-07-10 13:41:34 <1> agama(2708) [Ruby] lib/cheetah.rb(record_commands):163 Executing "/usr/bin/umount -R /mnt". 2024-07-10 13:41:34 <1> agama(2708) [Ruby] lib/cheetah.rb(record_status):183 Status: 0 2024-07-10 13:41:34 <1> agama(2708) [Ruby] lib/cheetah.rb(record_commands):163 Executing "/usr/bin/mount -o ro UUID\=2d4794f0-3253-4d92-a12c-1cfc61559fa6 /mnt". 2024-07-10 13:41:34 <3> agama(2708) [Ruby] lib/cheetah.rb(log_stream_line):211 Error output: mount: /mnt: unknown filesystem type 'swap'. 2024-07-10 13:41:34 <3> agama(2708) [Ruby] lib/cheetah.rb(log_stream_line):211 Error output: dmesg(1) may have more information after failed mount system call. 2024-07-10 13:41:34 <3> agama(2708) [Ruby] lib/cheetah.rb(record_status):183 Status: 32 2024-07-10 13:41:34 <3> agama(2708) [Ruby] y2storage/filesystem_reader.rb(rescue in read_linux_system):181 CAUGHT exception: mount failed for UUID=2d4794f0-3253-4d92-a12c-1cfc61559fa6

imobachgs commented 4 months ago

Hi @stacheldrahtje,

Which version are you trying? It was reported to work in a previous comment.

stacheldrahtje commented 4 months ago

I sifted through Lubos latest attachment.

imobachgs commented 4 months ago

It looks like these logs are old. The good ones are here: https://github.com/openSUSE/agama/issues/1447#issuecomment-2220516871.

imobachgs commented 4 months ago

No problem, it wasn't clear. I can confirm that it works, hence I am closing the bug.

bittin commented 3 months ago

tested now and worked to install with: https://download.opensuse.org/repositories/systemsmanagement:/Agama:/Devel/images/iso/agama-installer-openSUSE.x86_64-9.0.0-openSUSE-Build9.21.iso but could not install any packages but i guess not much is packaged yet