Opened 18 years ago

Closed 18 years ago

#1525 closed patch (fixed)

Improved udev script

Reported by: Aaron McCarthy <mccarthy.aaron@…> Owned by: danielk
Priority: minor Milestone: unknown
Component: mythtv Version:
Severity: medium Keywords:
Cc: Ticket locked: no

Description

The attached patch make the udev script contrib/mythtv_udev_monitor.sh more robust after a frontend crash. If mythfrontend crashes and doesn't delete the /tmp/mythtv_media fifo udev will fail during the next reboot, causing device files to not be created properly.

I've changed the udev script to check for the existence of /tmp/mythtv_media and a running instance of mythfrontend. This should prevent udev from blocking during the early boot stage.

Attachments (1)

mythtv_udev.diff (409 bytes) - added by Aaron McCarthy <mccarthy.aaron@…> 18 years ago.

Download all attachments as: .zip

Change History (2)

Changed 18 years ago by Aaron McCarthy <mccarthy.aaron@…>

Attachment: mythtv_udev.diff added

comment:1 Changed 18 years ago by danielk

Resolution: fixed
Status: newclosed

(In [9409]) Closes #1525, refs #601, by applying patch from #1525.

This ads a sanity check to the monitor to avoid problems on reboot after a frontend crash.

Note: See TracTickets for help on using tickets.