summaryrefslogtreecommitdiff
path: root/package/system/procd
AgeCommit message (Collapse)Author
2013-12-18procd: fix service file trackingjow
The instance_config_move() function in the procd instance managing code is missing a blobmsg_list_move() call to update the tracked file items with the newly calculated checksums in case of a file change. Without that change, services are always reloaded after the first change to a tracked file regardless of whether there are any subsequent changes or not. Add a missing instance of blobmsg_list_free() as well. Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39132 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-12-09procd: update procd, add ulimit supportblogic
Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39023 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-12-09netifd: enable coredumps againblogic
got broken due procd startup. Requires procd resource limit patch. Signed-off-by: Ulrich Weber <uw@xyne.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39020 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-11-28procd: fix processing of datatype specification with spacesjow
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38935 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-11-25base-files: allow users to delect debug level during bootblogic
Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38909 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-11-25procd: update procd.sh to make use of the new validate_data toolblogic
Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38908 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-11-20procd: fix the running hook #38868blogic
Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38885 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-11-19libubox: ubox: procd: move md5.{c,h} to libuboxblogic
Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38870 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-11-19procd: update to latest git headblogic
* fix up the order of respawn parameters for ubus * add a event broadcast function * add debug level handover between preinit and main process * make the service running trigger be queued directly after the service was startetd * Allow process respawning forever Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38868 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-11-19procd: emit tty events for ttyUSB* even when they come from the usb-serial ↵nbd
subsystem Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38862 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-11-16procd: ubox: update to latest git headblogic
move log service from procd to ubox some debloating on procd the preinit part of procd is now also a seperate binary Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38822 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-11-13procd: remove obselete script install referenceblogic
Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38790 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-11-13procd: options with default values are not parsed properly in the ubus ↵blogic
register code Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38788 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-11-13procd: update to latest git headblogic
this includes the first wip version of the uci validation backend Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38786 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-11-10procd: reduce the number of unnecessary calls to /sbin/hotplug-call for tty ↵nbd
devices Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38705 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-11-08procd: update to latest git headblogic
make sure that automatic respawning is turned off during upgrade Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38695 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-10-24procd: update to latest git headblogic
Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38529 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-10-09procd: fix command handling in procd_add_instance()nbd
Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38350 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-10-01procd: fix incorrect use of sizeof() in vsnprintf()jow
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38268 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-30procd: update to latest git headblogic
this fixes the syslog problem when using eglibc on x86. Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38267 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-23[package] fix various init scriptsluka
Changes include: * removing unused variables * replacing spaces with tabs where appropriate * more consistency with variable declarations Signed-off-by: Luka Perkov <luka@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38142 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-17procd: convert various packages to procd style init.d scriptsblogic
Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38023 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-17procd: update to latest git headblogic
Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38022 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-10procd: update to latest version, adds udevtrigger improvements by juhosgnbd
Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37925 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-08-16procd: update to git headjow
- terminates uloop after forking in service manager - redirects stdio to /dev/null for services executed from procd git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37799 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-08-15procd: update to git headjow
- terminates uloop after forking in hotplug handler - redirects stdio to /dev/null for processes executed from hotplug git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37792 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-07-23update ubox and procd to latest git revisionblogic
Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37516 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-07-22procd: ensure the log_proto has udp default value in log.initjow
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37508 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-07-22procd: update to latest git headblogic
Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37504 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-07-22procd: default to udp log protocol to keep backwards compat with busyboxjow
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37496 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-07-19procd: improve early console handlingjuhosg
The malta target is broken since procd is used as init. The initramfs image boots fine, however the console is not working. Improve the early console handling to fix the problem. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37451 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-07-15procd: make old button hotplug rules work until all packages are migratedblogic
Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37336 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-07-14procd: update to latest git revisionblogic
* improves logread over net code Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37313 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-07-11procd: update to latest git revisionblogic
this fixes a regression in the watchdog init code Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37259 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-07-11procd: make the log port default to 514 if none is specifiedblogic
Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37257 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-07-11procd: update to latest git versionblogic
Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37250 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-07-11procd: add proto and trigger support to the /etc/init.d/logblogic
Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37249 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-07-11procd: add a small script that handles config reloads until configd is readyblogic
Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37248 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-07-11procd: the delete ubus call was passed the wrong field name for servicesblogic
Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37247 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-07-08procd: update to latest git revisionblogic
Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37206 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-07-08procd: remove obseleted procd.init fileblogic
Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37205 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-07-04procd: bump to latest git revisionblogic
Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37158 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-07-04procd: extend shell binding with trigger supportblogic
Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37157 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-28procd: update to latest git revisionblogic
* fix ubus reconnect handling * set global mask 0 * add respawn support Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37056 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-21packages: clean up the package folderblogic
Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37007 3c298f89-4303-0410-b956-a3cf2f4a3e73