Project

General

Profile

Bug #6994

Updated by Brett Smith almost 7 years ago

h2. Bug 

 Right now those ownerships are ensured in the scripts 

   /usr/local/bin/arvados-api-server-upgrade.sh 
   /usr/local/bin/arvados-workbench-upgrade.sh 

 but that is not good enough because they are not a postinst script yet; the files/directories get installed with incorrect ownership, nginx is started, and things go to hell because Passenger can't write into its tmp directory. 

 h2. Fix 

 Convert these scripts into postinst scripts for their respective packages.    This may require handling new arguments passed by the package system that describe the operation happening, and only triggering on relevant operations; and possibly having different scripts for different targets.

Back