In some cases etcd is able to start before systemd-resolved has
populated the /etc/resolv.conf file. This commit addresses this by
adding a dependency on netowrk-online.target.
This will ensure that systemd-resolved finishes it's work before
etcd-member.service starts.
This syncs the ebuild with Gentoo, while preserving cros_workon and
cross-compiler targets. It also bumps the commit to include a fix
for a use-after-free issue.
We've always installed it in the session bus directory, which is
useless, since update_engine only communicates on the system bus. This
prevented bus activation from working. We can't fix bus activation now
because that could cause update_engine to start in cases where the user
believes it to be disabled, so just drop the file.
Since we're picking up a kernel change that solves the same problem (see
previous commit), it's safe to not include this patch and wait on
upstream to pick it up.
This bumps the commit for 17.03 to remove that patch, and stops applying
it to 17.09.
1.12 never had it.
The script and udev rule were added to Gentoo due to
https://bugs.gentoo.org/556632 without much explanation. However,
iscsidev.sh has multiple problems:
- It doesn't run for all iSCSI devices, only those with a vendor string
of "IET". Thus it works for e.g. tgtd but not for enterprise iSCSI
targets.
- It was added in 2015, but udev's builtin path_id has supported iSCSI
targets -- and produced exactly the same /dev/disk/by-path links --
since systemd/systemd@a2fe9450bb in 2009.
- When the script decides not to do anything, it exits 1, producing a
series of systemd-udevd journal messages:
systemd-udevd[636]: Process '/usr/lib/udev/scripts/iscsidev.sh' failed with exit code 1.
The rule was added in 1b28d4e25452d0eacdc19074ccfbd445e88ccc11.
systemd 234 now ships a tmpfiles.d rule to create this file. Fixes
systemd-tmpfiles warning in journal:
[/usr/lib64/tmpfiles.d/var.conf:17] Duplicate line for path "/var/log/lastlog", ignoring.
By switching to the upstream rule, this changes the lastlog gid
from root to utmp and the mode from 0644 to 0664.
Also split them into an array so we can decouple the files in
patches/engine from those applied, e.g. to allow carrying patches for
only specific ebuilds.