aboutsummaryrefslogtreecommitdiffstats
path: root/package/system/ubox
Commit message (Collapse)AuthorAgeFilesLines
* ubox: fix init script validation of log_ip optionJo-Philipp Wich2021-05-282-2/+2
| | | | | | | | | The underlying logread process uses usock() to handle remote connections which is able to handle both hostnames and IP addresses. Ref: https://github.com/openwrt/luci/issues/5077 Signed-off-by: Jo-Philipp Wich <jo@mein.io> (cherry picked from commit ec83fb9ced138b7945135adffb9ff0ba63b695ec)
* ubox: run logd non-root as user logdDaniel Golle2020-10-251-4/+5
| | | | Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* ubox: add ALTERNATIVESHuangbin Zhan2020-06-261-7/+7
| | | | | | This avoids a conflict with the kmod util from the package feed. Signed-off-by: Huangbin Zhan <zhanhb88@gmail.com>
* ubox: update to version 2019-12-31Hans Dedecker2019-12-311-3/+3
| | | | | | 0e34af1 kmodloader: added -a arg to modprobe Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
* ubox: update to latest git HEADHans Dedecker2019-12-281-3/+3
| | | | | | | | b30e0df kmodloader: print an error when no kernel module dir can be found 17689b6 logread: add option to filter for facilities c9ffeac kmodloader: added -v arg to modeprobe Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
* netifd,lldpd,rpcd,log: use generic service_runningPetr Štetiar2019-09-151-4/+0
| | | | | | | | | | | | | | | | | | commit eb204d14f75c ("base-files: implement generic service_running") introduced generic service_running so it's not needed to copy&paste same 3 lines over and over again. I've removed service_running from netifd/network init script as well, because it was not working properly, looked quite strange and I didn't understand the intention: $ /etc/init.d/network stop $ service network running && echo "yes" || echo "nope" ( have to wait for 30s ) Command failed: Request timed out yes Signed-off-by: Petr Štetiar <ynezz@true.cz>
* ubox: implement service_running() in log init.d scriptRafał Miłecki2019-07-152-1/+5
| | | | | | It allows checking if service is running. Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* ubox: bump to git HEADHauke Mehrtens2019-06-161-3/+3
| | | | | | 4df34a4 kmodloader: Increase path array size to make it always fit Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* ubox: move getrandom into separate getrandom packagePetr Štetiar2019-06-111-3/+14
| | | | | | | So it's possible to install or remove it as needed. Tested-by: Lucian Cristian <lucian.cristian@gmail.com> Signed-off-by: Petr Štetiar <ynezz@true.cz>
* ubox: bump to git HEADStijn Tintel2019-04-071-3/+3
| | | | | | 5130fa4 kmodloader: fix and optimize loading of failed modules Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
* ubox: update to latest git HEADHauke Mehrtens2019-03-211-3/+3
| | | | | | a782779 kmodloader: increase module name length Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* procd: Add wrapper for uci_validate_section()Jeffery To2019-01-221-11/+7
| | | | | | | | | | | | | | | | | This adds a wrapper (uci_load_validate) for uci_validate_section() that allows callers (through a callback function) to access the values set by uci_validate_section(), without having to manually declare a (potentially long) list of local variables. The callback function receives two arguments when called, the config section name and the return value of uci_validate_section(). If no callback function is given, then the wrapper exits with the value returned by uci_validate_section(). This also updates several init scripts to use the new wrapper function. Signed-off-by: Jeffery To <jeffery.to@gmail.com>
* ubox: bump to git HEADStijn Tintel2018-12-181-4/+4
| | | | | | 876c7f5 kmodloader: load_modprobe: abort after 2 attempts Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
* logd: create log directory for log_fileKarl Palsson2018-06-072-1/+3
| | | | | | | If log_file is specified, make sure its directory exists. Signed-off-by: Karl Palsson <karlp@etactica.com> Signed-off-by: Hans Dedecker <dedeckeh@gmail.com> [PKG_RELEASE increase]
* ubox: fix PKG_MIRROR_HASHJohn Crispin2018-02-201-1/+1
| | | | Signed-off-by: John Crispin <john@phrozen.org>
* ubox: update to latest git HEADJohn Crispin2018-02-142-3/+3
| | | | | | | | | | 128bc35 logread: fix reconnect logd logic 66347ec logread: move the code setting up the request blob out of the main loop 975a258 logread: move output connection setup code out of main loop b81bea7 logread: cleanup pid file handling d73e7d2 ubox: Replace strerror(errno) with %m format. Signed-off-by: John Crispin <john@phrozen.org>
* ubox: update to latest git HEADHans Dedecker2018-01-171-3/+3
| | | | | | e7a63fb ubox: Remove unnecessary memset calls Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
* treewide: replace LEDE_GIT with PROJECT_GITJo-Philipp Wich2018-01-101-1/+1
| | | | | | | Remove LEDE_GIT references in favor to the new name-agnostic PROJECT_GIT variable. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* ubox: update to the latest version, fixes syslog issuesFelix Fietkau2017-11-061-3/+3
| | | | | | | | | | | | | | 7a49632 logd: use uloop instead of ustream_fd for syslog 69d6542 logd: only create pipe in stream mode df30c8c logread: terminate after EOF bdcacad logd: implement oneshot mode for stream log read 4a10d4e logread: use oneshot mode without -f, wait for logd to close ea3d7fa logd: enforce line length limit for ubus based log messages as well 960a29d logread: remove leftover debug code a081904 logread: fix line buffer size 2c0d9cf logd: move stripping of newlines to log_add() Signed-off-by: Felix Fietkau <nbd@nbd.name>
* ubox: update to latest git HEADJohn Crispin2017-11-061-3/+3
| | | | | | | da5b8b4 log/syslog: Add missing static to two structs. dd61c9f ubox: Replace { 0 } with {}. Signed-off-by: John Crispin <john@phrozen.org>
* ubox: update to git HEAD versionHans Dedecker2017-09-011-3/+3
| | | | | | | | | | | | | | b1bc8d5 kmodloader: log error message in case of out of memory f346111 kmodloader: lift restriction on module alias info f1ef2c3 kmodloader: fix possible segfaults 9cb63df kmodloader: fix endianess check 2cff779 kmodloader: Check module endian before loading d54f38a kmodloader/get_module_info: initialized aliases to make it more clean a0b6fef kmodloader: insmod: fix a memoryleak in error case 278c4c4 kmodloader/get_module_name: null-terminate the string 16f7e16 syslog: remove unnecessary sizeof struct between messages Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
* ubox: update to the latest versionFelix Fietkau2017-03-031-3/+3
| | | | | | 21a4bd0 kmodloader: modprobe: return 0 for loaded modules Signed-off-by: Felix Fietkau <nbd@nbd.name>
* ubox: fix possible address alignment issueYousong Zhou2017-02-241-3/+3
| | | | | | | | Fixes FS#544 3dc78a4 kmodloader: don't store aliases info in struct module Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
* ubox: update to the latest versionFelix Fietkau2017-02-211-3/+3
| | | | | | | | c553354 cmake: fix typo 8973576 kmodloader: fix not being able to find some modules fce9382 cmake: Check for getrandom system call Signed-off-by: Felix Fietkau <nbd@nbd.name>
* ubox: support quiet modprobe, support millisecond log timestamp accuracyJo-Philipp Wich2017-02-021-3/+3
| | | | | | | | | Update ubox to latest Git HEAD in order to import the following fixes: ac2d43e kmodloader: support '-q' quiet option f8d3d16 ubox: Add an option for more accurate timestamps in log Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* ubox: import kmodloader fixesJo-Philipp Wich2017-01-261-3/+3
| | | | | | | | | | | | | | | | Update ubox to latest Git head in order to import the following fixes: 14839f0 kmodloader: make insert_module() idempotent 6e3c6dc kmodloader: add module alias awareness 9371411 kmodloader: fix out-of-bound access when parsing .modinfo a62c946 kmodloader: modprobe: skip possible command line arguments 46a4b5f kmodloader: log to kmsg when loading directories of modules eacc426 kmodloader: remove redundant glob wildcard char 8488bb5 ubox: Initialize conditionally uninitialized variable db070f1 ubox: Fix some memory leaks acc48b5 kmodloader: Fix typo in error message Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* ubox: install kernel module utilities to /sbin directoryYousong Zhou2017-01-261-5/+5
| | | | | | | | This is how other Linux distributions are doing and kernel modprobe_path[] of request_module() also has a default value of /sbin/modprobe Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
* ubox: turn logd into a separate packageAndrej Vlasic2017-01-161-2/+14
| | | | | | | | Currently system log is always included as a part of ubox. Add logd as a seperate package and add it to default packages list. Signed-off-by: Andrej Vlasic <andrej.vlasic@sartura.hr> Signed-off-by: Luka Perkov <luka.perkov@sartura.hr>
* treewide: clean up and unify PKG_VERSION for git based downloadsFelix Fietkau2016-12-221-5/+3
| | | | | | Also use default defintions for PKG_SOURCE_SUBDIR, PKG_SOURCE Signed-off-by: Felix Fietkau <nbd@nbd.name>
* Revert mirror hash fixesFelix Fietkau2016-12-201-1/+1
| | | | | | | | | | They are based on obsolete download tarballs Revert "usign: fix mirror hash" (4f874423fd711e58aa43110918c923016615f22b) Revert "ubox: fix mirror hash" (9ee74b575305e8111fd3b1009ae183cf15e6d926) Revert "opkg: fix mirror hash" (bf6f4bfad12ded13ed9afcb886751cec24426257) Signed-off-by: Felix Fietkau <nbd@nbd.name>
* ubox: fix mirror hashJohn Crispin2016-12-201-1/+1
| | | | Signed-off-by: John Crispin <john@phrozen.org>
* treewide: clean up download hashesFelix Fietkau2016-12-161-1/+1
| | | | | | Replace *MD5SUM with *HASH, replace MD5 hashes with SHA256 Signed-off-by: Felix Fietkau <nbd@nbd.name>
* ubox: update to the latest versionFelix Fietkau2016-11-141-3/+3
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* source: Switch to xz for packages and tools where possibleDaniel Engberg2016-10-061-1/+2
| | | | | | | | | | | * Change git packages to xz * Update mirror checksums in packages where they are used * Change a few source tarballs to xz if available upstream * Remove unused lines in packages we're touching, requested by jow- and blogic * We're relying more on xz-utils so add official mirror as primary source, master site as secondary. * Add SHA256 checksums to multiple git tarball packages Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net>
* ubox: move logd into ubox packageFelix Fietkau2016-08-231-13/+1
| | | | | | Preparation for further build rework Signed-off-by: Felix Fietkau <nbd@nbd.name>
* ubox: fixes segfault inside kmodloaderJohn Crispin2016-08-181-2/+2
| | | | | | null pointer deref when no modules folder was present Signed-off-by: John Crispin <john@phrozen.org>
* ubox: update to the latest version, fixes lsmod outputFelix Fietkau2016-07-191-2/+2
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* ubox: update to latest git HEADJohn Crispin2016-07-021-2/+2
| | | | Signed-off-by: John Crispin <john@phrozen.org>
* ubox: update to latest git HEADJohn Crispin2016-06-131-3/+4
| | | | | | this adds the new getrandom wrapper tool Signed-off-by: John Crispin <john@phrozen.org>
* package/*: update git urls for project reposJohn Crispin2016-06-131-1/+1
| | | | Signed-off-by: John Crispin <john@phrozen.org>
* ubox: increase default size of system log buffer to 64 kBHannu Nyman2016-06-072-2/+2
| | | | | | | | Increase the default system log buffer size from 16 kB (default both in logd source and in the startup script) to 64 kB by adjusting the default value in startup script. Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
* global: change my email addressJohn Crispin2016-05-121-1/+1
| | | | Signed-off-by: John Crispin <john@phrozen.org>
* ubox: make logging code honour the hostname properlyJohn Crispin2016-05-101-2/+4
| | | | Signed-off-by: John Crispin <john@phrozen.org>
* ubox: turn logd into a separate packageblogic2016-05-101-3/+17
| | | | | | | | | Currently system log is always included as a part of ubox. Add logd as a seperate package and add it to default packages list. Signed-off-by: Andrej Vlasic <andrej.vlasic@sartura.hr> SVN-Revision: 49285
* ubox: update to the latest version, fixes an error on processing invalid modulesFelix Fietkau2016-03-071-2/+2
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 48952
* ubox: fix kmodloader resource leaks (#21826)Jo-Philipp Wich2016-02-091-1/+1
| | | | | | Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> SVN-Revision: 48686
* ubox: fix open() error handling (#21826)Jo-Philipp Wich2016-02-091-2/+2
| | | | | | Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> SVN-Revision: 48683
* ubox: move to git.openwrt.orgFelix Fietkau2016-01-041-1/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 48120
* ubox: update ubox to version 2015-11-22Hauke Mehrtens2015-11-221-3/+2
| | | | | | | | | This version fixes a potential uncontrolled format string problem. This makes it possible to activate the format security check. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 47600
* ubox: update to latest git HEADJohn Crispin2015-07-141-2/+2
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 46356