[Bug 1458390] Re: script in /etc/pm/sleep.d/ is not executed on resume
Almost certain is same bug as https://launchpad.net/ubuntu/+source/pm- utils/+bug/1455097. Caused by switch to systemd from upstart. -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to pm-utils in Ubuntu. https://bugs.launchpad.net/bugs/1458390 Title: script in /etc/pm/sleep.d/ is not executed on resume To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/pm-utils/+bug/1458390/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 1458390] Re: script in /etc/pm/sleep.d/ is not executed on resume
** Changed in: pm-utils (Ubuntu) Importance: Undecided => Medium -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to pm-utils in Ubuntu. https://bugs.launchpad.net/bugs/1458390 Title: script in /etc/pm/sleep.d/ is not executed on resume To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/pm-utils/+bug/1458390/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 1458390] Re: script in /etc/pm/sleep.d/ is not executed on resume
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: pm-utils (Ubuntu) Status: New => Confirmed -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to pm-utils in Ubuntu. https://bugs.launchpad.net/bugs/1458390 Title: script in /etc/pm/sleep.d/ is not executed on resume To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/pm-utils/+bug/1458390/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 1458390] Re: script in /etc/pm/sleep.d/ is not executed on resume
** Description changed: I'm trying to reload a module (hid_multitouch) on resume. - For this I've put an executable script in /etc/pm/sleep.d/ , but it is not executed on resume. - If I move the script to /usr/lib/pm-utils/sleep.d , it is executed as expected. + For this I've put an executable script in /etc/pm/sleep.d/ , but it is + not executed on resume. + + If I execute the script explicitly via command-line, the module is + releaded as expected: + + sven@svenBlack:/usr/lib/pm-utils/sleep.d$ more ./99_touchscreen + #!/bin/sh + + case $1 in + resume) + modprobe -r hid_multitouch + modprobe hid_multitouch + ;; + esac + + sven@svenBlack:/usr/lib/pm-utils/sleep.d$ sudo ./99_touchscreen resume + ProblemType: Bug DistroRelease: Ubuntu 15.04 Package: pm-utils 1.4.1-15 ProcVersionSignature: Ubuntu 3.19.0-18.18-generic 3.19.6 Uname: Linux 3.19.0-18-generic x86_64 ApportVersion: 2.17.2-0ubuntu1.1 Architecture: amd64 CurrentDesktop: GNOME Date: Sun May 24 22:19:15 2015 InstallationDate: Installed on 2015-04-27 (27 days ago) InstallationMedia: Ubuntu-GNOME 15.04 "Vivid Vervet" - Release amd64 (20150422) PackageArchitecture: all SourcePackage: pm-utils UpgradeStatus: No upgrade log present (probably fresh install) -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to pm-utils in Ubuntu. https://bugs.launchpad.net/bugs/1458390 Title: script in /etc/pm/sleep.d/ is not executed on resume To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/pm-utils/+bug/1458390/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs