Re: PKGBASE Removes FreeBSD Base System Feature

2025-08-04 Thread Miroslav Lachman
On 01/08/2025 16:22, David Chisnall wrote: On 31 Jul 2025, at 02:57, Miroslav Lachman <000.f...@quip.cz> wrote: I would also like to separate it. Use one command to update (upgrade) 3rd party packages and another to update (upgrade) base packages. It is our workflow for the last 25+

Re: PKGBASE Removes FreeBSD Base System Feature

2025-07-30 Thread Miroslav Lachman
It is our workflow for the last 25+ years thus running one command to update both is really unexpected and unwanted. Kind regards Miroslav Lachman As for additional groups like base-minimal or base-standard - I do not have anything against such additional features or layers - its not relate

Re: No GUI after 14.2 p3

2025-04-16 Thread Miroslav Lachman
os/FreeBSD.conf FreeBSD: { url: "pkg+https://pkg.FreeBSD.org/${ABI}/latest";, mirror_type: "srv", signature_type: "fingerprints", fingerprints: "/usr/share/keys/pkg", enabled: yes } Kind regards Miroslav Lachman

Re: No GUI after 14.2 p3

2025-04-16 Thread Miroslav Lachman
ome There is XFCE for 14 Latest but is missing for Quarterly https://www.freshports.org/x11-wm/xfce4/ Many other packages I need are also missing. Current state of packages for desktop oriented FreeBSD is really bad. Kind regards Miroslav Lachman

Re: Upgrading from 13 to 14 while keeping sendmail

2025-01-31 Thread Miroslav Lachman
on will not be changed. Only a fresh install has dma per default now. etcupdate will overwrite it or ends with conflict for manual resolve. Kind regards Miroslav Lachman

Re: Incompatibility between Sendmail and DMA

2025-01-06 Thread Miroslav Lachman
On 06/01/2025 19:03, Juraj Lutter wrote: On 6 Jan 2025, at 18:50, Helge Oldach wrote: Hi, Miroslav Lachman wrote on Mon, 06 Jan 2025 17:14:47 +0100 (CET): On 1/6/25 11:14, Miroslav Lachman wrote: After upgrading from 13.3 to 14.2, sending emails from shel lscript, which had worked for

Re: Should kernel modules be executable?

2025-01-02 Thread Miroslav Lachman
On 02/01/2025 11:15, Zhenlei Huang wrote: On Jan 2, 2025, at 5:05 PM, Dag-Erling Smørgrav wrote: Zhenlei Huang writes: Miroslav Lachman <000.f...@quip.cz> writes: Previously there were about 25 files with permission r-xr-xr-x and 871 with other permissions (mainly -r--r--r--). But

Should kernel modules be executable?

2024-12-31 Thread Miroslav Lachman
14.2 (upgraded by freebsd-update), there are 809 files with r-xr-xr-x permission and only 66 with other permissions (63 with r--r--r--) Why it was changed? I tought modules does not need to be executable. Kind regards Miroslav Lachman

Re: Change to FreeBSD release scheduling and support period vs.

2024-09-23 Thread Miroslav Lachman
quot; missing + 3 months. [1] https://www.freebsd.org/releases/13.4R/errata/ Kind regards Miroslav Lachman

Re: issues with syslogd include redirecting wg0 output to custom location

2024-09-17 Thread Miroslav Lachman
!-pkg,pkg-static *.notice;authpriv.none;kern.debug;lpr.info;mail.crit;news.err /var/log/messages !pkg,pkg-static *.* /var/log/pkg.log But I don't know how your wg0 debug entries are identified in the messages log. Kind regards Miroslav Lachman

Re: zfs boot error on mirrored drive

2024-04-18 Thread Miroslav Lachman
different path, I remember zpool.cache was stored somewhere else in older versions of FreeBSD, maybe /boot/zfs/zpool.cache) You can try to delete zpool.cache (just rename so you can move it back), import and export should re-create it. Kind regards Miroslav Lachman

Re: KVA_PAGES

2024-03-08 Thread Miroslav Lachman
; command # config -x /boot/kernel/kernel | grep -i kva_pages (it is empty on amd64) And if you see this message only as pkg message when yoy install Wine, you can ignore it. https://forums.freebsd.org/threads/wine-kva_pages-512-in-your-kernel-configuration-this-is-incompatible-with-wine.71416/ Kind regards Miroslav Lachman

Re: gpart device permissions security hole (/dev/geom.ctl)

2024-02-24 Thread Miroslav Lachman
On 24/02/2024 21:00, Vincent Stemen wrote: On Sat, Feb 24, 2024 at 04:40:00PM +0100, Miroslav Lachman wrote: I agree with this security problem. Just a small note - there are backups of partitions (/var/backups/gpart.*) created by periodic script /etc/periodic/daily/221.backup-gpart (if you

Re: sendmail 8.18.1 MFC'ed to stable/13 and stable/14

2024-02-08 Thread Miroslav Lachman
defining the range, for example "2048 4096" will generate only 2048 3072 4096 sizes. It is very simple scripting and as nobody reacted to the PR I didn't post the newer version. I can send it to you I you want. Kind regards Miroslav Lachman

Re: FreeBSD 13.2-STABLE can not boot from damaged mirror AND pool stuck in "resilver" state even without new devices.

2024-01-07 Thread Miroslav Lachman
n my 4TB pool) Kind regards Miroslav Lachman

Re: FreeBSD 13.2-STABLE can not boot from damaged mirror AND pool stuck in "resilver" state even without new devices.

2024-01-07 Thread Miroslav Lachman
8392810420971520 ada0p4 freebsd-swap (10G) 104899624 7707033600 ada0p5 freebsd-zfs (3.6T) 7811933224 2103904 - free - (1.0G) It can also be avoided if your machine supports EFI boot, but my HP Microserver Gen 8 does not support it. Kind regards Miroslav Lachman

Re: ntpd: leap-seconds.list expiration

2023-12-13 Thread Miroslav Lachman
d actual file yesterday. Now I fixed it in ntp_leapfile_sources on all my machines. Best regards Miroslav Lachman

Re: EFI and zfs raid mirror partial fail (14.0 and RELENG_13)

2023-12-03 Thread Miroslav Lachman
somewhere else?) would be nice for easier updates. And there should be some simple script to update EFI after a system upgrade on all EFI partitions defined in /etc/fstab. No magic guesswork, just use information stored by installer. Kind regards Miroslav Lachman

Re: Missing disk partition devices and GPT lables in /dev/

2023-11-29 Thread Miroslav Lachman
irror-039.5G gpt/diskG8Vsys 40G gpt/diskC90sys 40G tank1 3.58T mirror-03.58T gpt/diskG8Vtank0 3.59T gpt/diskC90tank0 3.59T Kind regards Miroslav Lachman

Re: Missing disk partition devices and GPT lables in /dev/

2023-11-28 Thread Miroslav Lachman
On 28/11/2023 23:26, Miroslav Lachman wrote: On 28/11/2023 20:55, Warner Losh wrote: As you can see there are aliases in /dev/gpt/, there are partitions for /dev/adaX devices and the pools are made of gpt labels. This is what I expect from the system in my first post. I will try to disable

Re: Missing disk partition devices and GPT lables in /dev/

2023-11-28 Thread Miroslav Lachman
ONLINE gpt/disk1tank0 1.81T - -- - - - -ONLINE As you can see there are aliases in /dev/gpt/, there are partitions for /dev/adaX devices and the pools are made of gpt labels. This is what I expect from the system in my first post. I will try to disable disk_ident as suggested by Freddie Cash. Kind regards Miroslav Lachman

Missing disk partition devices and GPT lables in /dev/

2023-11-28 Thread Miroslav Lachman
DISK-Z302YC90p5 3.59T - -- - - - -ONLINE I did similar setup and migration many times and never seen this problem. What can be wrong with this system? Kind regards Miroslav Lachman

Re: zfs list output RELENG_13 vs RELENG_14

2023-10-20 Thread Miroslav Lachman
   10016657408 589824  -   - zroot/usr   10016657408 10526662656 -   - zroot/usr/obj   10016657408 430080  -   - zroot/usr/ports 10016657408 10525368320 -   - with the dashes for zero values. Kind regards Miroslav Lachman

Re: Local sshd_config modifications

2023-10-20 Thread Miroslav Lachman
directives matters. Kind regards Miroslav Lachman

Re: FreeBSD Errata Notice FreeBSD-EN-23:09.freebsd-update [REVISED]

2023-10-20 Thread Miroslav Lachman
are reported bugs and headaches with Include and Match. Kind regards Miroslav Lachman

Re: FreeBSD Errata Notice FreeBSD-EN-23:09.freebsd-update [REVISED]

2023-10-20 Thread Miroslav Lachman
On 20/10/2023 00:14, Doug Hardie wrote: On Oct 19, 2023, at 16:16, Miroslav Lachman <000.f...@quip.cz> wrote: On 19/10/2023 21:26, Tomoaki AOKI wrote: On Thu, 19 Oct 2023 19:53:08 + Miroslav Lachman <000.f...@quip.cz> wrote: [..] It is hackery workaround. freebsd-upd

Re: FreeBSD Errata Notice FreeBSD-EN-23:09.freebsd-update [REVISED]

2023-10-19 Thread Miroslav Lachman
On 19/10/2023 21:26, Tomoaki AOKI wrote: On Thu, 19 Oct 2023 19:53:08 + Miroslav Lachman <000.f...@quip.cz> wrote: [..] It is hackery workaround. freebsd-update must not overwrite user modified files without safe merge of conflicts. yet it did it in the past, for example pf.conf an

Re: FreeBSD Errata Notice FreeBSD-EN-23:09.freebsd-update [REVISED]

2023-10-19 Thread Miroslav Lachman
e merge of conflicts. yet it did it in the past, for example pf.conf and some other vital files. Kind regards Miroslav Lachman

Re: etcupdate created empty files = system unbootable

2023-05-07 Thread Miroslav Lachman
On 06/05/2023 09:33, Miroslav Lachman wrote: [..] As you can see, cp failed, but etcupdate continued without any sign of error. cp failed because I did installkernel & installworld without rebooting. I have never run into a problem like this in the past, but I understand the reason - run

Re: etcupdate created empty files = system unbootable

2023-05-06 Thread Miroslav Lachman
On 04/05/2023 22:59, Miroslav Lachman wrote: [..] I still don't know how to reproduce it / what is the root cause, but it has happend again. This is the resulting list of empty files after a "successful" run of etcupdate after upgrading from 12.3 to 13.2. # find /etc/ -type f

Re: etcupdate created empty files = system unbootable

2023-05-04 Thread Miroslav Lachman
On 28/04/2023 16:24, Miroslav Lachman wrote: On 28/04/2023 15:16, Dimitry Andric wrote: yes, I have Boot Environment created before system upgrade (I always create BE before system or pkg upgrades) and there are automatic snapshot from cron. Should I try to clone it and reproduce it again

Re: etcupdate created empty files = system unbootable

2023-04-29 Thread Miroslav Lachman
On 29/04/2023 04:05, Tomoaki AOKI wrote: On Thu, 27 Apr 2023 11:21:06 +0200 Miroslav Lachman <000.f...@quip.cz> wrote: [..] Question number 1: How etcupdate can go so horribly wrong to put empty files in /etc/ and make system unbootable? Question number 2: What's the right way

Re: etcupdate created empty files = system unbootable

2023-04-28 Thread Miroslav Lachman
s: /etc/motd Also there was etcupdate -p before installworld. Kind regards Miroslav Lachman

Re: etcupdate created empty files = system unbootable

2023-04-28 Thread Miroslav Lachman
On 28/04/2023 08:30, Dave Cottlehuber wrote: On Thu, 27 Apr 2023, at 11:21, Miroslav Lachman wrote: After this I updated bootcode with gpart and rebooted the machine but it does not come up, cannot login via ssh. Accessing this remote machine with remote mamagement / IPMI was a nightmare. It

etcupdate created empty files = system unbootable

2023-04-27 Thread Miroslav Lachman
ew years of usage instead on mergemaster. I don't remember so many errors, unhandled automatic updates or syntax errors in important files with mergmeaster in about 15 years. Kind regards Miroslav Lachman

Re: sym vs ncr driver for emulated LSI 53C895A

2023-02-15 Thread Miroslav Lachman
On 10/02/2023 22:22, Stefan Esser wrote: Am 09.02.23 um 20:04 schrieb Miroslav Lachman: I have FreeBSD 12.4 virtual machine installed inside KVM. This machine has 2 disks. One is 30GB connected as VirtIO vtbd0. There is installed system. The second is 20TB iSCSI connected to KVM and should be

sym vs ncr driver for emulated LSI 53C895A

2023-02-09 Thread Miroslav Lachman
don't know the exact configuration of it) Kind regards Miroslav Lachman

Re: bootcode update after zpool upgrade

2022-02-24 Thread Miroslav Lachman
On 24/02/2022 20:00, Warner Losh wrote: On Thu, Feb 24, 2022 at 11:51 AM Miroslav Lachman <000.f...@quip.cz <mailto:000.f...@quip.cz>> wrote: On 24/02/2022 17:55, Warner Losh wrote: > > > On Thu, Feb 24, 2022 at 4:49 AM Miroslav Lachman <000.f.

Re: bootcode update after zpool upgrade

2022-02-24 Thread Miroslav Lachman
On 24/02/2022 17:55, Warner Losh wrote: On Thu, Feb 24, 2022 at 4:49 AM Miroslav Lachman <000.f...@quip.cz <mailto:000.f...@quip.cz>> wrote: On 24/02/2022 10:43, Alexander Leidinger wrote: > Quoting Miroslav Lachman <000.f...@quip.cz <mailto:000.f...@quip.c

Re: bootcode update after zpool upgrade

2022-02-24 Thread Miroslav Lachman
On 24/02/2022 10:43, Alexander Leidinger wrote: Quoting Miroslav Lachman <000.f...@quip.cz> (from Wed, 23 Feb 2022 I am not sure what I should update. This machine is EFI boot only (this is the only one EFI machine we have). Should I run: gpart bootcode -b /boot/pmbr -p /boot/gptzfsb

bootcode update after zpool upgrade

2022-02-23 Thread Miroslav Lachman
I update EFI partitions? (if so, then how?) This machine is very problematic with booting and mounting NVME disks. They are not visible until I disabled PCI hot plug with hw.pci.enable_pcie_hp="0" in /boot/loader.conf This is production machine so I would really like to do it right a

Re: Deprecating smbfs(5) and removing it before FreeBSD 14

2022-01-10 Thread Miroslav Lachman
Hello Rick, thank you for the update and your time on smbfs. I hope OpenSolaris version will be portable. (or mayby some older version from Apple?) FreeBSD without possibility to mount smbfs is not an option for some projects. Kind regards Miroslav Lachman On 09/01/2022 15:46, Rick Macklem

sshd -T does not work with Match

2021-11-05 Thread Miroslav Lachman
fault sshd_config and add something like this: Match group sftponly ChrootDirectory %h ...or just ucomment section "Match User anoncvs". I think sshd -T should still work without -C as it was in older versions and print configuration for any non-matched criteria. Kind reagards Miroslav Lachman

Re: Deprecating smbfs(5) and removing it before FreeBSD 14

2021-11-01 Thread Miroslav Lachman
On 01/11/2021 16:55, Rick Macklem wrote: Miroslav Lachman wrote: [good stuff snipped] Apple sources can be found there https://opensource.apple.com/source/smb/ with all the history from SMBv1 to SMBv3. The files have original copyright header from 2001 Boris Popov (same as FreeBSD) but

Re: Deprecating smbfs(5) and removing it before FreeBSD 14

2021-11-01 Thread Miroslav Lachman
ssible to have smbfs in FreeBSD upgraded to v2 or v3 but very skilled programmer is needed for this work. And for the past years there is none interested in this work. Miroslav Lachman

Re: Deprecating smbfs(5) and removing it before FreeBSD 14

2021-10-28 Thread Miroslav Lachman
advised to evaluate the sysutils/fusefs-smbnetfs port instead. Kind regards Miroslav Lachman

Re: Deprecating smbfs(5) and removing it before FreeBSD 14

2021-10-28 Thread Miroslav Lachman
t" in the base. (or at least document how to use smbnetfs the way mount_smbfs is used) Kind regards Miroslav Lachman

Re: CPU hot-plug and RAM hot-add in virtual machines

2021-07-21 Thread Miroslav Lachman
On 21/07/2021 12:45, Andriy Gapon wrote: On 21/07/2021 11:53, Miroslav Lachman wrote: On 09/07/2021 13:16, Andriy Gapon wrote: [..] Thank you for your reply. I know nothing about system internals. Is it too much work to implement it or just nobody from developers need it thus nobody write

Re: CPU hot-plug and RAM hot-add in virtual machines

2021-07-21 Thread Miroslav Lachman
cause of that but when somebody counts problems with this, with ElasticSearch, some NPM / Yarn packages, popularity of Docker and so on, then they ask "Why not migrate all to Linux?". Kind regards Miroslav Lachman

Re: CPU hot-plug and RAM hot-add in virtual machines

2021-07-21 Thread Miroslav Lachman
On 09/07/2021 13:16, Andriy Gapon wrote: On 08/07/2021 00:34, Miroslav Lachman wrote: The question is simple but I cannot find answer - Does FreeBSD support hot-plug vCPU and hot-add RAM? Current virtualization platforms support adding CPU cores or additional RAM without the need to reboot the

CPU hot-plug and RAM hot-add in virtual machines

2021-07-07 Thread Miroslav Lachman
-plug and hot-add will be really useful. If this is not supported on FreeBSD for now, is there any Work In Progress? Or is there a plan to support it? Kind regards Miroslav Lachman