From: ludo@gnu.org (Ludovic Courtès)
To: swedebugia <swedebugia@riseup.net>
Cc: guix-devel@gnu.org
Subject: Re: Review of pros and cons of package managers including Guix
Date: Sun, 11 Nov 2018 14:33:55 +0100 [thread overview]
Message-ID: <87pnvbspq4.fsf@gnu.org> (raw)
In-Reply-To: <b3e386dd-3629-d868-3133-82b325c5a783@riseup.net> (swedebugia's message of "Thu, 8 Nov 2018 10:09:06 +0100")
Hello,
swedebugia <swedebugia@riseup.net> skribis:
> I stumpled upon this today:
>
> https://www.slant.co/topics/344/~best-linux-package-managers
This web page is very weak IMO, which is a bit sad.
> "Cannot handle filetypes that have different semantics across
> different versions
> While the functional approach that Guix takes is great for sandboxing
> binary artifacts of packages, it seriously lacks any power in handling
> configuration files or user data. It's difficult to upgrade and
> downgrade files where semantics and syntax can change between
> versions."
>
> Do you agree with this critique?
Yes and no, it’s too vague to provide a definite answer.
On GuixSD (not Guix), configuration files of system services are
generated from a more abstract representation of the config in Scheme.
For instance, you define an ‘openssh-configuration’ object and from that
we generated ‘/etc/sshd_config’ or whatever it’s called. In that sense,
users of GuixSD have the guarantee (modulo bugs of course) that the
generated configuration files use syntax that is compatible with the
service in use—in this case, OpenSSH.
The problem of “user data” is different. If you have a system running
PostgreSQL and the on-disk database format changes, then indeed, you
won’t really be able to roll back to a previous GuixSD generations since
the old PostgreSQL may be unable to read the new on-disk format of the
database. This is a known problem, but it’s not really specific to
GuixSD and NixOS; it’s just that the problem becomes visible precisely
because NixOS and GuixSD support rollbacks.
HTH,
Ludo’.
prev parent reply other threads:[~2018-11-11 13:33 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-11-08 9:09 Review of pros and cons of package managers including Guix swedebugia
2018-11-08 9:43 ` Thorsten Wilms
2018-11-08 15:31 ` Adam Van Ymeren
2018-11-08 16:11 ` swedebugia
2018-11-11 13:33 ` Ludovic Courtès [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87pnvbspq4.fsf@gnu.org \
--to=ludo@gnu.org \
--cc=guix-devel@gnu.org \
--cc=swedebugia@riseup.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).