[Bug 228351] cannot unhide log or tty with devfs.rules

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Fri May 18 18:36:13 UTC 2018


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=228351

            Bug ID: 228351
           Summary: cannot unhide log or tty with devfs.rules
           Product: Base System
           Version: CURRENT
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: conf
          Assignee: bugs at FreeBSD.org
          Reporter: jasonmader at gmail.com

This doesn't unhide the log symlink or tty, at least when used in a jail.

/etc/devfs.rules:

[devfsrules_minimal=5]
add include $devfsrules_hide_all
add path log unhide
add path tty unhide

/etc/jail.conf:

jail {
    path = /var/jail;
    devfs_ruleset = "5";
    mount.devfs;
    ...
}

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

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list