Bug 29430

Summary: Wine init script start always fail
Product: Mageia Reporter: Raphael Gertz <mageia>
Component: RPM PackagesAssignee: Mageia Bug Squad <bugsquad>
Status: RESOLVED DUPLICATE QA Contact:
Severity: normal    
Priority: Normal    
Version: 8   
Target Milestone: ---   
Hardware: All   
OS: Linux   
URL: https://www.mageialinux-online.org/forum/topic-28733+wine.php
Whiteboard:
Source RPM: wine-6.0-3.mga8.src.rpm CVE:
Status comment:

Description Raphael Gertz 2021-09-01 13:01:32 CEST
Description of problem:
# systemctl status wine.service 
● wine.service - LSB: Allow users to run Windows(tm) applications
     Loaded: loaded (/etc/rc.d/init.d/wine; generated)
     Active: failed (Result: exit-code) since Wed 2021-09-01 12:46:51 CEST; 5s ago
       Docs: man:systemd-sysv-generator(8)
    Process: 31736 ExecStart=/etc/rc.d/init.d/wine start (code=exited, status=1/FAILURE)
        CPU: 17ms

sept. 01 12:46:51 akasha.aoihime.eu systemd[1]: Starting LSB: Allow users to run Windows(tm) applications...
sept. 01 12:46:51 akasha.aoihime.eu wine[31736]: Lancement de wine : [ÉCHEC ]
sept. 01 12:46:51 akasha.aoihime.eu wine[31736]: Enregistrement de Wine déjà activé !
sept. 01 12:46:51 akasha.aoihime.eu systemd[1]: wine.service: Control process exited, code=exited, status=1/FAILURE
sept. 01 12:46:51 akasha.aoihime.eu systemd[1]: wine.service: Failed with result 'exit-code'.
sept. 01 12:46:51 akasha.aoihime.eu systemd[1]: Failed to start LSB: Allow users to run Windows(tm) applications.

This happens because systemd-binfmt.service already configured windows and windowsPE exec signature in /proc/sys/fs/binfmt_misc filesystem.

The configuration responsible is in /usr/lib/binfmt.d/wine.conf

Bug is present since a long time (see mageialinux-online.org link).

I fixed the bug by removing the now useless init script, submitted change in wine-6.16-8.mga9 in cauldron and wine-6.0-4.1.mga8 version that should appear in updates testing.

Version-Release number of selected component (if applicable):
wine-6.0-3.mga8

How reproducible:
Always

Steps to Reproduce:
1. urpmi wine
2. systemctl start wine.service
3. systemctl status wine.service
Comment 1 sturmvogel 2021-09-01 14:49:10 CEST
Bug 28416
Comment 2 David Walser 2021-09-01 18:10:58 CEST
(In reply to sturmvogel from comment #1)
> Bug 28416

indeed, thanks

*** This bug has been marked as a duplicate of bug 28416 ***

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