🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: muc.lists.freebsd.bugs
Article #809

[Bug 301191] rctl/racct: pcpu rules with devctl/log/sig actions never fire

#809
From: 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
Technical Details
Message-ID: <bug-301191-227@https.bugs.freebsd.org/bugzilla/>
Path: mbox-mo1.pugleaf.net!srv.newsdeef.eu!newsfeed.bofh.team!usenet.goja.nl.eu.org!3.eu.feeder.erje.net!feeder.erje.net!news2.arglkargh.de!news.karotte.org!news.muc.de!.POSTED.news.muc.de!not-for-mail

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!srv.newsdeef.eu!newsfeed.bofh.team!usenet.goja.nl.eu.org!3.eu.feeder.erje.net!feeder.erje.net!news2.arglkargh.de!news.karotte.org!news.muc.de!.POSTED.news.muc.de!not-for-mail
From: bugzilla-noreply@freebsd.org
Newsgroups: muc.lists.freebsd.bugs
Subject: [Bug 301191] rctl/racct: pcpu rules with devctl/log/sig actions
 never fire
Date: Fri, 27 Nov 2026 16:04:47 +0000
Organization: Newsgate at muc.de e.V.
Approved: news-admin@muc.de
Distribution: world
Message-ID: <bug-301191-227@https.bugs.freebsd.org/bugzilla/>
MIME-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Injection-Info: news.muc.de; posting-host="news.muc.de:193.149.48.2";
	logging-data="54278"; mail-complaints-to="news-admin@muc.de"
X-Original-To: bugs@mlmmj.nyi.freebsd.org
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim;
	t=1795795487;
	h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
	 to:to:cc:mime-version:mime-version:content-type:content-type:
	 content-transfer-encoding:content-transfer-encoding;
	bh=EN/eCnCZvkdpG3uSYd+8OFsEIMRs95tYhdC7Yb51fOg=;
	b=ruQHFMyfZbucs4Fl2u5sUdwZVBlfhWUiwtif4IAZxymwATankfQ/xCe67yFKpN/5lLaVAk
	bJIiIVEpI3+9my98ZEESQdXq3EF1deZs9rR5Or6x/vE0c2AEApf0v1Udbt2hxrULUhp20b
	k5d+1tjOUcihlD+dsxCD+ozSLrvohDgrcl2h7dzxksBhg6SBhSP5h1uY0yjlG39+0rlEG6
	tqSmhnqMteeCnmrWeaGhAIUowQ3TpfbqbrezKcGM9m3dbzOEhGrZgKCk66HAZvEq4pzL+C
	oiXv/6mgEsxWD7J8BE/3/FQVElxBr1hZ2maBYpI+OYZmTsVv3wzamkA7cjGdfg==
X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f
Auto-Submitted: auto-generated
Precedence: list
X-Newsgate-Id: f02c70b8849f+
X-No-Archive: Yes