* [Buildroot] [Bug 10896] New: /bin/sh not in /etc/shells
@ 2018-03-28 13:11 bugzilla at busybox.net
2018-04-17 10:03 ` [Buildroot] [Bug 10896] " bugzilla at busybox.net
2018-05-08 13:03 ` bugzilla at busybox.net
0 siblings, 2 replies; 3+ messages in thread
From: bugzilla at busybox.net @ 2018-03-28 13:11 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=10896
Bug ID: 10896
Summary: /bin/sh not in /etc/shells
Product: buildroot
Version: 2018.02
Hardware: All
OS: Linux
Status: NEW
Severity: major
Priority: P5
Component: Other
Assignee: unassigned at buildroot.uclibc.org
Reporter: posted at heine.so
CC: buildroot at uclibc.org
Target Milestone: ---
Hi,
I just updated my buildroot build from 2017.11 to 2018.02.
It broke my root ssh login.
I see the following message in my journal:
dropbear[383]: User 'root' has invalid shell, rejected
In 2017.11 there was no /etc/shells. Now there is one.
My /etc/shells contains only /bin/bash. But not /bin/sh. But my root users has
/bin/sh as shell, so the error makes sense.
Some quick comparison shows that the file /etc/shells was added in this commit:
4d279697afbf8fb2952 package/bash: add /bin/bash to /etc/shells
I see on the mailing list Romain Naour posted a series of commits which would
also add /bin/sh to shells in the skeleton-init-common. But this is still not
applied.
So I would suggest to either apply the patch series for the next maintenance
release or remove the before mentioned commit.
Regards,
Michael
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Buildroot] [Bug 10896] /bin/sh not in /etc/shells
2018-03-28 13:11 [Buildroot] [Bug 10896] New: /bin/sh not in /etc/shells bugzilla at busybox.net
@ 2018-04-17 10:03 ` bugzilla at busybox.net
2018-05-08 13:03 ` bugzilla at busybox.net
1 sibling, 0 replies; 3+ messages in thread
From: bugzilla at busybox.net @ 2018-04-17 10:03 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=10896
--- Comment #1 from Arnout Vandecappelle <arnout@mind.be> ---
Still present in 2018.02.1...
For 2018.02.x, I think it should be fixed by reverting the commit:
http://patchwork.ozlabs.org/patch/899178/
For master, the series should be applied:
http://patchwork.ozlabs.org/project/buildroot/list/?series=24357
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Buildroot] [Bug 10896] /bin/sh not in /etc/shells
2018-03-28 13:11 [Buildroot] [Bug 10896] New: /bin/sh not in /etc/shells bugzilla at busybox.net
2018-04-17 10:03 ` [Buildroot] [Bug 10896] " bugzilla at busybox.net
@ 2018-05-08 13:03 ` bugzilla at busybox.net
1 sibling, 0 replies; 3+ messages in thread
From: bugzilla at busybox.net @ 2018-05-08 13:03 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=10896
Thomas Petazzoni <thomas.petazzoni@free-electrons.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |FIXED
Status|NEW |RESOLVED
--- Comment #2 from Thomas Petazzoni <thomas.petazzoni@free-electrons.com> ---
In the 2018.02.x branch, we reverted the patch pointed by Arnout. For the
master branch, and upcoming 2018.05, we also applied the series pointed by
Arnout. Hence this bug is fixed. Thanks!
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2018-05-08 13:03 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-03-28 13:11 [Buildroot] [Bug 10896] New: /bin/sh not in /etc/shells bugzilla at busybox.net
2018-04-17 10:03 ` [Buildroot] [Bug 10896] " bugzilla at busybox.net
2018-05-08 13:03 ` 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.