All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [Bug 12786] New: Systemd spawns two getty processes when the getty port is set to console
@ 2020-04-18  1:17 bugzilla at busybox.net
  2020-04-18 21:40 ` [Buildroot] [Bug 12786] " bugzilla at busybox.net
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: bugzilla at busybox.net @ 2020-04-18  1:17 UTC (permalink / raw)
  To: buildroot

https://bugs.busybox.net/show_bug.cgi?id=12786

            Bug ID: 12786
           Summary: Systemd spawns two getty processes when the getty port
                    is set to console
           Product: buildroot
           Version: 2020.02.1
          Hardware: All
                OS: Linux
            Status: NEW
          Severity: major
          Priority: P5
         Component: Other
          Assignee: unassigned at buildroot.uclibc.org
          Reporter: aduskett at gmail.com
                CC: buildroot at uclibc.org
  Target Milestone: ---

Very straight forward.

When systemd is selected as the init system, and BR2_TARGET_GENERIC_GETTY_PORT
is set to console, two gettys are spawned which prevents a user from logging
in.

How to reproduce:

make qemu_x86_64_defconfig
menuconfig -> System configuration -> Init system -> systemd
make

Then run the resulting image.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Buildroot] [Bug 12786] Systemd spawns two getty processes when the getty port is set to console
  2020-04-18  1:17 [Buildroot] [Bug 12786] New: Systemd spawns two getty processes when the getty port is set to console bugzilla at busybox.net
@ 2020-04-18 21:40 ` bugzilla at busybox.net
  2020-04-19 18:53 ` bugzilla at busybox.net
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: bugzilla at busybox.net @ 2020-04-18 21:40 UTC (permalink / raw)
  To: buildroot

https://bugs.busybox.net/show_bug.cgi?id=12786

--- Comment #1 from Matt Weber <matthew.weber@rockwellcollins.com> ---
 I can confirm I see similar with aarch64 build using master.  I noticed it is
possible to login and run commands you just have to keep escaping the new getty
:-)

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Buildroot] [Bug 12786] Systemd spawns two getty processes when the getty port is set to console
  2020-04-18  1:17 [Buildroot] [Bug 12786] New: Systemd spawns two getty processes when the getty port is set to console bugzilla at busybox.net
  2020-04-18 21:40 ` [Buildroot] [Bug 12786] " bugzilla at busybox.net
@ 2020-04-19 18:53 ` bugzilla at busybox.net
  2020-04-19 18:54 ` bugzilla at busybox.net
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: bugzilla at busybox.net @ 2020-04-19 18:53 UTC (permalink / raw)
  To: buildroot

https://bugs.busybox.net/show_bug.cgi?id=12786

--- Comment #2 from Adam Duskett <aduskett@gmail.com> ---
After I did a quick google search I found a post on stack exchange that
indicates this has been an issue since at least version 2019.02!

https://unix.stackexchange.com/questions/566959/how-to-prevent-console-getty-service-to-start

The logic behind /dev/console in systemd.mk is a bit complex and I am not sure
where to start.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Buildroot] [Bug 12786] Systemd spawns two getty processes when the getty port is set to console
  2020-04-18  1:17 [Buildroot] [Bug 12786] New: Systemd spawns two getty processes when the getty port is set to console bugzilla at busybox.net
  2020-04-18 21:40 ` [Buildroot] [Bug 12786] " bugzilla at busybox.net
  2020-04-19 18:53 ` bugzilla at busybox.net
@ 2020-04-19 18:54 ` bugzilla at busybox.net
  2020-05-16 14:29 ` bugzilla at busybox.net
  2020-05-19 21:39 ` bugzilla at busybox.net
  4 siblings, 0 replies; 6+ messages in thread
From: bugzilla at busybox.net @ 2020-04-19 18:54 UTC (permalink / raw)
  To: buildroot

https://bugs.busybox.net/show_bug.cgi?id=12786

Adam Duskett <aduskett@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |2020.05
                 CC|                            |aduskett at gmail.com

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Buildroot] [Bug 12786] Systemd spawns two getty processes when the getty port is set to console
  2020-04-18  1:17 [Buildroot] [Bug 12786] New: Systemd spawns two getty processes when the getty port is set to console bugzilla at busybox.net
                   ` (2 preceding siblings ...)
  2020-04-19 18:54 ` bugzilla at busybox.net
@ 2020-05-16 14:29 ` bugzilla at busybox.net
  2020-05-19 21:39 ` bugzilla at busybox.net
  4 siblings, 0 replies; 6+ messages in thread
From: bugzilla at busybox.net @ 2020-05-16 14:29 UTC (permalink / raw)
  To: buildroot

https://bugs.busybox.net/show_bug.cgi?id=12786

--- Comment #3 from Thomas Petazzoni <thomas.petazzoni@free-electrons.com> ---
I have J?r?my Rosen to have a look, see
http://lists.busybox.net/pipermail/buildroot/2020-May/282962.html. I must say
the logic in systemd.mk is very confusing, and the comment above it doesn't
help understand what's going on.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Buildroot] [Bug 12786] Systemd spawns two getty processes when the getty port is set to console
  2020-04-18  1:17 [Buildroot] [Bug 12786] New: Systemd spawns two getty processes when the getty port is set to console bugzilla at busybox.net
                   ` (3 preceding siblings ...)
  2020-05-16 14:29 ` bugzilla at busybox.net
@ 2020-05-19 21:39 ` bugzilla at busybox.net
  4 siblings, 0 replies; 6+ messages in thread
From: bugzilla at busybox.net @ 2020-05-19 21:39 UTC (permalink / raw)
  To: buildroot

https://bugs.busybox.net/show_bug.cgi?id=12786

Thomas Petazzoni <thomas.petazzoni@bootlin.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |DUPLICATE

--- Comment #4 from Thomas Petazzoni <thomas.petazzoni@bootlin.com> ---


*** This bug has been marked as a duplicate of bug 12361 ***

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2020-05-19 21:39 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-04-18  1:17 [Buildroot] [Bug 12786] New: Systemd spawns two getty processes when the getty port is set to console bugzilla at busybox.net
2020-04-18 21:40 ` [Buildroot] [Bug 12786] " bugzilla at busybox.net
2020-04-19 18:53 ` bugzilla at busybox.net
2020-04-19 18:54 ` bugzilla at busybox.net
2020-05-16 14:29 ` bugzilla at busybox.net
2020-05-19 21:39 ` bugzilla at busybox.net

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.