aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2021-09-21move rc_bindir and rc_sbindir definitions to the top levelWilliam Hubbs
2021-09-21build: fix rootprefixWilliam Hubbs
This fixes #438.
2021-09-18link runscript with auditWilliam Hubbs
2021-09-18link openrc-run with audit and libpam_miscWilliam Hubbs
2021-09-15fix agetty can be start directlyhosxy
This fixes #320.
2021-09-15hide error when migrating /var/run to /runNatanael Copa
The script tries to copy non-existing files. We simply hide the error http://bugs.alpinelinux.org/issues/3160 This fixes #451.
2021-09-14force root to be rw before localmountNatanael Copa
The original service that pulled in root remount was mtab which is not part of OpenRC. This fixes #449.
2021-09-11[runit integration] give a bit of time to start the serviceAaditya Bagga
Currently, we run sv start immediately after linking the service. The runsv process may not be up at the moment, as a result of which openrc will mark the service as stopped, even though it may be brought up by runit at the next scan. This is documented in the gentoo wiki: https://wiki.gentoo.org/wiki/Runit#OpenRC.27s_runit_integration_feature This PR adds a timeout so that correct process state can be reported. Before: * Starting netdata-runit ... fail: /run/openrc/sv/netdata: runsv not running * Failed to start netdata-runit After: * Starting netdata-runit ... fail: /run/openrc/sv/netdata: runsv not running ok: run: /run/openrc/sv/netdata: (pid 9042) 0s This fixes #253.
2021-09-09Fix undeclared UT_LINESIZEJakub Jirutka
Fix the following error: broadcast.c:41:21: error: '__UT_LINESIZE' undeclared (first use in this function); did you mean 'UT_LINESIZE'? #define UT_LINESIZE __UT_LINESIZE ^~~~~~~~~~ Constant UT_LINESIZE is defined in <utmp.h> provided by musl.
2021-09-09rc-mount: make timeout invocation compatible with busybox timeoutSören Tempel
Busybox timeout does not support the `-k` flag. As such, invoking fuser from do_unmount never worked without this patch. This went unnoticed as standard error is redirected to /dev/null. This patch fixes this by simply removing the incompatible `-k` flag. [Ariadne: the `-k` is redundant anyway, since we are sending the KILL signal to begin with.]
2021-09-09fix build under musl 1.2 on 32 bit systemsAriadne Conill
Since musl 1.2 time_t is a 64 bit value, even on 32 bit systems. A hotfix for printing the value is simply using PRIu64 from inttypes.h in the format string. This fixes #446.
2021-09-09fix trailing whitespace in tools/meson_runlevels.shAriadne Conill
2021-09-09meson: fix symlinks with sysvinitartoo
2021-09-08build: install pam filesWilliam Hubbs
2021-09-08meson: typo fixWilliam Hubbs
2021-09-08build: fix sysvinit script installationWilliam Hubbs
2021-09-08build: fix symlinksWilliam Hubbs
2021-09-07version 0.44William Hubbs
2021-09-07update ChangeLogWilliam Hubbs
2021-09-07update READMEWilliam Hubbs
2021-09-07news typo fixWilliam Hubbs
2021-09-07add discussion about removing old build system to NEWSWilliam Hubbs
2021-09-07update NEWSWilliam Hubbs
2021-09-07build: install bash and zsh completionsWilliam Hubbs
2021-09-06build: fix libexecdirWilliam Hubbs
2021-09-06tools/meson_final.sh: typo fixWilliam Hubbs
2021-09-06build: typo fixWilliam Hubbs
2021-09-06build: add split-usr optionWilliam Hubbs
2021-09-06build: change root_prefix to rootprefixWilliam Hubbs
2021-09-05sync meson build version with makefilesWilliam Hubbs
2021-09-04add meson build filesWilliam Hubbs
Closes #116. Closes #171. Closes #172. Closes #175.
2021-09-04README: add note about github discussionsWilliam Hubbs
2021-08-17supervise-daemon: implement SSD_IONICELEVELMatt Whitlock
supervise-daemon was apparently overlooked when support for the SSD_IONICELEVEL environment variable was added. This commit brings supervise-daemon up to parity with start-stop-daemon with respect to this environment variable.
2021-08-14update travis ci irc notificationsWilliam Hubbs
- move to libera network - always notify on successful build
2021-08-13man/supervise-daemon.8: document --pidfile optionWilliam Hubbs
2021-08-13on_ac_power: support multiple power_supply devices in sysfsSven Wegener
Newer devices have multiple power_supply devices in sysfs: $ grep ^ /sys/class/power_supply/*/type /sys/class/power_supply/AC/type:Mains /sys/class/power_supply/BAT0/type:Battery /sys/class/power_supply/ucsi-source-psy-USBC000:001/type:USB /sys/class/power_supply/ucsi-source-psy-USBC000:002/type:USB There are two "USB" Type-C ports than can supply power and both are aggregated into the "Mains" power supply by the firmware. The "Battery" also counts as a power supply, but is missing the online attribute. The -f check with a wildcard pattern results in an error, when multiple devices are present: /lib/rc/bin/on_ac_power: line 21: [: too many arguments When the power_supply class is registered, check for a "Mains" device. Fixes #427.
2021-08-13conf.d/hostname: clarify hostname variable usageAlex Xu
https://gitlab.alpinelinux.org/alpine/aports/-/issues/9744 This fixes #433.
2021-08-13move supervise-daemon out of experimental statuskyoreln
supervise-daemon is no longer experimental so remove the statements to that affect. This fixes #434.
2021-08-13Revert "openrc-init: ignore an empty string in argv[1]"William Hubbs
This reverts commit dec9ef200b0d7e96993e2725792a9e7abe9c5f1f. This check is no longer needed since rc_runlevel_exists() is fixed. X-Gentoo-Bug: 803536 X-Gentoo-Bug-URL: https://bugs.gentoo.org/803536 Closes: https://github.com/OpenRC/openrc/pull/431
2021-08-13librc: fix rc_runlevel_exists return for empty stringWilliam Hubbs
This function should return false if the runlevel is an empty string. X-Gentoo-Bug: 803536 X-Gentoo-Bug-URL: https://bugs.gentoo.org/803536 Closes: https://github.com/OpenRC/openrc/pull/431
2021-08-12openrc-init: ignore an empty string in argv[1]Mike Gilbert
X-Gentoo-Bug: 803536 X-Gentoo-Bug-URL: https://bugs.gentoo.org/803536 Closes: https://github.com/OpenRC/openrc/pull/431
2021-08-12sh/rc-cgroup.sh: fix case in starting messageWilliam Hubbs
X-Gentoo-Bug: 804193 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=804193
2021-08-12sh/rc-cgroup.sh: fix cgroup_cleanupWilliam Hubbs
X-Gentoo-Bug: 804193 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=804193
2021-05-23move the irc channel to the libera networkWilliam Hubbs
2021-05-12init.d/modules.in: Avoid loading modules twice in Linux with dash shellLars Wendler
Since commit 6b475ab26992f1dd8815700828df46abc4b71d27, openrc tries to load modules twice which have been defined in /etc/conf.d/modules via modules= variable when /bin/sh points to dash shell. The reason is that when the "modules-load" service was merged into "modules" service, the "modules" variable name got used in both, load_modules() function and in Linux_modules() function which both get called when modules service is started. Although "modules" variable is marked as local in load_modules(), dash simply ignores this. Avoid the issue by renaming "modules" variable to "_modules" in load_modules() function. This fixes #419.
2021-04-15checkpath: fix code to walk the directory pathWilliam Hubbs
X-Gentoo-Bug: 782808 X-Gentoo-Bug-URL: https://bugs.gentoo.org/782808
2021-04-13checkpath: remove extra slashes from pathsWilliam Hubbs
This fixes #418.
2021-04-13style fixWilliam Hubbs
2021-04-04cgroup2_set_limits: fix harmless error messageWilliam Hubbs
In legacy cgroups mode, we were running `mountinfo -q ""` which was generating an error message. If we return immediately when cgroup2_find_path returns an empty value, we avoid this message.
2021-04-03NEWNET.md: fix the titleWilliam Hubbs