On Thu, 11 Jan 2024 19:43:08 +0100,
Dave Voutila wrote:
>
> Can you try the diff shared recently on bugs@?
>
>   https://marc.info/?l=openbsd-bugs&m=170482622227793&q=raw

After appling this patch I do have the first issue.

An upgrade OpenBSD inside VM from 7.3 to 7.4 leads to garbage inside
/etc/groups. This file contains some binar data instead groups.

Upgrade were made via sysupgrade and VM simple doesn't return from the boot.

After reset and start with console it complained as:

  pf enabled
  starting network
  reordering: ld.soinstall: unknown group bininstall: unknown group bin 
sshd(failed).
  install: unknown group utmp
  starting early daemons: syslogd pflogd ntpd.
  starting RPC daemons:.
  kvm_mkdb: can't find kmem group: Undefined error: 0
  savecore: no core dump
  checking quotas: done.
  chown: group is invalid: wheel
  clearing /tmp
  kern.securelevel: 0 -> 1
  creating runtime link editor directory cache.
  preserving editor files.
  starting network daemons: sshd(failed) smtpd sndiod.
  starting local daemons: cron(failed).

after that I've stop it again and restarted with console to boot it with -s
where I discover that:

  # cat /etc/group              
      fG???V?y
  X???Gm?V?+?(l?]?I??.??B?????NF?d?6??pV?>??Ob64?MXXg?

so,

  # mount -uw /
  # mount /usr
  # mount /var
  # tar -xzvf /var/sysmerge/etc.tgz ./etc/group 

was enough to boot it again, but now I a bit scary :)

Shall I revert the patch or it isn't related, or?

--
wbr, Kirill

Reply via email to