#
9b30b96c |
| 22-Apr-2024 |
Olivier Certner <olce@FreeBSD.org> |
Remove remnants of portsnap(8)
This was prompted by noticing that '/var/db/portsnap' still exists on newly-installed machines.
With this change, all mentions of portsnap(8) in the tree are gone, ex
Remove remnants of portsnap(8)
This was prompted by noticing that '/var/db/portsnap' still exists on newly-installed machines.
With this change, all mentions of portsnap(8) in the tree are gone, except for the historical note in the AUTHORS section of manpage phttpget(8).
locate(1) will thus start indexing again '/var/db/portsnap' on machines where this directory still exists, which may be a good way to push administrators to delete it.
Reviewed by: cperciva Approved by: emaste (mentor) MFC after: 3 days Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D45023
show more ...
|
Revision tags: release/13.3.0, release/14.0.0 |
|
#
d0b2dbfa |
| 16-Aug-2023 |
Warner Losh <imp@FreeBSD.org> |
Remove $FreeBSD$: one-line sh pattern
Remove /^\s*#[#!]?\s*\$FreeBSD\$.*$\n/
|
Revision tags: release/13.2.0, release/12.4.0 |
|
#
0aa27001 |
| 02-Oct-2022 |
Dag-Erling Smørgrav <des@FreeBSD.org> |
Put OPIE to rest.
Differential Revision: https://reviews.freebsd.org/D36592
|
#
27b9777c |
| 28-Aug-2022 |
Cy Schubert <cy@FreeBSD.org> |
libexec/rc: Add var_run rc script
Users with a tmpfs /var/run will lose the directory tree state of /var/run at reboot. This rc script will optionally (by default) capture the state of the directory
libexec/rc: Add var_run rc script
Users with a tmpfs /var/run will lose the directory tree state of /var/run at reboot. This rc script will optionally (by default) capture the state of the directory structure in /var/run prior to shutdown and recreate it at system boot.
Alternatively a user can save the state of the /var/run directories manually using service var_run save and disable the autosaving of /var/run state using the var_run_autosave variable, for those paranoid SSD users.
PR: 259585, 259699 Reported by: freebsd@walstatt-de.de, Reviewed by: philip, gbe (previous version) MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D36386
show more ...
|
#
1a104a3b |
| 22-Jul-2022 |
Emmanuel Vadot <manu@FreeBSD.org> |
pkgbase: mtree: Correctly tag /var/db entries
|
#
d2888f5c |
| 22-Jul-2022 |
Emmanuel Vadot <manu@FreeBSD.org> |
pkgbase: mtree: Correctly tag /var/run entries
|
Revision tags: release/13.1.0, release/12.3.0, release/13.0.0 |
|
#
5ce2d4a1 |
| 19-Feb-2021 |
Robert Wing <rew@FreeBSD.org> |
bhyve/snapshot: drop mkdir when creating the unix domain socket
Add /var/run/bhyve/ to BSD.var.dist so we don't have to call mkdir when creating the unix domain socket for a given bhyve vm.
The pat
bhyve/snapshot: drop mkdir when creating the unix domain socket
Add /var/run/bhyve/ to BSD.var.dist so we don't have to call mkdir when creating the unix domain socket for a given bhyve vm.
The path to the unix domain socket for a bhyve vm will now be /var/run/bhyve/vmname instead of /var/run/bhyve/checkpoint/vmname
Move BHYVE_RUN_DIR from snapshot.c to snapshot.h so it can be shared to bhyvectl(8).
Reviewed by: jhb Differential Revision: https://reviews.freebsd.org/D28783
show more ...
|
Revision tags: release/12.2.0, release/11.4.0 |
|
#
7ab51667 |
| 22-Mar-2020 |
Ed Maste <emaste@FreeBSD.org> |
pkgbase: create sendmail directories only from BSD.sendmail.dist
Else when WITHOUT_SENDMAIL is set we still create a sendmail package that contains (only) two directories.
Reviewed by: manu Sponsor
pkgbase: create sendmail directories only from BSD.sendmail.dist
Else when WITHOUT_SENDMAIL is set we still create a sendmail package that contains (only) two directories.
Reviewed by: manu Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D24149
show more ...
|
Revision tags: release/12.1.0 |
|
#
ad13e15e |
| 30-Jul-2019 |
Alan Somers <asomers@FreeBSD.org> |
MFHead @350453
Sponsored by: The FreeBSD Foundation
|
#
ecb12757 |
| 30-Jul-2019 |
Ian Lepore <ian@FreeBSD.org> |
Create the /var/account dir with mode 0750; this is a followup to r349974.
The rc.d/account script contains code to create the /var/account dir, so it hadn't occurred to me that it is normally creat
Create the /var/account dir with mode 0750; this is a followup to r349974.
The rc.d/account script contains code to create the /var/account dir, so it hadn't occurred to me that it is normally created via mtree; thanks to jilles@ for pointing it out.
show more ...
|
Revision tags: release/11.3.0 |
|
#
e532a999 |
| 20-Jun-2019 |
Alan Somers <asomers@FreeBSD.org> |
MFHead @349234
Sponsored by: The FreeBSD Foundation
|
#
76cab884 |
| 16-Jun-2019 |
Antoine Brodin <antoine@FreeBSD.org> |
Remove tabs from BSD.var.dist
Reported by: zeising
|
#
2e01fdb2 |
| 12-Jun-2019 |
Emmanuel Vadot <manu@FreeBSD.org> |
mtree: Restore mode for /var/spool/lock and opielocks
mode was dropped unintentionally in r348981 for those two directories.
Reviewed by: rgrimes MFC after: 1 month X-MFC-With: r348981
|
#
71552995 |
| 12-Jun-2019 |
Emmanuel Vadot <manu@FreeBSD.org> |
pkgbase: Set a default package=runtime for var directories
This way every directory is at least present in packages. While here tag some directory from being in sendmail or dma
Reviewed by: bapt MF
pkgbase: Set a default package=runtime for var directories
This way every directory is at least present in packages. While here tag some directory from being in sendmail or dma
Reviewed by: bapt MFC after: 1 month Differential Revision: https://reviews.freebsd.org/D20605
show more ...
|
#
7648bc9f |
| 13-May-2019 |
Alan Somers <asomers@FreeBSD.org> |
MFHead @347527
Sponsored by: The FreeBSD Foundation
|
#
12ef023d |
| 25-Apr-2019 |
Emmanuel Vadot <manu@FreeBSD.org> |
mtree: Add more runtime package tag
When using pkgbase those empty directories aren't packaged otherwise.
Reviewed by: bapt MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D200
mtree: Add more runtime package tag
When using pkgbase those empty directories aren't packaged otherwise.
Reviewed by: bapt MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D20056
show more ...
|
Revision tags: release/12.0.0 |
|
#
14b841d4 |
| 11-Aug-2018 |
Kyle Evans <kevans@FreeBSD.org> |
MFH @ r337607, in preparation for boarding
|
#
f9c0a512 |
| 10-Aug-2018 |
Dimitry Andric <dim@FreeBSD.org> |
Merge ^/head r337286 through r337585.
|
#
976e1003 |
| 06-Aug-2018 |
Mark Johnston <markj@FreeBSD.org> |
dhclient: Don't chroot if we are in capability mode.
The main dhclient process is Capsicumized but also chroots to restrict filesystem access. With r322369, pidfile(3) maintains a directory descrip
dhclient: Don't chroot if we are in capability mode.
The main dhclient process is Capsicumized but also chroots to restrict filesystem access. With r322369, pidfile(3) maintains a directory descriptor for the pidfile, which can cause the chroot to fail in certain cases. To minimize the problem, only chroot if we fail to enter capability mode, and store dhclient pidfiles in a subdirectory of /var/run, thus restricting access via pidfile(3)'s directory descriptor.
PR: 223327 Reviewed by: cem, oshogbo Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D16584
show more ...
|
#
3496c981 |
| 20-Jul-2018 |
Ian Lepore <ian@FreeBSD.org> |
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
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
show more ...
|
Revision tags: release/11.2.0, release/10.4.0, release/11.1.0 |
|
#
2b532af8 |
| 05-Jan-2017 |
Dimitry Andric <dim@FreeBSD.org> |
Merge ^/head r311314 through r311459.
|
#
371f86d2 |
| 05-Jan-2017 |
Alan Somers <asomers@FreeBSD.org> |
tabs -> spaces in etc/mtree
MFC after: 4 weeks
|
Revision tags: release/11.0.1, release/11.0.0 |
|
#
7a0c41d5 |
| 28-May-2016 |
Alan Somers <asomers@FreeBSD.org> |
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/zfs
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
show more ...
|
#
13caa468 |
| 16-Apr-2016 |
Glen Barber <gjb@FreeBSD.org> |
Merge the projects/release-pkg branch to head.
This allows packaging the base system with pkg(8), including but not limited to providing the ability to provide upstream binary update possibilities f
Merge the projects/release-pkg branch to head.
This allows packaging the base system with pkg(8), including but not limited to providing the ability to provide upstream binary update possibilities for non-tier-1 architectures.
This merge is a requirement of the 11.0-RELEASE, and as such, thank you to everyone that has tested the project branch.
Documentation in build(7) etc. is still somewhat sparse, but updates to those parts will follow.
Sponsored by: The FreeBSD Foundation
show more ...
|
Revision tags: release/10.3.0 |
|
#
b626f5a7 |
| 04-Jan-2016 |
Glen Barber <gjb@FreeBSD.org> |
MFH r289384-r293170
Sponsored by: The FreeBSD Foundation
|