Skip to content
This repository has been archived by the owner on Oct 16, 2020. It is now read-only.

User doesn't get added to portage & systemd-journal groups #780

Closed
crawford opened this issue Sep 24, 2015 · 6 comments
Closed

User doesn't get added to portage & systemd-journal groups #780

crawford opened this issue Sep 24, 2015 · 6 comments

Comments

@crawford
Copy link
Contributor

Issue by digital-wonderland
Wednesday Nov 26, 2014 at 19:41 GMT
Originally opened as https://github.com/coreos/coreos-cloudinit/issues/270


I have a users: section like the following:

users:
  - name: stephan
    passwd: $MY_PWD
    groups:
      - docker
      - portage
      - sudo
      - systemd-journal
    ssh-authorized-keys:
      - ssh-rsa $MY_KEY

The user gets properly created, pwd & ssh key are properly set but the user only gets added to sudo, docker & stephan but not to portage & systemd-journal.

Also I'm missing references for those within /etc/group:

# cat /etc/group
wheel:x:10:root,core
sudo:x:150:stephan
docker:x:233:core,stephan
stephan:x:1000:

This is with CoreOS 509.1.0

@crawford
Copy link
Contributor Author

Comment by crawford
Thursday Dec 04, 2014 at 23:33 GMT


I haven't had a chance to investigate this yet, but I haven't forgotten about it!

@crawford
Copy link
Contributor Author

Comment by marineam
Thursday Dec 04, 2014 at 23:59 GMT


This is a long standing issue with shadow-utils not being able to deal with
our two passwd and group files. My intent is to resolve it by switching to
the new systemd sysusers mechanism for managing system users and groups.
On Dec 4, 2014 3:33 PM, "Alex Crawford" notifications@github.com wrote:

I haven't had a chance to investigate this yet, but I haven't forgotten
about it!


Reply to this email directly or view it on GitHub
https://github.com/coreos/coreos-cloudinit/issues/270#issuecomment-65723524
.

@kayrus
Copy link

kayrus commented Oct 2, 2015

confirm same issue on CoreOS 815

@hkjn
Copy link

hkjn commented Oct 2, 2015

Thanks for linking the issue kayrus, I can confirm that it occurs on CoreOS 723.3.0 and CoreOS 766.4.0 as well.

@zapient
Copy link

zapient commented Dec 16, 2015

Also confirmed bug on:

NAME=CoreOS
ID=coreos
VERSION=835.7.0
VERSION_ID=835.7.0
BUILD_ID=
PRETTY_NAME="CoreOS 835.7.0"
ANSI_COLOR="1;32"
HOME_URL="https://coreos.com/"
BUG_REPORT_URL="https://github.com/coreos/bugs/issues"

@crawford
Copy link
Contributor Author

Duplicate of #312.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants