Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 7 Jan 2024 15:56:27 +0100
From:      Lev Serebryakov <lev@FreeBSD.org>
To:        freebsd-stable <freebsd-stable@freebsd.org>
Subject:   devfs_set_rulesets="path=devfsrules_hide_all path=devfsrules_unhide_basic" doesn't work after upgrade from 12-STABLE to 13-STABLE
Message-ID:  <3a87b24a-35aa-4a7d-9f49-1947d5b21adf@FreeBSD.org>

next in thread | raw e-mail | index | archive | help
Hello!

   I've upgraded server from 12-STABLE to 13-STABLE.

   This sever has several limited devfses for chrooted software.

   These devfses are configured in /etc/fstab and are limited via

devfs_set_rulesets=""
devfs_set_rulesets="${devfs_set_rulesets} /path1/dev=devfsrules_hide_all /path1/dev=devfsrules_unhide_basic"
devfs_set_rulesets="${devfs_set_rulesets} /path2/dev=devfsrules_hide_all /path2/dev=devfsrules_unhide_basic"


  And now I get these errors on boot:

devfs rule: ioctl DEVFSIO_SUSE: Inappropriate ioctl for device
...
devfs rule: ioctl DEVFSIO_SAPPLY: Inappropriate ioctl for device
...

   and nothing is hidden.

  I've read /usr/src/UPDATING and can find nothing about devfs

-- 
// Lev Serebryakov



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3a87b24a-35aa-4a7d-9f49-1947d5b21adf>