Bonsoir,

I try to enable rc-local service:

1- I created /etc/rc.d/rc.local file:

#!/bin/bash

iptables -I INPUT -p udp --sport 1900 -j ACCEPT

2- I chmoded  /etc/rc.d/rc.local

chmod u+x /etc/rc.d/rc.local

But the service won't start:

# systemctl status rc-local.service
● rc-local.service - /etc/rc.d/rc.local Compatibility
   Loaded: loaded (/usr/lib/systemd/system/rc-local.service; static;
vendor preset: disabled)
   Active: failed (Result: exit-code) since sam. 2016-09-03 22:49:00
CEST; 25s ago
  Process: 8189 ExecStart=/etc/rc.d/rc.local start (code=exited,
status=203/EXEC)

sept. 03 22:49:00 berrichon systemd[1]: Starting /etc/rc.d/rc.local
Compatibility...
sept. 03 22:49:00 berrichon systemd[1]: rc-local.service: Control
process exited, code=exited ...203
sept. 03 22:49:00 berrichon systemd[1]: Failed to start
/etc/rc.d/rc.local Compatibility.
sept. 03 22:49:00 berrichon systemd[1]: rc-local.service: Unit entered
failed state.
sept. 03 22:49:00 berrichon systemd[1]: rc-local.service: Failed with
result 'exit-code'.
Hint: Some lines were ellipsized, use -l to show in full.


On other nstall of fedora 23 this works.... Why not on this computer?

Thank you.

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

Attachment: signature.asc
Description: OpenPGP digital signature

--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://lists.fedoraproject.org/admin/lists/users@lists.fedoraproject.org
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

Reply via email to