Project

General

Profile

Bug #6189

Boot up troubles with ramdisk and alias tables

Added by NOYB NOYB about 3 years ago. Updated about 3 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
Rules/NAT
Target version:
Start date:
04/17/2016
Due date:
% Done:

0%

Estimated time:
Affected Version:
2.3
Affected Architecture:

Description

Enabling ramdisk does not save/backup/restore the alias tables (/var/db/aliastables/).
Thus they have to be re-downloaded at every boot up. Because of this they may not be available when the firewall rules are loaded, which can result in errors and unpredictable behavior.

Some symptoms may include, sluggishness, high CPU utilization, and network connectivity issues, until all the tables are downloaded and get applied.

Associated revisions

Revision 93cbc65f (diff)
Added by Chris Buechler about 3 years ago

chmod +x on rc.backup_aliastables.sh. Ticket #6189

Revision 7eae8df9 (diff)
Added by Chris Buechler about 3 years ago

chmod +x on rc.backup_aliastables.sh. Ticket #6189

History

#2 Updated by Jim Thompson about 3 years ago

  • Assignee set to Steve Beaver

#3 Updated by Steve Beaver about 3 years ago

  • Status changed from New to Feedback
  • Assignee changed from Steve Beaver to NOYB NOYB

#4 Updated by NOYB NOYB about 3 years ago

/etc/rc.backup_aliastables.sh needs rights set to 755. But I don't know how to do create a commit for that from a Windows environment. If it's possible I'd like to learn how. Seems I've seen commits for changing file rights, and that would be preferable to creating an update script just to do a one file chmod.

With rights set to 755 this works.

#5 Updated by Chris Buechler about 3 years ago

  • Category set to Rules/NAT

Not sure if it's possible to chmod +x on Windows. I just pushed the change to do that in both branches.

#6 Updated by ky41083 - about 3 years ago

NOYB NOYB... "But I don't know how to do create a commit for that from a Windows environment."

Use Cygwin CLI to commit POSIX permission changes from Windows. Otherwise, a VM, which is more annoying to switch back and forth between.

#7 Updated by NOYB NOYB about 3 years ago

ky41083 - wrote:

NOYB NOYB... "But I don't know how to do create a commit for that from a Windows environment."

Use Cygwin CLI to commit POSIX permission changes from Windows. Otherwise, a VM, which is more annoying to switch back and forth between.

Thanks ky41083,

Here's what I received from my query to gitextensions support. I've walked through it and it works. So I learnt something new today. :)

https://github.com/gitextensions/gitextensions/issues/3176
http://blog.lesc.se/2011/11/how-to-change-file-premissions-in-git.html?m=1

Would be nice if they had that capability in the gui. But this is simple enough for the rare one off's.

#8 Updated by ky41083 - about 3 years ago

NOYB NOYB wrote:

ky41083 - wrote:

NOYB NOYB... "But I don't know how to do create a commit for that from a Windows environment."

Use Cygwin CLI to commit POSIX permission changes from Windows. Otherwise, a VM, which is more annoying to switch back and forth between.

Thanks ky41083,

Here's what I received from my query to gitextensions support. I've walked through it and it works. So I learnt something new today. :)

https://github.com/gitextensions/gitextensions/issues/3176
http://blog.lesc.se/2011/11/how-to-change-file-premissions-in-git.html?m=1

Would be nice if they had that capability in the gui. But this is simple enough for the rare one off's.

Awesome! Good to know that is in the Windows GIT CLI now :-)

#9 Updated by Chris Buechler about 3 years ago

  • Status changed from Feedback to Resolved

works

Also available in: Atom PDF