[systemd-devel] Plan for DHCP Option 119?
Hi all, First of all this is my first email to this list so apologies if it's not worded perfectly. I am wondering if there's any plan to support Domain Search List option in networkd. Some cloud providers like GCE, advertise multiple search domains through option 119 and they just get ignored in today's networkd. The bug https://github.com/systemd/systemd/issues/2710 doesn't seem to get any attention. What's the complexities behind it? Does anyone on this list have any reference implementation? -- Best, Daniel smime.p7s Description: S/MIME Cryptographic Signature ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/systemd-devel
[systemd-devel] Is there a way to recover from a crashed systemd without rebooting?
I hit a bug in systemd-232 and it crashed. Anything I tried to do with `systemctl`, including `systemctl daemon-reexec` seemed to rely on the systemd dbus service, which all resulted in `Failed to activate service 'org.freedesktop.systemd1': timed out`. systemd runs as PID 1. Is there any way to recover without a reboot? -- Best, Daniel smime.p7s Description: S/MIME Cryptographic Signature ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/systemd-devel
[systemd-devel] Side effects of `systemctl daemon-reload`?
I have cluster of 100s of nodes with systemd-232. To work-around a recently discovered bug in systemd (https://github.com/systemd/systemd/issues/7798), I want to deploy a timer to all my nodes that will check the number of units and run `systemctl daemon-reload` once a certain threshold is hit (100K for example). I am asked whether I could have the timer skip the check and blindly run `systemctl daemon-reload` at every invocation. Would there be any problem with that? IIUC, reloading the daemon is a rather "safe" operation? -- Best, Daniel smime.p7s Description: S/MIME Cryptographic Signature ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/systemd-devel
[systemd-devel] When is a unit "loaded"?
I have a unit, say foo.service, on my system that's in /usr/lib/systemd/system, but disabled by preset. On system boot, it doesn't show as "loaded" per `systemctl --all | grep foo`. So if I override it with a file with the same name but under /etc/systemd/system, `systemctl cat foo.service` will show the one under /etc without the need for a `systemctl daemon-reload`. If I create another service unit, bar.service, which has a After= dependency on foo.service, and start bar, foo.service will show as loaded. And then if I try to override it, `systemctl cat foo.service` will print a warning saying a daemon-reload is needed. Nothings seems incorrect, but I have a few questions: - Which units are loaded on-boot and which are not? - Is the After= dependency alone enough to have systemd load a unit? Are there any other dependency directives that will result in the same effect? -- Best, Daniel smime.p7s Description: S/MIME Cryptographic Signature ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/systemd-devel
[systemd-devel] How to add a unit path to systemd?
Hi, I want to append to systemd's unit search path a directory on my OEM partition, which is mounted by a .mount unit, at /usr/share/. I will be putting unit files in that partition, some of which I want to run before default.target. Is it possible to do so without a systemctl daemon-reload? I understand I could configure systemd at compile time, or use the SYSTEMD_UNIT_PATH env var at the kernel command line, but since /usr/share/ is probably mounted _after_ default.target is first referenced (?), they won't do what I need? -- Best, Daniel smime.p7s Description: S/MIME Cryptographic Signature ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/systemd-devel
[systemd-devel] Router Advertisement in systemd
Hi all, Recently I realized that systemd-networkd implements its own Router Advertisement and NDISC. While I am perfectly fine with using it, I wonder what motivated it given that the Linux kernel already implemented both. Is it features? Flexibility? Stability? Also, what else in the ipv6 stack is duplicated in systemd-networkd? -- Best, Daniel smime.p7s Description: S/MIME Cryptographic Signature ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/systemd-devel
Re: [systemd-devel] Router Advertisement in systemd
Thank you. On Mon, Nov 5, 2018 at 11:36 AM Lennart Poettering wrote: > > On Mo, 05.11.18 11:09, Daniel Wang (wonder...@google.com) wrote: > > > Hi all, > > > > Recently I realized that systemd-networkd implements its own Router > > Advertisement and NDISC. While I am perfectly fine with using it, I > > wonder what motivated it given that the Linux kernel already > > implemented both. Is it features? Flexibility? Stability? > > for starters, if you want the DNS info embedded in it (and other stuff > like that) then the in-kernel one won#t give it to you. > > > Also, what else in the ipv6 stack is duplicated in systemd-networkd? > > duplicated from what? I mean, the whole thing is a duplicate of > NetworkManager if you so will, or of dhclient, and so on. Nothing > networkd implements hasn't been implemented before. it just integrates > stuff better, that's all. > > Lennart > > -- > Lennart Poettering, Red Hat -- Best, Daniel smime.p7s Description: S/MIME Cryptographic Signature ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/systemd-devel