Bug 1039806

Summary: shutdown a host with bridged network wont disconnet it's ssh session
Product: Red Hat Enterprise Linux 7 Reporter: Xiaoqing Wei <xwei>
Component: systemdAssignee: systemd-maint
Status: CLOSED DUPLICATE QA Contact: qe-baseos-daemons
Severity: high Docs Contact:
Priority: high    
Version: 7.0CC: azelinka, juzhang, lnykryn, michen, shuang, systemd-maint-list, toracat
Target Milestone: rcKeywords: Regression
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-02-25 16:51:26 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Xiaoqing Wei 2013-12-10 03:07:58 UTC
Description of problem:

shutdown a host with bridged network wont disconnet it's ssh session

Version-Release number of selected component (if applicable):
systemd-sysv-207-8.el7.x86_64
systemd-libs-207-8.el7.x86_64
systemd-207-8.el7.x86_64
libgudev1-207-8.el7.x86_64
initscripts-9.49.11-1.el7.x86_64

How reproducible:
100%

Steps to Reproduce:
define a bridge
1.[root@dhcp-8-232 network-scripts]# cat ifcfg-enp1s0f0 
# Generated by dracut initrd
DEVICE=enp1s0f0
ONBOOT=yes
NETBOOT=yes
HWADDR="00:15:17:3a:42:74"
TYPE=Ethernet
BRIDGE=switch
[root@dhcp-8-232 network-scripts]# cat ifcfg-switch 
DEVICE=switch
BOOTPROTO=dhcp
ONBOOT=yes
DELAY=0
TYPE=Bridge
[root@dhcp-8-232 network-scripts]# 

2.reboot the host to make the host boot w/ bridged network
and confirm bridge working
# brctl show switch
bridge name	bridge id		STP enabled	interfaces
switch		8000.0015173a4274	no		enp1s0f0

3. login via ssh, then send 'reboot'

Actual results:
the ssh session wont disconnected automatically

Expected results:
ssh session disconnected

Additional info:

This is a Regression introduced since systemd-207-1.el7
Tried systemd-206-8.el7 working fine.
# rpm -qa | grep -i 206-
systemd-sysv-206-8.el7.x86_64
systemd-libs-206-8.el7.x86_64
systemd-206-8.el7.x86_64
libgudev1-206-8.el7.x86_64

Comment 3 Akemi Yagi 2014-01-07 16:38:04 UTC
Bug #1047614 is related / duplicate.

Comment 4 Lukáš Nykrýn 2014-02-25 16:51:26 UTC

*** This bug has been marked as a duplicate of bug 1047614 ***