You are not logged in.

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

kokoko3k
Member
Registered: 2008-11-14
Posts: 1,552

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)

Offline

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

kokoko3k
Member
Registered: 2008-11-14
Posts: 1,552

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)

Offline

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

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

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: 1,552

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

Eheh, you're right

Offline

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

cfr
Member
From: Cymru
Registered: 2011-11-27
Posts: 5,675

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...


How To Ask Questions The Smart Way | Help Vampires

Arch Linux | x86_64 | GPT | EFI boot | grub2 | systemd | LVM2 on LUKS
Lenovo x121e | Intel(R) Core(TM) i3-2367M CPU @ 1.40GHz GenuineIntel | Intel Centrino Wireless-N 1000 | US keyboard with Euro | 320G 7200 RPM Seagate HDD

Offline

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

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

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: 5,675

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.


How To Ask Questions The Smart Way | Help Vampires

Arch Linux | x86_64 | GPT | EFI boot | grub2 | systemd | LVM2 on LUKS
Lenovo x121e | Intel(R) Core(TM) i3-2367M CPU @ 1.40GHz GenuineIntel | Intel Centrino Wireless-N 1000 | US keyboard with Euro | 320G 7200 RPM Seagate HDD

Offline

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

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

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: 1,552

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

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

Offline

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

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 20,099
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  •   Github

Registered Linux User #482438

Offline

Board footer

Powered by FluxBB