Quoting Francois Marier (2016-11-01 22:14:43)
> On 2016-11-01 at 18:48:51, Jonas Smedegaard wrote:
> > I don't know how to be more exact than how I wrote it initially for 
> > this bugreport.
> > 
> > Could you perhaps elaborate on what details you are missing?
> 
> You wrote this:
> 
> "molly-guard adds wrappers for commands like pm-hibernate and 
> poweroff.
> 
> The wrappers are added not using dpkg-divert but as symlinks in /sbin, 
> where the wrapped commands reside in /usr/sbin."
> 
> But the wrappers _are_ added using dpkg-divert:
> 
> https://anonscm.debian.org/cgit/collab-maint/molly-guard.git/tree/debian/molly-guard.preinst?id=1a3675db6ae1015c4d6e8367c7132c87fb9f3b31#n25
> 
> which looks like this on my machine:
> 
> $ ls -l /sbin/reboot
> lrwxrwxrwx 1 root root 28 Aug 15 22:16 /sbin/reboot -> 
> /lib/molly-guard/molly-guard
> 
> So what's wrong with this use of dpkg-divert?

Thanks for elaborating.

I don't know how it is wrong, just experienced that it failed, and when 
I looked mollyguard was not registered with dpkg-divert.  I have had 
molly-guard installed for quite some time, so perhaps that newer 
behaviour was not applied to existing installs?


 - Jonas

-- 
 * Jonas Smedegaard - idealist & Internet-arkitekt
 * Tlf.: +45 40843136  Website: http://dr.jones.dk/

 [x] quote me freely  [ ] ask before reusing  [ ] keep private

Attachment: signature.asc
Description: signature

Reply via email to