mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-04 09:09:56 +00:00
Do not try to create a /dev/log symlink in a jail.
PR: 179828
This commit is contained in:
parent
57cd52ca4c
commit
3a361e0c33
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=273999
@ -28,7 +28,7 @@ syslogd_precmd()
|
||||
|
||||
# Transitional symlink for old binaries
|
||||
#
|
||||
if [ ! -L /dev/log ]; then
|
||||
if [ ! -L /dev/log ] && ! check_jail jailed; then
|
||||
ln -sf /var/run/log /dev/log
|
||||
fi
|
||||
rm -f /var/run/log
|
||||
|
Loading…
Reference in New Issue
Block a user