#
bbc36ba9 |
|
07-May-2024 |
Poul-Henning Kamp <phk@FreeBSD.org> |
Remove documentation of GBDE rc support
|
#
2f9966ff |
|
04-May-2024 |
Lexi Winter <lexi@le-Fay.ORG> |
packages: add package for NTP Reviewed by: imp, manu Pull Request: https://github.com/freebsd/freebsd-src/pull/1193
|
#
1b3c07be |
|
24-Apr-2024 |
Lexi Winter <lexi@le-Fay.ORG> |
package: move OpenBSM auditing into its own package Move auditing runtime (auditd, etc.) into the new FreeBSD-audit package. Also move the runtime OpenBSM manual pages from libbsm into auditd so they get installed with the right package. Add an UPDATING entry noting the new packages. Reviewed by: imp, manu Pull Request: https://github.com/freebsd/freebsd-src/pull/1197
|
#
7209444a |
|
22-Apr-2024 |
Lexi Winter <lexi@le-Fay.ORG> |
package: move cron into its own package Reviewed by: imp, manu, Mina Galic Pull Request: https://github.com/freebsd/freebsd-src/pull/1172
|
#
dbd0366f |
|
19-Apr-2024 |
Lexi Winter <lexi@le-Fay.ORG> |
package: move lpr into its own package Reviewed by: imp Pull Request: https://github.com/freebsd/freebsd-src/pull/1171
|
#
a42d6f76 |
|
23-Nov-2022 |
Baptiste Daroussin <bapt@FreeBSD.org> |
nuageinit: add basic support for cloudinit. this is a very early script to support cloudinit, it does not intend to be a full featured cloudinit client, but will support a good enough subset to be viable in most case. It support nocloud and openstack config-2 config drive mode (iso9660 or msdosfs) The following features are currently supported: - adding users (including a default user named 'freebsd' with password 'freebsd' - adding groups - adding ssh keys - static ipv4, static ipv6, dynamic ipv4 With this one is able to use the 'bring your own image feature" out of box. It is expected that the script grows the support of other clouds supporting cloud-init, contributions are welcomed. It is designed to be only run once via the firstboot mecanism. Sponsored by: OVHCloud MFC After: 3 weeks Differential Revision: https://reviews.freebsd.org/D44141
|
#
d0b2dbfa |
|
16-Aug-2023 |
Warner Losh <imp@FreeBSD.org> |
Remove $FreeBSD$: one-line sh pattern Remove /^\s*#[#!]?\s*\$FreeBSD\$.*$\n/
|
#
ecad3f5c |
|
15-Feb-2023 |
Tijl Coosemans <tijl@FreeBSD.org> |
rc.d: Generate machine-id from hostid_save rc.d/hostid_save saves a UUID generated by rc.d/hostid in /etc/hostid. Store the same UUID, without hyphens, in /etc/machine-id. The hypĥens are removed with a shell function because hostid_save runs before file systems are mounted so other tools may not be available yet. This eliminates some duplication between hostid and machine-id and for virtual machines machine-id now contains the UUID configured in the hypervisor like it does on Linux. Reviewed by: delphij Discussed with: bapt MFC after: 3 days Differential Revision: https://reviews.freebsd.org/D38811
|
#
cab549c7 |
|
01-Feb-2023 |
Emmanuel Vadot <manu@FreeBSD.org> |
pkgbase: Create a FreeBSD-console-tools package And put in it: - kbdcontrol - vidcontrol - moused - kbdmap Those aren't useful in a jail or for a modern desktop. While here, split the devd.conf part into some new files. Reviewed by: bapt Sponsored by: Beckhoff Automation GmbH & Co. KG Differential Revision: https://reviews.freebsd.org/D38321
|
#
cc9b2b58 |
|
27-Jan-2023 |
Emmanuel Vadot <manu@FreeBSD.org> |
Revert "rc.d: Put growfs script in FreeBSD-ufs" The growfs script also support zfs. This reverts commit 36a7fa1e16a0b4446f2cb618fc84a6bc1a2cbf86. Reported by: emaste, Mina Galić
|
#
a6a21bbe |
|
28-Oct-2022 |
Emmanuel Vadot <manu@FreeBSD.org> |
rc.d: Put resolv script in FreeBSD-resolvconf Differential Revision: https://reviews.freebsd.org/D37190
|
#
36a7fa1e |
|
28-Oct-2022 |
Emmanuel Vadot <manu@FreeBSD.org> |
rc.d: Put growfs script in FreeBSD-ufs Differential Revision: https://reviews.freebsd.org/D37189
|
#
91314ca2 |
|
28-Oct-2022 |
Emmanuel Vadot <manu@FreeBSD.org> |
rc.d: Put ggated script in FreeBSD-ggate Differential Revision: https://reviews.freebsd.org/D37188
|
#
81b18bea |
|
28-Oct-2022 |
Emmanuel Vadot <manu@FreeBSD.org> |
rc.d: Put dhclient script in FreeBSD-dhclient Differential Revision: https://reviews.freebsd.org/D37187
|
#
d8799160 |
|
28-Oct-2022 |
Emmanuel Vadot <manu@FreeBSD.org> |
rc.d: Put devmatch script in FreeBSD-devmatch Differential Revision: https://reviews.freebsd.org/D37192
|
#
f0435696 |
|
28-Oct-2022 |
Emmanuel Vadot <manu@FreeBSD.org> |
rc.d: Put devd script in FreeBSD-devd package Differential Revision: https://reviews.freebsd.org/D37186
|
#
4c8a2578 |
|
26-Dec-2022 |
Mike Karels <karels@FreeBSD.org> |
growfs script: fixes Cannot use single quote in comment in awk script; add growfs_fstab to Makefile Fixes: 4a30d7bb373c,d670a8f7c596
|
#
62a149bf |
|
17-Dec-2022 |
Tobias C. Berner <tcberner@FreeBSD.org> |
Add new rc: machine_id to generate /etc/machine-id This new default-enabled rc will generate a /etc/machine-id file if it does not exist, and pre-fill it with a newly generated UUID of version 4 [2]. The file is generated in /var/db/machine-id and symlinked to /etc/machine-id to allow for read-only root partitions. This file is amongst other things used by libraries like GLib. Bump FreeBSD version 1400076 to be able to easily add support for older version of FreeBSD via a package. [1] Linux machine-id(5): https://www.man7.org/linux/man-pages/man5/machine-id.5.html [2] f176fe8e7f638e585afcd2f4dd52a522c4648f63 Approved by: bapt MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D37722
|
#
1ffc369a |
|
22-Nov-2022 |
Goran Mekic <meka@tilda.center> |
Add dnctl rc.d service As PF now also supports dummynet but can not configure it on its own, the service which configures pipes, queues and schedulers is needed. Reviewed by: kp Differential Revision: https://reviews.freebsd.org/D37451
|
#
616f32ea |
|
14-Nov-2022 |
Baptiste Daroussin <bapt@FreeBSD.org> |
othermta: remove leftover from 20 years ago othermta (along with mta_start_script configuration entry in rc.conf) was a mechanism used to be able to run another mta than sendmail(8) before "rcng" time 20 years ago. othermta has not been used since.
|
#
72a1cb05 |
|
06-Nov-2022 |
Li-Wen Hsu <lwhsu@FreeBSD.org> |
rc(8): Add a zpoolupgrade rc.d script If a zpool is created by makefs(8), its version is 5000, i.e., all feature flags are off. Introduce an rc script to run `zpool upgrade` over the assigned zpools on the first boot. This is useful to the ZFS based VM images built from release(7). Reviewed by: imp, markj, mav Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D37282
|
#
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 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
|
#
227caacc |
|
30-May-2022 |
Mark Johnston <markj@FreeBSD.org> |
rc: Add a zpoolreguid rc.d script If one boots up multiple copies of a template VM image containing a zpool, the pool GUIDs will be identical, making it impossible to, e.g., share datasets between them. This diff introduces a simple workaround for the problem: one can use the script to, upon first boot, assign a new GUID to one or more zpools. This will be useful when building ZFS-based VM images from release(7). Reviewed by: mav, allanjude, asomers Reviewed by: Pau Amma (docs) MFC after: 1 month Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D35336
|
#
c0686329 |
|
27-Feb-2022 |
Alan Somers <asomers@FreeBSD.org> |
Add ggated rc script Reviewed by: asomers, peterj Submitted by: Johannes Totz <jo@bruelltuete.com> Differential Revision: https://reviews.freebsd.org/D31709
|
#
db0ac6de |
|
02-Dec-2021 |
Cy Schubert <cy@FreeBSD.org> |
Revert "wpa: Import wpa_supplicant/hostapd commit 14ab4a816" This reverts commit 266f97b5e9a7958e365e78288616a459b40d924a, reversing changes made to a10253cffea84c0c980a36ba6776b00ed96c3e3b. A mismerge of a merge to catch up to main resulted in files being committed which should not have been.
|
#
bfb7a31b |
|
29-Nov-2021 |
Mateusz Piotrowski <0mp@FreeBSD.org> |
rc: Hook zfskeys to the build Reviewed by: allanjude Approved by: allanjude (src) MFC after: 3 days Sponsored by: Modirum MDPay Differential Revision: https://reviews.freebsd.org/D33230
|
#
6aae3517 |
|
20-Oct-2021 |
Gleb Smirnoff <glebius@FreeBSD.org> |
Retire synchronous PPP kernel driver sppp(4). The last two drivers that required sppp are cp(4) and ce(4). These devices are still produced and can be purchased at Cronyx <http://cronyx.ru/hardware/wan.html>. Since Roman Kurakin <rik@FreeBSD.org> has quit them, they no longer support FreeBSD officially. Later they have dropped support for Linux drivers to. As of mid-2020 they don't even have a developer to maintain their Windows driver. However, their support verbally told me that they could provide aid to a FreeBSD developer with documentaion in case if there appears a new customer for their devices. These drivers have a feature to not use sppp(4) and create an interface, but instead expose the device as netgraph(4) node. Then, you can attach ng_ppp(4) with help of ports/net/mpd5 on top of the node and get your synchronous PPP. Alternatively you can attach ng_frame_relay(4) or ng_cisco(4) for HDLC. Actually, last time I used cp(4) back in 2004, using netgraph(4) instead of sppp(4) was already the right way to do. Thus, remove the sppp(4) related part of the drivers and enable by default the negraph(4) part. Further maintenance of these drivers in the tree shouldn't be a big deal. While doing that, remove some cruft and enable cp(4) compilation on amd64. The ce(4) for some unknown reason marks its internal DDK functions with __attribute__ fastcall, which most likely is safe to remove, but without hardware I'm not going to do that, so ce(4) remains i386-only. Reviewed by: emaste, imp, donner Differential Revision: https://reviews.freebsd.org/D32590 See also: https://reviews.freebsd.org/D23928
|
#
860ee179 |
|
27-Sep-2021 |
Emmanuel Vadot <manu@FreeBSD.org> |
Fix gssd rc.d installation CONFGROUPS needs to be in CAPS Fixes: a30235a4c360 ("pkgbase: Create a FreeBSD-kerberos package") Reported by: kp
|
#
a30235a4 |
|
01-Sep-2021 |
Emmanuel Vadot <manu@FreeBSD.org> |
pkgbase: Create a FreeBSD-kerberos package This allows users to install or not kerberos related utilities and libs. Differential Revision: https://reviews.freebsd.org/D31801
|
#
20eb6bd8 |
|
08-Jun-2021 |
Andriy Gapon <avg@FreeBSD.org> |
rc.d: liberate powerd from ACPI dependency For instance, many non-ACPI ARM systems have CPU power / frequency levels. Discussed with: manu MFC after: 1 week
|
#
20eb9697 |
|
19-May-2021 |
Eugene Grosbein <eugen@FreeBSD.org> |
rc.d: connect sysctl_lastload Add recently added sysctl_lastload.
|
#
cd17774d |
|
26-Apr-2021 |
Edward Tomasz Napierala <trasz@FreeBSD.org> |
rc: remove the 'addswap' script. It's been unused since 268a55bc98b. Sponsored By: EPSRC Differential Revision: https://reviews.freebsd.org/D29749
|
#
82431b75 |
|
12-Apr-2021 |
Edward Tomasz Napierala <trasz@FreeBSD.org> |
rc: remove the 'archdep' script It was unused since 405c3050f10, which removed iBCS support. This also moves the 'linux' rc script slightly earlier, which might help in some setups. The original version of this patch moved it even more, before 'mountcritlocal', which would fixe mount(8) errors due to missing /dev/shm in setups with entries for /path/to/chroot/dev/shm without the "late" flag; however, in the end 'kldxref' turned out to depend on 'mountcritlocal' anyway. Reported By: pstef Reviewed By: dchagin Sponsored By: EPSRC Differential Revision: https://reviews.freebsd.org/D29590
|
#
2f48313a |
|
18-Feb-2021 |
Rick Macklem <rmacklem@FreeBSD.org> |
nfs-over-tls: add rc scripts for rpc.tlsclntd and rpc.tlsservd Add rc.d scripts that control the recently committed rpc.tlsclntd(8) and rpc.tlsservd(8) daemons. Reviewed by: gbe MFC after: 2 weeks Differential Revision: https://reviews.freebsd.org/D28432
|
#
e3ff9a1f |
|
21-Dec-2020 |
Emmanuel Vadot <manu@freebsd.org> |
pkgbase: Put the last rc files in the rc package Reviewed by: bapt Differential Revision: https://reviews.freebsd.org/D27718
|
#
74e2b24f |
|
26-Aug-2020 |
Cy Schubert <cy@FreeBSD.org> |
As of r364746 (OpenZFS import) existing ZPOOLs are not imported prior to zvol and mountcritlocal resulting in ZVOLs (swap and virtual machine UFS filesystems) being unavailable, leading to boot failures. We move the zpool import from zfs to a new zpool script, with the -N option to avoid mounting datasets while making the ZPOOL's datasets available for "legacy" mount (mountpoint=legacy) and ZVOLs available for subsequent use for swap (in the zvol rc sript) or for UFS or other filesystems in fstab(5), mounted by mountcritlocal. Reviewed by: freqlabs (previous version) Differential Revision: https://reviews.freebsd.org/D26185
|
#
12de77b3 |
|
19-Apr-2020 |
Cy Schubert <cy@FreeBSD.org> |
Due to popular demand, revert r360102. Reported by: many
|
#
4574585e |
|
19-Apr-2020 |
Cy Schubert <cy@FreeBSD.org> |
Conditionally install Kerberos rc files based on MK_KERBEROS_SCRIPTS instead of MK_KERBEROS. The reason for this change is some users prefer to build FreeBSD WITHOUT_KERBEROS, wanting to retain the Kerberos rc scripts to start/stop MIT Kerberos or Heimdal from ports. PR: 197337 Reported by: Adam McDougall <ebay at looksharp.net> Reviewed by: imp Differential Revision: https://reviews.freebsd.org/D24252
|
#
fdf46c24 |
|
25-Mar-2020 |
Baptiste Daroussin <bapt@FreeBSD.org> |
Revert r359294 per manu's request It breaks etcupdate Reported by: cy
|
#
77f0f1df |
|
24-Mar-2020 |
Emmanuel Vadot <manu@FreeBSD.org> |
pkgbase: Stop threating rc files as config files rc scripts arent configuration files so use FILES instead of CONFS. While here put rc scripts into related package (sendmail in the FreeBSD-sendmail package, wpa_supplicant in the FreeBSD-wpa etc ...) Reviewed by: bapt, emaste Differential Revision: https://reviews.freebsd.org/D24177
|
#
d80eccfc |
|
18-Mar-2020 |
Hiroki Sato <hrs@FreeBSD.org> |
Remove /etc/host.conf, which was automatically generated from nsswitch.conf for backward compatibility. This file was used over 19 years ago, before introducing nsdispatch() in the name-service lookup APIs. MFC after: 3 days
|
#
13f7dbe8 |
|
09-Mar-2020 |
Ed Maste <emaste@FreeBSD.org> |
retire amd(8) autofs was introduced with FreeBSD 10.1 and is the supported method for automounting filesystems. As of r296194 the amd man page claimed that it is deprecated. Remove it from base now; the sysutils/am-utils port is still available if necessary. Discussed with: cy Relnotes: Yes Sponsored by: The FreeBSD Foundation
|
#
6467506b |
|
20-Nov-2019 |
Warner Losh <imp@FreeBSD.org> |
Create /etc/os-release file. Each boot, regenerate /var/run/os-release based on the currently running system. Create a /etc/os-release symlink pointing to this file (so that this doesn't create a new reason /etc can not be mounted read-only). This is compatible with what other systems do and is what the sysutil/os-release port attempted to do, but in an incomplete way. Linux, Solaris and DragonFly all implement this natively as well. The complete standard can be found at https://www.freedesktop.org/software/systemd/man/os-release.html Moving this to the base solves both the non-standard location problem with the port, as well as the lack of update of this file on system update. Bump __FreeBSD_version to 1300060 PR: 238953 Differential Revision: https://reviews.freebsd.org/D22271
|
#
028af4ae |
|
02-Oct-2019 |
Edward Tomasz Napierala <trasz@FreeBSD.org> |
Rename etc/rc.d/abi to etc/rc.d/linux; after moving out the SysV IPC stuff it's entirely linux-specific. Reviewed by: emaste MFC after: 2 weeks Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D21830
|
#
c97588b4 |
|
28-Sep-2019 |
Edward Tomasz Napierala <trasz@FreeBSD.org> |
Move the SysV IPC stuff out of the 'abi' rc script, into a new one: 'sysvipc' - it has nothing to do with ABIs, and I'd like to later rename 'abi' to 'linux', which better describes its purpose and also matches the rcvar name. Reviewed by: emaste MFC after: 2 weeks Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D21615
|
#
8c15be73 |
|
05-Sep-2019 |
Emmanuel Vadot <manu@FreeBSD.org> |
pkgbase: Move rc scripts and related files to their own packages It doesn't need to be in runtime and might help people who want to experiment with other rc system or don't use one (like in small embedded mfsroot). Reviewed by: bapt, gjb Differential Revision: https://reviews.freebsd.org/D21499
|
#
9553ea80 |
|
19-Jul-2019 |
Emmanuel Vadot <manu@FreeBSD.org> |
pkgbase: Add a FreeBSD-bluetooth package Move the bluetooth related files from FreeBSD-runtime to a new package named FreeBSD-bluetooth The FreeBSD runtime is only intended to have everything for a working FreeBSD installation and bluetooth isn't needed for that. Reviewed by: bapt, gjb Differential Revision: https://reviews.freebsd.org/D20959
|
#
39fb1037 |
|
23-May-2019 |
Emmanuel Vadot <manu@FreeBSD.org> |
pkgbase: Remove etc/zfs from being packaged This is an empty directory and it cause a FreeBSD-zfs package to be created when we don't need one. Reviewed by: bapt
|
#
c2973001 |
|
21-Mar-2019 |
Cy Schubert <cy@FreeBSD.org> |
From r345400, connect ippool to the build/install. PR: 218433 MFC after: 2 weeks X-MFC with: r345400
|
#
77e6f928 |
|
12-Mar-2019 |
Cy Schubert <cy@FreeBSD.org> |
Fix still installing ipfilter rc.d files even when WITHOUT_IPFILTER is specified. When WITHOUT_IPFILTER is specified, delete-old-files fails to delete the optional rc.d files from above. Fix this. WITHOUT_IPFILTER fails to delete the ipfilter.5 optional file during delete-old-files. Fix this. Reported by: Dmitry Luhtionov <dmitryluhtionov@gmail.com> MFC after: 1 week
|
#
738ea871 |
|
16-Dec-2018 |
Alan Somers <asomers@FreeBSD.org> |
Conditionally install /etc/rc.d/audit* based on ${MK_AUDIT} /usr/sbin/audit(dist)?d are only installed if ${MK_AUDIT} == yes. Their supporting scripts should only be installed in those instances as well. Submitted by: ngie Reviewed by: emaste MFC after: 2 weeks Pull Request: https://github.com/freebsd/freebsd/pull/242
|
#
53fc043d |
|
15-Dec-2018 |
George V. Neville-Neil <gnn@FreeBSD.org> |
Remove, the now very outdated, timed. Submitted by: Kyle Spiers ksspiers at gmail Reviewed by: bcr,brooks,bz,sbruno Relnotes: yes Differential Revision: https://reviews.freebsd.org/D18505
|
#
c35b07d1 |
|
17-Oct-2018 |
Bjoern A. Zeeb <bz@FreeBSD.org> |
While preparing to move init(8) to its own package as indicated in r339413, a current pkgbase update problem came up. For users testing pkgbase at the moment there is no (automatic) way to pick up new base packages (yet). As a result rather than also moving init(8) to its own package, back out the part of the change in r339413 that moved rc* to its own package and defer creating new packages until the infrastructure is in place to handle these cases. Both init and rc* are considered too problematic to be lost by early adaptors at this stage. Discussed with: brd Reviewed by: brd Approved by: re (gjb)
|
#
0696600c |
|
17-Oct-2018 |
Bjoern A. Zeeb <bz@FreeBSD.org> |
Move the rc framework out of sbin/init into libexec/rc. The reasons for this are forward looking to pkgbase: * /sbin/init is a special binary; try not to replace it with every package update because an rc script was touched. (a follow-up commit will make init its own package) * having rc in its own place will allow more easy replacement of the rc framework with alternatives, such as openrc. Discussed with: brd (during BSDCam), kmoore Requested by: cem, bz PR: 231522 Approved by: re (gjb)
|