You are not logged in.
Hi,
Since some time, netctl warns me that
/etc/systemd/system/netctl@static\x2deno1\x2d100.service:1: .include directives are deprecated, and support for them will be removed in a future version of systemd. Please use drop-in files instead.
I have trouble finding any info on this. The file mentioned has a .include directive, but I'm unsure what a drop-in file is, and https://wiki.archlinux.org/index.php/Netctl doesn't mention them either.
.include /usr/lib/systemd/system/netctl@.service
[Unit]
Description=A basic static ethernet connection
BindsTo=sys-subsystem-net-devices-eno1.device
After=sys-subsystem-net-devices-eno1.device
Can someone point me in the right direction here?
Thanks!
Last edited by diederick76 (2018-10-07 10:21:23)
Offline
It says "a future version of systemd". See the systemd.unit(5) man page or https://wiki.archlinux.org/index.php/Sy … p-in_files.
Should be fixed in netctl already; maybe reenable the profile to update to the new style?
Offline
maybe reenable the profile to update to the new style?
$ sudo netctl reenable static-eno1-100
'/etc/systemd/system/netctl@static\x2deno1\x2d100.service' is verwijderd
'/etc/systemd/system/multi-user.target.wants/netctl@static\x2deno1\x2d100.service' -> '/usr/lib/systemd/system/netctl@.service'
generated '/etc/systemd/system/netctl@static\x2deno1\x2d100.service.d/profile.conf'
(verwijderd means deleted)
Seems to have created and populated the directories mentioned in https://wiki.archlinux.org/index.php/Sy … p-in_files. Excellent.
Thanks!
Offline