[haiku-bugs] [Haiku] #14382: Package kit boot activation doesn't create users

  • From: "Haiku" <trac@xxxxxxxxxxxx>
  • To: undisclosed-recipients: ;
  • Date: Wed, 22 Aug 2018 00:43:15 -0000

#14382: Package kit boot activation doesn't create users
------------------------------+------------------------------
 Reporter:  kallisti5         |        Owner:  nobody
     Type:  bug               |       Status:  new
 Priority:  normal            |    Milestone:  Unscheduled
Component:  Kits/Package Kit  |      Version:  R1/Development
 Keywords:                    |   Blocked By:
 Blocking:                    |  Has a Patch:  0
 Platform:  All               |
------------------------------+------------------------------
 If a package is activated at boot, any required users are not created.
 If package is activated post-boot... users are created.

 {{{
 ~> id alex
 id: ‘alex’: no such user
 ~> id sshd
 id: ‘sshd’: no such user
 ~> mv /boot/system/packages/usertest-1.0-1-x86_64.hpkg ~/
 ~> id alex
 id: ‘alex’: no such user
 ~> mv ~/usertest-1.0-1-x86_64.hpkg /boot/system/packages/
 ~> id alex
 id: ‘alex’: no such user
 ~> id alex
 id: ‘alex’: no such user
 ~> id alex
 id: ‘alex’: no such user
 ~> id alex
 id: ‘alex’: no such user
 ~> id alex
 uid=1000(alex) gid=100(users) groups=100(users)
 ~> id sshd
 id: ‘sshd’: no such user
 }}}

 This explains why the sshd user isn't created at first (or any) boot, and
 must be created manually.

-- 
Ticket URL: <https://dev.haiku-os.org/ticket/14382>
Haiku <https://dev.haiku-os.org>
The Haiku operating system.

Other related posts: