Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 546610 - net-dialup/mgetty lacks a systemd unit file for easy installation
Summary: net-dialup/mgetty lacks a systemd unit file for easy installation
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal enhancement (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: install-systemd-unit
  Show dependency tree
 
Reported: 2015-04-14 18:14 UTC by alexander haensch
Modified: 2016-08-12 13:21 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description alexander haensch 2015-04-14 18:14:43 UTC
There is no systemd unit file bundled with mgetty, the user has to lookup the internet for a apropiate file.

Reproducible: Always




I was installing a custom unit:

[Unit]
Description=Smart Modem Getty(mgetty)
Documentation=man:mgetty(8)
Requires=systemd-udev-settle.service
After=systemd-udev-settle.service

[Service]
Type=simple
ExecStart=/usr/sbin/mgetty -D -s 57600 -n 2 -m '"" AT+VCID=1' /dev/ttyACM0
Restart=always
PIDFile=/var/run/mgetty.pid.ttyACM0

[Install]
WantedBy=multi-user.target
Comment 1 Mike Gilbert gentoo-dev 2015-04-14 18:30:05 UTC
This seems like a bad unit for general use. It would be better to use serial-getty@.service as a starting point.

http://cgit.freedesktop.org/systemd/systemd/tree/units/serial-getty@.service.m4