12-28-2019, 07:05 AM | #1 |
Human being with feelings
Join Date: Dec 2015
Posts: 214
|
arch realtime-privileges & system settings?
My log files are flooded with PAM audit messages
Code:
[20190.978249] audit: type=1131 audit(1577540170.084:1344): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-hostnamed comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' User has been added to the audio and realtime group Code:
sudo nano /etc/security/limits.conf session required pam_limits.so (<<<< especially this one) @audio - rtprio 95 @audio - memlock unlimited sudo nano /etc/udev/rules.d/40-timer-permissions.rules KERNEL=="rtc0", GROUP="audio" KERNEL=="hpet", GROUP="audio" sudo nano /etc/rc.local echo 2048 > /sys/class/rtc/rtc0/max_user_freq echo 2048 > /proc/sys/dev/hpet/max-user-freq https://sourceforge.net/projects/preload/
__________________
Manjaro-KDE RT, AMD FX-8350, 16GB, nvidia GT 630, Multiscreen (2x 22", 1x 15"), Reaper (latest) Theme: iLogic Next, Interface: Tascam US-16x08, ControlSurface: Tascam US-2400, Monitors: JBL 4412A, Tascam VL-S3 & Alesis Elevate 3 mkII |
12-28-2019, 07:21 AM | #2 |
Human being with feelings
Join Date: May 2015
Location: Québec, Canada
Posts: 4,937
|
Audit messages are unrelated to realtime-privileges. To enable these privileges (once that package has been installed), just add your user to the realtime group.
You can turn off audit messages by adding audit=0 to your kernel command line (or masking systemd-journald-audit.socket).
__________________
💖 Donate (PayPal) | Sponsor (GitHub) | The Endless Journey (Keyboard Ensemble) ReaPack, a package manager for REAPER | SWS 2.14 is now available in ReaPack [new!] Developer tools: Lua profiler | Interactive ReaScript | ReaPack Editor | ReaImGui Last edited by cfillion; 12-28-2019 at 07:30 AM. |
12-28-2019, 07:33 AM | #3 | |
Human being with feelings
Join Date: Dec 2015
Posts: 214
|
Quote:
should I remove following stuff and username from the audio group too? Code:
session required pam_limits.so @audio - rtprio 95 @audio - memlock unlimited
__________________
Manjaro-KDE RT, AMD FX-8350, 16GB, nvidia GT 630, Multiscreen (2x 22", 1x 15"), Reaper (latest) Theme: iLogic Next, Interface: Tascam US-16x08, ControlSurface: Tascam US-2400, Monitors: JBL 4412A, Tascam VL-S3 & Alesis Elevate 3 mkII |
|
12-28-2019, 10:11 AM | #4 |
Human being with feelings
Join Date: Dec 2015
Posts: 214
|
yeah looks much better now, so any important logs for debugging are no longer covered by flooding pam audits.
I use the standard linux-rt (5.2.21-rt14) kernel from manjaro community sources. I switched back from arch to manjaro because it makes some things more comfortable.
__________________
Manjaro-KDE RT, AMD FX-8350, 16GB, nvidia GT 630, Multiscreen (2x 22", 1x 15"), Reaper (latest) Theme: iLogic Next, Interface: Tascam US-16x08, ControlSurface: Tascam US-2400, Monitors: JBL 4412A, Tascam VL-S3 & Alesis Elevate 3 mkII |
12-28-2019, 01:23 PM | #5 |
Human being with feelings
Join Date: Aug 2007
Location: Luxembourg/Spain
Posts: 1,922
|
I don't use Manjaro so I have no clue about it.
Still in Archlinux you ought to add the realtime-privileges package, add your user to the realtime group and drop the rest of the above. We did drop the audio group stuff as it might conflict with how the system allows access to soundcards for multi user systems. AFAIK, /etc/rc.local isn't used at all anymore, unless you added a systemd unit to make it run.
__________________
Reaper for Linux Documentation (WIP). Software: Archlinux/KDE, Fabfilter FX, Komplete 8, Nebula, Schwa/Stillwell, T-racks Max/Amplitube/SVX, etc. Gear: i7-2600k/4700HQ/16GB, RME Multiface/Babyface, Behringer X32, Genelec 8040, etc. :) |
12-29-2019, 09:21 AM | #6 |
Human being with feelings
Join Date: Dec 2015
Posts: 214
|
thanks guys, everything works perfectly without additional configurations!
yep, rc.local is active I use it for unbinding IRQs and disable an onboard device also for setting up my extra numpads for my shortcuts, it's easier to handle w/ only one file instead of systemd startup actions
__________________
Manjaro-KDE RT, AMD FX-8350, 16GB, nvidia GT 630, Multiscreen (2x 22", 1x 15"), Reaper (latest) Theme: iLogic Next, Interface: Tascam US-16x08, ControlSurface: Tascam US-2400, Monitors: JBL 4412A, Tascam VL-S3 & Alesis Elevate 3 mkII |
12-29-2019, 01:52 PM | #7 |
Human being with feelings
Join Date: Aug 2007
Location: Luxembourg/Spain
Posts: 1,922
|
Hehe, I have a /usr/local/bin/rc.conf (out of sentimental reasons) that runs a few startup commands. I made a systemd unit to run it many years ago.
__________________
Reaper for Linux Documentation (WIP). Software: Archlinux/KDE, Fabfilter FX, Komplete 8, Nebula, Schwa/Stillwell, T-racks Max/Amplitube/SVX, etc. Gear: i7-2600k/4700HQ/16GB, RME Multiface/Babyface, Behringer X32, Genelec 8040, etc. :) |
Thread Tools | |
Display Modes | |
|
|