Bug 24501

Summary: scriptlet failures during install - likely due to new systemd
Product: Mageia Reporter: Martin Whitaker <mageia>
Component: RPM PackagesAssignee: Base system maintainers <basesystem>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: Normal CC: mageia, mageia, marja11, ngompa13, pterjan, smelror, thierry.vignaud, tmb
Version: Cauldron   
Target Milestone: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Source RPM: systemd (?) CVE:
Status comment:
Attachments: installer install.log
installer ddebug.log

Description Martin Whitaker 2019-03-13 09:26:16 CET
Running a Live ISO build, during the package installation phase I see the following warnings:

warning: %posttrans(dbus-1.13.8-4.mga7.x86_64) scriptlet failed, exit status 73
warning: %post(cryptsetup-2.1.0-1.mga7.x86_64) scriptlet failed, exit status 73
warning: %post(davfs2-1.5.4-2.mga7.x86_64) scriptlet failed, exit status 73
warning: %post(ppp-2.4.7-13.mga7.x86_64) scriptlet failed, exit status 73
warning: %post(dhcp-client-3:4.4.1-2.mga7.x86_64) scriptlet failed, exit status 73
warning: %post(wpa_supplicant-2.7-1.mga7.x86_64) scriptlet failed, exit status 73
warning: %post(hplip-3.19.1-2.mga7.x86_64) scriptlet failed, exit status 73

Checking a few of the packages, the common factor is that the scriptlets are calling 'systemd-tmpfiles --create'
Comment 1 Martin Whitaker 2019-03-13 09:28:31 CET
Created attachment 10865 [details]
installer install.log
Comment 2 Martin Whitaker 2019-03-13 09:29:31 CET
Created attachment 10866 [details]
installer ddebug.log
Comment 3 Martin Whitaker 2019-03-13 09:32:07 CET
As noted by Jani on dev@ml:

$ man systemd-tmpfiles

	If the configuration was syntactically valid, but could not be
	executed (lack of permissions, creation of files in missing
	directories, invalid contents when writing to /sys/ values,
	...), 73 is returned (EX_CANTCREAT from
	/usr/include/sysexits.h).
Comment 4 Marja Van Waes 2019-03-14 16:49:02 CET
Assigning to the Base System maintainers.
CC'ing the registered maintainer and a bunch of committers.

CC: (none) => mageia, mageia, marja11, ngompa13, pterjan, smelror, thierry.vignaud, tmb
Source RPM: (none) => systemd (?)
Assignee: bugsquad => basesystem

Comment 5 Martin Whitaker 2019-03-17 15:34:32 CET
systemd 240 introduced a new check on the ownership of directories, which wasn't met by the dummy root directory created by draklive2.

Fixed in drakiso.

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