Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 12 Oct 2025 20:33:13 +0900
From:      Tomoaki AOKI <junchoon@dec.sakura.ne.jp>
To:        David Wolfskill <david@catwhisker.org>
Cc:        A FreeBSD User <freebsd@walstatt-de.de>, FreeBSD CURRENT <freebsd-current@freebsd.org>
Subject:   Re: ipfw: ipfw: Adding record failed: Inappropriate ioctl for device
Message-ID:  <20251012203313.ac6305d9c59d226cf933f7a9@dec.sakura.ne.jp>
In-Reply-To: <aOuQBvMxwb8a8IcK@albert.catwhisker.org>
References:  <20251011155130.47db5448@thor.sb211.local> <aOrC07D8zjuU72UP@albert.catwhisker.org> <20251012102907.06e49c52@thor.sb211.local> <20251012200733.ea68f87a1d22abb857249538@dec.sakura.ne.jp> <aOuQBvMxwb8a8IcK@albert.catwhisker.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, 12 Oct 2025 04:24:54 -0700
David Wolfskill <david@catwhisker.org> wrote:

> On Sun, Oct 12, 2025 at 08:07:33PM +0900, Tomoaki AOKI wrote:
> > ...
> > The simplest approach would be to use temporary file, rather than pipe.
> > 
> > -- 
> > Tomoaki AOKI    <junchoon@dec.sakura.ne.jp>
> 
> Certainly -- as a circumvention for the change in behavior.  (But note
> that when this is being done, not all file systems may yet be mounted.)
> 
> It was in the process of implementing such a circumvention that I
> realized that I had a simple way to reproduce evidence of the problem.
> (Reminder: piping the commands to "/sbin/ipfw /dev/stdin" still
> works in stable/14, and has worked at least since 2008 -- (almost)
> certainly rather longer.)
> 
> Peace,
> david
> -- 
> David H. Wolfskill                              david@catwhisker.org
> 
> See https://www.catwhisker.org/~david/publickey.gpg for my public key.

So need directory somewhere in root fs is needed?
For example, (currently nonexistent) /etc/ipfw to write temporary file.
Note that root fs needs to be already mounted rw.

-- 
Tomoaki AOKI    <junchoon@dec.sakura.ne.jp>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20251012203313.ac6305d9c59d226cf933f7a9>