screen: Could not write /nonexistent

From: <contact_at_awnex.org>
Date: Sun, 07 Oct 2012 19:29:27 -0700
After reviewing the man page, if you use 'screen -ln' you will NOT see 
the error.
It's a utmp log issue.

Also, the reason why this happened to me is because chflags were set to:

# chflags sappnd /var/log
# chflags sappnd /var/log/*

(Safe to keep this permission drwxr-x--- log 'which i have mine set to')

To resolve make sure to set kern_securelevel="-1" in /etc/rc.conf
(mine was set to kern_securelevel="2" you can not chflags at this level)

# shutdown -r now

Then

# chflags nosappend /var/log
# chflags nosappend /var/log/*

change kern_securelevel back to whatever you want it at in /etc/rc.conf

#shutdown -r now "fixed"
Received on Mon Oct 08 2012 - 00:44:45 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:31 UTC