Portability: Use $SOCKETDIR variable instead of hardcoded references to /var/run/screen?
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
byobu |
Fix Released
|
Low
|
Dustin Kirkland |
Bug Description
Dustin,
For Foresight Linux, I need to patch the below three files with a different socketdir as our screen package saves sessions in /tmp/uscreens/ instead of /var/run/screen.
<ermo@mrwing>
(92)$ grep /var/run/screen usr/bin/*
usr/bin/
usr/bin/
usr/bin/
How about creating a /usr/share/
That way, packagers only need to change SOCKETDIR in one place.
I've also noticed that usr/bin/
description: | updated |
Changed in byobu: | |
status: | New → Fix Committed |
importance: | Undecided → Low |
assignee: | nobody → Dustin Kirkland (kirkland) |
Changed in byobu: | |
status: | Fix Committed → Fix Released |
I agree in principle with the suggestion, though I think socketdir would be more appropriate, no?
/etc/byobu/
How about /etc/byobu/ socketdir instead, such that sysadmins (in
addition to packagers) could tweak this?
Regarding the bash reference, sure ... please open a different bug for that ;-)