[Live-demo] [OSGeo] #990: chroot build method: geonetwork does not start

OSGeo trac_osgeo at osgeo.org
Thu Aug 9 18:17:51 PDT 2012


#990: chroot build method: geonetwork does not start
----------------------+-----------------------------------------------------
 Reporter:  kalxas    |       Owner:  live-demo@…              
     Type:  defect    |      Status:  new                      
 Priority:  critical  |   Milestone:  OSGeoLive6.0RC1          
Component:  LiveDVD   |    Keywords:  6.0 beta9                
----------------------+-----------------------------------------------------

Comment(by hamish):

 the install_geonetwork.sh script does:
 {{{
 # fix permissions on installed software
 chown -R "$USER_NAME:$USER_NAME" "$GEONETWORK_FOLDER"
 }}}

 it is not allowed to have the user own files outside of /home. before this
 was just bad practice, now with the new build system, where the user UID
 changes, it causes errors, as the user (now UID 999 not 1000) can't write
 to the dir listed above.

 the work-around we've been using is to add the user to the "users" group,
 then
 {{{
 chgrp -R users "$GEONETWORK_FOLDER"/jetty/logs
 chmod -R g+w "$GEONETWORK_FOLDER"/jetty/logs
 adduser user users
 }}}

 what else besides the logs/ dir needs to be user writable?


 thanks,
 Hamish

-- 
Ticket URL: <https://trac.osgeo.org/osgeo/ticket/990#comment:2>
OSGeo <http://www.osgeo.org/>
OSGeo committee and general foundation issue tracker.


More information about the Osgeolive mailing list