Pacnew for initscripts in /etc/rc.d?

I just updated iptables today and was surprised to find that my extensively customized /etc/rc.d/iptables initscript was silently overwritten.  I had expected pacman to create a .pacnew, as it does for anything that's modified in /etc, but this didn't happen.  (I also expected the .pacnew from my years as a Gentoo user.  Gentoo protects initscripts just like everything else in /etc.)
Is this intentional behaviour or is it a bug?  If intentional, is there any way I can force pacman to create .pacnew files instead?

My iptables script is significantly different from the default script.  The script supplied by the package assumes that the rules are static -- that they can be simply saved when the network goes down and restored when the network comes back up.
In my setup, I can't use the default script to achieve what I want, since my rules depend on my IP address.  (Explanation below if you're curious.)  I guess I just use iptables in a very non-standard way that's not quite supported.
I'd be happy to hear any suggestions for a better (more standard?) way of achieving what I'm doing.
Here's why my iptables rules depend on my IP address.  I have an OpenVPN tunnel to my office at the university.  To get access to university resources on my laptop while off campus, I route some of my traffic through my office.  For performance, when I'm on campus, I don't want this routing to happen (the OpenVPN server is out of town).  I route my traffic using a combination of iptables and iproute2: packets are marked using iptables's mangle table and conntrack capabilities, and iproute2 routes the marked packets over the VPN.  So, depending on my location (as determined by IP), my iptables mangle table is either empty or populated.

Similar Messages

  • I am trying to install an app.  When I click install, my old gmail account  shows and asks for my password etc but I have a new gmail account that is associated with my apple id.  How can I get it to default to the new gmail?

    I am trying to install an app in my iphone.  When I click Install, my old gmail account comes up for verification and it asks for my password etc.  I dont use this account anymore and have a new gmail account that is associated with my apple account.  How can I get the new gmail to default when I am trying to install apps?

    Did you create a NEW Apple ID or did you change the email address for your OLD Apple ID? This will affect how you update apps in the future.
    Anyway, go to Settings/iTunes&App Stores, log out, then log in with the new ID.

  • I'm having problems with 8.1 and Continuity / Handoff. It will work fine for web pages, etc. but in email when I try to do it between by iPhone 5s running 8.1 and my Macbook Pro running Yosemite I consistently get an error.

    I'm having problems with 8.1 and Continuity / Handoff. It will work fine for web pages, etc. but in email when I try to do it between by iPhone 5s running 8.1 and my Macbook Pro running Yosemite I consistently get an error. "Failed to Continue Activity" Cocoa Error 4609.  Handoff is working for phone calls and text messages. By email just crashes each time. It was also doing it under 8.0.2.  My iPhone and iPad handle this fine. It's only the MacBook to the iPhone that fails, and only on email.

    Handoff Continuity Troubleshooting

  • On my MacBook Pro, sometimes when I click to close tabs in Safari the button will not work.  I have to click on some other part of the screen and then it will.  This happens in other programs like Word/Excel for changing font, etc. Solution/Suggestions?

    On my MacBook Pro, sometimes when I click to close tabs in Safari the button will not work.  I have to click on some other part of the screen and then it will.  This happens in other programs like Word/Excel for changing font, etc. Solution/Suggestions?

    Start up in Safe Mode.
    http://support.apple.com/kb/PH4373

  • Connecting computer to tv for viewing EPIX,ETC.. but not through router?????

    I need to start connecting computer to tv for viewing EPIX,ETC.. but not through router?????  I have a workroom with a TV but without cable connection, so I thought I would connect my computer to my TV.  I have an Acer Aspire laptop. and a 27" tv.  Please can anyone tell me how to get this to work.  I need something to watch while I am working.

    I'm a little confused here as to what you're looking for. Are you simply trying to get Internet Connectivity to the computer using the best method possible or are you looking to try and send a signal to the TV without a cable connection going to it? The computer's Internet portion is easy if that is the case. If we can just get some additional information on that, we'll figure out how to approach it.
    1: Does this Workroom have any Coaxial cabling going to it that can be connected back to the cabling the FiOS equipment is using?
    2: Is Ethernet cabling available and running to the location of the router, or nearby?
    3: Would Wireless work for you (as much as it is not ideal)?
    4: Are you looking for a Physical connection to the network?
    Now if what you're trying to accomplish is the actual connection between the Computer and the TV, check to see what inputs the TV supports (HDMI, VGA, DVI, Component, Composite) and see what the laptop supports (DisplayPort, VGA, HDMI, DVI). More than likely the Laptop would have a VGA connection along with the TV. Your best bet would be to honestly just connect a VGA Cable between the two machines, and then for audio, just use a 3.5" to Composite connection for the TV (Unless the TV has a 3.5" Input jack for the PC Input). If HDMI is available on both devices, by all means use that. Same with DVI as both give better picture quality over a VGA Cable.
    If you can give us exact model numbers, that would help.
    ========
    The first to bring me 1Gbps Fiber for $30/m wins!

  • When we go for Business content extraction and when we go for LO/COPA etc.e

    Hi Dear Friends
    When we go for Business content extraction and when we go for LO/COPA etc.extractions
    Thanks
    Learner

    Hi,
    It depends on the KPI you are extracting for,if Business Content Extractor provides you with those then there is no need for generic extractors.
    In CO-PA the KPI for profitability differs from client to client.You have Business Content for CO-PA also...
    Cheers

  • I am trying to get my Canon MP190 to print with Macbook, OS10.5.8. I used to use the printers utility file to check ink levels. Now am told must go to Apple for latest drivers, etc. Where do I go??I am lost.

    DesertCatVicki
    I am trying to get my Canon MP190 to print with Macbook, OS10.5.8. I used to use the printers utility file to check ink levels. Now am told must go to Apple for latest drivers, etc. Where do I go??I am lost.

    Printer and Scanner software available for download:
    http://support.apple.com/kb/HT3669?viewlocale=en_US

  • In logic X I am trying to normalize but the track and file option in the edit window is not there at all just the drop down for pointer eraser etc. Any ideas? Thanks!..

    In logic X I am trying to normalize but the track and file option in the edit window is not there at all just the drop down for pointer eraser etc. Any ideas? Thanks!..

    Total life saver. Thank you

  • Anyone recommend a good cheap audio splitter for ipad air? So that 2 in ear headphones can be connected for watching movies etc..

    Anyone recommend a good cheap audio splitter for ipad air? So that 2 in ear headphones can be connected for watching movies etc..

    Any standard 3.5mm stereo splitter will do:
    Belkin Y Adapter; Mini Stereo Plug, Headphone Splitter - Amazon.com
    Make sure it is 1 male > 2 female, as above.

  • Unable to view external webcam content.  I'm using IE11 with Windows 7 64 bit.  I've tried deactivating Activex control, tried different browsers etc, tweeked the tools for trusted sites etc, but am totally stuck. I know the cams are working as i can view

    Unable to view external webcam content.  I'm using IE11 with Windows 7 64 bit.  I've tried deactivating Activex control, tried different browsers etc, tweeked the tools for trusted sites etc, but am totally stuck. I know the cams are working as i can view them on mobile phone via puffin browser.  I can play Youtube videos etc just fine. So why not the webcam?

    First, confirm that ActiveX Filtering is configured to allow Flash content:
    https://forums.adobe.com/thread/867968
    Internet Explorer 11 introduces a number of changes both to how the browser identifies itself to remote web servers, and to how it processes JavaScript intended to target behaviors specific to Internet Explorer. Unfortunately, this means that content on some sites will be broken until the content provider changes their site to conform to the new development approach required by modern versions of IE.
    You can try to work around these issues by using Compatibility View:
    http://windows.microsoft.com/en-us/internet-explorer/use-compatibility-view#ie=ie-11
    If that is too inconvenient, using Google Chrome may be a preferable alternative.

  • How do I batch edit potos for contrast,sharpness,etc or permanently change the settings?

    How do I batch edit photos for contrast,sharpness,etc or permanently change those settings?

    There a 3rd party application, iPhoto Batch Enhancer, that can batch enhance, change contrast or crop. That's all. 
    However, once you establish the adjustments to one photo you can copy it via the Edit menu:
    and then move to the next photo with the forward arrow and paste those adjustments in the next photo.
    OT

  • ITunes 11.1.4 (62) can't find the info button to set up sync for contacts, calendars, etc.

    I'm running iTunes 11.1.4 (62) and can't find the info button to set up sync for contacts, calendars, etc.

    That option has been removed with Mavericks. Syncing for calendars and contacts etc can only be done through iCloud:
    https://www.apple.com/au/support/icloud/contacts/

  • My 30 day Photoshop trial finished yesterday. I purchased the $9.99 per month Photoshop package and received an email saying "Thank you for your payment etc" But when I go to open PS it still says "the trial has expired.."

    My 30 day Photoshop trial finished yesterday. I purchased the $9.99 per month Photoshop package and received an email saying "Thank you for your payment etc" But when I go to open PS it still says "the trial has expired.." Is it supposed to work automatically or is there a step I'm missing?

    1. Close all the Adobe Applications. Log-out from creative.adobe.com and re-login.
    2. Once you launch the software and when you get the error saying the the trial version has expired, you will have an option saying "License this software".
    3. Select this option and enter your credentials and click next.
    Nancy O.

  • Building SAP applications for iPhone, Android etc.

    Hi All,
    We have a requirement for building SAP online and offline applications for iPhone, Android, Windows phone. These applications would interface with SAP backend (ERP) for fetching data or for executing simple tasks like approvals etc. 
    We have developed thin client (online) applications using Webdynpro Java for Blackberry users. These applications are browser based applications (deployed on SAP Netweaver WAS) and are accessed through Blackberry browser. What I am not sure is whether the same approach/technology like Webdynpro for Java would work for handhelds like iPhone, Android and Windows phones.
    Secondly whether vendors (like Apple) of iPhones, Android etc. provide specific connectors or frameworks for building SAP online/offline applications (or in other words what would be the mechanism for integrating iPhones, Android with SAP)
    Lastly how (technology, architecture etc.) are SAP thick client or offline applications built for iPhone, Android etc.
    Any pointers would be of great help.
    Thanks & Regards,
    Suresh

    Hi Philipp,
    Thanks for your quick response. When you say integrating with "Integrating Custom Client with DOE", do you mean the usage of SAP Mobile Infrastructure (now know SAP NetWeaver Mobile).
    We are mainly looking at building online (thin client) applications and also parallely at building offline or thick client applications but that is second in priority.
    What we have done so far
    We have developed thin client (online) applications using Webdynpro Java (which interface with SAP backend systems)
    for Blackberry users. These applications are browser based applications and are accessed through Blackberry browser. We are looking at similarly building applications for iPhone, Android and Windows phones probably using the same technology like Webdynpro Java.  But we are not sure how well it would work on iPhone, Android etc. Also we were exploring to see if these vendors (iPhone, Android) provide some sort of connectors or framework for quickly developing and deploying SAP mobile thin client applications.
    Please note that we are aware that using webservices in one generic approach.
    Once again thank you very much for your response.
    Regards,
    Suresh

  • Apps for gmail,fb,etc...required for 3.1.3 version. tq

    hi.............. my previous help cleared.. tq admin...n next...
    apps for gmail,fb,etc...required for 3.1.3 version. tq

    Asked and answered at your other post.
    https://discussions.apple.com/message/22816568#22816568

Maybe you are looking for