Bug#1007018: systemd: Creates broken symlink to stub-resolv.conf since v250

Arnaud Rebillout arnaudr at kali.org
Fri Mar 18 01:31:56 GMT 2022


 > I guess to preserve the status quo ante, we should indeed just remove 
this new file systemd-resolve.conf.

I also think it's the good short-term solution, ie. to go back to how it 
was before v250, until a better solution is found.

 > e.g. by splitting of systemd-resolved into a separate package.

It sounds reasonable, I did a quick search and found that it's what 
Fedora did a while ago: 
https://src.fedoraproject.org/rpms/systemd/pull-request/52

This being said, grepping for 'resolved' in the systemd.spec file, one 
can see that there's more subtleties, eg:

1. Remove /etc/resolv.conf symlink if systemd-resolved is uninstalled:

-> 
https://src.fedoraproject.org/rpms/systemd/blob/rawhide/f/systemd.spec#_898

2. They don't seem to use the tmpfiles to create the /etc/resolv.conf 
symlink:

-> 
https://src.fedoraproject.org/rpms/systemd/blob/rawhide/f/systemd.spec#_924

Cheers,

   Arnaud



More information about the Pkg-systemd-maintainers mailing list