Re: dhcpcd-9.0.0 released
Julian Wollrath
Wed Apr 08 20:05:10 2020
Hi,
> >> I wonder if it's fixable though. Does this fix it?
> >> mkdir -p /var/lib/dhcpcd/run/systemd/journal
> >> mount --bind /run/systemd/journal
> >> /var/lib/dhcpcd/run/systemd/journal Does it work then?
> >
> > yes, that does the trick. Thank you!
>
> Nice!
>
> Does this patch fix it! Please remove the prior patch to ensure it
> works.
that also does the trick, thank you!
Julian
>
> diff --git a/hooks/00-linux b/hooks/00-linux
> index b3bf1f50..f2a09213 100644
> --- a/hooks/00-linux
> +++ b/hooks/00-linux
> @@ -1,7 +1,13 @@
> # setup chroot mounts
>
> if [ "$reason" = CHROOT ] && [ -n "$chroot" ]; then
> - for d in /dev /proc /sys /run/udev; do
> + # Special case /dev/log
> + if [ -h /dev/log ]; then
> + devlogdir=$(dirname $(readlink /dev/log))
> + else
> + devlogdir=
> + fi
> + for d in /dev /proc /sys /run/udev $devlogdir; do
> [ -d "$d" ] || continue
> if ! mountpoint -q "$chroot$d"; then
> mkdir -p "$chroot$d"
--
() ascii ribbon campaign - against html e-mail
/\ - against proprietary attachments
Archive administrator: postmaster@marples.name