Summary: | Setting ShutdownWatchdogUSec via D-Bus does nothing | ||
---|---|---|---|
Product: | systemd | Reporter: | Maxim Mikityanskiy <maxtram95> |
Component: | general | Assignee: | systemd-bugs |
Status: | RESOLVED FIXED | QA Contact: | systemd-bugs |
Severity: | normal | ||
Priority: | medium | CC: | maxtram95 |
Version: | unspecified | ||
Hardware: | Other | ||
OS: | All | ||
Whiteboard: | |||
i915 platform: | i915 features: | ||
Attachments: |
Make org.freedesktop.systemd1.Manager.ShutdownWatchdogUSec work
Make org.freedesktop.systemd1.Manager.ShutdownWatchdogUSec work [2] |
Description
Maxim Mikityanskiy
2015-01-11 00:43:18 UTC
Patch looks good! Thanks! Applied! http://cgit.freedesktop.org/systemd/systemd/commit/?id=df6e44c4affced590b0d19c594d9301ffd436591 Reverted the patch. It causes systemd --version to segfault. Please fix it and resubmit. Thanks! Created attachment 112970 [details] [review] Make org.freedesktop.systemd1.Manager.ShutdownWatchdogUSec work [2] (In reply to Kay Sievers from comment #2) > Reverted the patch. It causes systemd --version to segfault. > Please fix it and resubmit. Thanks! Sorry about that, I overlooked that m may be NULL. There is a new patch that assigns arg_shutdown_watchdog only if m is not NULL. In the case m == NULL (e.g. when calling systemd --version) we don't need arg_shutdown_watchdog anyway, we only need it on shutdown when m is definitely not NULL. (Re-)applied in http://cgit.freedesktop.org/systemd/systemd/commit/?id=81f5fc2d43. |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.