Re: ipfw: ipfw: Adding record failed: Inappropriate ioctl for device
Date: Sun, 12 Oct 2025 11:33:13 UTC
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>