在OpenBSD邮件列表上有关升级/更新工具的讨论

OpenBSD的安装、升级、更新等日常问题。

版主: chenjun天地乾坤

回复
头像
leo
帖子: 2465
注册时间: 2010-01-21 3:27

在OpenBSD邮件列表上有关升级/更新工具的讨论

帖子 leo » 2013-02-15 5:38

Crookedmaze via openbsd.org
Feb 9 (5 days ago)

to misc
Dear OpenBSD Community,

Hello I am wondering if there is a tool similar to FreeBSD-update on
OpenBSD? If not are there any reasons for why a tool like this
hasn't been developed? Also if there isn't a tool like this
(I am pretty sure there isn't one as I have checked) if I were to
develop one do you think it would be accepted into OpenBSD? Please
let me know what you think!

Sincerely,
Crookedmaze

头像
leo
帖子: 2465
注册时间: 2010-01-21 3:27

回复: 在OpenBSD邮件列表上有关升级工具的讨论

帖子 leo » 2013-02-15 5:38

System Administrator via openbsd.org
Feb 9 (5 days ago)

to Crookedmaze, misc
OpenBSD is all about KISS (simplicity) -- have you tried running the bi-
annual release update procedure? have you read (carefully) the FAQ
section on upgrading? Many users report it takes less than 15 minutes
to perform a *remote* upgrade. Also you need to mind that OpenBSD does
not support version rollbacks or offer binary updates to stable. So
will an additional tool which requires ongoing maintenance and a
configuration file setup, really add value (simplicity) ?

头像
leo
帖子: 2465
注册时间: 2010-01-21 3:27

回复: 在OpenBSD邮件列表上有关升级工具的讨论

帖子 leo » 2013-02-15 5:39

Crookedmaze via openbsd.org
Feb 9 (5 days ago)

to admin, misc

Yes, System Administrator I have had a look at the FAQ the reason I am
asking about such a tool is because it seems as if the only way to
update OpenBSD (Errata update wise) is to download a patch from
the errata page and to manually patch the source code then follow the
instructions for applying the patch (Or you could follow stable using
CVS). I just thought it would be easier (and Simpler) if you were
able to patch the version of OpenBSD you are running by simply typing
openbsd-update which would then apply the security update by download
and installing a binary package. I also don't think that it would
require as much overhead as you might think because currently
(OpenBSD 5.2) there has only been one release errata patch and in
OpenBSD 5.1 there was also only one. So it would really only require
a few binary packages (or at most 18 depending on the number of
architectures affected) to be released I am not necessarily talking
about upgrading openbsd to a new release I am more so talking about
simply applying errata patch fixes through binary packages. So I
think this would actually help to simplify the updating process because
it would reduce the number of steps you would have to take to apply
security (and reliability) updates to OpenBSD. Please correct
me if I am wrong (or simply mistaken) but I think this
would definitely help to simply things.

Sincerely,
Crookedmaze

头像
leo
帖子: 2465
注册时间: 2010-01-21 3:27

回复: 在OpenBSD邮件列表上有关升级工具的讨论

帖子 leo » 2013-02-15 5:40

Crookedmaze via openbsd.org
Feb 9 (5 days ago)

to admin, misc

Yes, System Administrator I have had a look at the FAQ the reason I am
asking about such a tool is because it seems as if the only way to
update OpenBSD (Errata update wise) is to download a patch from
the errata page and to manually patch the source code then follow the
instructions for applying the patch (Or you could follow stable using
CVS). I just thought it would be easier (and Simpler) if you were
able to patch the version of OpenBSD you are running by simply typing
openbsd-update which would then apply the security update by download
and installing a binary package. I also don't think that it would
require as much overhead as you might think because currently
(OpenBSD 5.2) there has only been one release errata patch and in
OpenBSD 5.1 there was also only one. So it would really only require
a few binary packages (or at most 18 depending on the number of
architectures affected) to be released I am not necessarily talking
about upgrading openbsd to a new release I am more so talking about
simply applying errata patch fixes through binary packages. So I
think this would actually help to simplify the updating process because
it would reduce the number of steps you would have to take to apply
security (and reliability) updates to OpenBSD. Please correct
me if I am wrong (or simply mistaken) but I think this
would definitely help to simply things.

Sincerely,
Crookedmaze
Remember that generating binary patches isn't free - they need to be built for all necessary archs (and many are nowhere near as fast as your i386/amd64 machine), they need to be tested, they need to be hosted, they need ... etc.

With that said, here's an article from undeadly:
http://undeadly.org/cgi?action=article& ... 0113185003

头像
leo
帖子: 2465
注册时间: 2010-01-21 3:27

回复: 在OpenBSD邮件列表上有关升级工具的讨论

帖子 leo » 2013-02-15 5:42

Nick Holland via openbsd.org
Feb 9 (5 days ago)

to misc

actually, I have been wondering why FreeBSD doesn't have a simple
process for upgrading like OpenBSD's.

Before any tool as you propose would be "accepted", it would have to be
proven to be better than what we have, not just "different". I'd
suggest spending a little time learning OpenBSD as OpenBSD, rather than
trying to make it like FreeBSD (or Linux, or ...), and you would
probably find a simple elegance unrivaled in the free software world.

After doing some FreeBSD work for my day-job, my primary reaction to
FreeBSD is, "well, beats Linux", but geez.... they really need to be
looking over our shoulders more than we need to be looking over theirs.

头像
leo
帖子: 2465
注册时间: 2010-01-21 3:27

回复: 在OpenBSD邮件列表上有关升级工具的讨论

帖子 leo » 2013-02-15 5:42

System Administrator via openbsd.org
Feb 9 (5 days ago)

to Crookedmaze, misc

While it will probably (but not definitely, as the target audience for
OpenBSD is the more technical users) simplify things for some users, it
has been deemed to be undue burden for the developers -- the topic of
binary updates has come up on the mailing lists a few times in the past
and has always concluded the same... I recommend perusing the archives,
for example at marc.info.

BTW, the overhead mentioned in my original message is that of
maintaining the tool itself (for the developers) and configuring it
(for the end-users).

头像
leo
帖子: 2465
注册时间: 2010-01-21 3:27

回复: 在OpenBSD邮件列表上有关升级工具的讨论

帖子 leo » 2013-02-15 5:44

剩下的讨论还在持续中,大家可以围观一下。有兴趣的也可以一起上去探讨。

头像
unreal
银 Ag
帖子: 1083
注册时间: 2010-06-07 18:52

回复: 在OpenBSD邮件列表上有关升级/更新工具的讨论

帖子 unreal » 2013-02-16 0:28

用 bsd.rd 升级后再 pkg_add -u ,会有 /lib 里面 xx.xxx.x.so 版本不对号的问题;FreeBSD的升级工具能解决此问题么?
勤能補拙 Just do it now!

头像
leo
帖子: 2465
注册时间: 2010-01-21 3:27

回复: 在OpenBSD邮件列表上有关升级/更新工具的讨论

帖子 leo » 2013-02-16 7:47

已经有几年没用FreeBSD了,不清楚这个原理,但是系统升级确实是越简单越好,因为毕竟不是每个用户都那么熟悉系统,遇到事情能自己处理最好,有时候不可能,就要花费一些精力了,甚至是只能等。

fanjunfeng
钾 K
帖子: 16
注册时间: 2013-03-30 15:31

Re: 在OpenBSD邮件列表上有关升级/更新工具的讨论

帖子 fanjunfeng » 2013-05-02 12:14

您好,leo:
openbsd 5.3 发布了,真的好高兴;openbsd 5.3 安装 openldap-server phpldapadmin,我怎么也配置不成功;请您在闲时写一篇文章,看它具体是怎么配置的,真的非常感谢

回复

在线用户

正浏览此版面之用户: 没有注册用户 和 0 访客