Autor: Rainer Weikusat Data: Dla: dng Temat: Re: [DNG] Oh, how I hate systemd
Rowland Penny <rpenny241155@???> (by way of Rowland Penny <rpenny241155@???>) writes: > So, a user was complaining over on the Samba mailing list, that the
> Samba wiki page about creating a new AD DC wasn't much use with fedora.
>
> I set up fedora 24 and tried to give it a fixed ip (part of which was
> removing networkmanager), set everything up and rebooted, I then found
> I couldn't connect to the network, checks found that /etc/resolv.conf
> had disappeared.
>
> When I tried to create a new one, I couldn't, it wouldn't let me!!
>
> A quick trawl of the internet led to an interesting fact, systemd now
> mounts /etc read-only and if /etc/resolv.conf doesn't exist, systemd
> creates a dangling symlink.
>
> You couldn't make this up, why O why make /etc read only ?????
My guess would be: Because people aren't supposed to change the 'legacy
configuration' directly but use the proper systemd commands instead. One
could also assume that this is to protect systemd from changes it
couldn't parse.