<?xml version="1.0"?>
<?xml-stylesheet type="text/xsl" href="/rss.xsl.xml"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
    <title>Changes in watchdogd</title>
    <description></description>
    <language>en</language>
    <copyright>Copyright 2015</copyright>
    <generator>Java</generator><item>
        <title>d0b2dbfa - Remove $FreeBSD$: one-line sh pattern</title>
        <link>http://172.16.0.5:8080/history/freebsd-14.2/libexec/rc/rc.d/watchdogd#d0b2dbfa</link>
        <description>Remove $FreeBSD$: one-line sh patternRemove /^\s*#[#!]?\s*\$FreeBSD\$.*$\n/

            List of files:
            /freebsd-14.2/libexec/rc/rc.d/watchdogd</description>
        <pubDate>Wed, 16 Aug 2023 17:55:03 +0000</pubDate>
        <dc:creator>Warner Losh &lt;imp@FreeBSD.org&gt;</dc:creator>
    </item>
<item>
        <title>5fda0d60 - add ability to set watchdog timeout for a shutdown</title>
        <link>http://172.16.0.5:8080/history/freebsd-14.2/libexec/rc/rc.d/watchdogd#5fda0d60</link>
        <description>add ability to set watchdog timeout for a shutdownThis change allows to specify a watchdog(9) timeout for a systemshutdown.  The timeout is activated when the watchdogd daemon isstopped.  The idea is to a prevent any indefinite hang during latestages of the shutdown.  The feature is implemented in rc.d/watchdogd,it builds upon watchdogd -x option.Note that the shutdown timeout is not actiavted when the watchdogdservice is individually stopped by an operator.  It is also notactivated for the &apos;shutdown&apos; to the single-user mode.  In those cases itis assumed that the operator knows what they are doing and they havemeans to recover the system should it hang.Significant subchanges and implementation details:- the argument to rc.shutdown, completely unused before, is assigned to  rc_shutdown variable that can be inspected by rc scripts- init(8) passes &quot;single&quot; or &quot;reboot&quot; as the argument, this is not  changed- the argument is not mandatory and if it is not set then rc_shutdown is  set to &quot;unspecified&quot;- however, the default jail management scripts and jail configuration  examples have been updated to pass &quot;jail&quot; to rc.shutdown, just in case- the new timeout can be set via watchdogd_shutdown_timeout rc option- for consistency, the regular timeout can now be set via  watchdogd_timeout rc option- watchdogd_shutdown_timeout and watchdogd_timeout override timeout  specifications in watchdogd_flags- existing configurations, where the new rc options are not set, should  keep working as beforeI am not particularly wed to any of the implementation specifics.I am open to changing or removing any of them as long as the providedfunctionality is the same (or very close) to the proposed one.For example, I think it can be implemented without using watchdogd -x,by means of watchdog(1) alone.  In that case there would be a smallwindow between stopping watchdogd and running watchdog, but I think thatthat is acceptable.Reviewed by:	bcr (man page changes)MFC after:	5 weeksRelnotes:	yesDifferential Revision: https://reviews.freebsd.org/D21221

            List of files:
            /freebsd-14.2/libexec/rc/rc.d/watchdogd</description>
        <pubDate>Thu, 03 Oct 2019 11:23:10 +0000</pubDate>
        <dc:creator>Andriy Gapon &lt;avg@FreeBSD.org&gt;</dc:creator>
    </item>
<item>
        <title>0696600c - Move the rc framework out of sbin/init into libexec/rc.</title>
        <link>http://172.16.0.5:8080/history/freebsd-14.2/libexec/rc/rc.d/watchdogd#0696600c</link>
        <description>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), kmooreRequested by:		cem, bzPR:			231522Approved by:		re (gjb)

            List of files:
            /freebsd-14.2/libexec/rc/rc.d/watchdogd</description>
        <pubDate>Wed, 17 Oct 2018 16:49:11 +0000</pubDate>
        <dc:creator>Bjoern A. Zeeb &lt;bz@FreeBSD.org&gt;</dc:creator>
    </item>
</channel>
</rss>
