Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 31 Dec 2025 14:11:33 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   =?UTF-8?B?W0J1ZyAyOTIwNjldIEN1c3RvbSAvZXRjL2Nyb250YWIgaXMgb3Zl?= =?UTF-8?B?cndyaXR0ZW4g4oCTIG5vIGNyb250YWIucGtnc2F2ZSDigJMgd2l0aCBhIHBr?= =?UTF-8?B?Z2Jhc2UgbWFqb3IgdXBncmFkZQ==?=
Message-ID:  <bug-292069-227@https.bugs.freebsd.org/bugzilla/>

index | next in thread | raw e-mail

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: bugs@FreeBSD.org
          Reporter: grahamperrin@gmail.com

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.

home | help

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