https://redmine.pfsense.org/https://redmine.pfsense.org/favicon.ico?16780521162019-09-10T12:55:51ZpfSense bugtrackerpfSense Packages - Feature #9742: Print Patch ID in log while patchinghttps://redmine.pfsense.org/issues/9742?journal_id=422862019-09-10T12:55:51ZJim Pingle
<ul><li><strong>Target version</strong> deleted (<del><i>2.5.0</i></del>)</li></ul> pfSense Packages - Feature #9742: Print Patch ID in log while patchinghttps://redmine.pfsense.org/issues/9742?journal_id=425622019-10-10T10:40:41ZViktor Gurov
<ul></ul><p><a class="external" href="https://github.com/pfsense/FreeBSD-ports/pull/685">https://github.com/pfsense/FreeBSD-ports/pull/685</a></p> pfSense Packages - Feature #9742: Print Patch ID in log while patchinghttps://redmine.pfsense.org/issues/9742?journal_id=425632019-10-10T10:40:53ZViktor Gurov
<ul><li><strong>File</strong> <a href="/attachments/2826">Screenshot from 2019-10-10 18-33-57.png</a> <a class="icon-only icon-download" title="Download" href="/attachments/download/2826/Screenshot%20from%202019-10-10%2018-33-57.png">Screenshot from 2019-10-10 18-33-57.png</a> added</li></ul> pfSense Packages - Feature #9742: Print Patch ID in log while patchinghttps://redmine.pfsense.org/issues/9742?journal_id=426472019-10-21T07:23:35ZJim Pingle
<ul><li><strong>Subject</strong> changed from <i>print Patch ID in log while patching</i> to <i>Print Patch ID in log while patching</i></li><li><strong>Status</strong> changed from <i>New</i> to <i>Pull Request Review</i></li></ul> pfSense Packages - Feature #9742: Print Patch ID in log while patchinghttps://redmine.pfsense.org/issues/9742?journal_id=426812019-10-23T09:36:25ZRenato Botelhorenato@netgate.com
<ul><li><strong>Status</strong> changed from <i>Pull Request Review</i> to <i>Feedback</i></li><li><strong>Assignee</strong> set to <i>Renato Botelho</i></li><li><strong>Target version</strong> set to <i>2.5.0</i></li><li><strong>% Done</strong> changed from <i>0</i> to <i>100</i></li></ul><p>PR has been merged. Thanks!</p> pfSense Packages - Feature #9742: Print Patch ID in log while patchinghttps://redmine.pfsense.org/issues/9742?journal_id=426942019-10-24T00:52:22ZViktor Gurov
<ul></ul><p>fixes to PR:<br /><a class="external" href="https://github.com/pfsense/FreeBSD-ports/pull/692">https://github.com/pfsense/FreeBSD-ports/pull/692</a></p> pfSense Packages - Feature #9742: Print Patch ID in log while patchinghttps://redmine.pfsense.org/issues/9742?journal_id=428672019-11-13T10:07:06ZJim Pingle
<ul><li><strong>Target version</strong> deleted (<del><i>2.5.0</i></del>)</li></ul> pfSense Packages - Feature #9742: Print Patch ID in log while patchinghttps://redmine.pfsense.org/issues/9742?journal_id=429912019-11-22T01:23:36ZViktor Gurov
<ul></ul><p>tested on pfSense 2.5.0.a.20191121.2127 with System_Patches 1.2_4<br />test patch: <a class="external" href="https://github.com/pfsense/pfsense/commit/15701e03e36051907a23ddbe5ab04f42c94c0944.patch">https://github.com/pfsense/pfsense/commit/15701e03e36051907a23ddbe5ab04f42c94c0944.patch</a></p>
<p>Works ok, but on every patching I also got such message in logs:<br /><pre>
Logging subprocess 84289 (exec /usr/local/sbin/sshguard) exited with status 1.
</pre></p> pfSense Packages - Feature #9742: Print Patch ID in log while patchinghttps://redmine.pfsense.org/issues/9742?journal_id=429962019-11-22T08:11:51ZJim Pingle
<ul></ul><p>The sshguard log message wouldn't be related.</p>
<p>I see logs for manual patching and reverting, but no log messages when auto-apply happens at boot time. It may not be the fault of the code, though, since it's an early shell command it may be run before logging starts, so logging via syslog at that point may not be possible. It has to run that early or it may not get run before other components that need to get patched before starting.</p>
<p>Instead of using syslog, it could write to its own log file directly, but that seems like overkill just for this.</p> pfSense Packages - Feature #9742: Print Patch ID in log while patchinghttps://redmine.pfsense.org/issues/9742?journal_id=486502020-10-14T04:04:32ZDanilo Zrenjanin
<ul><li><strong>Status</strong> changed from <i>Feedback</i> to <i>Resolved</i></li></ul><p>Tested on :<br /><pre>
2.5.0-DEVELOPMENT (amd64)
built on Tue Oct 13 19:05:31 EDT 2020
FreeBSD 12.2-STABLE
</pre></p>
<p>System Log displays the applied patch ID.</p>
<p>Ticket resolved.</p>