1999-08-27 23:37:10 +00:00
|
|
|
# $FreeBSD$
|
1999-08-23 05:12:43 +00:00
|
|
|
#
|
2001-06-26 13:50:33 +00:00
|
|
|
# Please see the file src/etc/mtree/README before making changes to this file.
|
1993-06-20 13:41:45 +00:00
|
|
|
#
|
|
|
|
|
1998-09-14 08:34:45 +00:00
|
|
|
/set type=dir uname=root gname=wheel mode=0755
|
1998-09-19 18:50:27 +00:00
|
|
|
.
|
1995-05-17 09:31:17 +00:00
|
|
|
account
|
1994-09-19 01:40:40 +00:00
|
|
|
..
|
2001-02-15 12:25:48 +00:00
|
|
|
at
|
|
|
|
/set uname=daemon
|
2015-03-05 17:01:30 +00:00
|
|
|
jobs tags=package=at
|
1995-05-17 09:31:17 +00:00
|
|
|
..
|
2015-03-05 17:01:30 +00:00
|
|
|
spool tags=package=at
|
1994-09-19 01:40:40 +00:00
|
|
|
..
|
2001-02-15 12:25:48 +00:00
|
|
|
/set uname=root
|
1994-09-19 01:40:40 +00:00
|
|
|
..
|
2001-02-15 12:25:48 +00:00
|
|
|
/set mode=0750
|
2006-02-05 18:22:56 +00:00
|
|
|
/set gname=audit
|
2006-02-02 01:19:31 +00:00
|
|
|
audit
|
2012-12-01 15:11:46 +00:00
|
|
|
dist uname=auditdistd gname=audit mode=0770
|
|
|
|
..
|
|
|
|
remote uname=auditdistd gname=wheel mode=0700
|
|
|
|
..
|
2012-12-28 10:42:01 +00:00
|
|
|
..
|
2013-09-05 12:35:23 +00:00
|
|
|
authpf uname=root gname=authpf mode=0770
|
|
|
|
..
|
2006-02-05 18:22:56 +00:00
|
|
|
/set gname=wheel
|
2001-02-15 12:25:48 +00:00
|
|
|
backups
|
1994-09-19 01:40:40 +00:00
|
|
|
..
|
2017-01-05 02:47:56 +00:00
|
|
|
cache mode=0755
|
2011-03-21 09:58:24 +00:00
|
|
|
..
|
2001-02-15 12:25:48 +00:00
|
|
|
crash
|
1994-09-19 01:40:40 +00:00
|
|
|
..
|
2001-02-15 12:25:48 +00:00
|
|
|
cron
|
|
|
|
tabs mode=0700
|
1994-09-19 01:40:40 +00:00
|
|
|
..
|
|
|
|
..
|
2001-02-15 12:25:48 +00:00
|
|
|
/set mode=0755
|
|
|
|
db
|
|
|
|
entropy uname=operator gname=operator mode=0700
|
|
|
|
..
|
2009-12-03 09:18:40 +00:00
|
|
|
freebsd-update mode=0700
|
2006-08-31 09:51:34 +00:00
|
|
|
..
|
2014-09-13 02:15:31 +00:00
|
|
|
hyperv mode=0700
|
|
|
|
..
|
2001-11-19 10:10:27 +00:00
|
|
|
ipf mode=0700
|
2001-10-20 04:33:12 +00:00
|
|
|
..
|
Make it possible to run ntpd as a non-root user, add ntpd uid and gid.
Code analysis and runtime analysis using truss(8) indicate that the only
privileged operations performed by ntpd are adjusting system time, and
(re-)binding to privileged UDP port 123. These changes add a new mac(4)
policy module, mac_ntpd(4), which grants just those privileges to any
process running with uid 123.
This also adds a new user and group, ntpd:ntpd, (uid:gid 123:123), and makes
them the owner of the /var/db/ntp directory, so that it can be used as a
location where the non-privileged daemon can write files such as the
driftfile, and any optional logfile or stats files.
Because there are so many ways to configure ntpd, the question of how to
configure it to run without root privs can be a bit complex, so that will be
addressed in a separate commit. These changes are just what's required to
grant the limited subset of privs to ntpd, and the small change to ntpd to
prevent it from exiting with an error if running as non-root.
Differential Revision: https://reviews.freebsd.org/D16281
2018-07-19 23:55:29 +00:00
|
|
|
ntp uname=ntpd gname=ntpd
|
2015-10-16 14:04:16 +00:00
|
|
|
..
|
2001-02-15 12:25:48 +00:00
|
|
|
pkg
|
1999-03-31 07:06:39 +00:00
|
|
|
..
|
2004-01-20 13:51:23 +00:00
|
|
|
ports
|
|
|
|
..
|
2005-08-08 20:10:06 +00:00
|
|
|
portsnap
|
|
|
|
..
|
zfsd(8), the ZFS fault management daemon
Add zfsd, which deals with hard drive faults in ZFS pools. It manages
hotspares and replements in drive slots that publish physical paths.
cddl/usr.sbin/zfsd
Add zfsd(8) and its unit tests
cddl/usr.sbin/Makefile
Add zfsd to the build
lib/libdevdctl
A C++ library that helps devd clients process events
lib/Makefile
share/mk/bsd.libnames.mk
share/mk/src.libnames.mk
Add libdevdctl to the build. It's a private library, unusable by
out-of-tree software.
etc/defaults/rc.conf
By default, set zfsd_enable to NO
etc/mtree/BSD.include.dist
Add a directory for libdevdctl's include files
etc/mtree/BSD.tests.dist
Add a directory for zfsd's unit tests
etc/mtree/BSD.var.dist
Add /var/db/zfsd/cases, where zfsd stores case files while it's shut
down.
etc/rc.d/Makefile
etc/rc.d/zfsd
Add zfsd's rc script
sys/cddl/contrib/opensolaris/uts/common/fs/zfs/vdev.c
Fix the resource.fs.zfs.statechange message. It had a number of
problems:
It was only being emitted on a transition to the HEALTHY state.
That made it impossible for zfsd to take actions based on drives
getting sicker.
It compared the new state to vdev_prevstate, which is the state that
the vdev had the last time it was opened. That doesn't make sense,
because a vdev can change state multiple times without being
reopened.
vdev_set_state contains logic that will change the device's new
state based on various conditions. However, the statechange event
was being posted _before_ that logic took effect. Now it's being
posted after.
Submitted by: gibbs, asomers, mav, allanjude
Reviewed by: mav, delphij
Relnotes: yes
Sponsored by: Spectra Logic Corp, iX Systems
Differential Revision: https://reviews.freebsd.org/D6564
2016-05-28 17:43:40 +00:00
|
|
|
zfsd
|
|
|
|
cases
|
|
|
|
..
|
|
|
|
..
|
1994-09-19 01:40:40 +00:00
|
|
|
..
|
2003-11-29 18:22:01 +00:00
|
|
|
empty mode=0555 flags=schg
|
2002-06-23 20:44:19 +00:00
|
|
|
..
|
2003-11-29 18:22:01 +00:00
|
|
|
games gname=games mode=0775
|
2002-11-04 07:50:48 +00:00
|
|
|
..
|
2001-10-25 12:16:51 +00:00
|
|
|
heimdal mode=0700
|
2001-07-28 20:00:54 +00:00
|
|
|
..
|
1998-09-19 18:50:27 +00:00
|
|
|
log
|
1994-09-19 01:40:40 +00:00
|
|
|
..
|
2001-11-19 10:10:27 +00:00
|
|
|
mail gname=mail mode=0775
|
1994-09-19 01:40:40 +00:00
|
|
|
..
|
1995-11-19 16:50:34 +00:00
|
|
|
msgs uname=daemon
|
1994-09-19 01:40:40 +00:00
|
|
|
..
|
1998-09-19 18:50:27 +00:00
|
|
|
preserve
|
1994-09-19 01:40:40 +00:00
|
|
|
..
|
1998-09-19 18:50:27 +00:00
|
|
|
run
|
2018-08-06 16:22:01 +00:00
|
|
|
dhclient
|
|
|
|
..
|
2001-11-01 23:44:12 +00:00
|
|
|
ppp gname=network mode=0770
|
2001-11-02 22:00:17 +00:00
|
|
|
..
|
2010-09-10 08:27:02 +00:00
|
|
|
wpa_supplicant
|
|
|
|
..
|
1994-09-19 01:40:40 +00:00
|
|
|
..
|
2001-11-19 10:10:27 +00:00
|
|
|
rwho gname=daemon mode=0775
|
1994-09-19 01:40:40 +00:00
|
|
|
..
|
2001-02-15 12:25:48 +00:00
|
|
|
spool
|
2014-02-21 10:34:59 +00:00
|
|
|
dma uname=root gname=mail mode=0770
|
2014-02-21 07:26:49 +00:00
|
|
|
..
|
2001-11-19 10:10:27 +00:00
|
|
|
lock uname=uucp gname=dialer mode=0775
|
1994-09-19 01:40:40 +00:00
|
|
|
..
|
2001-02-15 12:25:48 +00:00
|
|
|
/set gname=daemon
|
1998-12-16 05:50:25 +00:00
|
|
|
lpd
|
1994-09-19 01:40:40 +00:00
|
|
|
..
|
1998-12-16 05:50:25 +00:00
|
|
|
mqueue
|
1994-09-19 01:40:40 +00:00
|
|
|
..
|
1999-08-24 03:51:34 +00:00
|
|
|
opielocks mode=0700
|
|
|
|
..
|
1998-12-16 05:50:25 +00:00
|
|
|
output
|
1999-08-24 03:51:34 +00:00
|
|
|
lpd
|
|
|
|
..
|
1994-09-19 01:40:40 +00:00
|
|
|
..
|
2001-11-19 10:10:27 +00:00
|
|
|
/set gname=wheel
|
1994-09-19 01:40:40 +00:00
|
|
|
..
|
2001-02-15 12:25:48 +00:00
|
|
|
tmp mode=01777
|
|
|
|
vi.recover mode=01777
|
1995-05-17 09:31:17 +00:00
|
|
|
..
|
|
|
|
..
|
2015-03-05 12:40:59 +00:00
|
|
|
unbound uname=unbound gname=unbound mode=0755 tags=package=unbound
|
|
|
|
conf.d uname=unbound gname=unbound mode=0755 tags=package=unbound
|
2014-05-29 22:34:04 +00:00
|
|
|
..
|
2013-09-15 14:51:23 +00:00
|
|
|
..
|
1998-12-16 05:50:25 +00:00
|
|
|
yp
|
1994-09-19 01:40:40 +00:00
|
|
|
..
|
1993-06-20 13:41:45 +00:00
|
|
|
..
|