Commit graph

519 commits

Author SHA1 Message Date
Tom Goff
0dcf2c05f0 daemon: Make the UDP server socket close-on-exec. 2016-01-29 18:07:43 -05:00
Tom Goff
0853c95592 daemon: Make command channel file descriptors close-on-exec. 2016-01-29 17:49:16 -05:00
Tom Goff
ec8ac2f258 daemon: Minor code reorganization. 2016-01-29 17:46:55 -05:00
Tom Goff
0333c74bec daemon: Used the communicate() method to interact with subprocesses. 2016-01-29 16:56:49 -05:00
Tom Goff
6fb1eb9bd6 daemon: Log output from state hooks to a file.
Also close other file descriptors when running state hooks.
2016-01-29 16:18:39 -05:00
Tom Goff
6e092389af rpm: Include individual directories for the daemon subpackage. 2016-01-29 15:05:35 -05:00
Tom Goff
52a64a48d1 rpm: Stop the core-daemon service before removing the package. 2016-01-29 14:37:06 -05:00
Tom Goff
f733aba833 deb: Move post-remove cleanup to the pre-remove script. 2016-01-29 13:39:34 -05:00
Tom Goff
7f1ed4dbf9 deb: Stop the core-daemon service before removing the package. 2016-01-29 13:39:24 -05:00
Tom Goff
23fc5d7494 build: Cleanup related to including revision info in distributions. 2016-01-29 13:34:27 -05:00
Rod A Santiago
e8cf15fb64 assigned specific xml element types to network nested devices (switches and hubs) instead of the generic 'host' type 2016-01-28 15:37:52 -08:00
Tom Goff
af885e156e build: Include revision information in distributions. 2016-01-26 17:01:23 -05:00
Tom Goff
a09bbd9151 Fix typo. 2016-01-06 14:03:17 -05:00
Tom Goff
21acc624e1 Add support for an optional version suffix string. 2016-01-06 13:42:39 -05:00
Tom Goff
1787d9e42c services: Add a terminating newline. 2016-01-06 13:42:17 -05:00
Tom Goff
18039a2564 daemon: Add a logrotate configuration file. 2015-12-29 13:50:28 -05:00
Tom Goff
52e75bea3b daemon: Add support for log file rotation when SIGUSR1 is received. 2015-12-29 13:50:18 -05:00
Tom Goff
b84c565329 daemon: Catch additional signals that terminate the process by default. 2015-12-29 13:50:05 -05:00
Tom Goff
47a5e75d1c packaging/rpm: Use the RPM_OPT_FLAGS environment variable when setting
CFLAGS.
2015-12-29 11:15:08 -05:00
Tom Goff
5a515fc94a packaging/rpm: Update installed files. 2015-12-29 10:43:47 -05:00
Tom Goff
26acee9f2a doc: Minor changes related to generating icon image files. 2015-12-28 18:13:22 -05:00
Tom Goff
54a5805018 autoconf: Have automake use the ustar format when generating tarballs. 2015-12-28 15:17:03 -05:00
Tom Goff
a730ddbc63 doc: Some Makefile improvements. 2015-12-28 15:17:03 -05:00
Tom Goff
ccf0dae139 automake: Add some missing distribution files. 2015-12-28 14:56:00 -05:00
Tom Goff
9440a16ef2 daemon: Add support for EMANE 0.9.3. 2015-12-18 17:12:26 -05:00
Tom Goff
ac6adbf0c5 scripts: Update the core-daemon systemd service configuration. 2015-12-15 21:05:24 +00:00
Tom Goff
ce0bfc88eb daemon: Improve handling node-specific directory names. 2015-11-23 09:51:07 -05:00
Tom Goff
a83cf2fcb4 Set the version date string from repository information if available,
otherwise use the current date.
2015-11-18 10:58:51 -05:00
Tom Goff
4b7d6a5d5a Improve generating version strings when versions are not tagged. 2015-11-13 18:44:53 -05:00
Tom Goff
adbbafcc11 services: Set 'default' sysctl interface settings in addition to 'all'. 2015-11-12 18:22:41 -05:00
Tom Goff
c54e8928d3 Include revision information in non-release version strings, if available. 2015-11-09 15:42:02 -05:00
Tom Goff
28c27d27c1 daemon: Simplify event loop timer processing. 2015-11-05 12:37:48 -05:00
Tom Goff
c8d5ec994a daemon: Include stack trace information when an exception occurs in a
session state hook.
2015-11-04 19:06:33 -05:00
Tom Goff
fc9a7c5759 daemon: Fix adding events to an event loop that already has an event
pending.
2015-11-04 19:02:21 -05:00
Tom Goff
57145930be packaging: Add xterm as a core-gui dependency. 2015-11-04 18:48:43 -05:00
Tom Goff
f16f11c272 daemon: Check if devices are found when generating deployed scenario XML. 2015-10-13 11:07:15 -04:00
Tom Goff
ec5635c4a4 daemon: Add EMANE 0.9.1 R2RI configuration items. 2015-10-09 17:18:18 -04:00
weston
412f86ff15 removed specification of path for executable 2015-10-09 15:54:52 -04:00
weston
0b94aab4ae removed specification of default mgenBasicActor port (to allow default to be changed by mgenBasicActor) 2015-10-09 15:54:28 -04:00
Tom Goff
3a13b8c92d daemon: Use Emane.version directly instead of checking if EventService
exists.
2015-10-09 13:51:04 -04:00
Tom Goff
026f54d658 daemon: Assign version variables to the Emane class instead of
instances.
2015-10-09 13:50:59 -04:00
Tom Goff
63ff54243e daemon: Add an example script that generates skeleton CORE bindings
from EMANE model manifest files.
2015-10-09 13:50:54 -04:00
Tom Goff
1c8c9ce6ea daemon: Make generation of EMANE location events explicitly configurable. 2015-10-09 13:50:50 -04:00
Tom Goff
04e934c93c daemon: Prefer using Session.getcfgitem() instead of direct access. 2015-10-09 13:50:45 -04:00
Tom Goff
e24bc9f3b9 daemon: Fix support for multiple session state hooks. 2015-10-09 13:50:39 -04:00
Jeff Ahrenholz
c37627b67a Merge pull request #70 from stuartmarsden/pythondaemonexample
Add an example which can run on the daemon when run as a standard user.
2015-09-30 20:47:18 -07:00
Tom Goff
ac19cfa7ff daemon: Add a startup service.
When enabled, the startup service ensures that other node services
start in order (according to the service _startindex value) and that
the prior service completes before the next service starts.  It also
captures any output from startup commands in a file named
'startup.log'.
2015-09-11 18:12:57 -04:00
Tom Goff
2c8744f14e Revert "daemon: Use a master script to start node services."
This reverts commit 15adf81954.
2015-09-11 18:12:49 -04:00
Tom Goff
15adf81954 daemon: Use a master script to start node services.
This helps starting services with dependencies by running service
start commands serially.
2015-08-31 11:31:57 -04:00
Tom Goff
002f9aee76 fixed adj widget to use node names instead of node id which would cause a crash if the names were changed using olsrv1/olsrv2
From: dean
2015-08-28 17:54:22 -04:00