Your Web News in One Place

Help Webnuz

Referal links:

Sign up for GreenGeeks web hosting
January 14, 2023 09:20 am GMT

OpenBSD 7.1 7.2

OpenBSD 2022 10 20 OS 7.2 53

What's New () | Changelog ()

OpenBSD 7.1 7.2
()

1. :

Before using any upgrade method (: )

sysupgrade

/usr 1.1GB

$ df -hFilesystem     Size    Used   Avail Capacity  Mounted on(...)/dev/sd1d      6.8G    1.8G    4.6G    29%    /usr

OK :)

Configuration and syntax changes (: ) and Special packages (: )

()

/auto_upgrade.conf
OpenBSD autoinstall :

If either /auto_install.conf or /auto_upgrade.conf is found on bsd.rd's built-in RAM disk, autoinstall behaves as if the machine is netbooted, but uses the local response file. In case both files exist, /auto_install.conf takes precedence.

(: /auto_install.conf /auto_upgrade.conf bsd.rd RAM autoinstall /auto_install.conf )

/auto_upgrade.conf :

Location of sets = diskPathname to the sets = /home/_sysupgrade/Set name(s) = -x*Set name(s) = +xbase*Set name(s) = -game*Set name(s) = doneDirectory does not contain SHA256.sig. Continue without verification = yes

xbase x game

/upgrade.site

2. sysupgrade

?

* : sysupgrade

:

$ doas sysupgrade

:

Fetching from https://cdn.openbsd.org/pub/OpenBSD/7.2/amd64/SHA256.sig   100% |*************************************|  2144       00:00    Signature VerifiedINSTALL.amd64 100% |************************************| 43554       00:00    base72.tgz   100% |*************************************|   331 MB    00:12    bsd          100% |*************************************| 22445 KB    00:02    bsd.mp       100% |*************************************| 22550 KB    00:02    bsd.rd       100% |*************************************|  4533 KB    00:00    comp72.tgz   100% |*************************************| 74598 KB    00:05    game72.tgz   100% |*************************************|  2745 KB    00:00    man72.tgz    100% |*************************************|  7610 KB    00:01    xbase72.tgz  100% |*************************************| 52832 KB    00:03    xfont72.tgz  100% |*************************************| 22967 KB    00:02    xserv72.tgz  100% |*************************************| 14815 KB    00:02    xshare72.tgz 100% |*************************************|  4559 KB    00:00    Verifying sets.Fetching updated firmware.fw_update: added none; updated intel; kept vmmUpgrading.

sysupgrade :

Let's upgrade the sets!Location of sets? (disk http nfs or 'done') [http] diskIs the disk partition already mounted? [yes] yesPathname to the sets? (or 'done') [7.2/amd64] /home/_sysupgrade/Select sets by entering a set name, a file name pattern or 'all'. De-selectsets by prepending a '-', e.g.: '-game*'. Selected sets are labelled '[X]'.    [X] bsd           [X] comp72.tgz    [X] xbase72.tgz   [X] xserv72.tgz    [X] bsd.rd        [X] man72.tgz     [X] xshare72.tgz    [X] base72.tgz    [X] game72.tgz    [X] xfont72.tazSet name(s)? (or 'abort' or 'done') [done] doneDirectory does not contain SHA256.sig. Continue without verification? [no] yesInstalling bsd          100% |**************************| 22445 KB    00:00Installing bsd.rd       100% |**************************|  4533 KB    00:00Installing base72.tgz   100% |**************************|   331 MB    00:25Installing comp72.tgz   100% |**************************| 74598 KB    00:18Installing man72.tgz    100% |**************************|  7610 KB    00:04...

sysmerge :

...clearing /tmpkern.securelevel: 0 -> 1creating runtime link editor directory cache.preserving editor files.running rc.sysmerge===> Adding the _bgplgd group===> Adding the _agentx group===> Adding the _bgplgd user===> Updating /etc/changelist===> Updating /etc/skel/.cshrc===> Updating /etc/skel/.profile===> Updating /etc/ssl/cert.pem===> Updating /etc/X11/xenodm/Xsession===> Updating /etc/X11/xinit/xinitrc===> Updating /etc/mail/aliasesstarting network daemons: sshd smtpd sndiod....

sshd

syspatch sysmerge :

Checking for available binary patches...

"OpenBSD 7.2 (GENERIC)"

3. : sysmerge ()

()

rc.sysmerge
conf :

  • /etc/login.conf

:

$ doas sysmerge

:

  Use 'd' to delete the temporary ./etc/login.conf  Use 'i' to install the temporary ./etc/login.conf  Use 'm' to merge the temporary and installed versions  Use 'v' to view the diff results again  Default is to leave the temporary file to deal with by handHow should I deal with this? [Leave it for later]

3 :

  • d: ()
  • i: sysupgrade
  • m:

m :

  • l
  • r

:

  Use 'e' to edit the merged file  Use 'i' to install the merged file  Use 'n' to view a diff between the merged and new files  Use 'o' to view a diff between the old and merged files  Use 'r' to re-do the merge  Use 'v' to view the merged file  Use 'x' to delete the merged file and go back to previous menu  Default is to leave the temporary file to deal with by hand===> How should I deal with the merged file? [Leave it for later]

e

i :

===> Merging /etc/login.conf (running cap_mkdb(1), needs a relog)

4. syspatch ()

2

syspatch OpenBSD

sysupgrade syspatch :

$ # :$ # doas syspatch

5.

What's new () "Ports and packages" (: Ports ) "Some highlights" (: ) PHP 8.1 7.4 8.0 :)

:

$ doas pkg_add -u

6.

Files to remove () (: ) :

$ doas userdel _switchd$ doas groupdel _switchd$ doas rm /etc/rc.d/switchd \    /usr/sbin/switchctl \    /usr/sbin/switchd \    /usr/share/man/man4/switch.4 \    /usr/share/man/man5/switchd.conf.5 \    /usr/share/man/man8/switchctl.8 \    /usr/share/man/man8/switchd.8

7.

Special packages () :

  • databases/openldap
  • editors/vim
  • inputmethods/fcitx
  • lang/python
  • www/sogo

8.

!

$ doas reboot

:)

OpenBSD ()


Original Link: https://dev.to/nabbisen/openbsd-atupuguredo-71-kara-72-he-4gkn

Share this article:    Share on Facebook
View Full Article

Dev To

An online community for sharing and discovering great ideas, having debates, and making friends

More About this Source Visit Dev To