Wrong defaults for sysctl -p since upgrade to systemd 207?

I've run into this when trying to increase the inotify watches limit following these instructions.
Since upgrading systemd to version 207 sysctl.conf no longer exists, so instead I've put the following line in /etc/sysctl.d/99-sysctl.conf:
fs.inotify.max_user_watches = 524288
But when running "sudo sysctl -p" I get the following message:
$ sudo sysctl -p
sysctl: cannot open "/etc/sysctl.conf": No such file or directory
This is because according to the man page for sysctl:
-p[FILE], --load[=FILE]
Load in sysctl settings from the file specified or
/etc/sysctl.conf if none given.
So, "sysctl -p" by default looks for the sysctl.conf file, which no longer exists in up-to-date arch boxes.
The solution of course is simply running:
sudo sysctl -p /etc/sysctl.d/99-sysctl.conf
But my question is, shouldn't "sysctl -p" look for settings files in /etc/sysctl.d and run all of them by default, instead of looking for a file which does not exist? (and that, even if it exists, will not be run on startup). From my understanding, "sysctl -p" is supposed to apply by default the same settings that will be applied on the next reboot.

@kaszak696: no, "sysctl --system" also gives an error message:
$ sudo sysctl --system
[sudo] password for amatriain:
* Applying /usr/lib/sysctl.d/50-coredump.conf ...
kernel.core_pattern = |/usr/lib/systemd/systemd-coredump %p %u %g %s %t %e
* Applying /usr/lib/sysctl.d/50-default.conf ...
kernel.sysrq = 16
kernel.core_uses_pid = 1
net.ipv4.conf.default.rp_filter = 1
net.ipv4.conf.default.accept_source_route = 0
fs.protected_hardlinks = 1
fs.protected_symlinks = 1
* Applying /etc/sysctl.d/99-sysctl.conf ...
fs.inotify.max_user_watches = 524288
* Applying /etc/sysctl.conf ...
sysctl: cannot open "/etc/sysctl.conf": No such file or directory
Thanks for finding another example of sysctl wrongly assuming that sysctl.conf exists
I'll report the bug to upstream.

Similar Messages

  • HT5538 We have 4 Iphones and one Apple id (used for ITunes). Since upgrading IOS to 6,

    We have 4 Iphones and one Apple id (used for ITunes). Since upgrading to  IOS  6 on my phone, I now receive ALL the text messages destined to the others! What should I do to get back to "normal", without opting out of Imessages or FaceTime?

    I'm afraid I may abuse of your generosity here, but I do have another question (that's the reason for the mistaken category of the post you answered). My daughter just arrived in her International Student residence in Europe yesterday, where internet's only available by Ethernet. She wishes to reverse-tether, from her PowerBook to her Iphone (because of the cost of using Internet on her phone over there). I found some instructions about Internet Sharing, in System Prefs, etc. "From: Ethernet, To: Airport" Enable Internet Sharing, and all...She did everything, by the book (or so, she thinks) but nothing shows on her Iphone Wi-Fi Settings when she tries to connect... I also read that it could be done with a Bluetooth PAN, but I got lost, as I tried to follow the instructions here at home, after pairing computer and Phone, with a "rude" message appearing on my phone telling me to "forget that device". Can you help?

  • Problem loading page for certain websites since upgrading to FF 29

    Since upgrading to Firefox 29, when I click on a link in my e-mail I will get a "problem loading page" tab with a server not found error message. This happens mainly when I get e-mails from BookBub.com and click on the link to go to Amazon to purchase books. I also get e-mails from BookSends that have Amazon links and when I click the links in the BookSends e-mails those work with no problems. However, the issue is not only with the BookBub e-mails. There are random links in other e-mails that will not work (Harbor Freight is another one that I've been trying to click an unsubscribe link in their e-mail and it will not work).
    I have tried clearing my cache, checked the firewall to make sure Firefox is allowed to access the web, checked the computer for malware but nothing has worked. Please help! This is very frustrating. Thanks!

    Please note that you have extensions installed that could be conflicting.
    *Trend Micro extensions and Norton extensions can be problematic.
    Can you disable those? Note that you do NOT need these to keep active virus protection. Norton is installed on your computer and is working system-wide.
    It is possible that your security software (firewall, anti-virus) blocks or restricts Firefox or the plugin-container process without informing you, possibly after detecting changes (update) to the Firefox program.
    Remove all rules for Firefox and the plugin-container from the permissions list in the firewall and let your firewall ask again for permission to get full, unrestricted, access to internet for Firefox and the plugin-container process and the updater process.
    See:
    *https://support.mozilla.org/kb/Server+not+found
    *https://support.mozilla.org/kb/Firewalls

  • Iphone 4s constantly asks me for my Apple ID Password for no reason since upgrading to ios6

    Since upgrading my iphone 4s to ios6 the phone constantly asks me for my Apple ID Password for  no reason. I've gone into the Settings page and entered my password multiple time and this has not solved the problem.

    Since switching from iPhone 4 to 5 I am having the same problem.  I thought it only happened when I launched the app Line by Naver, but it's happening at other times now too. I have
    1. reset my iPhone at least 4 or 5 times
    2. erased and restored my iPhone twice
    3. tried installing Line from a different Apple ID/Apple Store (ie. US vs. Japan) at least 4 or 5 times
    4. turned off iCloud (in Settings)
    Still no luck.  The repeated password prompts are super frustrating.
    EDIT: I was running IOS 6 on my iPhone 4 for a few days before switching iPhones, and I did not notice the problem then.  Also, I thought somehow it might be related to an in-app purchase in Line, but also not sure about that.

  • Can't open the applications for Hewlett Packard since upgrading my operation system

    HP Photosmart C6280 All-in-One operating in OS 10.8.3.
    I recently upgraded to OS10.8.3 and since doing so, I am getting this message, "You can't open the application HP Scan Pro becasue PowerPC applications are no longer supported." I tried to download a new driver and that didn't seem to work. What do I need to do?

    Hi,
    The HP Scan Pro is an older software verison, intended for Leopard (10.5) or older OS versions.
    Unplug the printer if it is connected via USB and uninstall any incompatible software by following the HP Uninstaller, located under Applications > Hewlett-Packard.
    Next reboot your Mac and follow the steps below to install the printer on Mountain Lion:
    http://h10025.www1.hp.com/ewfrf/wc/document?docname=c03378792&cc=us&dlc=en&lc=en&product=3194498&tas...
    Once installing the latest software you may scan by following the steps below:
    http://h10025.www1.hp.com/ewfrf/wc/document?docname=c03550518&tmp_task=useCategory&cc=us&dlc=en&lc=e...
    Shlomi
    Say thanks by clicking the Kudos thumb up in the post.
    If my post resolve your problem please mark it as an Accepted Solution

  • Firefox 4 appears to be causing my graphics card to stop responding for no reason, since upgrading to 4.0.

    I'm not sure if its a common occurance for other users, but since the 'hardware accelerated support' with Firefox 4 release, firefox seems to regularly cause my graphics card (Nvidea GT320M) on my laptop to 'stop responding' for a few seconds every so often, usually when I have flash websites such as youtube open. It isn't a huge deal since it restarts working again after a few seconds of a black screen, but its annoying non-the-less.
    An example of such: earlier today i started up firefox 4, and when it was loading the tabs, the screen turned black, and when the screen came back on, pop up in the windows task bar told me that the graphics card had stoped responding but successfully recovered. Not the first time, but becoming a more regular occurrence.

    You seem to be running older versions of Flash and Java plugins. I'd recommend you update to the latest versions first of all to see whether the problem persists or not.
    The easiest way to check is to go to the [http://www.mozilla.com/en-US/plugincheck/ Plugins Check] page.
    If that fails to solve the problem, try running Firefox in [[Safe Mode]]. If it works correctly in that configuration, then one of your add-ons is the culprit.

  • Don't have printer settings for Epson CX9400fax since upgrading to SL

    I recently upgrade my operating system from Tiger to Snow Leopard (after a HD crash). I have an Epson CX9400fax all-in-one machine and I am able to print, but I no longer have the Printer Settings options as before - where you can change paper, ink, etc. I'm trying to print from Photoshop CS5, if that's relevant at all.
    This is what I am looking for:
    tons of options/setting to adjust
    And this is what I have now:
    basically just print.
    Here's the driver info:
    Is this something on Epson's end that hasn't been updated yet?
    I've looked around, both here and online and haven't really got anywhere. If ANYONE can help, I will be very appreciative.
    Oh, and I'm a first-timer so please be nice :0)

    Hi,
    Welcome to Apple Discussions. I had the same problem with my Epson printer and solved it by going to Apple Support [here|http://support.apple.com/kb/HT4169]. You can rearrange your printer settings using CUPS from there. Also, click on the triangle to the right of the Printer Name window to get an expanded menu.
    Good luck and a Merry Christmas.
    Cunnla
    Message was edited by: Cunnla
    Message was edited by: Cunnla

  • "Unable to check for available downloads" since upgrade to 8.1

    It appears a number of people are having this problem but are all under different headings...
    I can purchases new music/items and have them download right away, but it appears anything that was waiting for me to download prior to the upgrade to 8.1 is stuck somewhere. When checking for Downloads (no matter which way you do it) I get an error that says "Unable to check for available downloads. The iTunes store is temporarily unavailable."
    Troubleshooting guides suggest ensuring your firewall is allowing all permissions appropriately... I even turned them to "ask for permission" so that I would know it was trying. No luck.
    When is Apple going to recognize there's a problem? If I can purchase new items and get them to download right away, clearly there is no issue with ISP or Firewall.

    Having the same issue. I even downloaded a rental last night to have it disappear this morning and it says I have purchased the rental but never downloaded it. I have played with all network settings include as open as possible and no luck.

  • Keeps asking for serial number since upgrading

    Just took the plunge and despite some dodgy reviews, I upgraded elements via a disc install. Now each time I open it, it asks for serial number and assumes I am still on trial. This despite my account showing it is registered. Also it has up graded and not brought any plug ins with it to the newer versions.
    Think I will just stick to Lightroom completely and write this version off.
    Any advice on sorting this buggy upgrade out?

    Try Shikha's solution from this thread:
    Elements 12 - not working

  • BRAIN 627 (Variable value doesn't exist for Char.) since upgrade to SP15

    Hello Gurus,
    We upgraded our DEV BI 7.0 system last week from SP12 to SP15 and we experience a problem in some workbooks:
    Whenever I try to refresh or switch to the Design Mode, I get the following errors message:
    BRAIN 627 : Variable "Calendar Month Year Interval" value "2006.01" doesn't exist for Characteristic [0CALMONTH in that InfoSet].
    I found that the OSS note 1111256 corresponds to this issue, but the only solution mentionned is to import SP17.
    Isn't there another way to implement this correction directly before waiting for the SP17 (knowing that even SP16 is not available yet)? This is a big issue for us, as we can't refresh some of our workbooks.
    Any help would be greatly appreciated.

    Hello
    You mean to say that you are encountering this issue only in some workbooks and not all workbooks. Are all these workbooks written on queries on the same infoset?
    See if the mapping in the infoset is causing this issue.
    Hope this helps

  • Grey blank page for some messages since upgrading to mountain lion

    Just upgraded several days ago from Snow Leopard to Mountain Lion (10.8.3) and I have notice that some email messages (Apple Mail) I only get a blank grey page. I know I have a lot of messages in my mail account and wonder if that might be the problem. Any help would be appreciated.
    Jerry

    I tried rebuild but it did not help. I still have a grey empty page on some messages. They usually part of a conversation, I tried to uncheck the "organize by conversation" but I still randomly have that problem. Sometimes if I quit and reopen Mail it goes away but other times it doesn't. Is it possible that having a large number of messages in the inbox might be responsible?

  • Since upgrading to 10.8 my iMac can't see video files to copy across in Finder when connecting my AVCHD camcorder via USB

    Hi, I usually connect my Panasonic AVCHD Camcorder via USB to copy the .MTS files across to my iMac for editing. Since upgrading to Mountain Lion, Finder sees the directories for photos stored on the Camcorder but not the video directories/files. I can see them via Parallels. Any ideas why?
    Thanks, Julian

    ML will show the AVCHD as a pkg, so you are not able view the directories like BDMV-->Stream-->MTS. You can right click AVCHD file, then choose show package contents. you will see BDMV, then you right click BDMV to choose show package, you will see stream folder, just do it again, you will find MTS files. Next time if you want to check the MTS files you just need to do above again. right click AVCHD....
    Another way, rename AVCHD to AVCHD.mts then do it same with BDMV and Stream folder, it will let you see MTS files after that. Those mts files will keep showing on your mac next time.
    Hope it helps

  • Since upgrade for Yosemite, lost 60Hz in display PQ321QE?

    Since i upgrade from Yosemite beta to final, i lost the ability of having my monitor PQ321QE working on 60Hz?
    Now it only works on 30Hz, but is impossible work in this frame rate.
    Please some one know whats up, and solutions?
    Best regards

    On the displays preference pane do you have it set on the option "Default for display"? What happens if you change it to scaled? Also did you check to see if the manufacturer of your display has updated drivers?
    I hope this helps.
    Paul

  • Why is everything so difficult since 'upgrading' to Maverick. I can't sync my Outlook calendar (default) with iCal or my iPad.

    Why is everything so difficult since 'upgrading' to Maverick. I can't sync my Outlook calendar (default) with iCal or my iPad.
    Also, I can't send pictures via Dropbox any more. Two basic necessities that I just can't get to work.

    Microsoft didn't update Outlook to be Mavericks ready.
    I don't really use Dropbox, but if their software doesn't work like it used to, they didn't update it for Mavericks.
    EDIT: http://www.iclarified.com/34312/dropbox-24-released-for-mac-os-x-brings-maverick s-support-iphoto-importer-more

  • Since upgrading to 10.7.2 to use iCloud, i keep getting a message with ubd wants to use the login keychain, anyone for help to how to get rid of this...

    since upgrading to 10.7.2 to use iCloud, i keep getting a window message with ubd wants to use the login keychain, i put the right password but it keeps coming back, anyone for help to how to get rid of this...

    This is what I did and it seems to have worked so far. While that little annoying box is up you need to open the Keychain access by:
    going to applications -> open utilities folder -> click to open Keychain Access
    Now here is the stupid part, you have to continue to press the cancel button on the "ubd wants to use login keychain" box for the kaychain window to open. Once you have keychain access open go to:
    the top of your monitor and select "Keychain Access" right next to the little apple logo -> click preferences in the options panel-> the preference box will open now -> click "Reset My Default Keychain" -> another box will pop up that says "Please enter your login password. This password will be used to create your new keychain" (of course this is assuming that you use a login password to access your mac) -> enter your login password and a box shows up that says "created a new empty 'Login' keychain"
    After that you should be good to go. This new keychain you created with your login password overides the old keychain. The old keychain is still available in the Keychain's folder but is not being used and therefor can be deleted. All you have to do now is press ok, and your good. If the "ubd wants to use login keychain" box is still there after you reset your keychains just hit cancel and it should be gone for good or you can enter your login password.
    Is this a fixall that will work forever? I have no idea but doing this has allowed me to access my network at work and all the servers I need to get to.
    Oh and one more thing. You may need to press cancel on the ubd box throughout this entire process, I just gon in the habit of clicking a button hitting cancel on the ubd box and the new window would pop up.
    I hope this helps you! Sorry if it's long, I was trying to be as detailed as possible to make it  easier. Let me know how it goes.

Maybe you are looking for

  • Safari 2.0.4 problems after sleep

    I've searched a bit for problems with Safari 2.0.4 after sleep and can't find much that relates to my specific problems so I'll ask for your help. On my Powerbook G4 15" when Safari is running and it goes into sleep mode I get the following problems:

  • Why 105 material document is without REF_DOC if i don't use GR-Based IV ?

    Hello Guru , We are facing a issue which is the 105 movement type document generated by MB01 is without the 103 REF document number . As we know this is due to the 'GR-Based IV' option is not enabled in the Purchase order line item level ( Intercompa

  • Class not found in VC6?

    Yesterday, under the VC6 & JDK1.5.0_06 environment I tested JNI, encountered the following problems. After compiling & linking, executed "M_env->FindClass in m_cls = ( "htmlparser_test/Demo"); " the return value m_cls = Null. However, if I remove the

  • Video Clips from Internet

    Hey all!    I was blessed to recieve a free trial to a site called videoblocks.com where I can download videos to use for my project for a week. I'm trying to get the most out of the opportunity and get the videos I need in my project, but I need adv

  • Query to get batch GLBATCH name for the invoices of AP and AR

    Please provide a query to get GLBatch name for an invoice of AR and AR. From one cursor iam getting invoice number and invoiceID of AP and AR. I have written query but it is taking much time select distinct gjb.NAME from gl_je_headers gjh, gl_je_line