Re: rc.local not start at the boot

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

 



On 10/31/14 16:22, Angelo Moreschini wrote:
> Hi Rick,
>
> your suggestion seemed to be the right one ..
> But still did not work ...
>
> I made now ​​one further try :
> these are the listed files I used

It isn't related to $PATH ....  I'm too tired to explain again....

>
> -------------------------[angelo_dev@zorro rc.d]$ cat rc.local---------
> #!/bin/bash
> /etc/rc.d/dummy-test.sh

Please try again to change this line....

> /etc/rc.d/syncronize-java_srcs.sh

to this.....

su -c '/etc/rc.d/syncronize-java_srcs.sh' programmers

and see if it works....

It works for me....


>
> ------------------------[angelo_dev@zorro rc.d]$ cat dummy-test.sh--------------
> #!/bin/bash
> cp /home/angelo_dev/Documents/dconf-Editor.xcf /media/PRTZ-src_sync
>
> ----------------[angelo_dev@zorro rc.d]$ cat syncronize-java_srcs.sh--------
> #!/bin/bash
> /usr/bin/rsync -av \
>               --delete \
>               --include='*/' \
>               --include='*.java' \
>               --include='*.form' \
>               --exclude='*' \
>               /home/programmers/java/PROJECTS_development/ \
>               /media/PRTZ-src_sync
> ==============
> 1) if I launch rc.local _from the command line_ then
>    the _file is copied_ and _the backup is done_
> 2) if I _reboot the computer_ then
>    the _file is copied_ *BUT* _the backup is  not done_...
>
>
>
> The test proves conclusively that the failure is related to the use of the rsync command ...
> but can not depend on its path because this time I used the absolute path ..
>
> Need to investigate more about something specific related to the rsync command

It is unfortunate that I've not been able to get any error message to display.  I have an idea of the problem and why no message is shown....but again...too tired.

Try what I've suggested above.  And if it works, be happy.  At least for now.


-- 
If you can't laugh at yourself, others will gladly oblige.
-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org




[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