Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 10 Sep 2021 17:41:16 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 258411] blacklistctl dump fails shortly after first use
Message-ID:  <bug-258411-227@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D258411

            Bug ID: 258411
           Summary: blacklistctl dump fails shortly after first use
           Product: Base System
           Version: CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: bin
          Assignee: bugs@FreeBSD.org
          Reporter: emaste@freebsd.org

When starting blacklistd for the first time an empty /var/db/blacklistd.db =
file
is created, and `blacklistctl dump` produces an error in this case:

# service blacklistd start
Starting blacklistd.
# ls -l /var/db/blacklistd.db=20
-rw-------  1 root  wheel  0 Sep 10 17:38 /var/db/blacklistd.db
# blacklistctl dump
state_open: can't open `/var/db/blacklistd.db' (Inappropriate file type or
format)
blacklistctl: Can't open `/var/db/blacklistd.db': Inappropriate file type or
format

After a short while data is written, and `blacklistctl dump` reports an emp=
ty
list:

# blacklistctl dump
        address/ma:port id      nfail   last access

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



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