BSD Ports

sysutils/checkrestart 0.5.0_1 FreeBSD

Find processes that need restarting after an upgrade

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
License
MIT
Categories
sysutils
Package size
8.7 KiB, 15.5 KiB installed

Description

Find processes using stale binaries or shared libraries that may need restarting after an upgrade.

In the other systems

SystemPortVersion
FreeBSDsysutils/checkrestart0.5.0_1
OpenBSDsysutils/checkrestart1.0p1
MidnightBSDsysutils/checkrestart0.5.0_1

Install

Binary package:

pkg install checkrestart

From the ports tree:

cd /usr/ports/sysutils/checkrestart/ && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	checkrestart>0:sysutils/checkrestart

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest0.5.0_10.5.0_10.5.0_10.5.0_10.5.0_1
FreeBSD:14:quarterly0.5.0_10.5.0_1n/a0.5.0_10.5.0_1
FreeBSD:15:latest0.5.0_10.5.0_1n/a0.5.0_10.5.0_1
FreeBSD:15:quarterly0.5.0_10.5.0_1n/an/an/a
FreeBSD:16:latest0.5.0_10.5.0_1n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

The Makefile names none itself; they come from USES and USE_*.

The full lists below include those, and their dependencies in turn.

No port depends on this one.

Configuration

No options to configure.

Service scripts
none

Message after installing

In order to enable periodic(8) checks, set the following in /etc/periodic.conf

# Required
security_checkrestart_enable="YES"

# Optional
security_checkrestart_period="DAILY"     # or WEEKY, or MONTHLY
security_checkrestart_jails="0 web"      # limit to jails 0 and web
security_checkrestart_users="root www"   # limit to root and www users
security_checkrestart_procs="smbd httpd" # limit to samba and httpd

The periodic(8) script is now a security script.  All 'daily_checkrestart_'
instances in /etc/periodic.conf should be changed to 'security_checkrestart_'.

i.e.

daily_checkrestart_enable="YES"

is now:

security_checkrestart_enable="YES"

daily_checkrestart_weekdays is no longer supported.  The security period
mechanism should be used instead:

security_checkrestart_period="DAILY" # or WEEKLY, or MONTHLY

Files

distinfo 1
FileSizeSHA256
Freaky-checkrestart-v0.5.0_GH0.tar.gz5659c37f40ad618d978fe413c71c367af5aefaeb1d600d72725294df8b3523e20e9c

Commit history 0

No commits in the history this site was built from.