|
Bugzilla – Full Text Bug Listing |
| Summary: | ssh session does not close on shutdown | ||
|---|---|---|---|
| Product: | [openSUSE] openSUSE Tumbleweed | Reporter: | Robert Schweikert <rjschwei> |
| Component: | Basesystem | Assignee: | Frederic Crozat <fcrozat> |
| Status: | RESOLVED FIXED | QA Contact: | E-mail List <qa-bugs> |
| Severity: | Normal | ||
| Priority: | P5 - None | CC: | fcrozat |
| Version: | 13.1 Milestone 1 | ||
| Target Milestone: | --- | ||
| Hardware: | Other | ||
| OS: | Other | ||
| Whiteboard: | |||
| Found By: | --- | Services Priority: | |
| Business Priority: | Blocker: | --- | |
| Marketing QA Status: | --- | IT Deployment: | --- |
| Attachments: | logind startup failure | ||
|
Description
Robert Schweikert
2012-11-16 19:58:28 UTC
I'm not able to reproduce this issue, ssh connection is correctly closed. Could you describe exactly if you login as simple user or root, if you have other sessions opened on VT and how you issued shutdown command (which session, under which identity) ? I start an ssh session as a "regular" user, then "su -" to become root. Issuing "shutdown -h now" results in the "hung" ssh session. Created attachment 513654 [details]
logind startup failure
After the shutdown command the systemd login deamon fails, see attachment. I suspect the issues are related. I can still ssh to the VM, but login is very slow. I don't have the issue, so indeed chances are very high it is logind related. could you give : systemctl status systemd-logind.service ? # systemctl status systemd-logind.service systemd-logind.service - Login Service Loaded: loaded (/usr/lib/systemd/system/systemd-logind.service; static) Active: failed (Result: start-limit) since Mon, 2012-11-19 10:08:21 EST; 28min ago Docs: man:systemd-logind.service(8) man:logind.conf(5) http://www.freedesktop.org/wiki/Software/systemd/multiseat Main PID: 569 (code=exited, status=1/FAILURE) CGroup: name=systemd:/system/systemd-logind.service Nov 19 10:08:21 googoo systemd[1]: Stopping Login Service... Nov 19 10:08:21 googoo systemd[1]: systemd-logind.service: main process exited, code=exited, status=1/FAILURE Nov 19 10:08:21 googoo systemd[1]: Failed to start Login Service. Nov 19 10:08:21 googoo systemd[1]: Unit systemd-logind.service entered failed state Nov 19 10:08:21 googoo systemd[1]: Stopping Login Service... Nov 19 10:08:21 googoo systemd[1]: Starting Login Service... Nov 19 10:08:21 googoo systemd[1]: Failed to start Login Service. Nov 19 10:08:21 googoo systemd[1]: Unit systemd-logind.service entered failed state # dmesg <snip> [ 4.421102] systemd[1]: systemd 195 running in system mode. (+PAM +LIBWRAP +AUDIT +SELINUX +IMA +SYSVINIT +LIBCRYPTSETUP +GCRYPT +ACL +XZ; suse) [ 4.421172] systemd[1]: Detected virtualization 'kvm'. [ 4.445269] systemd[1]: Inserted module 'autofs4' [ 4.446759] systemd[1]: Set hostname to <googoo.rjsdomain>. [ 4.601383] systemd[1]: Cannot add dependency job for unit syslog.service, ignoring: Unit syslog.service failed to load: No such file or directory. See system logs and 'systemctl status syslog.service' for details. [ 4.601467] systemd[1]: Cannot add dependency job for unit display-manager.service, ignoring: Unit display-manager.service failed to load: No such file or directory. See system logs and 'systemctl status display-manager.service' for details. [ 4.601845] systemd[1]: Started Collect Read-Ahead Data. [ 4.601869] systemd[1]: Started Replay Read-Ahead Data. [ 4.601885] systemd[1]: Starting Forward Password Requests to Wall Directory Watch. [ 4.601963] systemd[1]: Started Forward Password Requests to Wall Directory Watch. [ 4.601978] systemd[1]: Starting Remote File Systems. [ 4.602190] systemd[1]: Reached target Remote File Systems. [ 4.602206] systemd[1]: Starting Delayed Shutdown Socket. [ 4.602362] systemd[1]: Listening on Delayed Shutdown Socket. [ 4.602375] systemd[1]: Starting /dev/initctl Compatibility Named Pipe. [ 4.602504] systemd[1]: Listening on /dev/initctl Compatibility Named Pipe. [ 4.602540] systemd[1]: Starting Arbitrary Executable File Formats File System Automount Point. [ 4.602718] systemd[1]: Set up automount Arbitrary Executable File Formats File System Automount Point. [ 4.602729] systemd[1]: Starting Encrypted Volumes. [ 4.602831] systemd[1]: Reached target Encrypted Volumes. [ 4.602911] systemd[1]: Starting udev Kernel Socket. [ 4.603062] systemd[1]: Listening on udev Kernel Socket. [ 4.603128] systemd[1]: Starting udev Control Socket. [ 4.603250] systemd[1]: Listening on udev Control Socket. [ 4.603262] systemd[1]: Expecting device dev-disk-by\x2did-ata\x2dQEMU_HARDDISK_QM00001\x2dpart2.device... [ 4.603339] systemd[1]: Expecting device dev-disk-by\x2did-ata\x2dQEMU_HARDDISK_QM00001\x2dpart1.device... [ 4.603434] systemd[1]: Starting Journal Socket. [ 4.603570] systemd[1]: Listening on Journal Socket. [ 4.603584] systemd[1]: Starting LSB: Set default boot entry if called... [ 4.614290] systemd[1]: Starting udev Coldplug all Devices... [ 4.618664] systemd[1]: Mounting Huge Pages File System... [ 4.622358] systemd[1]: Mounting POSIX Message Queue File System... [ 4.652746] systemd[1]: Started Set Up Additional Binary Formats. [ 4.653764] systemd[1]: Starting Load Kernel Modules... [ 4.662443] systemd[1]: Starting Setup Virtual Console... [ 4.668513] systemd[1]: Started File System Check on Root Device. [ 4.668541] systemd[1]: Starting LSB: setup hostname and yp... [ 4.674231] systemd[1]: Starting Remount Root and Kernel File Systems... [ 4.680383] systemd[1]: Starting Journal Service... [ 4.689611] systemd[1]: Started Journal Service. [ 4.694462] systemd[1]: Starting udev Kernel Device Manager... [ 4.764673] systemd-udevd[282]: starting version 195 [ 4.787277] systemd-journald[280]: Failed to resolve 'adm' group: No such process [ 5.425943] input: Power Button as /devices/LNXSYSTM:00/LNXPWRBN:00/input/input2 [ 5.427135] ACPI: Power Button [PWRF] [ 5.453290] parport_pc 00:05: reported by Plug and Play ACPI [ 5.453481] parport0: PC-style at 0x378, irq 7 [PCSPP,TRISTATE] [ 5.466568] FDC 0 is a S82078B [ 5.471563] sd 0:0:0:0: Attached scsi generic sg0 type 0 [ 5.471598] scsi 1:0:0:0: Attached scsi generic sg1 type 5 [ 5.484046] sr0: scsi3-mmc drive: 4x/4x xa/form2 tray [ 5.484050] cdrom: Uniform CD-ROM driver Revision: 3.20 [ 5.484448] sr 1:0:0:0: Attached scsi CD-ROM sr0 [ 5.492642] piix4_smbus 0000:00:01.3: SMBus Host Controller at 0xb100, revision 0 [ 5.500469] input: PC Speaker as /devices/platform/pcspkr/input/input3 [ 5.511505] microcode: CPU0 sig=0x623, pf=0x0, revision=0x0 [ 5.512488] 8139cp: 8139cp: 10/100 PCI Ethernet driver v1.3 (Mar 22, 2004) [ 5.512679] ACPI: PCI Interrupt Link [LNKC] enabled at IRQ 11 [ 5.529319] 8139cp 0000:00:03.0: eth0: RTL-8139C+ at 0xffffc900004b8000, 00:16:3e:7e:18:35, IRQ 11 [ 5.529367] 8139cp 0000:00:03.0: setting latency timer to 64 [ 5.557686] 8139too: 8139too Fast Ethernet driver 0.9.28 [ 5.579570] ppdev: user-space parallel port driver [ 5.608700] microcode: Microcode Update Driver: v2.00 <tigran@aivazian.fsnet.co.uk>, Peter Oruba [ 5.860883] EXT4-fs (sda1): mounting ext2 file system using the ext4 subsystem [ 5.879427] EXT4-fs (sda1): mounted filesystem without journal. Opts: acl,user_xattr [ 5.958002] systemd-journald[280]: Received SIGUSR1 [ 6.070721] Adding 522236k swap on /dev/sda2. Priority:-1 extents:1 across:522236k [ 6.226496] systemd[1]: NetworkManager.service: control process exited, code=exited status=1 [ 6.230136] systemd[1]: Job NetworkManager-wait-online.service/start failed with result 'dependency'. [ 7.084743] systemd[1]: systemd-logind.service start request repeated too quickly, refusing to start. [ 9.508284] 8139cp 0000:00:03.0: eth0: link up, 100Mbps, full-duplex, lpa 0x05E1 Note that syslog-service is installed (see #790293) # rpm -qa | grep syslog syslog-service-1.4.1-762.1.noarch There does not appear to be a display-servive package, thus I am uncertain on how one would address the issue "Cannot add dependency job for unit display-manager.service, ignoring: Unit display-manager.service failed to load:" # zypper se display Loading repository data... Reading installed packages... S | Name | Summary | Type --+--------------------------+------------------------------------------+-------- | perl-Text-TabularDisplay | Display text in formatted table output | package | python-PyVirtualDisplay | Python wrapper for Xvfb, Xephyr and Xvnc | package | texlive-sasnrdisplay | Typeset SAS or R code or output | package | texlive-sasnrdisplay-doc | Documentation for texlive-sasnrdisplay | package This has been fixed in Factory before 12.3. closing |