Please support also wrapping pm-suspend

Bug #1551094 reported by Mekk
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
molly-guard (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

It would be nice if molly-guard could be used also to wrap pm-suspend.

Suspending remote machine is not that much different from powering it off. And I already did it 3 times ;-)

ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: molly-guard 0.4.5-1
ProcVersionSignature: Ubuntu 3.13.0-76.120-lowlatency 3.13.11-ckt30
Uname: Linux 3.13.0-76-lowlatency x86_64
NonfreeKernelModules: nvidia
ApportVersion: 2.14.1-0ubuntu3.19
Architecture: amd64
CurrentDesktop: KDE
Date: Mon Feb 29 07:38:19 2016
EcryptfsInUse: Yes
InstallationDate: Installed on 2013-02-18 (1105 days ago)
InstallationMedia: Ubuntu-Server 12.04.1 LTS "Precise Pangolin" - Release amd64 (20120817.3)
PackageArchitecture: all
SourcePackage: molly-guard
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Mekk (marcin-kasperski) wrote :
Revision history for this message
Mekk (marcin-kasperski) wrote :

On installed package it sufficed to:

- edit
       /usr/share/molly-guard/shutdown
   and add pm-suspend to halt|reboot|… case line

- ln -s /usr/share/molly-guard/shutdown /usr/local/sbin/pm-suspend

- ln -s /usr/sbin/pm-suspend /sbin/pm-suspend

but I suppose two latter lines could be replaced with sth better

Revision history for this message
François Marier (fmarier) wrote :
Revision history for this message
François Marier (fmarier) wrote :

A fix for this was just uploaded to Debian unstable (molly-guard 0.7.2).

Changed in molly-guard (Ubuntu):
status: New → Fix Committed
Changed in molly-guard (Ubuntu):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.