diff mbox

system/skeleton: fix /etc/group

Message ID 1429618945-21621-1-git-send-email-bgolaszewski@baylibre.com
State Accepted
Commit ab6b4c82f4d7857de3b48172e590f8d6dc6c9171
Headers show

Commit Message

Bartosz Golaszewski April 21, 2015, 12:22 p.m. UTC
When using busybox compiled from current git, login emits the following
message:

    login: /etc/group: bad record

Fix it by adding the missing colon to /etc/group in system/skeleton.

Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
---
 system/skeleton/etc/group | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Peter Korsgaard April 21, 2015, 12:53 p.m. UTC | #1
>>>>> "Bartosz" == Bartosz Golaszewski <bgolaszewski@baylibre.com> writes:

 > When using busybox compiled from current git, login emits the following
 > message:

 >     login: /etc/group: bad record

 > Fix it by adding the missing colon to /etc/group in system/skeleton.

Hmm, while the patch looks correct I don't see that error message
here. What is your setup exactly?
Peter Korsgaard April 21, 2015, 1:15 p.m. UTC | #2
>>>>> "Bartosz" == Bartosz Golaszewski <bgolaszewski@baylibre.com> writes:

Hi,

>> Hmm, while the patch looks correct I don't see that error message
 >> here. What is your setup exactly?

 > Hi Peter,

 > maybe I didn't express myself right.

 > What I meant was busybox compiled manually from current busybox git -
 > as opposed to the archive normally downloaded by buildroot.

Ahh, ok - I see it now. The internal password routines in busybox have
recently been rewritten, so that's why we haven't seen it before.

Committed, thanks.
diff mbox

Patch

diff --git a/system/skeleton/etc/group b/system/skeleton/etc/group
index fa74ae2..c1dc11f 100644
--- a/system/skeleton/etc/group
+++ b/system/skeleton/etc/group
@@ -21,6 +21,6 @@  plugdev:x:46:
 staff:x:50:
 lock:x:54:
 netdev:x:82:
-ftp:x:83
+ftp:x:83:
 nogroup:x:99:
 users:x:100: