Bug 33114 - Wrong systemd post/preun mageia scriptlet in lxcfs and i2pd packages
Summary: Wrong systemd post/preun mageia scriptlet in lxcfs and i2pd packages
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: 9
Hardware: All Linux
Priority: Normal normal
Target Milestone: ---
Assignee: QA Team
QA Contact:
URL:
Whiteboard: MGA9-64-OK
Keywords: advisory, validated_update
Depends on:
Blocks:
 
Reported: 2024-04-19 15:34 CEST by David GEIGER
Modified: 2024-04-23 03:21 CEST (History)
4 users (show)

See Also:
Source RPM: lxcfs-5.0.3-1.mga9.src.rpm and i2pd-2.47.0-2.mga9.src.rpm
CVE:
Status comment:


Attachments

Description David GEIGER 2024-04-19 15:34:35 CEST
Like as bug 32687 there are other wrong systemd post/preun mageia scriptlet.

They use:

%post
%post_service %{name}

%preun
%preun_service %{name}

instead of:

%post
%_post_service %{name}

%preun
%_preun_service %{name}
Comment 1 David GEIGER 2024-04-19 17:28:39 CEST
Assigning to QA,

It is better not not install previous bogus pkgs otherwise you get same issue as lxc bug, just test the new one if there is no scriplet error during install.

Packages in 9/Core/Updates_testing:
======================
lxcfs-5.0.3-1.1.mga9
i2pd-2.47.0-2.1.mga9

From SRPMS:
lxcfs-5.0.3-1.1.mga9.src.rpm
i2pd-2.47.0-2.1.mga9.src.rpm

Assignee: geiger.david68210 => qa-bugs

katnatek 2024-04-20 01:13:18 CEST

Keywords: (none) => advisory

PC LX 2024-04-20 01:30:13 CEST

CC: (none) => mageia
Keywords: advisory => (none)

Comment 2 Herman Viaene 2024-04-20 13:47:58 CEST
To satisfy dependencies, the following package(s) also need to be installed:

- lxc-5.0.3-1.mga9.x86_64
Is that correct????

CC: (none) => herman.viaene

Comment 3 Herman Viaene 2024-04-20 13:56:50 CEST
I have no idea how to test this. It would have something to do with containers and that is definitely our of my range an of that of this slow old laptop.

# urpmq --whatrequires lxcfs
lxcfs
# urpmq --whatrequires i2pd
i2pd
Leaving for others, unless clean install and no obvious ill effects is judged sufficient.
katnatek 2024-04-20 19:23:29 CEST

Keywords: (none) => advisory

Comment 4 katnatek 2024-04-20 19:27:52 CEST
RH mageia 9 x86_64

LC_ALL=C urpmi lxcfs i2pd
To satisfy dependencies, the following packages are going to be installed:
  Package                        Version      Release       Arch    
(medium "QA Testing (64-bit)")
  i2pd                           2.47.0       2.1.mga9      x86_64  
  lxcfs                          5.0.3        1.1.mga9      x86_64  
(medium "Core Release (distrib1)")
  lib64boost_program_options1.8> 1.81.0       3.mga9        x86_64  
4.6MB of additional disk space will be used.
1.5MB of packages will be retrieved.
Proceed with the installation of the 3 packages? (Y/n) y


    https://mirror.math.princeton.edu/pub/mageia/distrib/9/x86_64/media/core/release/lib64boost_program_options1.81.0-1.81.0-3.mga9.x86_64.rpm
installing /var/cache/urpmi/rpms/lib64boost_program_options1.81.0-1.81.0-3.mga9.x86_64.rpm                                          
//home/katnatek/qa-testing/x86_64/lxcfs-5.0.3-1.1.mga9.x86_64.rpm
//home/katnatek/qa-testing/x86_64/i2pd-2.47.0-2.1.mga9.x86_64.rpm
Preparing...                     ##################################################################################################
      1/3: lib64boost_program_options1.81.0
                                 ##################################################################################################
      2/3: i2pd                  ##################################################################################################
      3/3: lxcfs                 ##################################################################################################

LC_ALL=C urpme lxcfs i2pd
removing i2pd-2.47.0-2.1.mga9.x86_64 lxcfs-5.0.3-1.1.mga9.x86_64
removing package i2pd-2.47.0-2.1.mga9.x86_64
      1/2: removing i2pd-2.47.0-2.1.mga9.x86_64
                                 ##################################################################################################
removing package lxcfs-5.0.3-1.1.mga9.x86_64
      2/2: removing lxcfs-5.0.3-1.1.mga9.x86_64
                                 ##################################################################################################
writing /var/lib/rpm/installed-through-deps.list

The following package:
  lib64boost_program_options1.81.0-1.81.0-3.mga9.x86_64
is now orphaned, if you wish to remove it, you can use "urpme --auto-orphans"

LC_ALL=C urpme lib64boost_program_options1.81.0
removing lib64boost_program_options1.81.0-1.81.0-3.mga9.x86_64
removing package lib64boost_program_options1.81.0-1.81.0-3.mga9.x86_64
      1/1: removing lib64boost_program_options1.81.0-1.81.0-3.mga9.x86_64
                                 ##################################################################################################
katnatek 2024-04-20 19:28:11 CEST

CC: (none) => andrewsfarm

Comment 5 katnatek 2024-04-20 19:30:29 CEST
As the bug is about current packages fail to install/uninstall 
I give OK

Note: Due to my test with waydroid I already have lxc-5.0.3-1.mga9.x86_64 in my system

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

Comment 6 Thomas Andrews 2024-04-20 20:06:31 CEST
@Herman: From comment 1: "just test the new one if there is no scriplet error during install." So a clean install should be sufficient.

Validating.

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

Comment 7 Mageia Robot 2024-04-23 03:21:40 CEST
An update for this issue has been pushed to the Mageia Updates repository.

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

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


Note You need to log in before you can comment on or make changes to this bug.