Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package yast2-users for openSUSE:Factory checked in at 2025-01-29 16:09:55 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/yast2-users (Old) and /work/SRC/openSUSE:Factory/.yast2-users.new.2316 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "yast2-users" Wed Jan 29 16:09:55 2025 rev:264 rq:1240798 version:5.0.4 Changes: -------- --- /work/SRC/openSUSE:Factory/yast2-users/yast2-users.changes 2024-10-02 21:32:16.807626842 +0200 +++ /work/SRC/openSUSE:Factory/.yast2-users.new.2316/yast2-users.changes 2025-01-29 16:10:09.910934471 +0100 @@ -1,0 +2,6 @@ +Tue Jan 28 09:46:57 UTC 2025 - Stefan Hundhammer <shundham...@suse.com> + +- Remove nscd-related code (bsc#1236308) +- 5.0.4 + +------------------------------------------------------------------- Old: ---- yast2-users-5.0.3.tar.bz2 New: ---- yast2-users-5.0.4.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ yast2-users.spec ++++++ --- /var/tmp/diff_new_pack.MCirov/_old 2025-01-29 16:10:10.518959685 +0100 +++ /var/tmp/diff_new_pack.MCirov/_new 2025-01-29 16:10:10.518959685 +0100 @@ -1,7 +1,7 @@ # # spec file for package yast2-users # -# Copyright (c) 2024 SUSE LLC +# Copyright (c) 2025 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,7 +17,7 @@ Name: yast2-users -Version: 5.0.3 +Version: 5.0.4 Release: 0 Summary: YaST2 - User and Group Configuration License: GPL-2.0-only ++++++ yast2-users-5.0.3.tar.bz2 -> yast2-users-5.0.4.tar.bz2 ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-users-5.0.3/package/yast2-users.changes new/yast2-users-5.0.4/package/yast2-users.changes --- old/yast2-users-5.0.3/package/yast2-users.changes 2024-10-02 10:26:22.000000000 +0200 +++ new/yast2-users-5.0.4/package/yast2-users.changes 2025-01-28 11:53:33.000000000 +0100 @@ -1,4 +1,10 @@ ------------------------------------------------------------------- +Tue Jan 28 09:46:57 UTC 2025 - Stefan Hundhammer <shundham...@suse.com> + +- Remove nscd-related code (bsc#1236308) +- 5.0.4 + +------------------------------------------------------------------- Tue Oct 1 13:31:05 UTC 2024 - Stefan Hundhammer <shundham...@suse.com> - Removed obsolete USERADD_CMD, USERDEL_PRECMD, USERDEL_POSTCMD, diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-users-5.0.3/package/yast2-users.spec new/yast2-users-5.0.4/package/yast2-users.spec --- old/yast2-users-5.0.3/package/yast2-users.spec 2024-10-02 10:26:22.000000000 +0200 +++ new/yast2-users-5.0.4/package/yast2-users.spec 2025-01-28 11:53:33.000000000 +0100 @@ -17,7 +17,7 @@ Name: yast2-users -Version: 5.0.3 +Version: 5.0.4 Release: 0 Summary: YaST2 - User and Group Configuration License: GPL-2.0-only diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-users-5.0.3/src/lib/y2users/linux/writer.rb new/yast2-users-5.0.4/src/lib/y2users/linux/writer.rb --- old/yast2-users-5.0.3/src/lib/y2users/linux/writer.rb 2024-10-02 10:26:22.000000000 +0200 +++ new/yast2-users-5.0.4/src/lib/y2users/linux/writer.rb 2025-01-28 11:53:33.000000000 +0100 @@ -105,16 +105,6 @@ issues.concat(write_users) write_login_config - # After modifying the users and groups in the system, previous versions of yast-users used - # to update the NIS database and invalidate the nscd (Name Service Caching Daemon) cache. - # - # The nscd cache cleanup was initially introduced in the context of bsc#39748 and - # bsc#56648. - # It's not longer needed for local users because: - # - The nscd daemon watches for changes in the relevant files (eg. /etc/passwd) - # - The current implementation relies on the tools in the shadow suite (eg. useradd), - # which already flush nscd and sssd caches when needed. - # # Updating the NIS database (make -C /var/yp) was done if the system was the master server # of a NIS domain. But turns out it was likely not that useful and reliable as originally # intended for several reasons. @@ -134,7 +124,7 @@ # update the database periodically (eg. every 15 minutes). # # To avoid the need of maintaining code to perform actions that doesn't have a clear - # benefit nowadays, YaST does not longer handle the status of nscd or NIS databases. + # benefit nowadays, YaST does not longer handle the status of the NIS database. end end diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-users-5.0.3/src/modules/Users.pm new/yast2-users-5.0.4/src/modules/Users.pm --- old/yast2-users-5.0.3/src/modules/Users.pm 2024-10-02 10:26:22.000000000 +0200 +++ new/yast2-users-5.0.4/src/modules/Users.pm 2025-01-28 11:53:33.000000000 +0100 @@ -4147,8 +4147,6 @@ my $self = shift; my $ret = ""; - my $nscd_passwd = 0; - my $nscd_group = 0; my $umask = $self->GetUmask (); @@ -4193,7 +4191,6 @@ else { delete $removed_users{"ldap"}; } - $nscd_passwd = 1; } if ($error_msg eq "" && defined ($modified_users{"ldap"})) { @@ -4210,7 +4207,6 @@ $self->UpdateUsersAfterWrite ("ldap"); delete $modified_users{"ldap"}; } - $nscd_passwd = 1; } if ($error_msg eq "" && defined ($removed_groups{"ldap"})) { @@ -4221,7 +4217,6 @@ else { delete $removed_groups{"ldap"}; } - $nscd_group = 1; } if ($error_msg eq "" && defined ($modified_groups{"ldap"})) { @@ -4233,7 +4228,6 @@ $self->UpdateGroupsAfterWrite ("ldap"); delete $modified_groups{"ldap"}; } - $nscd_group = 1; } if ($error_msg eq "") { @@ -4270,9 +4264,6 @@ $plugin_error = GetPluginError ($args, $result); } } - if (!$write_only) { - $nscd_group = 1; - } } if ($users_modified) { @@ -4292,10 +4283,6 @@ } } - if (!$write_only) { - $nscd_passwd = 1; - } - # There used to be a big loop here managing homedir changes, but is not longer necessary: # - work with homes for LDAP users are ruled in WriteLDAP # - homes for local and system users are handed by Y2Users @@ -4310,22 +4297,6 @@ return $ret; } - # remove the passwd cache for nscd (bug 24748, 41648) - if (!$write_only && !Mode->test() && Package->Installed ("nscd")) { - if ($nscd_passwd) { - my $cmd = "/usr/sbin/nscd -i passwd"; - SCR->Execute (".target.bash", $cmd); - y2usernote ("nscd cache invalidated: '$cmd'"); - } - if ($nscd_group) { - my $cmd = "/usr/sbin/nscd -i group"; - SCR->Execute (".target.bash", $cmd); - y2usernote ("nscd cache invalidated: '$cmd'"); - } - } - - # last operation on plugins must be done after nscd restart - # (at least quota seems to need it) if ($users_modified) { # -------------------------------------- call Write on plugins foreach my $type (keys %modified_users) { diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-users-5.0.3/test/fixtures/root/etc/group new/yast2-users-5.0.4/test/fixtures/root/etc/group --- old/yast2-users-5.0.3/test/fixtures/root/etc/group 2024-10-02 10:26:22.000000000 +0200 +++ new/yast2-users-5.0.4/test/fixtures/root/etc/group 2025-01-28 11:53:33.000000000 +0100 @@ -34,4 +34,3 @@ sshd:x:498: tape:x:497: polkitd:x:496: -nscd:x:495: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-users-5.0.3/test/fixtures/root/etc/passwd new/yast2-users-5.0.4/test/fixtures/root/etc/passwd --- old/yast2-users-5.0.3/test/fixtures/root/etc/passwd 2024-10-02 10:26:22.000000000 +0200 +++ new/yast2-users-5.0.4/test/fixtures/root/etc/passwd 2025-01-28 11:53:33.000000000 +0100 @@ -13,6 +13,5 @@ messagebus:x:499:499:User for D-Bus:/var/run/dbus:/bin/false sshd:x:498:498:SSH daemon:/var/lib/sshd:/bin/false polkitd:x:497:496:User for polkitd:/var/lib/polkit:/sbin/nologin -nscd:x:496:495:User for nscd:/run/nscd:/sbin/nologin rpc:x:495:65534:user for rpcbind:/var/lib/empty:/sbin/nologin openslp:x:494:2:openslp daemon:/var/lib/empty:/sbin/nologin diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-users-5.0.3/test/fixtures/root/etc/shadow new/yast2-users-5.0.4/test/fixtures/root/etc/shadow --- old/yast2-users-5.0.3/test/fixtures/root/etc/shadow 2024-10-02 10:26:22.000000000 +0200 +++ new/yast2-users-5.0.4/test/fixtures/root/etc/shadow 2025-01-28 11:53:33.000000000 +0100 @@ -13,6 +13,5 @@ messagebus:!:16765:::::: sshd:!:16765:::::: polkitd:!:16765:::::: -nscd:!:16765:::::: rpc:!:16765:::::: openslp:!:16765:::::: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-users-5.0.3/test/fixtures/root-missing-files/etc/shadow new/yast2-users-5.0.4/test/fixtures/root-missing-files/etc/shadow --- old/yast2-users-5.0.3/test/fixtures/root-missing-files/etc/shadow 2024-10-02 10:26:22.000000000 +0200 +++ new/yast2-users-5.0.4/test/fixtures/root-missing-files/etc/shadow 2025-01-28 11:53:33.000000000 +0100 @@ -13,6 +13,5 @@ messagebus:!:16765:::::: sshd:!:16765:::::: polkitd:!:16765:::::: -nscd:!:16765:::::: rpc:!:16765:::::: openslp:!:16765:::::: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-users-5.0.3/test/fixtures/root2/etc/group new/yast2-users-5.0.4/test/fixtures/root2/etc/group --- old/yast2-users-5.0.3/test/fixtures/root2/etc/group 2024-10-02 10:26:22.000000000 +0200 +++ new/yast2-users-5.0.4/test/fixtures/root2/etc/group 2025-01-28 11:53:33.000000000 +0100 @@ -4,4 +4,3 @@ sys:x:3: tty:x:5: disk:x:6: -nscd:x:495: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-users-5.0.3/test/fixtures/root2/etc/passwd new/yast2-users-5.0.4/test/fixtures/root2/etc/passwd --- old/yast2-users-5.0.3/test/fixtures/root2/etc/passwd 2024-10-02 10:26:22.000000000 +0200 +++ new/yast2-users-5.0.4/test/fixtures/root2/etc/passwd 2025-01-28 11:53:33.000000000 +0100 @@ -14,6 +14,5 @@ messagebus:x:499:499:User for D-Bus:/var/run/dbus:/bin/false sshd:x:498:498:SSH daemon:/var/lib/sshd:/bin/false polkitd:x:497:496:User for polkitd:/var/lib/polkit:/sbin/nologin -nscd:x:496:495:User for nscd:/run/nscd:/sbin/nologin rpc:x:495:65534:user for rpcbind:/var/lib/empty:/sbin/nologin openslp:x:494:2:openslp daemon:/var/lib/empty:/sbin/nologin diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-users-5.0.3/test/fixtures/root2/etc/shadow new/yast2-users-5.0.4/test/fixtures/root2/etc/shadow --- old/yast2-users-5.0.3/test/fixtures/root2/etc/shadow 2024-10-02 10:26:22.000000000 +0200 +++ new/yast2-users-5.0.4/test/fixtures/root2/etc/shadow 2025-01-28 11:53:33.000000000 +0100 @@ -14,6 +14,5 @@ messagebus:!:16765:::::: sshd:!:16765:::::: polkitd:!:16765:::::: -nscd:!:16765:::::: rpc:!:16765:::::: openslp:!:16765:::::: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-users-5.0.3/test/fixtures/root3/etc/group new/yast2-users-5.0.4/test/fixtures/root3/etc/group --- old/yast2-users-5.0.3/test/fixtures/root3/etc/group 2024-10-02 10:26:22.000000000 +0200 +++ new/yast2-users-5.0.4/test/fixtures/root3/etc/group 2025-01-28 11:53:33.000000000 +0100 @@ -4,4 +4,3 @@ sys:x:3: tty:x:5: disk:x:6: -nscd:x:495: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-users-5.0.3/test/fixtures/root3/etc/passwd new/yast2-users-5.0.4/test/fixtures/root3/etc/passwd --- old/yast2-users-5.0.3/test/fixtures/root3/etc/passwd 2024-10-02 10:26:22.000000000 +0200 +++ new/yast2-users-5.0.4/test/fixtures/root3/etc/passwd 2025-01-28 11:53:33.000000000 +0100 @@ -15,6 +15,5 @@ messagebus:x:499:499:User for D-Bus:/var/run/dbus:/bin/false sshd:x:498:498:SSH daemon:/var/lib/sshd:/bin/false polkitd:x:497:496:User for polkitd:/var/lib/polkit:/sbin/nologin -nscd:x:496:495:User for nscd:/run/nscd:/sbin/nologin rpc:x:495:65534:user for rpcbind:/var/lib/empty:/sbin/nologin openslp:x:494:2:openslp daemon:/var/lib/empty:/sbin/nologin diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-users-5.0.3/test/fixtures/root3/etc/shadow new/yast2-users-5.0.4/test/fixtures/root3/etc/shadow --- old/yast2-users-5.0.3/test/fixtures/root3/etc/shadow 2024-10-02 10:26:22.000000000 +0200 +++ new/yast2-users-5.0.4/test/fixtures/root3/etc/shadow 2025-01-28 11:53:33.000000000 +0100 @@ -15,6 +15,5 @@ messagebus:!:16765:::::: sshd:!:16765:::::: polkitd:!:16765:::::: -nscd:!:16765:::::: rpc:!:16765:::::: openslp:!:16765:::::: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-users-5.0.3/test/fixtures/users_export.rb new/yast2-users-5.0.4/test/fixtures/users_export.rb --- old/yast2-users-5.0.3/test/fixtures/users_export.rb 2024-10-02 10:26:22.000000000 +0200 +++ new/yast2-users-5.0.4/test/fixtures/users_export.rb 2025-01-28 11:53:33.000000000 +0100 @@ -177,11 +177,6 @@ "groupname" => "disk", "userlist" => "" }, { "encrypted" => true, - "gid" => "484", - "group_password" => "x", - "groupname" => "nscd", - "userlist" => "" }, - { "encrypted" => true, "gid" => "494", "group_password" => "x", "groupname" => "audio", @@ -342,22 +337,6 @@ "username" => "polkitd" }, { "authorized_keys" => [], "encrypted" => true, - "fullname" => "Testing full name", - "gid" => "484", - "home" => "/var/run/nscd", - "home_btrfs_subvolume" => false, - "password_settings" => { "expire" => "", - "flag" => "", - "inact" => "", - "max" => "", - "min" => "", - "warn" => "" }, - "shell" => "/bin/false", - "uid" => "496", - "user_password" => "*", - "username" => "nscd" }, - { "authorized_keys" => [], - "encrypted" => true, "fullname" => "RealtimeKit", "gid" => "480", "home" => "/proc", diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-users-5.0.3/test/lib/y2users/autoinst/reader_test.rb new/yast2-users-5.0.4/test/lib/y2users/autoinst/reader_test.rb --- old/yast2-users-5.0.3/test/lib/y2users/autoinst/reader_test.rb 2024-10-02 10:26:22.000000000 +0200 +++ new/yast2-users-5.0.4/test/lib/y2users/autoinst/reader_test.rb 2025-01-28 11:53:33.000000000 +0100 @@ -37,8 +37,8 @@ result = subject.read config = result.config - expect(config.users.size).to eq 29 - expect(config.groups.size).to eq 43 + expect(config.users.size).to eq 28 + expect(config.groups.size).to eq 42 root_user = config.users.root expect(root_user.shell).to eq "/bin/bash" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-users-5.0.3/test/lib/y2users/linux/base_reader_test.rb new/yast2-users-5.0.4/test/lib/y2users/linux/base_reader_test.rb --- old/yast2-users-5.0.3/test/lib/y2users/linux/base_reader_test.rb 2024-10-02 10:26:22.000000000 +0200 +++ new/yast2-users-5.0.4/test/lib/y2users/linux/base_reader_test.rb 2025-01-28 11:53:33.000000000 +0100 @@ -46,8 +46,8 @@ expect(config).to be_a(Y2Users::Config) - expect(config.users.size).to eq 18 - expect(config.groups.size).to eq 37 + expect(config.users.size).to eq 17 + expect(config.groups.size).to eq 36 root_user = config.users.root expect(root_user.uid).to eq "0" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-users-5.0.3/test/lib/y2users/linux/local_reader_test.rb new/yast2-users-5.0.4/test/lib/y2users/linux/local_reader_test.rb --- old/yast2-users-5.0.3/test/lib/y2users/linux/local_reader_test.rb 2024-10-02 10:26:22.000000000 +0200 +++ new/yast2-users-5.0.4/test/lib/y2users/linux/local_reader_test.rb 2025-01-28 11:53:33.000000000 +0100 @@ -45,8 +45,8 @@ expect(config).to be_a(Y2Users::Config) - expect(config.users.size).to eq 18 - expect(config.groups.size).to eq 37 + expect(config.users.size).to eq 17 + expect(config.groups.size).to eq 36 root_user = config.users.root expect(root_user.uid).to eq "0" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-users-5.0.3/test/lib/y2users/linux/reader_test.rb new/yast2-users-5.0.4/test/lib/y2users/linux/reader_test.rb --- old/yast2-users-5.0.3/test/lib/y2users/linux/reader_test.rb 2024-10-02 10:26:22.000000000 +0200 +++ new/yast2-users-5.0.4/test/lib/y2users/linux/reader_test.rb 2025-01-28 11:53:33.000000000 +0100 @@ -67,8 +67,8 @@ expect(config).to be_a(Y2Users::Config) - expect(config.users.size).to eq 19 - expect(config.groups.size).to eq 7 + expect(config.users.size).to eq 18 + expect(config.groups.size).to eq 6 root_user = config.users.root expect(root_user.uid).to eq "0"