Hi,

> I don't have an NFS home directory on a Debian host, but I have run
> byobu on non-Debian systems with an NFS home directory and not had this
> problem. I also don't see any files in ~/.byobu that indicate state.

No, there aren't. The information whether a session is running is
determined by the byobu wrapper by examining the output of the backend's
standard way of listing running sessions.

The rest of the state is maintained in /dev/shm/byobu-$USER.

> 
> > This fails at the point where
> > it tries to get to its state in /dev/shm:
> > 
> >   /usr/lib/byobu/include/dirs:52: no matches found: /dev/shm/byobu-nik-*
> >   mkdir: cannot create directory „/cache.tmux“: Permission denied
> 
> The “no matches found” message hints to me (via codesearch.d.n) that you
> may have zsh set as /bin/sh, is that correct? I'm not saying there's
> anything wrong with that, but that may be provoking some unexpected
> behavior here.
> 
> Can you try running with /bin/sh set temporarily to dash or bash and see
> if the error goes away?

This is, in that case, completely unrelated. /bin/sh points to dash
here, it was never set to anything else.

The issue results solely from tmux list-sessions returning a session
running on another host and byobu then trying to blindly read
/dev/shm/byobu-$USER.

I think this might be related to some misconfiguration of the NFS root
somewhere, but still byobu should not try to use files blindly without
checking for errors.

-nik

-- 
Dominik George (Vorstandsvorsitzender, Pädagogischer Leiter)
Teckids e.V. - Erkunden, Entdecken, Erfinden.
https://www.teckids.org

Attachment: signature.asc
Description: Digital signature

Reply via email to