Bug 32926

Summary: Kdesu update report: warning: group nobody does not exist - using root
Product: Mageia Reporter: Raphael Gertz <mageia>
Component: RPM PackagesAssignee: QA Team <qa-bugs>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: Normal CC: andrewsfarm, geiger.david68210, sysadmin-bugs
Version: 9Keywords: advisory, validated_update
Target Milestone: ---   
Hardware: All   
OS: Linux   
Whiteboard: MGA9-64-OK
Source RPM: kdesu-5.114.0-1.mga9.src.rpm CVE:
Status comment:

Description Raphael Gertz 2024-03-02 18:07:07 CET
Description of problem:
It seems there is a problem with kdesu package:
  100/409: kdesu [...] warning : group nobody does not exist - using root
#[...]#

Here I have:
$ grep nobody /etc/passwd
nobody:x:65534:65534:Nobody:/:/bin/sh
$ grep 65534 /etc/group
nogroup:x:65534:

Shoudn't the nobody:nobody file be fixed to be owned by nobody:nogroup ?

Problem seems to come from these lines:

mga9:
%attr(2755,root,nobody) %_kf5_libexecdir/kdesud

mga10:
%attr(2755,root,nobody) %_kf6_libexecdir/kdesud

Group should be nogroup and not nobody.

Version-Release number of selected component (if applicable):
kdesu-5.114.0-1.mga9

How reproducible:
Always

Steps to Reproduce:
1. Update kdesu from release version to backports
2. See message while upgrade
Raphael Gertz 2024-03-02 18:08:34 CET

CC: (none) => geiger.david68210

Comment 1 David GEIGER 2024-03-03 08:34:10 CET
Please test new  kdesu-5.114.0-1.1.mga9 update in 9/Core/Updates_testing repo.
Comment 2 Raphael Gertz 2024-03-04 16:09:52 CET
# urpmi kdesu
  rsync://mirror.math.princeton.edu/pub/mageia/distrib/9/x86_64/media/core/updates_testing/kdesu-5.114.0-1.1.mga9.x86_64.rpm
installation de kdesu-5.114.0-1.1.mga9.x86_64.rpm depuis /var/cache/urpmi/rpms                                                                                                                                    
Préparation...                   #[...]#
      1/1: kdesu                 #[...]#
      1/1: désinstallation de kdesu-5.114.0-1.mga9.x86_64
                                 #[...]#

Seems ok on mga

# uname -a
Linux localhost.localdomain 6.6.18-desktop-1.mga9 #1 SMP PREEMPT_DYNAMIC Sat Feb 24 02:17:35 UTC 2024 x86_64 GNU/Linux

# rpm -V kdesu
#

# ls -l /usr/libexec/kf5/kdesud
-rwxr-sr-x 1 root nogroup 66712 mars   3 07:01 /usr/libexec/kf5/kdesud*

It seems ok and fixed.

Whiteboard: (none) => MGA9-64-OK

Comment 3 David GEIGER 2024-03-04 18:16:19 CET
Packages in 9/Core/Updates_testing:
======================
kdesu-5.114.0-1.1.mga9
lib64kf5su-devel-5.114.0-1.1.mga9
lib64kf5su5-5.114.0-1.1.mga9
libkf5su-devel-5.114.0-1.1.mga9
libkf5su5-5.114.0-1.1.mga9

From SRPMS:
kdesu-5.114.0-1.1.mga9.src.rpm
katnatek 2024-03-04 19:35:50 CET

Keywords: (none) => advisory

katnatek 2024-03-04 23:28:49 CET

CC: (none) => andrewsfarm

Comment 4 katnatek 2024-03-04 23:29:39 CET
Thomas the reporter says the testing packages fix the issue
Comment 5 Thomas Andrews 2024-03-05 01:22:37 CET
Tested for a clean update over the old version.

Validating.

Keywords: (none) => validated_update
CC: (none) => sysadmin-bugs

Comment 6 Mageia Robot 2024-03-05 01:50:36 CET
An update for this issue has been pushed to the Mageia Updates repository.

https://advisories.mageia.org/MGAA-2024-0095.html

Status: NEW => RESOLVED
Resolution: (none) => FIXED