Bug#939889: tmux: removal followed by reinstallation uses /etc/shells entry

2019-09-14 Thread Romain Francoise
On Fri, Sep 13, 2019 at 8:07 PM Sven Joachim wrote: > I think that would be correct. When filing the bug, I was worried that > leaving the entry in /etc/shells might fool an unsuspecting user to > chsh(1) to a non-existent program, but chsh does not actually let you do > this (unless you are

Bug#939889: tmux: removal followed by reinstallation uses /etc/shells entry

2019-09-13 Thread Sven Joachim
Hi Romain, On 2019-09-12 23:07 +0200, Romain Francoise wrote: > On Mon, Sep 9, 2019 at 9:27 PM Sven Joachim wrote: >> I guess the purpose is to preserve local configuration and give the >> local admin to the ability to remove the /usr/bin/tmux entry from >> /etc/shells. > > Yes, I don't

Bug#939889: tmux: removal followed by reinstallation uses /etc/shells entry

2019-09-12 Thread Romain Francoise
Hi Sven, On Mon, Sep 9, 2019 at 9:27 PM Sven Joachim wrote: > I guess the purpose is to preserve local configuration and give the > local admin to the ability to remove the /usr/bin/tmux entry from > /etc/shells. Yes, I don't remember the details but that is apparently the intent and it's

Bug#939889: tmux: removal followed by reinstallation uses /etc/shells entry

2019-09-09 Thread Sven Joachim
Package: tmux Version: 2.9a-3 If tmux is removed (but not purged) and then reinstalled the /usr/bin/tmux entry gets lost from /etc/shells. This is because the postinst calls add-shell only conditionally on first installs or upgrades from an old version which did not add tmux to etc/shells. I