Bug 381497

Summary: Installation over SSH can't continue after initial reboot, runme_at_boot does not exist
Product: [openSUSE] openSUSE 11.0 Reporter: Forgotten User N1m2whZ-xl <forgotten_N1m2whZ-xl>
Component: YaST2Assignee: Lukas Ocilka <locilka>
Status: RESOLVED FIXED QA Contact: Jiri Srain <jsrain>
Severity: Normal    
Priority: P5 - None    
Version: Beta 1   
Target Milestone: ---   
Hardware: x86-64   
OS: openSUSE 11.0   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: tgz of/var/log/YaST2/

Description Forgotten User N1m2whZ-xl 2008-04-18 20:07:46 UTC
During "ssh text install", the usual reboot tells to run /usr/lib/YaST2/startup/YaST2.ssh after it.

But when trying this happens:

eberhard:44 21:59:27 ~ # ssh 192.168.3.100
Last login: Fri Apr 18 19:58:16 2008 from console
Have a lot of fun...
turion:3 19:59:32 ~ # /usr/lib/YaST2/startup/YaST2.ssh

    File /var/lib/YaST2/runme_at_boot does not exist ...
    
    Not running YaST ...

turion:3 19:59:39 ~ #
Comment 1 Robert Vojcik 2008-04-23 11:54:38 UTC
Hello, 

please attach yast2 logs. For more information follow:
http://en.opensuse.org/Bugs/YaST

Thanks
Comment 2 Forgotten User N1m2whZ-xl 2008-04-23 21:01:26 UTC
Created attachment 209989 [details]
tgz of/var/log/YaST2/
Comment 3 Forgotten User N1m2whZ-xl 2008-04-23 22:59:56 UTC
I don't understand what happens.
After "insserv -r sshd", I have:

turion:1 00:51:58 ~ # dir /etc/init.d/rc5.d/*ssh*
ls: cannot access /etc/init.d/rc5.d/*ssh*: No such file or directory
turion:1 00:54:30 ~ # 

But during reboot, I see:

turion:1 00:54:30 ~ # cat /var/log/boot.msg | grep ssh
<notice>startproc: execve (/usr/sbin/sshd) [ /usr/sbin/sshd -o PidFile=/var/run/sshd.init.pid ], [ CONSOLE=/dev/console ROOTFS_FSTYPE=ext3 SHELL=/bin/sh TERM=linux ROOTFS_FSCK=0 LC_ALL=POSIX INIT_VERSION=sysvinit-2.86 REDIRECT=/dev/tty1 COLUMNS=80 PATH=/bin:/sbin:/usr/bin:/usr/sbin RUNLEVEL=5 PWD=/ SPLASHCFG= PREVLEVEL=N LINES=25 HOME=/ SHLVL=4 splash=silent SPLASH=no ROOTFS_BLKDEV=/dev/disk/by-id/scsi-SATA_SAMSUNG_MP0804HS042J10Y271473-part3 _=/sbin/startproc DAEMON=/usr/sbin/sshd ]
    /etc/apparmor/profiles/extras/usr.sbin.sshd.rpmnew
    /etc/profile.d/csh.ssh.rpmorig
    /etc/profile.d/sh.ssh.rpmorig
    /etc/ssh/ssh_config.rpmnew
turion:1 00:55:03 ~ # 

turion:1 00:55:03 ~ # dir /var/log/boot.msg 
-rw-r--r-- 1 root root 59274 Apr 24 00:48 /var/log/boot.msg
turion:1 00:55:33 ~ # 

So it is from the actual reboot.
Who is starting sshd (and failing)?

turion:1 00:56:42 ~ # dir /etc/init.d/*/*sshd*
ls: cannot access /etc/init.d/*/*sshd*: No such file or directory
turion:1 00:59:30 ~ # 

Comment 4 Lukas Ocilka 2008-04-25 07:34:04 UTC
It seems your comment #3 is a different bug.
Comment 5 Lukas Ocilka 2008-05-06 11:47:03 UTC
Must have been fixed already. The problem doesn't exist in Beta2 anymore.