Bug 28570

Summary: wine.service error at boot
Product: Mageia Reporter: Pe Alfa <pealfa>
Component: RPM PackagesAssignee: All Packagers <pkg-bugs>
Status: RESOLVED DUPLICATE QA Contact:
Severity: normal    
Priority: Normal CC: davidwhodgins, ouaurelien, rverschelde, sysadmin-bugs, thierry.vignaud
Version: 8   
Target Milestone: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Source RPM: CVE:
Status comment:
Attachments: Stop wine from failing to register if systemd-binfmt.service already started

Description Pe Alfa 2021-03-09 21:11:09 CET
Hi again!

wine.service show this at boot:

[FAILED] Failed to start LSB: Allow users to run Windows(tm applications)

But I can use wine.

I do:

(1)
$ systemctl list-units | grep -i failed
...                                                   
● wine.service    loaded failed failed    LSB: Allow users to run Windows(tm) applications

(2)
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 Mon 2021-03-08 22:13:59 CET; 32min ago
       Docs: man:systemd-sysv-generator(8)
    Process: 1103 ExecStart=/etc/rc.d/init.d/wine start (code=exited, status=1/FAILURE)
        CPU: 11ms

mar 08 22:13:59 lenovo systemd[1]: Starting LSB: Allow users to run Windows(tm) applications...
mar 08 22:13:59 lenovo wine[1103]: Iniciando wine: [FALLÓ ]
mar 08 22:13:59 lenovo wine[1103]: ¡Ya se habilitó el registro de Wine!
mar 08 22:13:59 lenovo systemd[1]: wine.service: Control process exited, code=exited, status=1/FAILURE
mar 08 22:13:59 lenovo systemd[1]: wine.service: Failed with result 'exit-code'.
mar 08 22:13:59 lenovo systemd[1]: Failed to start LSB: Allow users to run Windows(tm) applications.

(3)
systemctl disable wine.service
wine.service is not a native service, redirecting to systemd-sysv-install.
Executing: /usr/lib/systemd/systemd-sysv-install disable wine

The 'Failed' is gone.

Thanks
Pepe Álvarez
Comment 1 Dave Hodgins 2021-03-11 02:30:31 CET
Created attachment 12451 [details]
Stop wine from failing to register if systemd-binfmt.service already started

/sbin/modprobe binfmt_misc works ok even if the module has already been loaded,
so no need to exit if systemd-binfmt.service has already loaded it.

CC: (none) => davidwhodgins

Dave Hodgins 2021-03-11 02:32:41 CET

Assignee: bugsquad => rverschelde

Rémi Verschelde 2021-07-23 22:38:26 CEST

Assignee: rverschelde => pkg-bugs
CC: (none) => rverschelde, thierry.vignaud

Comment 2 Aurelien Oudelet 2021-07-23 23:23:22 CEST
Thanks for the bug report.
This particular issue has already been reported in our bug tracking system, but please feel free to report any further bugs you find.
In general it is welcome to search for existing reports first to avoid filing duplicates.

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

Resolution: (none) => DUPLICATE
CC: (none) => ouaurelien
Component: Release (media or process) => RPM Packages
Status: NEW => RESOLVED