lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAPXgP12Bj1K3j5HL1=GTj=xEC+oWgB7VFeQL_Pg23fCevTQAcw@mail.gmail.com>
Date:	Fri, 27 Jan 2012 02:30:33 +0100
From:	Kay Sievers <kay.sievers@...y.org>
To:	Greg KH <gregkh@...e.de>
Cc:	richard -rw- weinberger <richard.weinberger@...il.com>,
	stian@...ia.no, LKML <linux-kernel@...r.kernel.org>,
	Linux-Arch <linux-arch@...r.kernel.org>,
	user-mode-linux-devel@...ts.sourceforge.net
Subject: Re: [uml-devel] /sys/class/tty/tty0/active?

On Fri, Jan 27, 2012 at 02:08, Greg KH <gregkh@...e.de> wrote:
> On Thu, Jan 26, 2012 at 11:56:50PM +0100, richard -rw- weinberger wrote:
>> On Thu, Jan 26, 2012 at 11:12 PM, richard -rw- weinberger
>> <richard.weinberger@...il.com> wrote:
>> > On Thu, Jan 26, 2012 at 11:11 PM,  <stian@...ia.no> wrote:
>> >>> Hi!
>> >>>
>> >>> systemd goes nuts on UML.
>> >>> While hunting down all issues I found out that systemd wants to read from
>> >>> /sys/class/tty/tty0/active.
>> >>
>> >> Kernel version?
>> >
>> > Linus' tree as of today.
>>
>> Hmm, fbc92a34 introduced it.
>> But it depends on CONFIG_VT. :-\
>
> Is that a problem for UML somehow?

In general, the "crippled" environments might not really the right
thing too run full-blown user login managers like logind.

The main systemd 'init' will not have any problems with that, but
running logind might not really work out under UML.

Depending how far full-OS support in UML should go, logind should
either not run inside UML, or if, UML should provide the needed bits
for in virtual consoles.

If it is not to be solved otherwise, maybe logind needs more
VT-avoiding logic like this:
  http://cgit.freedesktop.org/systemd/systemd/commit/?id=addedec48ba0ffc4472ef6d3b5a45c9d4239f1cd

Kay
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ