Bug 703876

Summary: uucp can't be used in Fedora15Beta (regression from Fedora14)
Product: [Fedora] Fedora Reporter: ShanWei <shanwei>
Component: systemdAssignee: Lennart Poettering <lpoetter>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 15CC: johannbg, lpoetter, metherid, mschmidt, notting, plautrba, shanwei
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-05-11 14:20:39 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description ShanWei 2011-05-11 13:59:27 UTC
Description of problem:
uucp regression from Fedora14.
I'm using uucp protocol between two host called H_A, H_B.
Login to H_B from H_A using cu command(in uucp-1.07-12 packet).
If H_B is Fedora14, it's ok, but if H_B is Fedora15, it's fail.
Same machine, but with different system, and with different configure.

The topology is :
|-------------|     uucp       |---------------|
|   H_A       |<=============> |     H_B       |
|  RHEL5.5    |   /dev/ttyS0   |               |
|-------------|                |---------------|

Version-Release number of selected component (if applicable):
Fedora15Beta

How reproducible:
Configure is as:
*At H_B with Fedora 14*:
1) echo "ttyS0" >> /etc/securetty

2) change ACTIVE_CONSOLES in /etc/sysconfig/init:
[root@(none) ~]# cat /etc/sysconfig/init
ACTIVE_CONSOLES="/dev/tty[1-6] ttyS0"

3) change ACTIVE_CONSOLES in /etc/init/start-ttys.conf:
[root@RHEL ~]# cat /etc/init/start-ttys.conf
env ACTIVE_CONSOLES= "/dev/tty[1-6] ttyS0"


*At H_B with Fedora 15*:
1) echo "ttyS0" >> /etc/securetty

2) change ACTIVE_CONSOLES in /etc/sysconfig/init:
[root@(none) ~]# cat /etc/sysconfig/init
ACTIVE_CONSOLES="/dev/tty[1-6] ttyS0"

3)ln -sf /lib/systemd/system/getty@.service /etc/systemd/system/getty.target.wants/getty
4)systemctl daemon-reload
5)systemctl start getty
(See enable another getty at http://www.freedesktop.org/wiki/Software/systemd/FrequentlyAskedQuestions)

*At H_A*:
1) install uucp-1.07-12 packets.
2) mkdir /usr/spool
3) chown uucp /usr/spool
4) cu -l ttyS0
  
Actual results:
With above configure, step 4 at H_A can succeed to login to Fedora14, but fail to Fedora15.

Expected results:
At H_A, we can succeed to login to Fedora15Beta.

Comment 1 Lennart Poettering 2011-05-11 14:20:39 UTC
You need to symlink serial-getty@.service for serial gettys. getty@.service is only for VC ttys.