All of lore.kernel.org
 help / color / mirror / Atom feed
From: Bruce Dubbs <bruce.dubbs@gmail.com>
To: Jakob Unterwurzacher <jakobunt@gmail.com>, util-linux-ng@vger.kernel.org
Subject: Re: more(1) may attempt to tcsetattr(3) despite lacking controlling terminal
Date: Thu, 13 Oct 2016 15:52:33 -0500	[thread overview]
Message-ID: <57FFF411.10800@gmail.com> (raw)
In-Reply-To: <56b4e9fb-a01d-3578-b739-66b7b933a8c5@gmail.com>

Jakob Unterwurzacher wrote:
> On 13.10.2016 21:14, Bruce Dubbs wrote:
>>>
>>> The following example illustrates the issue:
>>>
>>> $ /bin/sh -c "timeout 60 /bin/sh -c \"ls | more\""
>>>
>>> This command will now hang until the timeout, since the shell, ls(1) and
>>> more(1) commands invoked by timeout(1) will be suspended.
>>
>> It does not hang for me, but then I don't use systemd.  Perhaps systemd should
>> be fixed.
>
> Does not hang for me either on Fedora 24, and I am using systemd, but how is
> this related to the init system

If systemd was only an init system, I wouldn't object.  It has subsumed 
much more than initialization, e.g udev, dhcp client, managing cgroups, 
'seat management', etc.  My initial reaction to the original problem is 
that it is cgroups related.

   -- Bruce



  reply	other threads:[~2016-10-13 20:52 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-10-13 14:39 more(1) may attempt to tcsetattr(3) despite lacking controlling terminal Jan Schaumann
2016-10-13 19:14 ` Bruce Dubbs
2016-10-13 20:18   ` Jakob Unterwurzacher
2016-10-13 20:52     ` Bruce Dubbs [this message]
2016-10-19  9:53       ` Karel Zak
2016-10-19 10:09 ` Karel Zak
2016-10-20 14:56   ` Sami Kerola

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=57FFF411.10800@gmail.com \
    --to=bruce.dubbs@gmail.com \
    --cc=jakobunt@gmail.com \
    --cc=util-linux-ng@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.