byobu-shell doesn't display motd
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
byobu |
Incomplete
|
High
|
Unassigned |
Bug Description
Somewhat similar to my previous and quite similar bug report (https:/
# Hush login, since we will handle motd printing
touch "$HOME"/.hushlogin
rm -f "$BYOBU_
This clashes with the lines in byobu-shell:
# Find a MOTD, seems that they're moving around
for i in /etc/motd /run/motd.dynamic /run/motd; do
[ -r $i ] && [ ! -e "$HOME"/.hushlogin ] && cat $i && break
done
These were added/modified after the earlier referenced bug and check for the .hushlogin file. The problem seems to be that byobu isn't actually handling the motd printing as per the comment. I've not located where this might be yet though. I'm seeing this in 16.04 and in 14.04 if I apply the previous fix to the byobu-shell file (it doesn't seem to have filtered back into the previous releases).
Changed in byobu: | |
status: | New → Incomplete |
Hmm, motd is printing correctly here for me.
That for loop looks for the right motd, and concatenates it to screen.