[Bug 807288] New: 783172
https://bugzilla.novell.com/show_bug.cgi?id=807288 https://bugzilla.novell.com/show_bug.cgi?id=807288#c0 Summary: 783172 Classification: openSUSE Product: openSUSE 12.3 Version: RC 2 Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: YaST2 AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: per@computer.org QAContact: jsrain@suse.com Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; Linux i686 on x86_64; rv:11.0) Gecko/20100101 Firefox/11.0 When installing 12.3rc2 over ssh, I receive the following when I try to initiate phase2: # /usr/lib/YaST2/startup/YaST2.ssh File /var/lib/YaST2/runme_at_boot does not exist ... Not running YaST ... Bug#783172 is possibly related. Work-around: touch /var/lib/YaST2/runme_at_boot Reproducible: Always -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=807288
https://bugzilla.novell.com/show_bug.cgi?id=807288#c
Per Jessen
https://bugzilla.novell.com/show_bug.cgi?id=807288
https://bugzilla.novell.com/show_bug.cgi?id=807288#c1
--- Comment #1 from Per Jessen
https://bugzilla.novell.com/show_bug.cgi?id=807288
https://bugzilla.novell.com/show_bug.cgi?id=807288#c2
--- Comment #2 from Per Jessen
https://bugzilla.novell.com/show_bug.cgi?id=807288
https://bugzilla.novell.com/show_bug.cgi?id=807288#c3
Leendert Meyer
When installing 12.3rc2 over ssh, I receive the following when I try to initiate phase2:
# /usr/lib/YaST2/startup/YaST2.ssh
File /var/lib/YaST2/runme_at_boot does not exist ...
Not running YaST ...
Bug#783172 is possibly related.
Work-around: touch /var/lib/YaST2/runme_at_boot
Reproducible: Always
I cannot confirm. I did a minimal installation on a laptop using linux+initrd from the 12.3-RC2 DVD (DVD-iso mounted and accessible via http on another machine). I did several tests with a minimal server installation. Each time yast.ssh ran well in the 2nd phase, although I had to fill resolv.conf, and do ifup eth0 after first login (hmm, bad for an ssh install). AFAICS no relation with Bug#783172. There, in the 1st phase, runme_at_boot is created in the _host_ system (not in the system which is being installed). Your issue is that runme_at_boot disappears in the 2nd phase (which I could not confirm). DVD used: openSUSE-12.3-DVD-Build0095-i586.iso sha1sum: 315b74c53743ff4b8ac72be450479f752673f434 Did you perhaps use the x86_64 DVD? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=807288
https://bugzilla.novell.com/show_bug.cgi?id=807288#c4
--- Comment #4 from Per Jessen
(In reply to comment #0)
Did you perhaps use the x86_64 DVD?
I'm installing x86_64 via pxe+ssh with the linux+initrd from the NET iso. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=807288
https://bugzilla.novell.com/show_bug.cgi?id=807288#c5
--- Comment #5 from Leendert Meyer
I'm installing x86_64 via pxe+ssh with the linux+initrd from the NET iso.
I set up a dhcp/tftp-server and installed several times as you describe, but still could not confirm. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=807288
https://bugzilla.novell.com/show_bug.cgi?id=807288#c6
--- Comment #6 from Martin Pluskal
https://bugzilla.novell.com/show_bug.cgi?id=807288
https://bugzilla.novell.com/show_bug.cgi?id=807288#c
Per Jessen
https://bugzilla.novell.com/show_bug.cgi?id=807288
https://bugzilla.novell.com/show_bug.cgi?id=807288#c7
Thomas Fehr
https://bugzilla.novell.com/show_bug.cgi?id=807288
https://bugzilla.novell.com/show_bug.cgi?id=807288#c8
Per Jessen
https://bugzilla.novell.com/show_bug.cgi?id=807288
https://bugzilla.novell.com/show_bug.cgi?id=807288#c9
--- Comment #9 from Thomas Fehr
https://bugzilla.novell.com/show_bug.cgi?id=807288
https://bugzilla.novell.com/show_bug.cgi?id=807288#c10
--- Comment #10 from Per Jessen
Thanks for log files.
Sure, /usr/lib/YaST2/startup/YaST2.Second-Stage is called via systemd service /usr/lib/systemd/system/YaST2-Second-Stage.service
But I do not see why this is a problem under some circumstances and no problem under others. In all y2logs I could not see any problem in first stage and would assume /var/lib/YaST2/runme_at_boot was present at end of first stage.
I've checked it a couple of times, the file is there.
So I cannot really see why under some circumstances /var/lib/YaST2/runme_at_boot is gone when one logs in via ssh and starts yast.ssh
I don't know why it always happens - it seems to me that the service unit for yast second stage is quite clear: ExecStartPost=/bin/rm -f /var/lib/YaST2/runme_at_boot -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=807288
https://bugzilla.novell.com/show_bug.cgi?id=807288#c11
--- Comment #11 from Per Jessen
I don't know why it always happens - it seems to me that the service unit for
.. why it DOESN'T always happen ....
yast second stage is quite clear:
ExecStartPost=/bin/rm -f /var/lib/YaST2/runme_at_boot
-- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=807288
https://bugzilla.novell.com/show_bug.cgi?id=807288#c12
--- Comment #12 from Thomas Fehr
ExecStartPost=/bin/rm -f /var/lib/YaST2/runme_at_boot
But this would remove /var/lib/YaST2/runme_at_boot AFTER /usr/lib/YaST2/startup/YaST2.Second-Stage has finished, which is exactly what we want. In case of ssh based installation /usr/lib/YaST2/startup/YaST2.Second-Stage is basically just waiting for /var/lib/YaST2/runme_at_boot to vanish. This is normally supposed to happen when user logs in via ssh, starts YaST and finishes second stage install in YaST. Second stage YaST removes the file runme_at_boot when it finishes. So it looks as if something is removing /var/lib/YaST2/runme_at_boot under some circumstances between end of first stage install and the time /usr/lib/YaST2/startup/YaST2.Second-Stage is called. I have now three cases, two here and I assume bnc#804283 is just the same. I do not see much in common except of ssh based install and architecture x86_64. So far I was testing with arch i586 and could not imagin this to be a 32/64bit issue but there are reports about other problems with system services being 64bit related. Will set up x86_64 virtual box maybe I can reproduce there. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=807288
https://bugzilla.novell.com/show_bug.cgi?id=807288#c13
--- Comment #13 from Per Jessen
ExecStartPost=/bin/rm -f /var/lib/YaST2/runme_at_boot
But this would remove /var/lib/YaST2/runme_at_boot AFTER /usr/lib/YaST2/startup/YaST2.Second-Stage has finished, which is exactly what we want.
I think it will remove that file after it has started YaST2.Second-Stage, not after YaST2.Second-Stage has finished. That might explain why it happens sometimes, and sometimes not. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=807288
https://bugzilla.novell.com/show_bug.cgi?id=807288#c14
Thomas Fehr
https://bugzilla.novell.com/show_bug.cgi?id=807288
https://bugzilla.novell.com/show_bug.cgi?id=807288#c15
Frederic Crozat
Frederic, what is the intended behavior of ExecStartPost? Will it be executed after the command in ExecStart is finished or just after command in ExecStart has been started?
It is executed after the ExecStart is finished.
Are there any known bugs/differences in behavior between i586 and x86_64 architecture?
No. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=807288
https://bugzilla.novell.com/show_bug.cgi?id=807288#c16
Thomas Fehr
https://bugzilla.novell.com/show_bug.cgi?id=807288
https://bugzilla.novell.com/show_bug.cgi?id=807288#c17
--- Comment #17 from Per Jessen
https://bugzilla.novell.com/show_bug.cgi?id=807288
https://bugzilla.novell.com/show_bug.cgi?id=807288#c18
--- Comment #18 from Thomas Fehr
https://bugzilla.novell.com/show_bug.cgi?id=807288
https://bugzilla.novell.com/show_bug.cgi?id=807288#c19
--- Comment #19 from Frederic Crozat
https://bugzilla.novell.com/show_bug.cgi?id=807288
https://bugzilla.novell.com/show_bug.cgi?id=807288#c21
--- Comment #21 from Thomas Fehr
https://bugzilla.novell.com/show_bug.cgi?id=807288
https://bugzilla.novell.com/show_bug.cgi?id=807288#c22
--- Comment #22 from Per Jessen
https://bugzilla.novell.com/show_bug.cgi?id=807288
https://bugzilla.novell.com/show_bug.cgi?id=807288#c23
--- Comment #23 from Per Jessen
https://bugzilla.novell.com/show_bug.cgi?id=807288
https://bugzilla.novell.com/show_bug.cgi?id=807288#c24
--- Comment #24 from Per Jessen
https://bugzilla.novell.com/show_bug.cgi?id=807288
https://bugzilla.novell.com/show_bug.cgi?id=807288#c25
Jiří Suchomel
Same setup, but with openSUSE 13.1 M1 - problem seems to have disappeared.
So, let's assume the bug was fixed by some other fix and wait for next milestone/beta if it reapper and is simply reproducible.(In reply to comment #24) -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=807288
https://bugzilla.novell.com/show_bug.cgi?id=807288#c26
Martin Pluskal
https://bugzilla.novell.com/show_bug.cgi?id=807288
https://bugzilla.novell.com/show_bug.cgi?id=807288#c27
Martin Pluskal
https://bugzilla.novell.com/show_bug.cgi?id=807288
https://bugzilla.novell.com/show_bug.cgi?id=807288#c
Martin Pluskal
https://bugzilla.novell.com/show_bug.cgi?id=807288
https://bugzilla.novell.com/show_bug.cgi?id=807288#c
Martin Pluskal
https://bugzilla.novell.com/show_bug.cgi?id=807288
https://bugzilla.novell.com/show_bug.cgi?id=807288#c28
--- Comment #28 from Martin Pluskal
https://bugzilla.novell.com/show_bug.cgi?id=807288
https://bugzilla.novell.com/show_bug.cgi?id=807288#c29
Arvin Schnell
https://bugzilla.novell.com/show_bug.cgi?id=807288
https://bugzilla.novell.com/show_bug.cgi?id=807288#c30
Martin Pluskal
https://bugzilla.novell.com/show_bug.cgi?id=807288
https://bugzilla.novell.com/show_bug.cgi?id=807288#c31
Arvin Schnell
https://bugzilla.novell.com/show_bug.cgi?id=807288
https://bugzilla.novell.com/show_bug.cgi?id=807288#c32
Martin Pluskal
https://bugzilla.novell.com/show_bug.cgi?id=807288
https://bugzilla.novell.com/show_bug.cgi?id=807288#c33
--- Comment #33 from Martin Pluskal
https://bugzilla.novell.com/show_bug.cgi?id=807288
https://bugzilla.novell.com/show_bug.cgi?id=807288#c34
Arvin Schnell
https://bugzilla.novell.com/show_bug.cgi?id=807288
https://bugzilla.novell.com/show_bug.cgi?id=807288#c35
--- Comment #35 from Frederic Crozat
Thanks. So the process removing runme_at_boot is /usr/bin/rm and the parent is /sbin/init.
Looks like a systemd problem after all.
Well, the only location doing the rm is /usr/lib/systemd/system/YaST2-Second-Stage.service, in the ExecStartPost section, ie after ExecStart section has been run has been started. So, in short, second stage was started... you should be able to double-check it with journalctl -b -u YaST2-Second-Stage.service -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=807288
https://bugzilla.novell.com/show_bug.cgi?id=807288#c36
--- Comment #36 from Arvin Schnell
https://bugzilla.novell.com/show_bug.cgi?id=807288
https://bugzilla.novell.com/show_bug.cgi?id=807288#c37
--- Comment #37 from Frederic Crozat
https://bugzilla.novell.com/show_bug.cgi?id=807288
https://bugzilla.novell.com/show_bug.cgi?id=807288#c
Alberto Planas Dominguez
https://bugzilla.novell.com/show_bug.cgi?id=807288
https://bugzilla.novell.com/show_bug.cgi?id=807288#c
Frederic Crozat
https://bugzilla.novell.com/show_bug.cgi?id=807288
https://bugzilla.novell.com/show_bug.cgi?id=807288#c38
Stefan Fent
https://bugzilla.novell.com/show_bug.cgi?id=807288
https://bugzilla.novell.com/show_bug.cgi?id=807288#c39
Per Jessen
https://bugzilla.novell.com/show_bug.cgi?id=807288
https://bugzilla.novell.com/show_bug.cgi?id=807288#c40
Stefan Fent
participants (1)
-
bugzilla_noreply@novell.com