[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 <per@computer.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|783172 |File | |/var/lib/YaST2/runme_at_boo | |t does not exist ... -- 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#c1 --- Comment #1 from Per Jessen <per@computer.org> 2013-03-04 15:53:32 UTC --- However, the file does in fact exists when phase 1 is completed: # ls -l ../../var/lib/YaST2/runme_at_boot -rw-r--r-- 1 root root 0 Mar 4 16:31 ../../var/lib/YaST2/runme_at_boot Is the 2nd phase being run by someone/something else? -- 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#c2 --- Comment #2 from Per Jessen <per@computer.org> 2013-03-04 16:43:06 UTC --- The file is being removed by /usr/lib/systemd/system/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#c3 Leendert Meyer <leen.meyer@ziggo.nl> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |leen.meyer@ziggo.nl --- Comment #3 from Leendert Meyer <leen.meyer@ziggo.nl> 2013-03-04 21:06:53 UTC --- (In reply to comment #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
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 <per@computer.org> 2013-03-05 06:58:49 UTC --- (In reply to comment #3)
(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 <leen.meyer@ziggo.nl> 2013-03-06 05:18:22 UTC --- (In reply to comment #4)
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 <mpluskal@suse.com> 2013-03-06 16:03:42 UTC --- Created an attachment (id=528506) --> (http://bugzilla.novell.com/attachment.cgi?id=528506) y2logs I have also observed this issue when installing via ssh/ftp on x86_64 UEFI machine. touch /var/lib/YaST2/runme_at_boot seems to be usable as a workaround -- 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 <per@computer.org> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|bnc-team-screening@forge.pr |yast2-maintainers@suse.de |ovo.novell.com | -- 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#c7 Thomas Fehr <fehr@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO CC| |fehr@suse.com InfoProvider| |per@computer.org --- Comment #7 from Thomas Fehr <fehr@suse.com> 2013-03-12 16:52:15 UTC --- Maybe the common factor for this problem occuring is installing an UEFI system. Per is your system also using UEFI? Could you please also attach y2log files. -- 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#c8 Per Jessen <per@computer.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW InfoProvider|per@computer.org | --- Comment #8 from Per Jessen <per@computer.org> 2013-03-12 17:57:47 UTC --- Created an attachment (id=529372) --> (http://bugzilla.novell.com/attachment.cgi?id=529372) y2logs as saved by save_y2logs Hi Thomas no, my system isn't UEFI. For me, the new thing seems to be YaST Second Stage being called as part of the init-sequence. -- 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#c9 --- Comment #9 from Thomas Fehr <fehr@suse.com> 2013-03-12 18:13:01 UTC --- 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. 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 -- 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#c10 --- Comment #10 from Per Jessen <per@computer.org> 2013-03-12 18:59:50 UTC --- (In reply to comment #9)
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 <per@computer.org> 2013-03-12 19:14:01 UTC --- (In reply to comment #10)
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 <fehr@suse.com> 2013-03-13 10:48:08 UTC ---
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 <per@computer.org> 2013-03-13 11:20:35 UTC --- (In reply to comment #12)
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 <fehr@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO InfoProvider| |fcrozat@suse.com --- Comment #14 from Thomas Fehr <fehr@suse.com> 2013-03-13 11:37:05 UTC --- No I do not think so. At least it does not behave this way on i586 arch. Otherwise one could never be fast enough to ssh into a system and /var/lib/YaST2/runme_at_boot still being present. Since I do more than 90% of my installations via ssh I would certainly have recognized. Description on http://www.freedesktop.org/software/systemd/man/systemd.service.html is not very precise though: ---------------------------------------------- ExecStartPre=, ExecStartPost= Additional commands that are executed before or after the command in ExecStart=, respectively. Syntax is the same as for ExecStart=, except that multiple command lines are allowed and the commands are executed one after the other, serially. ---------------------------------------------- So I would assume it to be executed after the command in ExecStart is finished. 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? Are there any known bugs/differences in behavior between i586 and x86_64 architecture? -- 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#c15 Frederic Crozat <fcrozat@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW CC| |fcrozat@suse.com InfoProvider|fcrozat@suse.com | --- Comment #15 from Frederic Crozat <fcrozat@suse.com> 2013-03-13 11:56:11 UTC --- (In reply to comment #14)
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 <fehr@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO InfoProvider| |mpluskal@suse.com --- Comment #16 from Thomas Fehr <fehr@suse.com> 2013-03-13 12:30:03 UTC --- My tests on x86_64 did also not reproduce the problem. Martin, is the problem reproducable wuuth your machine? If yes, could you boot the machine into ssh install mode and provide me with ssh credentials so that I can retry install. -- 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#c17 --- Comment #17 from Per Jessen <per@computer.org> 2013-03-13 14:47:23 UTC --- Hi Thomas I tried the following: a new install, stop before phase 1 reboots. edit /usr/lib/systemd/system/YaST2-Second-Stage.service and change : ExecStartPost=/usr/bin/logger runme_at_boot Mar 13 15:36:39 linux kernel: 22.180219] systemd[1]: Started Name Service Cache Daemon. Mar 13 15:36:39 linux kernel: 22.216672] systemd[1]: Starting Permit User Sessions... Mar 13 15:36:39 linux kernel: 22.376069] systemd[1]: Started Login Service. Mar 13 15:36:39 linux kernel: 22.440106] systemd[1]: Started LSB: CPUFreq modules loader. Mar 13 15:36:39 linux kernel: 22.524075] systemd[1]: Started Permit User Sessions. Mar 13 15:36:39 linux kernel: 22.572267] systemd[1]: Starting Serial Getty on ttyS0... Mar 13 15:36:39 linux kernel: 22.608182] systemd[1]: Started Serial Getty on ttyS0. Mar 13 15:36:39 linux kernel: [ 23.108038] EXT4-fs error (device sda1): ext4_mb_generate_buddy:742: group 65, 24090 clusters in bitmap, 24091 in gd Mar 13 15:36:41 linux purge-kernels[392]: /sbin/purge-kernels: Nothing to do. Mar 13 15:36:41 linux systemd[1]: Started Purge old kernels. Mar 13 15:36:44 linux logger: runme_at_boot Mar 13 15:36:44 linux systemd[1]: Started YaST2 Second Stage. Mar 13 15:36:44 linux systemd[1]: Started YaST2 Firstboot. Mar 13 15:36:44 linux systemd[1]: Starting LSB: Configure network interfaces and set up routing... Notice the line with "runme_at_boot". Either YaST2-Second-Stage finishes immediately or systemd does not wait for it to finish. Maybe I need to try this with systemd debug enabled. -- 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#c18 --- Comment #18 from Thomas Fehr <fehr@suse.com> 2013-03-13 15:04:27 UTC --- That is indeed interesting. You can check if yast2 second stage is still running by loggin in via ssh and check with pstree -ap if /usr/lib/YaST2/startup/YaST2.Second-Stage is still running. I will make the same change in my x86_64 install and see how it differs. -- 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#c19 --- Comment #19 from Frederic Crozat <fcrozat@suse.com> 2013-03-13 15:48:19 UTC --- I'd suggest to stop losing time on whetever systemd is starting "ExecStartPost" before ExecStart is finished, because it is not (check the code if you don't trust me) when service type is oneshot or daemon (it won't wait if it is type=simple or type=idle, but that's logic). -- 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#c21 --- Comment #21 from Thomas Fehr <fehr@suse.com> 2013-03-14 16:42:33 UTC --- Thanks copied logs but did not find anything obvious. I saw that you switched "Use Automatic Configuration" off. So far I did not try this, will try an install with "Use Automatic Configuration" off and see if I can reproduce. -- 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#c22 --- Comment #22 from Per Jessen <per@computer.org> 2013-04-14 09:01:18 UTC --- Yesterday I installed a xen guest with 12.3+updates (added at install-time), and I did not experience this problem. I also did an install without updates, also no problem. What is REALLY weird - when comparing the log output to comment#17, I don't see most of those lines. Ignoring that these two tests were xen guests, the only difference I can really see is that my initial problem appeared when I installed on root on iSCSI. -- 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#c23 --- Comment #23 from Per Jessen <per@computer.org> 2013-04-16 09:47:16 UTC --- Have just now done another 12.2 install with root on iSCSI. As initially reported, I get "File /var/lib/YaST2/runme_at_boot does not exist ..." when I try to run /usr/lib/YaST2/startup/YaST2.ssh. Re comment#18, /usr/lib/YaST2/startup/YaST2.Second-Stage is not running at this point. -- 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#c24 --- Comment #24 from Per Jessen <per@computer.org> 2013-05-17 10:49:07 UTC --- Same setup, but with openSUSE 13.1 M1 - problem seems to have disappeared. -- 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#c25 Jiří Suchomel <jsuchome@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |jsuchome@suse.com Resolution| |WORKSFORME --- Comment #25 from Jiří Suchomel <jsuchome@suse.com> 2013-05-23 09:15:00 UTC ---
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 <mpluskal@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #528506|0 |1 is obsolete| | Attachment #529372|0 |1 is obsolete| | Status|RESOLVED |REOPENED Resolution|WORKSFORME | AssignedTo|yast2-maintainers@suse.de |mpluskal@suse.com --- Comment #26 from Martin Pluskal <mpluskal@suse.com> 2013-05-28 11:25:31 UTC --- Created an attachment (id=541511) --> (http://bugzilla.novell.com/attachment.cgi?id=541511) y2logs Still reproducible issue with openSUSE 13.1 M1 -- 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#c27 Martin Pluskal <mpluskal@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P5 - None |P2 - High --- Comment #27 from Martin Pluskal <mpluskal@suse.com> 2013-05-28 11:27:03 UTC --- Adjusting importance -- 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 Martin Pluskal <mpluskal@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|mpluskal@suse.com |bnc-team-screening@forge.pr | |ovo.novell.com -- 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 Martin Pluskal <mpluskal@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|bnc-team-screening@forge.pr |yast2-maintainers@suse.de |ovo.novell.com | -- 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#c28 --- Comment #28 from Martin Pluskal <mpluskal@suse.com> 2013-05-28 11:59:42 UTC --- It seems that despite installing over ssh, second stage yast was started after reboot - started with X server on machine as if installation was performed locally (I have not noticed this issue before since machine is located in different room ..). Once yast second stage is started, it deletes runme_at_boot (deleted by YaST2-Second-Stage.service - see second comment). Issue is obviously reproducible only when installation is performed via ssh, not locally. -- 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#c29 Arvin Schnell <aschnell@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |NEEDINFO InfoProvider| |mpluskal@suse.com --- Comment #29 from Arvin Schnell <aschnell@suse.com> 2013-05-28 13:11:34 UTC --- Works as expected for me with SSH installation. Please provide output of "ps axf" so that we can see how YaST was started locally on your system. -- 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#c30 Martin Pluskal <mpluskal@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |REOPENED InfoProvider|mpluskal@suse.com | --- Comment #30 from Martin Pluskal <mpluskal@suse.com> 2013-05-28 13:36:57 UTC --- Hmm it seems that yast did not started this time, runme_at_boot is however still missing when installing on same machine - issue is reproducible all the time. If you need access to the machine, it is same as from comment#20. Installation was performed from network (ftp), machine is uefi, install cmd_line is: install=ftp://fallback.suse.cz/install/SLP/openSUSE-13.1-Milestone1/x86_64/DVD1/ usessh=1 sshpassword=****** Y2DEBUG=1 debug linuxrclog=/dev/console console=tty0 console=ttyS0,115200 If you need any info please let me know. -- 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#c31 Arvin Schnell <aschnell@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |NEEDINFO InfoProvider| |mpluskal@suse.com --- Comment #31 from Arvin Schnell <aschnell@suse.com> 2013-05-28 15:39:07 UTC --- Please follow these steps during new installation: Select audit to be installed. Before system reboots (e.g. during reboot countdown, mount target to /mnt, chroot /mnt): ln -sf /usr/lib/systemd/system/auditd.service /etc/systemd/system/default.target.wants/ Append to /etc/audit/audit.rules: -w /var/lib/YaST2/runme_at_boot -k runme-watcher -p rwax Continue with reboot. After ssh-login check "auditctl -l", should list: LIST_RULES: exit,always watch=/var/lib/YaST2/runme_at_boot perm=rwxa key=runme-watcher After runme_at_boot has vanished provide output of "ausearch -f /var/lib/YaST2/runme_at_boot -i". Also provide all YaST logs and ps axf from same installation to check pids and times. -- 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#c32 Martin Pluskal <mpluskal@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #541511|0 |1 is obsolete| | Status|NEEDINFO |REOPENED InfoProvider|mpluskal@suse.com | --- Comment #32 from Martin Pluskal <mpluskal@suse.com> 2013-05-28 16:09:43 UTC --- Created an attachment (id=541564) --> (http://bugzilla.novell.com/attachment.cgi?id=541564) y2logs ausearch -f /var/lib/YaST2/runme_at_boot -i ---- type=PATH msg=audit(05/28/13 18:02:26.231:27) : item=1 name=/var/lib/YaST2/runme_at_boot inode=132678 dev=00:11 mode=file,644 ouid=root ogid=root rdev=00:00 type=PATH msg=audit(05/28/13 18:02:26.231:27) : item=0 name=/var/lib/YaST2/ inode=49123 dev=00:11 mode=dir,755 ouid=root ogid=root rdev=00:00 type=CWD msg=audit(05/28/13 18:02:26.231:27) : cwd=/ type=SYSCALL msg=audit(05/28/13 18:02:26.231:27) : arch=x86_64 syscall=unlinkat success=yes exit=0 a0=ffffffffffffff9c a1=0x1c90750 a2=0x0 a3=0x7fff680bde60 items=2 ppid=1 pid=4071 auid=unset uid=root gid=root euid=root suid=root fsuid=root egid=root sgid=root fsgid=root ses=unset tty=(none) comm=rm exe=/usr/bin/rm key=runme-watcher -- 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#c33 --- Comment #33 from Martin Pluskal <mpluskal@suse.com> 2013-05-28 16:10:05 UTC --- Created an attachment (id=541565) --> (http://bugzilla.novell.com/attachment.cgi?id=541565) ps axu -- 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#c34 Arvin Schnell <aschnell@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |aschnell@suse.com AssignedTo|yast2-maintainers@suse.de |fcrozat@suse.com --- Comment #34 from Arvin Schnell <aschnell@suse.com> 2013-05-28 17:41:36 UTC --- 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. -- 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#c35 --- Comment #35 from Frederic Crozat <fcrozat@suse.com> 2013-05-29 08:30:53 UTC --- (In reply to comment #34)
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 <aschnell@suse.com> 2013-05-29 09:14:26 UTC --- Yes, second stage was started. The y2start.log shows that. But normally YaST (y2base) deletes runme_at_boot but not in this case. -- 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#c37 --- Comment #37 from Frederic Crozat <fcrozat@suse.com> 2013-05-29 09:20:25 UTC --- I tried to do the same as it was done in /etc/rc.d/boot regarding YaST startup but if you think this rm shouldn't be done in the systemd service file, feel free to remove it (so it will be only be done in YaST code).. -- 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 Alberto Planas Dominguez <aplanas@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status Whiteboard| | GOLD -- 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 Frederic Crozat <fcrozat@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|fcrozat@suse.com |systemd-maintainers@suse.de -- 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#c38 Stefan Fent <stefan.fent@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |NEEDINFO CC| |stefan.fent@suse.com InfoProvider| |per@computer.org --- Comment #38 from Stefan Fent <stefan.fent@suse.com> 2014-04-01 15:35:19 UTC --- Is this problem still existing in 13.1? Otherwise I'll close this bug after almost a year w/o comment -- 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#c39 Per Jessen <per@computer.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |REOPENED InfoProvider|per@computer.org | --- Comment #39 from Per Jessen <per@computer.org> 2014-04-02 06:20:07 UTC --- I haven't seen it in 13.1, feel free to close. -- 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#c40 Stefan Fent <stefan.fent@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |RESOLVED Resolution| |FIXED --- Comment #40 from Stefan Fent <stefan.fent@suse.com> 2014-04-02 11:24:39 UTC --- Fixed in 13.1 -> closing -- 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.
participants (1)
-
bugzilla_noreply@novell.com