https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=292069
Bug ID: 292069
Summary: Custom /etc/crontab is overwritten – no
crontab.pkgsave – with a pkgbase major upgrade
Product: Base System
Version: 14.3-RELEASE
Hardware: Any
OS: Any
Status: New
Severity: Affects Some People
Priority: ---
Component: conf
Assignee: [email protected]
Reporter: [email protected]
Credit to /u/celestrion in Reddit for observing this bug. The relevant post is
currently pinned (a community highlight) in /r/freebsd.
An example, post-upgrade:
root@pkg:~ # bectl list -c creation
BE Active Mountpoint Space Created
test - - 2.77G 2025-03-20 23:33
fifteen NR / 13.5G 2025-12-31 12:40
root@pkg:~ # bectl mount test /tmp/hmm
/tmp/hmm
root@pkg:~ # ls -hln /etc/cron*
-rw-r--r-- 1 0 0 646B Nov 28 00:00 /etc/crontab
/etc/cron.d:
total 4.5 KB
-rw-r--r-- 1 0 0 128B Nov 28 00:00 at
root@pkg:~ # diff /tmp/hmm/etc/crontab /etc/crontab
1c1
< # /etc/crontab - root's crontab for FreeBSD
---
> # /etc/crontab - system crontab for FreeBSD
13c13
< # 0 * * * * root newsyslog
---
> 0 * * * * root newsyslog
----
pkgbasify (conversion without a major upgrade) is not bugged.
It merges, and sets aside
/etc/crontab.pkgsave
--
You are receiving this mail because:
You are the assignee for the bug.