On Tue, Oct 8, 2019 at 6:45 PM Ravindra Kumar via devel
<devel@lists.fedoraproject.org> wrote:
>
> Hi,
>
>
>
> I have removed dependency on service B from service A and all references to 
> service B. The new package works well for fresh install (service A can be 
> started normally), but it does not work for upgrades from previous versions 
> where service A used to depend on service B (starting service A fails as it 
> can’t fine the service unit for service B). After upgrade from a previous 
> version of the package, I noticed that a symlink to service B is left under 
> /etc/system/system/A.service.requires dir that is causing the issue:
>
> # ls -l /etc/systemd/system/A.service.requires
>
> total 0
>
> lrwxrwxrwx. 1 root root 45 Oct  8 11:10 B.service -> 
> /usr/lib/systemd/system/B.service
>
>
>
> Basically, some cleanup is needed to remove the requires symlink that is no 
> longer needed.
>
>
>
> Any advice/examples of such cleanup?

systemctl daemon-reload?

Isn't this handled automatically by the %systemd scriptlets?

Dridi
_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
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@lists.fedoraproject.org

Reply via email to