You are not logged in.

#1 2013-04-08 11:25:45

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

BUG? procpsng+systemd=log file flooded by systemd?

my system log file is filled with something like:

Apr  8 13:26:18 localhost systemd-sysctl[22509]: Duplicate assignment of kernel/sysrq in file '/usr/lib/sysctl.d/50-default.conf', ignoring.

About 10% is taken by those warnings!

Gozer ~ # wc -l  /var/log/everything.log && grep 'Duplicate assignment of kernel/sysrq in file' /var/log/everything.log | wc -l
962 /var/log/everything.log
162

I can understand what variable is duplicated, it is kernel.sysrq:

Gozer ~ # grep -v \# /etc/sysctl.conf |sort -u
kernel.sysrq = 0
net.ipv4.ip_forward = 0
net.ipv4.tcp_syncookies = 1
net.ipv6.conf.all.forwarding = 0

Gozer ~ # grep -v \# /usr/lib/sysctl.d/50-default.conf |sort -u
fs.protected_hardlinks = 1
fs.protected_symlinks = 1
kernel.core_uses_pid = 1
kernel.sysrq = 16
net.ipv4.conf.default.accept_source_route = 0
net.ipv4.conf.default.rp_filter = 1

...and all started from the new systemd defaults:

Gozer ~ # pacman -Ql |grep -i  50-default.conf 
systemd /usr/lib/sysctl.d/50-default.conf

...At least it doesn't overwrite it:

Gozer ~ # sysctl -a | grep -i sysr
kernel.sysrq = 0

So,
not only the new systemd defaults duplicates what i already have in /etc/sysctl.conf,
but it even complaints in the log file!

Is there a way to stop it?

Last edited by kokoko3k (2013-04-09 06:11:07)


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

Offline

#2 2013-09-18 11:10:42

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

Re: BUG? procpsng+systemd=log file flooded by systemd?

-EDIT-
Posted here instead... still looking for help.
https://bbs.archlinux.org/viewtopic.php … 5#p1326095

-edit
Link modified

Last edited by kokoko3k (2013-09-18 11:57:42)


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

Offline

#3 2013-09-18 11:38:30

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

Re: BUG? procpsng+systemd=log file flooded by systemd?

kokoko3k wrote:

-EDIT-
Posted here instead... still looking for help.
https://bbs.archlinux.org/viewtopic.php?id=169925&p=2

Please link directly to the post https://bbs.archlinux.org/viewtopic.php … 5#p1326095 as people use different posts-per-page settings and this ways you don't have to browse the page looking for the post in question.

BTW, I see you got rid of the useless cat ;P

Offline

#4 2013-09-18 11:57:07

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

Re: BUG? procpsng+systemd=log file flooded by systemd?

Eheh, you're right


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

Offline

#5 2013-09-19 23:50:15

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

Re: BUG? procpsng+systemd=log file flooded by systemd?

What versions of systemd and procps-ng do you have? I thought this had been fixed but don't remember the details...


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

#6 2013-09-19 23:53:46

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

Re: BUG? procpsng+systemd=log file flooded by systemd?

cfr wrote:

What versions of systemd and procps-ng do you have? I thought this had been fixed but don't remember the details...

https://bbs.archlinux.org/viewtopic.php … 1#p1326121




kokoko3k, I thunk you should mark this thread as solved.

Offline

#7 2013-09-20 00:06:49

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

Re: BUG? procpsng+systemd=log file flooded by systemd?

That's a really bad solution, though, because it masks all of the defaults and all future defaults.


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

#8 2013-09-20 00:09:24

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

Re: BUG? procpsng+systemd=log file flooded by systemd?

Yup, I [now] know https://bbs.archlinux.org/viewtopic.php … 4#p1326424 :-)



I never got my logs flooded, I just keep getting two lines at every boot - it's not exactly the end of the world, so I did what the news item told me to do.

Offline

#9 2013-09-20 06:29:46

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

Re: BUG? procpsng+systemd=log file flooded by systemd?

I'm requesting this thread to be merged with the other...


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

Offline

#10 2013-09-20 06:43:36

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: BUG? procpsng+systemd=log file flooded by systemd?

Rather than merge, well just close this and leave the pointer to the other thread:
https://bbs.archlinux.org/viewtopic.php?id=169925



Closing


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

Board footer

Powered by FluxBB