Opened 13 years ago

Closed 13 years ago

#3488 closed defect (wontfix)

make install crash

Reported by: anonymous Owned by: Isaac Richards
Priority: minor Milestone: unknown
Component: mythtv Version: head
Severity: medium Keywords:
Cc: Ticket locked: no


when i use 'make install' it does a bunch of cp -f's overwiring all existing files with the new version but that causes any program which has those files mmap'ed in to crash with either bus error or seg fault or a few others cp -f will truncate the file and copy over the install program which ive seen most other install scripts use will unlink the existing file then copy over the existing file stays there in use untouched without any filename the new file gets recreated with a new inode and stuff under the old name an nothing crashes

changing the install script from cp -f to the 'install' program if its present will fix the crashing when installing a new version so i can then do a single short restart of the backend when the install is done giving less downtime overall

Change History (1)

comment:1 Changed 13 years ago by danielk

Resolution: wontfix
Status: newclosed

MythTV would get into an unconsistent state if it were kept running with a mix of new and old files.

Note: See TracTickets for help on using tickets.