Compare commits
10 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
d8ed89971b | ||
|
|
a537bd7abb | ||
|
|
a13f2b91b2 | ||
|
|
b5a7222fe0 | ||
|
|
ace8dfdaae | ||
|
|
7056107725 | ||
|
|
5df511e9e4 | ||
|
|
60ede6b687 | ||
|
|
c2f2533db0 | ||
|
|
e627ad4804 |
135
ChangeLog
135
ChangeLog
@@ -1,3 +1,79 @@
|
||||
commit a537bd7abb8d3d1841635c78f9163e6d1abad0ba
|
||||
Author: William Hubbs <w.d.hubbs@gmail.com>
|
||||
Commit: William Hubbs <w.d.hubbs@gmail.com>
|
||||
|
||||
init.d/sysfs: load efivarfs module when booting in efi mode
|
||||
|
||||
The presence of /sys/firmware/efi is used to indicate that the system
|
||||
was booted in efi mode.
|
||||
|
||||
commit a13f2b91b2e5337d659844be19fd302a0f21b288
|
||||
Author: William Hubbs <w.d.hubbs@gmail.com>
|
||||
Commit: William Hubbs <w.d.hubbs@gmail.com>
|
||||
|
||||
init.d/sysfs: fix efivarfs module test
|
||||
|
||||
commit b5a7222fe062c691ba5d05d27195eeb646c90b86
|
||||
Author: William Hubbs <w.d.hubbs@gmail.com>
|
||||
Commit: William Hubbs <w.d.hubbs@gmail.com>
|
||||
|
||||
init.d/sysfs: fix efivarfs handling
|
||||
|
||||
Separate loading the module, if it isn't built in or loaded, from
|
||||
mounting the file system.
|
||||
|
||||
This also makes sure the warning about configuring the module in
|
||||
/etc/conf.d/modules or building it in is displayed only if it is loaded
|
||||
successfully.
|
||||
|
||||
X-Gentoo-Bug: 595836
|
||||
X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=595836
|
||||
|
||||
commit ace8dfdaae24f49a7397f72550b09543025c2173
|
||||
Author: William Hubbs <w.d.hubbs@gmail.com>
|
||||
Commit: William Hubbs <w.d.hubbs@gmail.com>
|
||||
|
||||
version 0.22.2
|
||||
|
||||
commit 70561077250e7684d14203d3ed1c2c9f0bad2380
|
||||
Author: William Hubbs <w.d.hubbs@gmail.com>
|
||||
Commit: William Hubbs <w.d.hubbs@gmail.com>
|
||||
|
||||
Update ChangeLog
|
||||
|
||||
commit 5df511e9e435726e6c16698eae7fda0960d7c021
|
||||
Author: Doug Freed <dwfreed@mtu.edu>
|
||||
Commit: Doug Freed <dwfreed@mtu.edu>
|
||||
|
||||
openrc-run: fix double free
|
||||
|
||||
commit 60ede6b687590282fab7fd7a7aa38a3c7c9958d7
|
||||
Author: Doug Freed <dwfreed@mtu.edu>
|
||||
Commit: William Hubbs <w.d.hubbs@gmail.com>
|
||||
|
||||
init.d: Clean up some bad ewarn output
|
||||
|
||||
commit c2f2533db07ff346c5a5ade987c43a526f805341
|
||||
Author: William Hubbs <w.d.hubbs@gmail.com>
|
||||
Commit: William Hubbs <w.d.hubbs@gmail.com>
|
||||
|
||||
typo fix
|
||||
|
||||
X-Gentoo-Bug: 595306
|
||||
X-Gentoo-Bug: https://bugs.gentoo.org/show_bug.cgi?id=595306
|
||||
|
||||
commit e627ad48040437be8a5242ea4a418a0eeca95306
|
||||
Author: William Hubbs <w.d.hubbs@gmail.com>
|
||||
Commit: William Hubbs <w.d.hubbs@gmail.com>
|
||||
|
||||
version 0.22.1
|
||||
|
||||
commit b71bcc242202752bc74fce3a5c629f172b04fca5
|
||||
Author: William Hubbs <w.d.hubbs@gmail.com>
|
||||
Commit: William Hubbs <w.d.hubbs@gmail.com>
|
||||
|
||||
update ChangeLog
|
||||
|
||||
commit 24010dcb483cf7284cd8a5db111ae63f0d4e1038
|
||||
Author: William Hubbs <w.d.hubbs@gmail.com>
|
||||
Commit: William Hubbs <w.d.hubbs@gmail.com>
|
||||
@@ -1480,62 +1556,3 @@ Commit: William Hubbs <w.d.hubbs@gmail.com>
|
||||
|
||||
X-Gentoo-Bug: 562354
|
||||
X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=562354
|
||||
|
||||
commit bf0c0dd5644436efe4986c2b259b755d111266b9
|
||||
Author: William Hubbs <w.d.hubbs@gmail.com>
|
||||
Commit: William Hubbs <w.d.hubbs@gmail.com>
|
||||
|
||||
bootmisc: convert errors in clean_run function to warnings
|
||||
|
||||
X-Gentoo-Bug: 552418
|
||||
X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=552418
|
||||
|
||||
commit 1558ad2b9ebf319b85876a940d31d513bf21324f
|
||||
Author: William Hubbs <w.d.hubbs@gmail.com>
|
||||
Commit: William Hubbs <w.d.hubbs@gmail.com>
|
||||
|
||||
bootmisc: only remove temp directory if umount is successful
|
||||
|
||||
Change the clean_run function to only remove the temp directory if the
|
||||
umount was successful.
|
||||
|
||||
X-Gentoo-Bug: 561230
|
||||
X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=561230
|
||||
|
||||
commit 5f4f2420364098835522da868a9e75205c9e4f9c
|
||||
Author: William Hubbs <w.d.hubbs@gmail.com>
|
||||
Commit: William Hubbs <w.d.hubbs@gmail.com>
|
||||
|
||||
mountinfo: fix --netdev and --nonetdev on Linux
|
||||
|
||||
On Linux, the --netdev and --nonetdev switches were not working. They
|
||||
were both returning false. After this change, they operate based on the
|
||||
presence or abscence of the _netdev option in mount options.
|
||||
|
||||
commit b3f7ff901f7d3ed00b9f73c601193ac507f62eaf
|
||||
Author: William Hubbs <w.d.hubbs@gmail.com>
|
||||
Commit: William Hubbs <w.d.hubbs@gmail.com>
|
||||
|
||||
mountinfo: read /proc/self/mounts instead of /proc/mounts on Linux
|
||||
|
||||
commit a59365a582c3a8c9a8b863b572fddcb65fccadfd
|
||||
Author: William Hubbs <w.d.hubbs@gmail.com>
|
||||
Commit: William Hubbs <w.d.hubbs@gmail.com>
|
||||
|
||||
start-stop-daemon.sh: complain in start if command is undefined
|
||||
|
||||
The default start-stop-daemon start function expects the command
|
||||
variable to be defined to point to the daemon we want to start.
|
||||
|
||||
If the variable is undefined, this means that there will be nothing to
|
||||
start, and in this case we should complain because it is possible that
|
||||
the script writer made a typo in the variable name.
|
||||
|
||||
commit dac5966ca40610797d2b2aabef17154ca3dc20af
|
||||
Author: William Hubbs <w.d.hubbs@gmail.com>
|
||||
Commit: William Hubbs <w.d.hubbs@gmail.com>
|
||||
|
||||
Revert "local/netmount: remove uses of -O [no]_netdev"
|
||||
|
||||
This reverts commit 2a439c85bd69efc14847b4397bd6783cac051405.
|
||||
There is another use case for -O involving iscsi, so we can't remove it.
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
NAME= openrc
|
||||
VERSION= 0.22
|
||||
VERSION= 0.22.2
|
||||
PKG= ${NAME}-${VERSION}
|
||||
|
||||
@@ -239,7 +239,7 @@ rc_tty_number=12
|
||||
# Set the pids controller settings for this service.
|
||||
#rc_cgroup_pids=""
|
||||
|
||||
# Set this to YES if yu want all of the processes in a service's cgroup
|
||||
# Set this to YES if you want all of the processes in a service's cgroup
|
||||
# killed when the service is stopped or restarted.
|
||||
# This should not be set globally because it kills all of the service's
|
||||
# child processes, and most of the time this is undesirable. Please set
|
||||
|
||||
@@ -106,8 +106,8 @@ start()
|
||||
modprobe -q $x && rtc_exists && modname="$x" && break
|
||||
done
|
||||
[ -n "$modname" ] &&
|
||||
ewarn "The $modname module needs to be configured in \
|
||||
@SYSCONFDIR@/conf.d/modules or built in."
|
||||
ewarn "The $modname module needs to be configured in" \
|
||||
"@SYSCONFDIR@/conf.d/modules or built in."
|
||||
fi
|
||||
fi
|
||||
|
||||
|
||||
@@ -99,8 +99,8 @@ stop()
|
||||
aufs_branch=$(sed 's/=.*//g' $x)
|
||||
eindent
|
||||
if ! mount -o "remount,del:$aufs_branch" "$aufs_mount_point" > /dev/null 2>&1; then
|
||||
ewarn "Failed to remove branch $aufs_branch from aufs \
|
||||
$aufs_mount_point"
|
||||
ewarn "Failed to remove branch $aufs_branch from aufs" \
|
||||
"$aufs_mount_point"
|
||||
fi
|
||||
eoutdent
|
||||
sync
|
||||
|
||||
@@ -26,8 +26,8 @@ start()
|
||||
[ ! -e /proc/sys/fs/binfmt_misc/register ]; then
|
||||
if ! grep -qs binfmt_misc /proc/filesystems &&
|
||||
modprobe -q binfmt-misc; then
|
||||
ewarn "The binfmt-misc module needs to be configured in \
|
||||
@SYSCONFDIR@/conf.d/modules or built in."
|
||||
ewarn "The binfmt-misc module needs to be configured in" \
|
||||
"@SYSCONFDIR@/conf.d/modules or built in."
|
||||
fi
|
||||
if grep -qs binfmt_misc /proc/filesystems; then
|
||||
ebegin "Mounting misc binary format filesystem"
|
||||
|
||||
@@ -98,15 +98,17 @@ mount_misc()
|
||||
fi
|
||||
fi
|
||||
|
||||
# setup up kernel support for efivarfs
|
||||
# slightly complicated, as if it's build as a module but NOT yet loaded,
|
||||
# it will NOT appear in /proc/filesystems yet
|
||||
if [ -d /sys/firmware/efi/efivars ] \
|
||||
&& ! mountinfo -q /sys/firmware/efi/efivars; then
|
||||
if modprobe -q efivarfs; then
|
||||
ewarn "The efivarfs module needs to be configured in \
|
||||
@SYSCONFDIR@/conf.d/modules or built in"
|
||||
# set up kernel support for efivarfs
|
||||
# The presence of /sys/firmware/efi indicates that the system was
|
||||
# booted in efi mode.
|
||||
if [ -d /sys/firmware/efi ]; then
|
||||
if [ ! -d /sys/firmware/efi/efivars ] &&
|
||||
modprobe -q efivarfs; then
|
||||
ewarn "The efivarfs module needs to be configured in " \
|
||||
"@SYSCONFDIR@/conf.d/modules or built in"
|
||||
fi
|
||||
if [ -d /sys/firmware/efi/efivars ] &&
|
||||
! mountinfo -q /sys/firmware/efi/efivars; then
|
||||
if grep -qs efivarfs /proc/filesystems; then
|
||||
ebegin "Mounting efivarfs filesystem"
|
||||
mount -n -t efivarfs -o ${sysfs_opts} \
|
||||
@@ -114,6 +116,7 @@ mount_misc()
|
||||
eend $?
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
mount_cgroups()
|
||||
|
||||
@@ -1344,6 +1344,7 @@ int main(int argc, char **argv)
|
||||
applet_list,
|
||||
runlevel, depoptions);
|
||||
rc_stringlist_free(tmplist);
|
||||
tmplist = NULL;
|
||||
TAILQ_FOREACH(svc, services, entries)
|
||||
printf("%s ", svc->value);
|
||||
printf ("\n");
|
||||
|
||||
Reference in New Issue
Block a user