Re: dnf install removes /etc/systemd/system/multi-user.wants/myservice.target symlink

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Feb 7, 2022 at 5:52 PM Barry <barry@xxxxxxxxxxxxxxxx> wrote:


On 7 Feb 2022, at 19:19, Kevin P. Fleming <kpfleming@xxxxxxxxxx> wrote:


Slightly off-topic, but I think it's relevant:

If 'myservice' and 'ods-prx' are referring to the same thing, I think you're supposed to use 'systemctl preset' instead of 'systemctl enable'. This allows the admin to decide whether the installed service/target/timer/etc. should be enabled during package installation. I recently learned about this feature and am using it to good effect on my own systems to stop packages from auto-starting the services they install :-)

Yes myservice and ods-prx are the same.

Yes preset is nice providing defaults for the admin.

But this is for production system and it must be symlinked.

Are you saying that there is code in dnf/rpm that is undoing the symlinking
becuase the preset is not in place?



No, I'm not, but it could be possible for such code to exist :-)
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Users]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]

  Powered by Linux