Bug 20578

Summary: The irda service does not start during the initialization phase.
Product: Mageia Reporter: Sébastien B. <sb.cw>
Component: InstallerAssignee: Kernel and Drivers maintainers <kernel>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: Normal CC: lovaren, mageia, marja11
Version: Cauldron   
Target Milestone: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Source RPM: irda-utils? kernel? CVE:
Status comment:

Description Sébastien B. 2017-03-26 19:32:01 CEST
Description of problem:
The irda service does not start during the initialization phase.


Version-Release number of selected component (if applicable):
Mageia-6-sta2-x86_64-DVD.iso


How reproducible:


Steps to Reproduce:
1.
2.
3.
Comment 1 Sébastien B. 2017-03-26 19:33:46 CEST
Hello,

systemctl status irda.service


â irda.service - Irda Support
   Loaded: loaded (/usr/lib/systemd/system/irda.service; enabled; vendor preset: enabled)
   Active: failed (Result: resources) since dim. 2017-03-26 19:27:00 CEST; 36s ago
  Process: 1229 ExecStart=/usr/sbin/irattach ${DEVICE} ${OPTIONS} (code=exited, status=0/SUCCESS)
  Process: 1063 ExecStartPre=/sbin/modprobe -qab ircomm-tty irtty-sir irnet (code=exited, status=0/SUCCESS)

mars 26 19:27:00 localhost.localdomain systemd[1]: Starting Irda Support...
mars 26 19:27:00 localhost.localdomain systemd[1]: irda.service: PID file /var/run/irattach.pid not readable (yet?) after start: No such file or directory
mars 26 19:27:00 localhost.localdomain systemd[1]: irda.service: Daemon never wrote its PID file. Failing.
mars 26 19:27:00 localhost.localdomain systemd[1]: Failed to start Irda Support.
mars 26 19:27:00 localhost.localdomain systemd[1]: irda.service: Unit entered failed state.
mars 26 19:27:00 localhost.localdomain systemd[1]: irda.service: Failed with result 'resources'

Regards,

Sébastien B.
Comment 2 Marja Van Waes 2017-03-27 08:36:09 CEST
Wildly guessing this is a kernel issue (besides, there is no registered irda-utils maintainer), so assigning tot the kernel maintainers.

Please reassign if I'm wrong.

Assignee: bugsquad => kernel
CC: (none) => marja11
Source RPM: (none) => irda-utils? kernel?

Comment 3 Sébastien B. 2017-03-28 11:01:49 CEST
Hello,

That can, perhaps help:

http://forums.fedoraforum.org/showthread.php?t=281384

"it's only a Pid path confusion between the init script and systemd.
if your service config file has another path that systemd standard path (/var/run/httpd for systemd)
so it will complain. the solution is to set PidFile in httpd.conf as /var/run/httpd/httpd.pid"

Regards,

Sébastien B.
Comment 4 Kristoffer Grundström 2017-03-28 11:18:58 CEST
I have that issue as well during the boot sequence.

CC: (none) => hamnisdude

Comment 5 Sébastien B. 2017-03-29 06:00:26 CEST
Hello,

After the update of the kernel, the error message is different:

systemctl status irda.service

â irda.service - Irda Support
   Loaded: loaded (/usr/lib/systemd/system/irda.service; enabled; vendor preset: enabled)
   Active: failed (Result: exit-code) since mer. 2017-03-29 05:45:48 CEST; 9min ago
  Process: 1269 ExecStart=/usr/sbin/irattach ${DEVICE} ${OPTIONS} (code=exited, status=0/SUCCESS)
  Process: 1093 ExecStartPre=/sbin/modprobe -qab ircomm-tty irtty-sir irnet (code=exited, status=0/S
 Main PID: 1274 (code=exited, status=1/FAILURE)

mars 29 05:45:48 localhost.localdomain systemd[1]: Starting Irda Support...
mars 29 05:45:48 localhost.localdomain systemd[1]: irda.service: PID file /var/run/irattach.pid not 
mars 29 05:45:48 localhost.localdomain systemd[1]: Started Irda Support.
mars 29 05:45:48 localhost.localdomain irattach[1274]: tcgetattr: Input/output error
mars 29 05:45:48 localhost.localdomain irattach[1274]: Stopping device /dev/ttyS2
mars 29 05:45:48 localhost.localdomain systemd[1]: irda.service: Main process exited, code=exited, s
mars 29 05:45:48 localhost.localdomain systemd[1]: irda.service: Unit entered failed state.
mars 29 05:45:48 localhost.localdomain systemd[1]: irda.service: Failed with result 'exit-code'.

Regards,

Sébastien B.
Comment 6 Nicolas Lécureuil 2017-03-30 15:00:41 CEST
same here, during boot i see the service failing

CC: (none) => mageia

Comment 7 Sébastien B. 2017-04-26 09:01:46 CEST
Hello,

Is what new information is available for this bug?

Regards,

Sébastien B.
Comment 8 Sébastien B. 2017-04-27 07:28:40 CEST
Resolved.
Comment 9 Nicolas Lécureuil 2017-04-27 09:18:48 CEST
we can close this as fixed then ?
Comment 10 sturmvogel 2022-06-25 21:54:53 CEST
Based on comment 8 and no response for 5 years...closing as FIXED.

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