> On February 4, 2016 at 7:50 AM Alexandre DERUMIER <aderum...@odiso.com> wrote:
> 
> 
> >>It's just a warning, but it could be great to find a way to clean up it. 
> 
> for the warning,
> 
> the problem seem to be that postinst script from pve-ha-manager
> 
> if [ -e  /etc/systemd/system/sockets.target.wants/watchdog-mux.socket ]; then
> 
>     rm -f /etc/systemd/system/sockets.target.wants/watchdog-mux.socket
>     rm -f 
> /var/lib/systemd/deb-systemd-helper-enabled/sockets.target.wants/watchdog-mux.socket
>     rm -f 
> /var/lib/systemd/deb-systemd-helper-enabled/watchdog-mux.socket.dsh-also
>     systemctl daemon-reload
> fi
> 
> 
> It's never go inside the if
> 
> 
> in my case,
> /etc/systemd/system/sockets.target.wants/watchdog-mux.socket  exist, it's a 
> symlink,
> to
> /etc/systemd/system/sockets.target.wants/watchdog-mux.socket -> 
> /lib/systemd/system/watchdog-mux.socket
> 
> but
> 
> /lib/systemd/system/watchdog-mux.socket don't exist
> 
> 
> 
> 
> If I replace "-e", by "-L"  ,  it's working fine

Makes sense, we removed the .socket file in commit f8a3fc80af, so the symlink's
destination is definitely removed before the package gets configured, causing 
this
'if' to be skipped.

_______________________________________________
pve-devel mailing list
pve-devel@pve.proxmox.com
http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel

Reply via email to