Date: Tue, 17 Dec 2013 16:31:35 -0500 From: Allan Jude <freebsd@allanjude.com> To: freebsd-current@freebsd.org Subject: Re: [rfc] [patch] do not stop watchdog on shutdown Message-ID: <52B0C2B7.7050008@allanjude.com> In-Reply-To: <20131217232838.c4584918.ray@freebsd.org> References: <CAFPOs6oyAs%2BDvcrNM8GnWNrzEVpkkNBTrHWzb-OSO90MefnB9Q@mail.gmail.com> <20131217232838.c4584918.ray@freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --IAIxp6ck7WxTB2RDM61UiwPWCMhN3uIbd Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 2013-12-17 16:28, Aleksandr Rybalko wrote: > On Tue, 17 Dec 2013 10:53:02 -0800 > Maksim Yevmenkin <maksim.yevmenkin@gmail.com> wrote: > >> hello, > Hi Maksim! > >> would anyone object to this patch? > It is good idea, but sometimes shutdown sequence longer than some H/W > watchdogs even support. > I have one board which can do only 20sec maximum time. > >> max >> >> Index: src/etc/rc.d/watchdogd >> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D >> --- src/etc/rc.d/watchdogd (revision 2999) >> +++ src/etc/rc.d/watchdogd (working copy) >> @@ -39,4 +39,7 @@ >> pidfile=3D"/var/run/${name}.pid" >> >> load_rc_config $name >> + >> +sig_stop=3D"${watchdogd_sig_stop:-TERM}" >> + >> run_rc_command "$1" >> _______________________________________________ >> freebsd-current@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-current >> To unsubscribe, send any mail to >> "freebsd-current-unsubscribe@freebsd.org" > I've been seeing an issue where sometimes my system seems to hang after the shutdown. where not stopping the watchdog might help. I wonder if it would be best to make some kind of rc.conf variable to allow the user to opt for one or the other, keeping the current behaviour for POLA. --=20 Allan Jude --IAIxp6ck7WxTB2RDM61UiwPWCMhN3uIbd Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.16 (MingW32) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQIcBAEBAgAGBQJSsMK6AAoJEJrBFpNRJZKfCu0P/iGD9hqxtIQf1I6ffpS7U/wx QODlqiqv1djOpbLAYjE5YMUbRu4FrHCgWhx1ANzjpcwS8PKI9+nMrg3AzYtcGpqv moPlU0f29iSMtmRruu3hi43wFDhtdBqN11agFz6PVWliTVYbV7U/l2h23ULg2VAa HZKZtgyv4oZUwdB4jZ7MPa9pR7lVJl3AIMh/ahaR2g/4kUtNOtxhoSVVJ/WizfTD 7ZwmqbnyYO8TN0E6WS4dKgsb4aa9QyJs0/IeRX7YKn5GSu0amUUIHZcgwW/TE8qj +miv8lJHybD2z4K8SYp/csVmYmxq3SNcCiWlD6ze0sXQ1qzyhHjVMITwq48uTZvN v1azCIUKqTAn0ZLz16fJOvI4Bi+lMrrnmEayx0f176vn08r+u+IF7/VIkYRZQaPs Us1vcPMn/FbdIF5hpdfxqKo2FAXGjUZpSn4BZrRXk1V1/TYjE5W+2f2+5m34w+IB Da88rEsm1SfvykRWE+BAVCC1U3b1daut/WeguxAotoRMhN565zrYpzisRcIzQrRg ldqz/vmgeRTTPcMYKG5Bsum3MfhURyhmM3XrVwhOidMtEw0DqQMiQ5z983aJ1eaj qWf21Ol4C74Hnr3vZuSpfXBYmVDrAOdHjMZmAsT1FhjLZ6F/XewjHcWivA8lr9B7 qeKI1/GiKER/VYVs4urL =cMt+ -----END PGP SIGNATURE----- --IAIxp6ck7WxTB2RDM61UiwPWCMhN3uIbd--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?52B0C2B7.7050008>