DeprecationWarning: datetime.datetime.utcfromtimestamp() is deprecated and scheduled for removal in a future version.

Shortly after moving the jail dvl-ingress01 from Python 3.11 to Python 3.12, I started seeing these messages: The code in question ( link to source) is This should be easy enough to replace, knowing python. First, reproduce the problem With any change to fix a problem, I must first be able to reproduce the problem. […]

DeprecationWarning: datetime.datetime.utcfromtimestamp() is deprecated and scheduled for removal in a future version. Read More »

How FreshPorts processes vuxml entries

One of my favorite FreeBSD features is security/vuxml – from it we get these great tools (provided by pkg): * pkg audit (what installed packages contain known vulnerabilities?) * /usr/local/etc/periodic/security/410.pkg-audit – pkg-audit for host and jails * /usr/local/etc/periodic/security/405.pkg-base-audit – same as above, but for base system I use the latter two command within my monitoring

How FreshPorts processes vuxml entries Read More »

Converting from int to bigint and from serial to identity

Yesterday, a Facebook memory reminded me of an old issue with FreshPorts: serial values which are about to overflow. This is where you may be thinking? serial? In this day? You might also think, why serial? Why not UUID. Keep thinking about that. Some of the tables we’re talking about were designed 20+ years ago.

Converting from int to bigint and from serial to identity Read More »

Scroll to Top