Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 18 May 2018 18:36:11 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 228351] cannot unhide log or tty with devfs.rules
Message-ID:  <bug-228351-227@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D228351

            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@FreeBSD.org
          Reporter: jasonmader@gmail.com

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

/etc/devfs.rules:

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

/etc/jail.conf:

jail {
    path =3D /var/jail;
    devfs_ruleset =3D "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

--=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-227>