[Bug 914661] New: Mgetty - no way to start mgetty service
http://bugzilla.opensuse.org/show_bug.cgi?id=914661 Bug ID: 914661 Summary: Mgetty - no way to start mgetty service Classification: openSUSE Product: openSUSE 13.1 Version: Final Hardware: Other OS: openSUSE 13.1 Status: NEW Severity: Normal Priority: P5 - None Component: Installation Assignee: yast2-maintainers@suse.de Reporter: wharms@bfs.de QA Contact: jsrain@suse.com Found By: --- Blocker: --- User-Agent: Fungus/8.0 (X11; U; C64 6510; de; 8bit) Build Identifier: I use mgetty as modem getty to start pppd on dial-in after the installation of mgetty there seems no way of making this service available. with SysV-init added a line into inittab but i could not find a working way with systemd (or a documentation) the yast2 modem module seems to allow dialout only. Reproducible: Always Expected Results: After installation the should be something that tell one what do to next -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=914661 Martin Pluskal <mpluskal@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mpluskal@suse.com, | |sbrabec@suse.com Assignee|yast2-maintainers@suse.de |mpluskal@suse.com --- Comment #1 from Martin Pluskal <mpluskal@suse.com> --- mgetty is missing unit file, I will add proper one. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=914661 --- Comment #2 from a b <wharms@bfs.de> --- please add some documentation how to handle more that one modem/mgetty thx -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=914661 Martin Pluskal <mpluskal@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |wharms@bfs.de Flags| |needinfo?(wharms@bfs.de) --- Comment #3 from Martin Pluskal <mpluskal@suse.com> --- Please try mgetty from http://download.opensuse.org/repositories/home:/pluskalm:/branches:/Base:/Sy... - use i.e. systemctl start mgetty@ttACM0.service and to permanetly enable it systemctl enable mgetty@ttACM0.service. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=914661 --- Comment #4 from Martin Pluskal <mpluskal@suse.com> --- (In reply to a b from comment #2)
please add some documentation how to handle more that one modem/mgetty thx
For each modem/device you want to handle just start/enable mgetty@X.service, where X is device which is supposed to be used (ttyS0 or ttACM0 or whatever you need). -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=914661 a b <wharms@bfs.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Flags|needinfo?(wharms@bfs.de) | --- Comment #5 from a b <wharms@bfs.de> --- I did rpm -U mgetty-1.1.36-84.1.x86_64.rpm * systemctl start mgetty@modem.service -- never returns $ systemctl enable mgetty@modem.service ln -s '/usr/lib/systemd/system/mgetty@.service' '/etc/systemd/system/getty.target.wants/mgetty@modem.service' but no mgetty to find with ps note; i have tested /dev/modem by using minicom, it works -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=914661 Martin Pluskal <mpluskal@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Flags| |needinfo?(wharms@bfs.de) --- Comment #6 from Martin Pluskal <mpluskal@suse.com> --- (In reply to a b from comment #5)
I did rpm -U mgetty-1.1.36-84.1.x86_64.rpm * systemctl start mgetty@modem.service -- never returns
$ systemctl enable mgetty@modem.service ln -s '/usr/lib/systemd/system/mgetty@.service' '/etc/systemd/system/getty.target.wants/mgetty@modem.service'
but no mgetty to find with ps
note; i have tested /dev/modem by using minicom, it works
Ah I see, /dev/modem is symlink to /dev/ttyX, but this will not work with unit due to other reasons (feel free to look at unit file) - you should use systemctl start mgetty@ttyX.service. Even if service fails to start, systemctl start mgetty@X.service should (and will) finish after some time (several minutes). After that you can see what happened via "systemctl status mgetty@X.service". -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=914661 --- Comment #7 from Martin Pluskal <mpluskal@suse.com> --- I have just tried this, and indeed unit file fails with symlink: lojza:~ # systemctl start mgetty@ttyS0 lojza:~ # systemctl status mgetty@ttyS0 mgetty@ttyS0.service - mgetty on /dev/ttyS0 Loaded: loaded (/usr/lib/systemd/system/mgetty@.service; disabled) Active: active (running) since Mon 2015-01-26 15:51:56 CET; 5s ago Docs: man:mgetty(8) Main PID: 10069 (mgetty) CGroup: /system.slice/system-mgetty.slice/mgetty@ttyS0.service └─10069 /usr/sbin/mgetty /dev/ttyS0 lojza:~ # systemctl stop mgetty@ttyS0 lojza:~ # ln -s /dev/ttyS0 /dev/modem lojza:~ # systemctl start mgetty@modem lojza:~ # systemctl status mgetty@modem mgetty@modem.service - mgetty on /dev/modem Loaded: loaded (/usr/lib/systemd/system/mgetty@.service; disabled) Active: inactive (dead) Docs: man:mgetty(8) -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=914661 --- Comment #8 from a b <wharms@bfs.de> --- systemctl status mgetty@ttyS6 mgetty@ttyS6.service - mgetty on /dev/ttyS6 Loaded: loaded (/usr/lib/systemd/system/mgetty@.service; enabled) Active: active (running) since Mo 2015-01-26 15:23:39 UTC; 54s ago Docs: man:mgetty(8) Main PID: 17622 (mgetty) CGroup: /system.slice/system-mgetty.slice/mgetty@ttyS6.service └─17622 /usr/sbin/mgetty /dev/ttyS6 ttyS6 works for me. why is the symlink to /dev/modem a problem ? -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=914661 Martin Pluskal <mpluskal@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Flags|needinfo?(wharms@bfs.de) | --- Comment #9 from Martin Pluskal <mpluskal@suse.com> --- (In reply to a b from comment #8)
systemctl status mgetty@ttyS6 mgetty@ttyS6.service - mgetty on /dev/ttyS6 Loaded: loaded (/usr/lib/systemd/system/mgetty@.service; enabled) Active: active (running) since Mo 2015-01-26 15:23:39 UTC; 54s ago Docs: man:mgetty(8) Main PID: 17622 (mgetty) CGroup: /system.slice/system-mgetty.slice/mgetty@ttyS6.service └─17622 /usr/sbin/mgetty /dev/ttyS6
ttyS6 works for me. Thanks for confirmation, I will request maintenance update.
why is the symlink to /dev/modem a problem ?
There is BindsTo=dev-%i.device in unit file related to device, where /dev/modem is afaik not considered to be device by udev/systemd (although symlink is generated by udev). -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=914661 Martin Pluskal <mpluskal@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |IN_PROGRESS -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=914661 Benjamin Brunner <bbrunner@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|IN_PROGRESS |RESOLVED Resolution|--- |FIXED --- Comment #11 from Benjamin Brunner <bbrunner@suse.com> --- Update released for openSUSE 13.1 and 13.2. Resolved fixed. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=914661 Tomáš Chvátal <tchvatal@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Component|Installation |Basesystem Version|Final |Current Assignee|mpluskal@suse.com |sbrabec@suse.com Product|openSUSE 13.1 |openSUSE Tumbleweed Target Milestone|--- |Current QA Contact|jsrain@suse.com |qa-bugs@suse.de -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com