Gary Gregory [Wed, 8 Jun 2022 16:50:22 +0000 (12:50 -0400)]
Add coverage.yml
Gary Gregory [Tue, 7 Jun 2022 17:56:12 +0000 (13:56 -0400)]
Bump actions/cache from 3.0.3 to 3.0.4
Gary Gregory [Tue, 31 May 2022 20:32:19 +0000 (16:32 -0400)]
Bump actions/cache from 3.0.2 to 3.0.3
Gary Gregory [Tue, 24 May 2022 20:53:26 +0000 (16:53 -0400)]
Merge branch 'master' of https://gitbox.apache.org/repos/asf/commons-daemon
Gary Gregory [Tue, 24 May 2022 20:53:17 +0000 (16:53 -0400)]
Use Objects#requireNonNull()
Mark Thomas [Tue, 24 May 2022 10:07:57 +0000 (11:07 +0100)]
Remove noisy log message
The SERVICE_CONTROL_INTERROGATE case is called at least once per minute.
Logging that at INFO quickly fills the logs. Given the TRACE level
logging immediately below the removed line, switching this to DEBUG does
not appear to add any value. Therefore removing it.
Gary Gregory [Sun, 22 May 2022 12:49:55 +0000 (08:49 -0400)]
Update commons.bc.version
Gary Gregory [Sun, 22 May 2022 12:48:37 +0000 (08:48 -0400)]
Add self as developer
Gary Gregory [Sun, 22 May 2022 12:47:13 +0000 (08:47 -0400)]
Comment empty block
Gary Gregory [Sun, 22 May 2022 12:45:36 +0000 (08:45 -0400)]
Use try-with-resources
Gary Gregory [Sun, 22 May 2022 12:22:26 +0000 (08:22 -0400)]
Better local var name
Gary Gregory [Sun, 22 May 2022 12:22:09 +0000 (08:22 -0400)]
Comment empty block
Mark Thomas [Mon, 9 May 2022 14:16:27 +0000 (15:16 +0100)]
Increment version from 1.3.1 to 1.3.2 for next development cycle
Mark Thomas [Wed, 4 May 2022 06:56:55 +0000 (07:56 +0100)]
Add risv64 support. Patch provided by Bo YU.
Mark Thomas [Tue, 3 May 2022 11:19:14 +0000 (12:19 +0100)]
Regenerate for 1.3.1 release
Mark Thomas [Tue, 3 May 2022 11:16:05 +0000 (12:16 +0100)]
Regenerate for 1.3.1 release
Mark Thomas [Tue, 3 May 2022 11:14:28 +0000 (12:14 +0100)]
Regenerate for 1.3.1 release
Mark Thomas [Tue, 3 May 2022 11:11:32 +0000 (12:11 +0100)]
Preparing for 1.3.1 - add best guess for release date
Mark Thomas [Tue, 3 May 2022 11:02:04 +0000 (12:02 +0100)]
Add change log entry for #39
Jean-Frederic Clere [Sun, 1 May 2022 08:47:25 +0000 (10:47 +0200)]
Add comments
Jean-Frederic Clere [Mon, 21 Feb 2022 10:15:42 +0000 (11:15 +0100)]
Update rprocess.c
Just remove extra '.' in debug message.
Hudson [Thu, 17 Feb 2022 10:15:27 +0000 (10:15 +0000)]
Fix for https://issues.redhat.com/browse/JBCS-1261:
Terminate child process that have been started by the service.
Mark Thomas [Fri, 29 Apr 2022 18:13:28 +0000 (19:13 +0100)]
Add change log entry for #45
Arturo Bernal [Sun, 17 Apr 2022 19:03:07 +0000 (21:03 +0200)]
Use switch instead of multiple if statement.
dependabot[bot] [Fri, 29 Apr 2022 16:05:13 +0000 (16:05 +0000)]
Bump github/codeql-action from 1 to 2
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 1 to 2.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/github/codeql-action/compare/v1...v2)
---
updated-dependencies:
- dependency-name: github/codeql-action
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Mark Thomas [Fri, 29 Apr 2022 16:29:03 +0000 (17:29 +0100)]
Display text as well as code for associated error
Mark Thomas [Fri, 29 Apr 2022 16:18:40 +0000 (17:18 +0100)]
Improve error message to always explicitly report file path
Mark Thomas [Wed, 27 Apr 2022 12:35:35 +0000 (13:35 +0100)]
Fix DAEMON-442 - Increase limit on log message size from 1024 to 4096
wsprintfW is limited to a buffer of size 1024. The switch to the newer
functions allows (much) larger buffers to be used. 4096 seems like a
reasonable limit.
Mark Thomas [Wed, 27 Apr 2022 09:11:30 +0000 (10:11 +0100)]
Improve error message for log path permission problems
Mark Thomas [Tue, 26 Apr 2022 14:16:54 +0000 (15:16 +0100)]
Make it clearer defaults are being used.
Mark Thomas [Tue, 26 Apr 2022 14:15:20 +0000 (15:15 +0100)]
Fix DAEMON-441. Avoid null pointer access if no log path is specified
This is the primary cause of DAEMON-441. The other commits for this
issue fixed various errors that masked this error to some degree.
Mark Thomas [Tue, 26 Apr 2022 14:11:20 +0000 (15:11 +0100)]
Introduce a constant for the default log path
Mark Thomas [Tue, 26 Apr 2022 13:45:03 +0000 (14:45 +0100)]
Clear the error once logged
Mark Thomas [Tue, 26 Apr 2022 13:23:09 +0000 (14:23 +0100)]
Only log to a file when running as a service.
Mark Thomas [Tue, 26 Apr 2022 13:08:21 +0000 (14:08 +0100)]
Clear an expected error to prevent it polluting the log messages
Mark Thomas [Tue, 26 Apr 2022 13:07:11 +0000 (14:07 +0100)]
Control of logging level should work whether logging to stderr or a file
Mark Thomas [Tue, 26 Apr 2022 13:03:22 +0000 (14:03 +0100)]
Correct action type
Gary Gregory [Tue, 12 Apr 2022 12:13:38 +0000 (08:13 -0400)]
Bump actions/cache from 3 to 3.0.2
Gary Gregory [Sun, 10 Apr 2022 12:22:07 +0000 (08:22 -0400)]
Bump commons-parent from 52 to 53 #44
dependabot[bot] [Sun, 10 Apr 2022 12:21:43 +0000 (08:21 -0400)]
Bump commons-parent from 52 to 53 (#44)
Bumps commons-parent from 52 to 53.
---
updated-dependencies:
- dependency-name: org.apache.commons:commons-parent
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Gary Gregory [Sun, 10 Apr 2022 12:21:33 +0000 (08:21 -0400)]
Bump actions/setup-java from 2 to 3 #43
dependabot[bot] [Sun, 10 Apr 2022 12:21:05 +0000 (08:21 -0400)]
Bump actions/setup-java from 2 to 3 (#43)
Bumps [actions/setup-java](https://github.com/actions/setup-java) from 2 to 3.
- [Release notes](https://github.com/actions/setup-java/releases)
- [Commits](https://github.com/actions/setup-java/compare/v2...v3)
---
updated-dependencies:
- dependency-name: actions/setup-java
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Gary Gregory [Sun, 10 Apr 2022 12:20:39 +0000 (08:20 -0400)]
Bump spotbugs-maven-plugin from 4.5.3.0 to 4.6.0.0 #42
dependabot[bot] [Sun, 10 Apr 2022 12:20:01 +0000 (08:20 -0400)]
Bump spotbugs-maven-plugin from 4.5.3.0 to 4.6.0.0 (#42)
Bumps [spotbugs-maven-plugin](https://github.com/spotbugs/spotbugs-maven-plugin) from 4.5.3.0 to 4.6.0.0.
- [Release notes](https://github.com/spotbugs/spotbugs-maven-plugin/releases)
- [Commits](https://github.com/spotbugs/spotbugs-maven-plugin/compare/spotbugs-maven-plugin-4.5.3.0...spotbugs-maven-plugin-4.6.0.0)
---
updated-dependencies:
- dependency-name: com.github.spotbugs:spotbugs-maven-plugin
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Gary Gregory [Fri, 25 Mar 2022 16:18:45 +0000 (09:18 -0700)]
Bump actions/cache from 2.1.7 to 3 #41
dependabot[bot] [Fri, 25 Mar 2022 16:17:32 +0000 (09:17 -0700)]
Bump actions/cache from 2.1.7 to 3 (#41)
Bumps [actions/cache](https://github.com/actions/cache) from 2.1.7 to 3.
- [Release notes](https://github.com/actions/cache/releases)
- [Commits](https://github.com/actions/cache/compare/v2.1.7...v3)
---
updated-dependencies:
- dependency-name: actions/cache
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Gary Gregory [Tue, 15 Mar 2022 19:57:39 +0000 (15:57 -0400)]
Remove profile no longer needed now that we are on Java 7.
Gary Gregory [Tue, 15 Mar 2022 19:56:34 +0000 (15:56 -0400)]
Update description for 1.3.0.
Mark Thomas [Tue, 15 Mar 2022 08:50:22 +0000 (08:50 +0000)]
Update version number to 1.3.1 for next development cycle
Mark Thomas [Tue, 15 Mar 2022 08:38:32 +0000 (08:38 +0000)]
Update version on download page
Mark Thomas [Fri, 11 Mar 2022 16:51:42 +0000 (16:51 +0000)]
Add note on Maven version to use
Mark Thomas [Fri, 11 Mar 2022 11:46:27 +0000 (11:46 +0000)]
Update generated files
Mark Thomas [Fri, 11 Mar 2022 11:42:29 +0000 (11:42 +0000)]
Set best guess of 1.3.0 release date to 1 week from today
Gary Gregory [Thu, 10 Mar 2022 22:23:09 +0000 (17:23 -0500)]
Use try-with-resources.
Gary Gregory [Thu, 10 Mar 2022 22:20:16 +0000 (17:20 -0500)]
Use final.
Administrator [Thu, 10 Mar 2022 20:44:57 +0000 (20:44 +0000)]
Fix DAEMON-439. Support --Startup=delayed on installation
It was supported on update but not on installation.
Administrator [Thu, 10 Mar 2022 18:49:07 +0000 (18:49 +0000)]
Remove $Id$ now we use git rather than svn
Administrator [Thu, 10 Mar 2022 18:47:23 +0000 (18:47 +0000)]
Trace needs to be included in the log levels exposed by the GUI
Administrator [Thu, 10 Mar 2022 17:48:13 +0000 (17:48 +0000)]
Correct function name
Administrator [Thu, 10 Mar 2022 17:16:27 +0000 (17:16 +0000)]
Fix DAEMON-437. Grant service user access to log directory.
https://issues.apache.org/jira/browse/DAEMON-437
Administrator [Thu, 10 Mar 2022 17:01:39 +0000 (17:01 +0000)]
Move to correct section.
Gary Gregory [Fri, 4 Mar 2022 20:20:23 +0000 (15:20 -0500)]
Test on Windows too.
Gary Gregory [Fri, 4 Mar 2022 20:13:46 +0000 (15:13 -0500)]
Bump actions/checkout from 2 to 3 #40
dependabot[bot] [Fri, 4 Mar 2022 20:12:42 +0000 (15:12 -0500)]
Bump actions/checkout from 2 to 3 (#40)
Bumps [actions/checkout](https://github.com/actions/checkout) from 2 to 3.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v2...v3)
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Gary Gregory [Fri, 4 Mar 2022 14:46:10 +0000 (09:46 -0500)]
Replace package with verify in the default goal.
Mark Thomas [Thu, 24 Feb 2022 18:09:33 +0000 (18:09 +0000)]
Copyright year update to 2022
Mark Thomas [Thu, 24 Feb 2022 17:36:49 +0000 (17:36 +0000)]
Update version to 1.3.0 as minimum Java version has been updated to 1.7
Gary Gregory [Fri, 4 Feb 2022 12:18:32 +0000 (07:18 -0500)]
Update NOTICE file for 2022.
Gary Gregory [Thu, 3 Feb 2022 12:06:34 +0000 (07:06 -0500)]
Add CodeQL GitHub workflow.
Add CPP.
Gary Gregory [Thu, 3 Feb 2022 11:58:45 +0000 (06:58 -0500)]
Add CodeQL GitHub workflow.
TODO: native.
Gary Gregory [Thu, 3 Feb 2022 11:52:50 +0000 (06:52 -0500)]
Add a log warning.
Mark Thomas [Thu, 27 Jan 2022 19:39:34 +0000 (19:39 +0000)]
Regenerate README in preparation for 1.2.5
Mark Thomas [Thu, 27 Jan 2022 19:37:34 +0000 (19:37 +0000)]
Regenerate download page in preparation for 1.2.5
Mark Thomas [Thu, 27 Jan 2022 19:35:09 +0000 (19:35 +0000)]
Add date for 1.2.4
Mark Thomas [Thu, 27 Jan 2022 19:31:13 +0000 (19:31 +0000)]
Best guess for 1.2.5 release date
Mark Thomas [Thu, 27 Jan 2022 18:56:23 +0000 (18:56 +0000)]
Fix DAEMON-437 - only redirect stdout/stderr for a running service
https://issues.apache.org/jira/projects/DAEMON/issues/DAEMON-437
Mark Thomas [Thu, 27 Jan 2022 18:50:56 +0000 (18:50 +0000)]
Clarify changes that only apply to Procrun
Mark Thomas [Thu, 27 Jan 2022 15:30:28 +0000 (15:30 +0000)]
year++
Mark Thomas [Thu, 27 Jan 2022 15:29:15 +0000 (15:29 +0000)]
Update to CMSC 15.0.44
Mark Thomas [Thu, 27 Jan 2022 15:25:23 +0000 (15:25 +0000)]
Enable the build to compile with older versions of visual studio
TL;DR we use an older version of visual studio to compile release builds
For the long version, see windows/README.txt
Mark Thomas [Mon, 17 Jan 2022 11:53:03 +0000 (11:53 +0000)]
Fix comment typo
dependabot[bot] [Fri, 7 Jan 2022 16:07:18 +0000 (16:07 +0000)]
Bump spotbugs-maven-plugin from 4.5.2.0 to 4.5.3.0
Bumps [spotbugs-maven-plugin](https://github.com/spotbugs/spotbugs-maven-plugin) from 4.5.2.0 to 4.5.3.0.
- [Release notes](https://github.com/spotbugs/spotbugs-maven-plugin/releases)
- [Commits](https://github.com/spotbugs/spotbugs-maven-plugin/compare/spotbugs-maven-plugin-4.5.2.0...spotbugs-maven-plugin-4.5.3.0)
---
updated-dependencies:
- dependency-name: com.github.spotbugs:spotbugs-maven-plugin
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Mark Thomas [Mon, 17 Jan 2022 10:43:56 +0000 (10:43 +0000)]
Remove comments from code for Java 1.4, 1.5 & 1.6 now Java 7 is the min
Mark Thomas [Mon, 17 Jan 2022 10:39:20 +0000 (10:39 +0000)]
Remove empty Javadoc block
Mark Thomas [Mon, 17 Jan 2022 10:39:03 +0000 (10:39 +0000)]
Fix comment typos
Mark Thomas [Mon, 17 Jan 2022 10:38:37 +0000 (10:38 +0000)]
Remove out-dated comment
Mark Thomas [Mon, 17 Jan 2022 10:24:49 +0000 (10:24 +0000)]
Fix IDE warnings triggered by switch to minimum Java version of Java 7
Gary Gregory [Wed, 29 Dec 2021 17:02:03 +0000 (12:02 -0500)]
Run dependabot once a week.
Gary Gregory [Thu, 23 Dec 2021 13:51:01 +0000 (08:51 -0500)]
Drop obsolete Travis build.
Gary Gregory [Wed, 22 Dec 2021 17:03:15 +0000 (12:03 -0500)]
Bump actions/cache from 2.1.6 to 2.1.7 #36.
Gary Gregory [Wed, 22 Dec 2021 17:02:45 +0000 (12:02 -0500)]
Bump spotbugs-maven-plugin from 4.4.2.2 to 4.5.2.0 #37.
dependabot[bot] [Wed, 22 Dec 2021 17:01:23 +0000 (12:01 -0500)]
Bump actions/cache from 2.1.6 to 2.1.7 (#36)
Bumps [actions/cache](https://github.com/actions/cache) from 2.1.6 to 2.1.7.
- [Release notes](https://github.com/actions/cache/releases)
- [Commits](https://github.com/actions/cache/compare/v2.1.6...v2.1.7)
---
updated-dependencies:
- dependency-name: actions/cache
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
dependabot[bot] [Wed, 22 Dec 2021 17:00:48 +0000 (12:00 -0500)]
Bump spotbugs-maven-plugin from 4.4.2.2 to 4.5.2.0 (#37)
Bumps [spotbugs-maven-plugin](https://github.com/spotbugs/spotbugs-maven-plugin) from 4.4.2.2 to 4.5.2.0.
- [Release notes](https://github.com/spotbugs/spotbugs-maven-plugin/releases)
- [Commits](https://github.com/spotbugs/spotbugs-maven-plugin/compare/spotbugs-maven-plugin-4.4.2.2...spotbugs-maven-plugin-4.5.2.0)
---
updated-dependencies:
- dependency-name: com.github.spotbugs:spotbugs-maven-plugin
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Gary Gregory [Thu, 11 Nov 2021 16:18:05 +0000 (11:18 -0500)]
Add logging when failing to set the options of a service.
Gary Gregory [Thu, 11 Nov 2021 16:09:02 +0000 (11:09 -0500)]
Add logging when failing to obtain a service's description from the
registry.
Gary Gregory [Thu, 11 Nov 2021 13:39:35 +0000 (08:39 -0500)]
Better log message alignment.
Gary Gregory [Thu, 11 Nov 2021 13:36:32 +0000 (08:36 -0500)]
Log the prunsrv function names at the Trace level.
Gary Gregory [Wed, 10 Nov 2021 15:28:45 +0000 (10:28 -0500)]
Match function name in log message to actual function.
Gary Gregory [Wed, 10 Nov 2021 15:24:21 +0000 (10:24 -0500)]
Miscellaneous logging improvements.
Gary Gregory [Wed, 10 Nov 2021 15:22:19 +0000 (10:22 -0500)]
Add scale when logging dwWaitHint.