[mythtv-commits] Ticket #3488: make install crash

MythTV mythtv at cvs.mythtv.org
Tue May 22 06:12:21 UTC 2007

#3488: make install crash
 Reporter:  anonymous  |       Owner:  ijr    
     Type:  defect     |      Status:  new    
 Priority:  minor      |   Milestone:  unknown
Component:  mythtv     |     Version:  head   
 Severity:  medium     |  
 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

Ticket URL: <http://svn.mythtv.org/trac/ticket/3488>
MythTV <http://svn.mythtv.org/trac>

More information about the mythtv-commits mailing list