Date: Tue, 15 Mar 2022 09:09:54 +0000 From: bugzilla-noreply@freebsd.org To: jail@FreeBSD.org Subject: [Bug 228351] cannot unhide log or tty with devfs.rules Message-ID: <bug-228351-29815-sjGHFMT5KN@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-228351-29815@https.bugs.freebsd.org/bugzilla/> References: <bug-228351-29815@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D228351 --- Comment #4 from Zhenlei Huang <zlei.huang@gmail.com> --- (In reply to Zhenlei Huang from comment #2) > For jails, the symbolic link is not created due to PR https://bugs.freebs= d.org/bugzilla/show_bug.cgi?id=3D179828 . Sorry it is misleading. The unhide for log is introduce by https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D160711 , but after https://cgit.freebsd.org/src/commit/etc/rc.d/jail?id=3D84b354cb9ab61224713c= 159b1484e8f070fd37be the logic of creating /dev/log is removed, as consequence there's no /dev/l= og anymore for created jails. The symptoms is devfs can not unhide log but that is not true. You can repe= at on FreeBSD 13.0 as following: # mkdir -p /tmp/dev # mount -t devfs devfs /tmp/dev # ln -sf /var/run/log /tmp/dev/log # devfs -m /tmp/dev rule -s 4 applyset # ls -ll /tmp/dev (In reply to Jason Mader from comment #3) > I probably don't. I guess it was just unexpected since, /etc/defaults/dev= fs.rules has: The /dev/log is transitional symlink for old binaries, it is about ten years since it was there. We can bravely remove it as it seems nobody complains a= bout it, at least for jail users. --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-228351-29815-sjGHFMT5KN>