Branch: refs/heads/y2users
Home: https://github.com/yast/yast-users
Commit: 284d09e20afcd1af91a2faba7b4a9b6039d55fca
https://github.com/yast/yast-users/commit/284d09e20afcd1af91a2faba7b4a9b6039...
Author: David Díaz González
Date: 2021-11-10 (Wed, 10 Nov 2021)
Changed paths:
M src/modules/Users.pm
Log Message:
-----------
Flush removed elements after each write
The Users module was not reseting its internal data structure for
removed elements after each write action.
With previous code writing the /etc/passwd and /etc/groups files
directly, this was not a problem. It simply didn't write the "deleted"
elements. Now that new code is running a "userdel" and "groupdel"
commands to remove them, an error for the first previously deleted
element is prompted after running a "Write Changes Now" action.
Reseting "removed" lists internally at the end of each #Write action
fixes the problem.
Commit: 64eac47ff911bafa297a447d6c1e0df1b7db006e
https://github.com/yast/yast-users/commit/64eac47ff911bafa297a447d6c1e0df1b7...
Author: David Díaz González
Date: 2021-11-10 (Wed, 10 Nov 2021)
Changed paths:
M src/modules/Users.pm
Log Message:
-----------
Fix alignment
Commit: 34d8aac42028477a30824822e881a05e10e86681
https://github.com/yast/yast-users/commit/34d8aac42028477a30824822e881a05e10...
Author: David Díaz <1691872+dgdavid@users.noreply.github.com>
Date: 2021-11-10 (Wed, 10 Nov 2021)
Changed paths:
M src/modules/Users.pm
Log Message:
-----------
Merge pull request #354 from yast/clean-internal-data-after-deletion
Flush deleted users and groups after each write
Compare: https://github.com/yast/yast-users/compare/75cbac75e69d...34d8aac42028