util-linux.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Lennart Poettering <lennart@poettering.net>
To: util-linux@vger.kernel.org
Subject: Re: [util-linux] agetty and special chars @ and #
Date: Tue, 20 Nov 2012 17:59:54 +0100	[thread overview]
Message-ID: <20121120165954.GA18664@tango.0pointer.de> (raw)
In-Reply-To: <20121120092654.GA4345@boole.suse.de>

On Tue, 20.11.12 10:26, Dr. Werner Fink (werner@suse.de) wrote:

> > But the getty is actually not thaaaat special, it's actually just a unit
> > like any other with no special semantics.
> > 
> > This general approach is actually well documented, for example most
> > recently here:
> > 
> > http://0pointer.de/blog/projects/serial-console.html
> > 
> > Indirectly this all is also listed in the FAQ:
> > 
> > http://www.freedesktop.org/wiki/Software/systemd/FrequentlyAskedQuestions
> 
> Hi Lennart,
> 
> you and also I know how to do this, nevertheless just one remark: for most
> other users this is black magic (and most users are aliterate at the first
> moment).  This because they are not aware how the systemd-getty-generator
> nor how the getty services have to be read.  It is not at first glance
> obviously from getty@.service nor serial-getty@.service how to get an other
> getty for a special serial console nor how to have a getty with a special
> option for e.g. for tty1.
>
> The complexity level is to high due to the fact that there are to many
> locations and set screws to influence the numbers, devices, and options
> of the gettys.

Well, I am not really sure I buy into the complexity thing so much. We
use the same concepts for making changes to any service here, really. So
if an admin grokked this once he should be able to apply this to any
service he likes.

> If you like to avoid such simply approaches for agetty you may consider to
> help normal users which do not work daily as system administrators to help
> them by providing all infomations in a more comprehensible and user friendly
> form in *one* file.  That could be that the getty-generator my use informations
> from getty@.service and serial-getty@.service them self.
> 
> In other words: usability by striking simplicity :)

I really don't agree that adding multiple levels of configuration really
would be such a good idea. Adding redundancy by implementing several
different ways to configure the same thing just adds confusion and
complexity in my eyes.

Note that systemd-getty-generator actually comes with a man page. Of
course, it's a problem to get people to actually find it, or even know
about it.

I have now updated the Documentation= field of the getty services to
point to the aforementioned blog story (this will then show up in
systemctl status), and added similar links to all man pages in any way
related to getty configuration. I think this is the best we can do:
keeping things uniform and not redundant, while beefing up docs and
making them easier to find.

Hope this settles this,

Lennart

-- 
Lennart Poettering - Red Hat, Inc.

      reply	other threads:[~2012-11-20 16:59 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-11-07 16:58 agetty and special chars @ and # Karel Zak
2012-11-12 10:04 ` Dr. Werner Fink
2012-11-12 13:29   ` Karel Zak
2012-11-14 14:27     ` Dr. Werner Fink
2012-11-16 10:14       ` Karel Zak
2012-11-16 12:47         ` Lennart Poettering
2012-11-16 13:05           ` Karel Zak
2012-11-20  0:47             ` Lennart Poettering
2012-11-20  9:26               ` [util-linux] " Dr. Werner Fink
2012-11-20 16:59                 ` Lennart Poettering [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20121120165954.GA18664@tango.0pointer.de \
    --to=lennart@poettering.net \
    --cc=util-linux@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).