[systemd-devel] missing install section in the serial-getty template

Tim Hardeck thardeck at suse.de
Mon Feb 24 02:31:28 PST 2014


Hi,

I am working on a configuration module to set up HVC and IUCVtty
instances on a s390 machine.

We have a template file for IUCVtty which works fine by running for
example `systemctl enable iucvtty at lxterm1.service`.

In case of hvc there are eight devices but only for hvc0 a terminal is
spawn automatically after start. Connecting to another hvc device like
hvc1 doesn't spawn a getty automatically.

So I have to set up the instances manually too but the problem is that
the serial-getty template doesn't have an install section.
So unlike described in
http://www.freedesktop.org/wiki/Software/systemd/FrequentlyAskedQuestions/
I have to create the links manually and call `systemctl daemon-reload`.

I was told that there is no install section because they are not
supposed to be enabled manually.

So my question is why is it better to create links manually and call a
reload if it could as easily work out of the box?
Besides that the regular getty template does have an install section too.

I am using systemd 208.

Regards
Tim

-- 
SUSE LINUX Products GmbH, GF: Jeff Hawn, Jennifer Guild, Felix
Imendörffer, HRB 16746 (AG Nürnberg)
Maxfeldstr. 5, 90409 Nürnberg, Germany
T: +49 (0) 911 74053-0  F: +49 (0) 911 74053-483
http://www.suse.de/

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 901 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freedesktop.org/archives/systemd-devel/attachments/20140224/8318c0cb/attachment.pgp>


More information about the systemd-devel mailing list