Bug 228351 - cannot unhide log or tty with devfs.rules
Summary: cannot unhide log or tty with devfs.rules
Status: New
Alias: None
Product: Base System
Classification: Unclassified
Component: conf (show other bugs)
Version: CURRENT
Hardware: amd64 Any
: --- Affects Only Me
Assignee: freebsd-jail (Nobody)
Depends on:
Reported: 2018-05-18 18:36 UTC by Jason Mader
Modified: 2018-05-19 04:46 UTC (History)
0 users

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description Jason Mader 2018-05-18 18:36:11 UTC
This doesn't unhide the log symlink or tty, at least when used in a jail.


add include $devfsrules_hide_all
add path log unhide
add path tty unhide


jail {
    path = /var/jail;
    devfs_ruleset = "5";

Excepting to appear in /var/jail/dev:

lrwxr-xr-x  1 root  wheel    12 May 18 14:14 /dev/log -> /var/run/log
crw--w----  1 root  tty    0x5d May 18 14:34 /dev/tty