1. I

    jails How do I reload "devfs_ruleset" without rebooting the system?

    In my /etc/jail.conf.d/jailname.conf file, I've set to a custom ruleset by: "devfs_ruleset=100" which allows vmm, pci and mdconfig (I think "mem" - I guess) to be visible inside the jail. I confirmed that they are visible inside the jail. Then, I changed to "devfs_ruleset=1" (which does not...
  2. A

    devfs_ruleset is broken

    Setting it to anything other than the default value disables all restrictions. Any idea why? Am I doing it wrong perhaps? { // devfs_ruleset=(rule number); mount.devfs; // }
  3. sidetone

    Solved jails - Accessing devices from Bastille

    How do I make devices in /dev/ accessible inside a Bastille jail? When I have two sets of rules, how do I set this in rc.conf.local, from within the host system? devfs_system_ruleset="localrules" How would bastille also get referenced with this? In devfs.rules of the host (not within the...
  4. D

    jails Jail cannot access /dev/tun

    Hello, I am trying to install a wireguard VPN in a jail but am having some trouble with the jail playing with TUN devices. When I try to create the wireguard interface I get the following error: root@vpn2:~ # wireguard-go wg0 INFO: (wg0) 2020/10/20 17:10:56 Starting wireguard-go version...
  5. I

    I need some help for jail setup

    I need some help for jail setup. We have now moved to jail.conf and the "devfs_ruleset" is giving us some problem. Previously, it was something like jail_jailname_devfs_ruleset="devfsrules_jail" in the old style. I tried to put "devfs_ruleset = "nginx_ruleset";" and I'm getting this error...
  6. amiramix

    Grant user permission to epjitsu (Fujitsu ScanSnap S1100)

    On root: root@crayon2:/var/log # scanimage -L device `v4l:/dev/video1' is a Noname Creative WebCam Live! Motion virtual device device `v4l:/dev/video0' is a Noname Mouse Scanner virtual device device `epjitsu:libusb:003:003' is a FUJITSU ScanSnap S1100 scanner On user: g@crayon2:~ % scanimage...
  7. amiramix

    Solved Access permisions to cd0 for user

    I am trying to sort out permissions to device cd0 so that sysutils/k3b-kde4 can see the device. For now when it starts it shows error: No optical drive found. When k3b is started as root is sees the device properly. I have all the permissions set up and I can mount cd0 as the user...
  8. D

    Solved USB device inside a linux jail (devfs)

    Hi! I'm having troubles trying to communicate to an USB device (usb2serial cable attached to a VantagePro2). It seems I'm not understanding how devfs works. This is the ruleset I created for the jail: [devfsrules_jail_allow_usb=10] add include $devfsrules_hide_all add include...