Source installed byobu doesn't start : "...status': Is a directory"
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
byobu |
Fix Released
|
Medium
|
Dustin Kirkland |
Bug Description
$ tar -xf Downloads/
$ cd byobu-5.21
$ ./configure --prefix=
$ make
$ make install
$ cd
$ byobu
rm: cannot remove `/home/
$ ls -R .local/share/byobu/
.local/
ec2/ keybindings/ pixmaps/ profiles/ status/ tests/ windows/
.local/
rates.ap-
.local/
common f-keys f-keys.screen f-keys.
.local/
byobu.svg
.local/
byoburc common NONE screenrc tmux tmuxrc
.local/
status statusrc
.local/
byobu-time-
.local/
common*
Changed in byobu: | |
importance: | Undecided → Medium |
status: | New → In Progress |
assignee: | nobody → Dustin Kirkland (kirkland) |
Changed in byobu: | |
status: | Fix Committed → Fix Released |
The error is raised by the following in byobu-janitor
# Affects: Upgrades from <= byobu 4.30 upper_left= " "$BYOBU_ CONFIG_ DIR/status" ; then CONFIG_ DIR/status" "$BYOBU_ CONFIG_ DIR/statusrc"
# Clear out old style status configuration
if ! grep -qs "^screen_
rm -f "$BYOBU_
fi
I'm installing byobu essentially as the user above is (I'm using stow to place it in .local, but otherwise, it's the same), and lib/byobu/ include/ dirs is determing BYOBU_CONFIG_DIR to be .local/share/byobu.
By explicitly setting BYOBU_CONFIG_DIR to another directory (i.e. ~/.byobu) byobu-janitor runs.
So it's a conflict between the way the files are laid out in ~/.local/ share/byobu when installing into .local and when solely using ~/.local/ share/byobu for user-specific configuration. I don't know enough about the XDG standard to give a solution.