[Bug 732391] New: ssh based installation doesn't start sshd for stage 2
https://bugzilla.novell.com/show_bug.cgi?id=732391 https://bugzilla.novell.com/show_bug.cgi?id=732391#c0 Summary: ssh based installation doesn't start sshd for stage 2 Classification: openSUSE Product: openSUSE 12.1 Version: Final Platform: Other OS/Version: Other Status: NEW Severity: Major Priority: P5 - None Component: Installation AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: max@suse.com QAContact: jsrain@suse.com Found By: --- Blocker: --- I just did a default gnome installation of 12.1 through ssh. After the initial reboot, the local screen prompts me to log in through ssh and start stage 2, but there is no sshd running. People who do a remote installation (e.g. of a hosted server) and have no access to the console are hosed at this point. Fortunately I did have access to the console and so I tried to start sshd manually, but "rcsshd start" only prints out "redirecting to systemctl" and never returns. The process table shows that it is "/bin/systemd-tty-ask-password-agent --watch" that appears to be blocking the start of sshd. -- 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=732391
https://bugzilla.novell.com/show_bug.cgi?id=732391#c1
--- Comment #1 from Reinhard Max
https://bugzilla.novell.com/show_bug.cgi?id=732391
https://bugzilla.novell.com/show_bug.cgi?id=732391#c2
--- Comment #2 from Reinhard Max
https://bugzilla.novell.com/show_bug.cgi?id=732391
https://bugzilla.novell.com/show_bug.cgi?id=732391#c
zj jia
https://bugzilla.novell.com/show_bug.cgi?id=732391
https://bugzilla.novell.com/show_bug.cgi?id=732391#c3
Petr Cerny
https://bugzilla.novell.com/show_bug.cgi?id=732391
https://bugzilla.novell.com/show_bug.cgi?id=732391#c4
--- Comment #4 from Frederic Crozat
https://bugzilla.novell.com/show_bug.cgi?id=732391
https://bugzilla.novell.com/show_bug.cgi?id=732391#c5
--- Comment #5 from Reinhard Max
https://bugzilla.novell.com/show_bug.cgi?id=732391
https://bugzilla.novell.com/show_bug.cgi?id=732391#c6
Reinhard Max
https://bugzilla.novell.com/show_bug.cgi?id=732391
https://bugzilla.novell.com/show_bug.cgi?id=732391#c7
--- Comment #7 from Ludwig Nussel
https://bugzilla.novell.com/show_bug.cgi?id=732391
https://bugzilla.novell.com/show_bug.cgi?id=732391#c8
--- Comment #8 from Reinhard Max
https://bugzilla.novell.com/show_bug.cgi?id=732391
https://bugzilla.novell.com/show_bug.cgi?id=732391#c
Reinhard Max
https://bugzilla.novell.com/show_bug.cgi?id=732391
https://bugzilla.novell.com/show_bug.cgi?id=732391#c9
--- Comment #9 from Ludwig Nussel
https://bugzilla.novell.com/show_bug.cgi?id=732391
https://bugzilla.novell.com/show_bug.cgi?id=732391#c10
--- Comment #10 from Reinhard Max
https://bugzilla.novell.com/show_bug.cgi?id=732391
https://bugzilla.novell.com/show_bug.cgi?id=732391#c11
--- Comment #11 from Reinhard Max
1. of course it does if sshd was started manually somehow
The message I see when booting into stage 2 looks like sshd does get started through its regular init script. -- 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=732391
https://bugzilla.novell.com/show_bug.cgi?id=732391#c
Reinhard Max
https://bugzilla.novell.com/show_bug.cgi?id=732391
https://bugzilla.novell.com/show_bug.cgi?id=732391#c
Reinhard Max
https://bugzilla.novell.com/show_bug.cgi?id=732391
https://bugzilla.novell.com/show_bug.cgi?id=732391#c12
--- Comment #12 from Petr Cerny
https://bugzilla.novell.com/show_bug.cgi?id=732391
https://bugzilla.novell.com/show_bug.cgi?id=732391#c13
--- Comment #13 from Frederic Crozat
https://bugzilla.novell.com/show_bug.cgi?id=732391
https://bugzilla.novell.com/show_bug.cgi?id=732391#c14
Cristian Rodríguez
using systemd unit file could help,
Done in Factory, plz test packages from the network repo. -- 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=732391
https://bugzilla.novell.com/show_bug.cgi?id=732391#c
Frederic Crozat
https://bugzilla.novell.com/show_bug.cgi?id=732391
https://bugzilla.novell.com/show_bug.cgi?id=732391#c15
Frederic Crozat
https://bugzilla.novell.com/show_bug.cgi?id=732391
https://bugzilla.novell.com/show_bug.cgi?id=732391#c
Andreas Jaeger
https://bugzilla.novell.com/show_bug.cgi?id=732391
https://bugzilla.novell.com/show_bug.cgi?id=732391#c16
Jiří Suchomel
https://bugzilla.novell.com/show_bug.cgi?id=732391
https://bugzilla.novell.com/show_bug.cgi?id=732391#c17
Frederic Crozat
https://bugzilla.novell.com/show_bug.cgi?id=732391
https://bugzilla.novell.com/show_bug.cgi?id=732391#c18
Jiří Suchomel
- one possible workaround could be to ensure "SYSTEMD_NO_WRAP=1" is exported in the shell environment which is started by YaST2 second stage on vt2.
So, another hack to startup scripts? Arvin, should exporting this variable before /usr/lib/YaST2/bin/startshell /dev/tty2 call do the job? -- 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=732391
https://bugzilla.novell.com/show_bug.cgi?id=732391#c19
Arvin Schnell
https://bugzilla.novell.com/show_bug.cgi?id=732391
https://bugzilla.novell.com/show_bug.cgi?id=732391#c20
--- Comment #20 from Frederic Crozat
https://bugzilla.novell.com/show_bug.cgi?id=732391
https://bugzilla.novell.com/show_bug.cgi?id=732391#c21
Jiří Suchomel
https://bugzilla.novell.com/show_bug.cgi?id=732391
https://bugzilla.novell.com/show_bug.cgi?id=732391#c22
Arvin Schnell
https://bugzilla.novell.com/show_bug.cgi?id=732391
https://bugzilla.novell.com/show_bug.cgi?id=732391#c23
Jiří Suchomel
https://bugzilla.novell.com/show_bug.cgi?id=732391
https://bugzilla.novell.com/show_bug.cgi?id=732391#c24
Jiří Suchomel
https://bugzilla.novell.com/show_bug.cgi?id=732391
https://bugzilla.novell.com/show_bug.cgi?id=732391#c25
--- Comment #25 from Arvin Schnell
https://bugzilla.novell.com/show_bug.cgi?id=732391
https://bugzilla.novell.com/show_bug.cgi?id=732391#c26
--- Comment #26 from Arvin Schnell
https://bugzilla.novell.com/show_bug.cgi?id=732391
https://bugzilla.novell.com/show_bug.cgi?id=732391#c
Arvin Schnell
https://bugzilla.novell.com/show_bug.cgi?id=732391
https://bugzilla.novell.com/show_bug.cgi?id=732391#c27
Torsten Duwe
OK, so we have three different issues here:
1. With systemd, "rcsshd status" in stage 2 reports "dead" although the daemon is running.
2. SuSEfirewall2 doesn't open the ssh port in stage 2
3. "rcSuSEfirewall2 stop" sometimes doesn't work under systemd, especially in stage 2 and when the firewall has been started using "rcSuSEfirewall2 start x"
Let's keep this one #1 and I'll open clones for the other two...
Maybe related or not, but on my 12.2 installations sshd _never_ comes up properly after boot. /# rcsshd status redirecting to systemctl sshd.service - OpenSSH Daemon Loaded: loaded (/lib/systemd/system/sshd.service; disabled) Active: inactive (dead) CGroup: name=systemd:/system/sshd.service An "rcsshd restart" is required after every reboot :-( Do you want a separate bug report for that? -- 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=732391
https://bugzilla.novell.com/show_bug.cgi?id=732391#c29
--- Comment #29 from Cristian Rodríguez
/# rcsshd status redirecting to systemctl sshd.service - OpenSSH Daemon Loaded: loaded (/lib/systemd/system/sshd.service; disabled) Active: inactive (dead) CGroup: name=systemd:/system/sshd.service
An "rcsshd restart" is required after every reboot :-(
That's not a bug. you have to enable the service of course.. systemctl enable sshd.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=732391
https://bugzilla.novell.com/show_bug.cgi?id=732391#c30
--- Comment #30 from Torsten Duwe
participants (1)
-
bugzilla_noreply@novell.com