Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 07 Oct 2012 19:29:27 -0700
From:      "contact@awnex.org" <contact@awnex.org>
To:        freebsd-current@freebsd.org
Subject:   screen: Could not write /nonexistent
Message-ID:  <50723A87.2040703@awnex.org>
References:  AANLkTikmDxTdNAMb-=YEfAfRS0eP-ZwBBm%2B=ko5V4cQX@mail.gmail.com

next in thread | raw e-mail | index | archive | help
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"





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?50723A87.2040703>