You are not logged in.

#26 2013-09-18 13:35:37

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Deprecation of /etc/sysctl.conf

I get only these two lines. I'm using just the systemd's journal, my /var/log/messages.log is empty.

Offline

#27 2013-09-18 14:00:11

WorMzy
Forum Moderator
From: Scotland
Registered: 2010-06-16
Posts: 11,856
Website

Re: Deprecation of /etc/sysctl.conf

It seems unusual that you're getting two warnings about the same file, but I don't think that's a problem worth losing sleep over.

I was under the impression that you were getting the flooding that kokoko3k described.


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

#28 2013-09-18 14:01:30

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Deprecation of /etc/sysctl.conf

WorMzy wrote:

It seems unusual that you're getting two warnings about the same file, but I don't think that's a problem worth losing sleep over.

I was under the impression that you were getting the flooding that kokoko3k described.

I've always got just two lines: https://bbs.archlinux.org/viewtopic.php … 8#p1326098 and I still get them with systemd 207.

Offline

#29 2013-09-18 21:06:01

cfr
Member
From: Cymru
Registered: 2011-11-27
Posts: 7,132

Re: Deprecation of /etc/sysctl.conf

kokoko3k wrote:
#  grep sysrq /usr/lib/sysctl.d/* /etc/sysctl.d/*
/usr/lib/sysctl.d/50-default.conf:kernel.sysrq = 16
/etc/sysctl.d/50-default.conf:kernel.sysrq = 1

Seems to be fine now
so the message in homepage:

pacman -Syu
mv /etc/sysctl.conf.pacsave /etc/sysctl.d/99-sysctl.conf

should be:

pacman -Syu
mv /etc/sysctl.conf.pacsave /etc/sysctl.d/50-default.conf

No: the message on the home page is correct. This is not a good solution unless you know you want to overwrite all settings in /usr/lib/sysctl.d/50-default.conf, including all future settings. If the default file is updated, you will need to check if you need to make changes. Moreover, you will need to monitor the default configuration file for changes because pacman will never warn you about it.


CLI Paste | How To Ask Questions

Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L

Offline

#30 2013-09-18 21:16:08

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Deprecation of /etc/sysctl.conf

There's no /etc/sysctl.d/50-default.conf file. No package owns this file.
/usr/lib/sysctl.d/50-default.conf is a different file.

Offline

#31 2013-09-18 21:19:21

cfr
Member
From: Cymru
Registered: 2011-11-27
Posts: 7,132

Re: Deprecation of /etc/sysctl.conf

Yes. But if you create /etc/sysctl.d/50-default.conf rather than /etc/sysctl.d/99-sysctl.conf, you will effectively mask /usr/lib/sysctl.d/50-default.conf.


CLI Paste | How To Ask Questions

Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L

Offline

#32 2013-09-18 22:02:17

WonderWoofy
Member
From: Los Gatos, CA
Registered: 2012-05-19
Posts: 8,414

Re: Deprecation of /etc/sysctl.conf

cfr is right, the sysctl.d stuff works like systemd units.  The stuff in /etc/sysctl.d takes priority over the files in /usr/lib/sysctl.d if the files have the same name.

Offline

#33 2013-09-18 22:33:39

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Deprecation of /etc/sysctl.conf

I must have misread 'man sysctl.d'. I only though about priorities, I didn't think the files will be masked completely e.g. there's no  'Overwriting earlier assignment' messages if I create /etc/sysctl.d/50-default.conf.

Thanks cfr and WonderWoofy.

Offline

#34 2013-09-20 08:10:56

kokoko3k
Member
Registered: 2008-11-14
Posts: 2,394

Re: Deprecation of /etc/sysctl.conf

Any hope to UNmark this thread as SOLVED?
Log flooding or completely overwrite a bunch of values just to save one doesn't look as an acceptable solution to me...


Help me to improve ssh-rdp !
Retroarch User? Try my koko-aio shader !

Offline

Board footer

Powered by FluxBB