https://bugzilla.novell.com/show_bug.cgi?id=758379
https://bugzilla.novell.com/show_bug.cgi?id=758379#c14
--- Comment #14 from carl mcgrath 2012-06-01 13:14:21 UTC ---
Gary - I think I now understand the issue - please comment:
I was thinking thru your recent comment about moving the umount to 54,
wondering why you thought that might help. I then began to wonder if the script
was really running successfully, in spite of it reporting success in
/var/log/pm-suspend.log.
I was formulating a way to add diagnostics to the script to check if it was in
fact running, but I then realized, and now am thinking, that when I initiate
sleep as a user (not as root), somewhere there is a setup that allows users to
initiate sleep but, perhaps, the scripts run then as user, not as root, so
therefore umount in a script may not really work.
So, I quickly tried from a konsole cli "sudo /usr/bin/pm-suspend" , I am
prompted for root password as I would expect (due to sudo) and the system
sleeps as desired.
I also confirmed that WITHOUT my 00script, "sudo /usr/bin/pm-suspend" does not
work. Seems to confirm to me my suspicion that 00script is not really working
correctly when it runs without sudo, presummably as user.
Comments?
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.