Re: suspend config

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Tim <ignored_mailbox@xxxxxxxxxxxx> a écrit :


Try running the script manually, with parameters to control what it
does.  e.g.  Presuming the script was called "controlmodem" do:

./controlmodem suspend

And see if it does anything.  Likewise, try:

./controlmodem resume

It works, but can only be run as root and I don't know if suspend is run by root or by the owner of the session.

Anyway I tried to run it as a sudoer and if I can stop slmodem service via sudo, rmmod and modprobe refuse to be run by a sudoer (I don't know why), moreover, when starting slmodem tries to lock the process and /var/lock/subsys is only writable by root.....


Don't forget to make the script executable.  And how and where did you
create the script?  If you created it in the directory it lives in, or
copied it there, it should have the right SELinux permissions to run.
But if you created it elsewhere, and moved it, it won't.

I disabled selinux on my machine.


Thank for helping.

Regards.
--
François Patte
UFR de mathématiques et informatique
Université Paris Descartes
45, rue des Saints Pères
F-75270 Paris Cedex 06
Tél. +33 (0)1 4286 2413
http://www.math-info.univ-paris5.fr/~patte


----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.

--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux