Re: cpupower

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

 



On 06/25/18 07:20, Tom Horsley wrote:
> On Mon, 25 Jun 2018 07:07:52 +0800
> Ed Greshko wrote:
>
>> I don't recall how I found my mistake.  I do remember putting in a few "touch"
>> commands in the script to create files and thereby narrow down where in the script
>> I'd gone wrong.
> Two things that often cause rc.local failures:
>
> 1. Having a different $PATH as root than as your normal user.
>
> 2. If you are trying to start a long running process
>    (Like launch a daemon), the "new and improved"
>    systemd will helpfully kill it off for you
>    shortly after it is started.
>
> This has led me to transform my rc.local script into this:
>
> /usr/bin/at -M now <<'HERE' > /dev/null 2>&1
> /etc/rc.d/the-real-rc.local
> HERE
>
> Then move everything I used to be able to put in rc.local
> into the-real-rc.local instead (sheesh!)
>
> Oh yea, silliest thing to check:
>
> Is rc.local executable, does the first line start with #!/bin/sh ?

I hope you're not waiting for me to answer that question.  :-) :-) :-)


-- 
Conjecture is just a conclusion based on incomplete information. It isn't a fact.

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx/message/6QAECPUPOQN5UH5TGYCNZKBOMGOSQY7R/
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux