🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: muc.lists.freebsd.bugs
2 messages
2 total messages Started by bugzilla-noreply Fri, 27 Nov 2026 16:04
[Bug 301191] rctl/racct: pcpu rules with devctl/log/sig actions never fire
#809
Author: bugzilla-noreply
Date: Fri, 27 Nov 2026 16:04
62 lines
3628 bytes
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=301191

            Bug ID: 301191
           Summary: rctl/racct: pcpu rules with devctl/log/sig actions
                    never fire
           Product: Base System
           Version: Unspecified
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Many People
          Priority: ---
         Component: kern
          Assignee: bugs@FreeBSD.org
          Reporter: pascal.christen@hostpoint.ch

Since https://reviews.freebsd.org/D30878 ("racct: Improve handling of the popu
resource", D30878, PR 235556), pcpu rules with the devctl, log or sig* actions
are still accepted by rctl(8) but never trigger. popu: deny stil works.

Steps to Reproduce:

root@racct:~ # uname -r
14.5-RELEASE
root@racct:~ # rctl -a user:test1:pcpu:devctl=40
root@racct:~ # cat /etc/devd/rctl_test.conf
notify 10 {
        match "system"          "RCTL";
        match "subsystem"       "rule";
        match "type"            "matched";
        action "logger -t rctl-devd 'Matched rule: $_'";
};
root@racct:~ # rctl
user:test1:pcpu:devctl=40
root@racct:~ # service devd restart
Stopping devd.
Waiting for PIDS: 1449.
Starting devd.

Actual Results: 
root@racct:~ # tail -f /var/log/messages
[...] - empty

Expected Results:
With 14.3-RELEASE, I got the following:

root@racct:~ # tail -f /var/log/messages
Nov 27 15:51:20  rctl-devd[1084]: Matched rule: $system=RCTL subsystem=rule
type=matched rule=user:1001:pcpu:devctl=40 pid=1075 ruid=1001 jail=0

-- 
You are receiving this mail because:
You are the assignee for the bug.

--
Posted automagically by a mail2news gateway at muc.de e.V.
Please direct questions, flames, donations, etc. to news-admin@muc.de
[Bug 301191] rctl/racct: pcpu rules with devctl/log/sig actions never fire
#810
Author: bugzilla-noreply
Date: Fri, 27 Nov 2026 16:24
17 lines
2572 bytes
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=301191

Mark Linimon <linimon@FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |regression
           Assignee|bugs@FreeBSD.org            |markj@FreeBSD.org

-- 
You are receiving this mail because:
You are the assignee for the bug.

--
Posted automagically by a mail2news gateway at muc.de e.V.
Please direct questions, flames, donations, etc. to news-admin@muc.de
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads