I have made a customised installation DVD of 12.3 (autoinst.xml). It works perfectly on my simulated environment (VirtualBox), but when running this on real hardware (x86_64, headless, only console, SCSI disk/cdrom) I get the following error quite early after yast2/linuxrc starts doing it’s thing (right after “Initializing”):
Client call failed with 'undefined local variable or method `cdrom' for #<Yast::ProfileLocationClass:0x00000002b381c8>' ...
:
[Ruby] yast/wfm.rb:275 Internal error. Please report a bug report with logs.
Run save_y2logs to get complete logs.
Details: undefined local variable or method `cdrom' for #<Yast::ProfileLocationClass:0x00000002b381c8>
Caller: /usr/share/YaST2/lib/transfer/file_from_url.rb:271:in `get_file_from_url'
I suspect (but cannot be sure) this is due to this error:
ttyS0:install:/var/log/YaST2 # cat y2logMount
mount: special device /dev/disk/by-id/scsi-S__x5b does not exist
The relevant devices look like this:
ttyS0:install:/var/log/YaST2 # ls -l /dev/disk/by-id/scsi-S__\\x5b
lrwxrwxrwx 1 root root 9 Mar 24 09:57 '/dev/disk/by-id/scsi-S__\x5b' -> ../../sr0
ttyS0:install:/var/log/YaST2 # ls -l /dev/sr0
brw-rw---- 1 root cdrom 11, 0 Mar 24 09:57 /dev/sr0
ttyS0:install:/var/log/YaST2 # ls -l /dev/cdrom
lrwxrwxrwx 1 root root 3 Mar 24 09:57 /dev/cdrom -> sr0
This /dev/disk/by-id/scsi-S__\x5b device also appears on the same hardware with a normal (non-autoyast) installation, regardless of which CD-/DVD-ROM device is plugged in (as far as I have been able to test) and whether it is USB or SCSI.
For other reasons (legacy dependencies), I’m stuck with 12.3.
Any ideas to a) why this is happening and b) how to fix or work around the problem?