[ https://issues.apache.org/jira/browse/BIGTOP-688?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13436981#comment-13436981 ]
Roman Shaposhnik commented on BIGTOP-688: ----------------------------------------- An additional complication is that even on systems with the default python if I don't do the PATH setting the actual executable that is used remains to be the system python, which clearly defeats the purpose of the relocatable virtual environment to begin with (the 3 PIDs are from the top level supervisor down to the rpc server): {noformat} // remove the path setting # service hue start # ls -l /proc/19736/exe lrwxrwxrwx 1 root root 0 Aug 17 12:14 /proc/19736/exe -> /usr/bin/python2.4 # ls -l /proc/19740/exe lrwxrwxrwx 1 root root 0 Aug 17 12:14 /proc/19740/exe -> /usr/bin/python2.4 # ls -l /proc/19772/exe lrwxrwxrwx 1 hue hue 0 Aug 17 12:14 /proc/19772/exe -> /usr/bin/python2.4 {noformat} > improve hue packaging via making virtual env relocatable and moving DB files > into /var/lib/hue > ---------------------------------------------------------------------------------------------- > > Key: BIGTOP-688 > URL: https://issues.apache.org/jira/browse/BIGTOP-688 > Project: Bigtop > Issue Type: Improvement > Components: General > Affects Versions: 0.4.0 > Reporter: Roman Shaposhnik > Assignee: Roman Shaposhnik > Fix For: 0.5.0 > > Attachments: BIGTOP-688.patch.txt > > > Currently Hue packaging does unfortunate things with permissions and > mutability of things under /usr/lib/hue. We should make sure our virtual env > is relocatable and can be used in a R/O fashion and we should move mutable > bits (desktop.db and app.reg) under /var/lib/hue. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira