|
||||
No, that is not exactly the same thing. You show two errors. The first, a permission problem. The second, a syntax error without a line number defined. When I intentionally create a syntax error, I get a mesage that tells me which line number has the error.
Due to this difference in behavior, try correcting the permission problem. The file should be owned by root:wheel and have a 600 file mode (-rw-------). |
|
||||
Sweet! Now, if you want to, you can report this bug to the Project. If you're feeling really energetic, you can debug ipsecctl and post a proposed fix. (I would, but I'm at $DAYJOB and don't have ready access to my test systems.)
|
|
||||
I don't think the problem is a bug. The problem was likely due to copying the ipsec.conf file from the old BSD router to a Windows machine via WinSCP then onto a USB flash drive then finally onto the new BSD router. Wouldn't that play havoc with file permissions?
|
|
||||
I don't work in UNIX/Linux world enough to get it truly burned into my brain like I'd like to. That syntax error message was driving me absolutely insane because I knew there wasn't a syntax error. Had I been able to understand the message immediately before the syntax error line (group writable or world read/writable) then I would have known how to fix the problem as you did. Should it occur again the future now I'll know what to do. It's always good to learn something new everyday.
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Pf.conf:29 syntax error | CyberJet | OpenBSD Security | 17 | 3rd May 2013 06:41 PM |
Am I blind? syntax error: `(' unexpected | guitarscn | Programming | 1 | 10th November 2010 08:53 PM |
shc unistd.h:239: error: syntax error before '&' token | laraaj | OpenBSD General | 3 | 11th September 2010 07:21 AM |
I need help with make.conf syntax | troberts | FreeBSD Ports and Packages | 4 | 1st June 2008 03:58 AM |
relayd (and hoststated) give syntax error for 'check script' | gwl | OpenBSD Security | 2 | 2nd May 2008 04:53 PM |