Ioan-Adrian Ratiu
6805ae0f2a
useradd_base: keep group if it still has users
...
perform_groupdel() tries to delete a group irrespective if other
users have it as their primary group, thus the call to groupdel will
fail with the following error error:
groupdel: cannot remove the primary group of user '<user>'
Add a check to perform_groupdel() to determine if there are other
users and keep the group, printing a warning. This is called right
after a user is deleted to delete it's group. If the last user is
deleted, only then the group is also deleted.
(From OE-Core rev: bba1f02cb6d80279c6fed34bb18f010aa921fc1e)
Signed-off-by: Ioan-Adrian Ratiu <adrian.ratiu@ni.com >
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org >
2017-01-26 10:44:27 +00:00
..
2017-01-26 10:44:27 +00:00
2016-12-16 10:23:23 +00:00
2017-01-26 10:44:27 +00:00
2017-01-23 12:05:17 +00:00
2016-08-25 23:03:45 +01:00
2016-12-22 08:50:17 +00:00
2016-12-16 10:23:23 +00:00
2017-01-09 13:39:11 +00:00
2017-01-09 13:39:11 +00:00
2016-12-16 10:23:23 +00:00
2016-12-16 10:23:23 +00:00
2017-01-09 13:39:11 +00:00
2017-01-23 12:05:17 +00:00
2016-12-16 10:23:23 +00:00
2013-10-26 15:59:13 +01:00
2016-12-16 10:23:23 +00:00
2017-01-09 13:39:11 +00:00
2017-01-09 13:39:11 +00:00
2016-12-16 10:23:23 +00:00
2016-12-16 10:23:23 +00:00
2015-12-16 11:56:30 +00:00
2017-01-23 12:05:17 +00:00
2017-01-26 10:44:27 +00:00
2017-01-23 12:05:17 +00:00
2016-12-16 10:23:23 +00:00
2016-12-16 10:23:23 +00:00
2016-12-16 10:23:23 +00:00
2016-12-16 10:23:23 +00:00
2016-12-16 10:23:23 +00:00
2016-12-16 10:23:23 +00:00
2016-12-16 10:23:23 +00:00
2016-06-01 12:38:41 +01:00
2017-01-16 18:05:13 +00:00
2017-01-19 22:47:20 +00:00
2017-01-20 11:53:51 +00:00
2017-01-09 13:39:11 +00:00
2017-01-20 11:53:51 +00:00
2016-12-16 10:23:23 +00:00
2017-01-20 11:53:51 +00:00
2016-11-30 15:48:06 +00:00
2016-09-14 22:22:08 +01:00
2017-01-23 12:05:17 +00:00
2016-12-16 10:23:23 +00:00
2017-01-20 11:53:51 +00:00
2017-01-20 11:53:49 +00:00
2017-01-20 11:53:51 +00:00
2016-12-16 10:23:23 +00:00
2017-01-23 12:05:17 +00:00
2016-12-16 10:23:23 +00:00
2016-12-16 10:23:23 +00:00
2016-12-16 10:23:23 +00:00
2017-01-26 10:44:27 +00:00
2017-01-23 12:05:17 +00:00
2016-12-16 10:23:23 +00:00
2017-01-23 12:05:23 +00:00
2016-12-16 10:23:23 +00:00
2017-01-20 11:53:50 +00:00
2015-08-14 08:30:33 +01:00
2016-12-16 10:23:23 +00:00
2017-01-09 13:39:11 +00:00
2017-01-20 11:53:51 +00:00
2013-01-07 11:09:42 +00:00
2016-12-16 10:23:23 +00:00
2016-12-16 10:23:23 +00:00
2017-01-09 13:39:11 +00:00
2016-12-16 10:23:23 +00:00
2016-10-28 16:15:19 +01:00
2016-12-16 10:23:23 +00:00
2016-12-16 10:23:23 +00:00
2017-01-20 11:53:51 +00:00
2016-12-20 15:22:16 +00:00
2017-01-23 12:05:17 +00:00
2017-01-20 11:53:49 +00:00
2016-10-01 21:45:56 +01:00
2017-01-09 13:39:11 +00:00
2017-01-23 12:05:17 +00:00
2017-01-23 12:05:17 +00:00
2016-12-16 10:23:23 +00:00
2016-12-16 10:23:23 +00:00
2017-01-22 09:05:39 +00:00
2017-01-22 09:05:39 +00:00
2017-01-22 09:05:39 +00:00
2016-12-16 10:23:23 +00:00
2017-01-23 12:05:17 +00:00
2016-12-16 10:23:23 +00:00
2017-01-09 13:39:11 +00:00
2017-01-26 10:44:27 +00:00
2016-12-16 10:23:23 +00:00
2017-01-23 12:05:17 +00:00
2017-01-26 10:44:27 +00:00
2017-01-23 12:05:17 +00:00
2016-12-16 10:23:23 +00:00
2013-06-14 12:55:47 +01:00
2015-11-24 15:50:25 +00:00
2016-12-16 10:23:23 +00:00
2017-01-09 13:39:11 +00:00
2017-01-23 12:05:22 +00:00
2016-12-16 10:23:23 +00:00
2016-12-16 10:23:23 +00:00
2017-01-20 11:53:48 +00:00
2017-01-20 11:53:49 +00:00
2016-12-16 10:23:23 +00:00
2016-12-16 10:23:23 +00:00
2016-12-16 10:23:23 +00:00
2017-01-23 12:05:19 +00:00
2017-01-23 23:30:14 +00:00
2016-12-16 10:23:23 +00:00
2016-12-16 10:23:23 +00:00
2016-12-16 10:23:23 +00:00
2017-01-23 12:05:17 +00:00
2016-12-22 08:50:16 +00:00
2016-12-16 10:23:23 +00:00
2017-01-23 23:30:57 +00:00
2017-01-26 10:44:27 +00:00
2016-12-16 10:23:23 +00:00
2017-01-16 18:05:14 +00:00
2017-01-20 11:53:50 +00:00
2016-12-16 10:23:23 +00:00
2017-01-23 12:05:21 +00:00
2017-01-23 12:05:20 +00:00
2017-01-23 12:05:19 +00:00
2017-01-09 13:39:11 +00:00
2017-01-09 13:39:11 +00:00
2017-01-26 10:44:27 +00:00
2016-12-16 10:23:23 +00:00
2016-12-16 10:23:23 +00:00
2016-12-16 10:23:23 +00:00
2016-12-16 10:23:23 +00:00
2017-01-23 23:30:57 +00:00
2017-01-20 11:53:50 +00:00
2017-01-20 11:53:50 +00:00
2016-12-17 09:57:04 +00:00
2017-01-26 10:44:27 +00:00
2017-01-26 10:44:27 +00:00
2017-01-23 12:05:17 +00:00
2016-12-16 10:23:23 +00:00
2017-01-22 09:05:39 +00:00
2017-01-19 22:47:20 +00:00