Please review

2022-03-16 Thread raid5atemyhomework
https://issues.guix.gnu.org/45692

Re: Adding Substitute Mirrors page to installer

2021-12-01 Thread raid5atemyhomework
Hi zimoun, > > Any chance of this getting reviewed and merge within the next five years? > > I understand your frustration. Could you please point which patch number ? >From 41b174da1e38b71563405f1be48331fbe0e5700d Mon Sep 17 00:00:00 2001 From: raid5atemyhomework Date: Tue, 16

Re: Adding Substitute Mirrors page to installer

2021-11-30 Thread raid5atemyhomework
Any chance of this getting reviewed and merge within the next five years? Thanks raid5atemyhomework

Re: ZFS part of Guix? RFC?

2021-11-30 Thread raid5atemyhomework
want it (i.e. without RAID5 write holes and memory buffer corruption bugs like in BTRFS "RAID5" mode) and not having ZFS on Guix is not helping that essential freedom. Thanks raid5atemyhomework

Re: [bug#50347] [RFC PATCH] lint: Warn about kernel modules with a suspect license

2021-09-04 Thread raid5atemyhomework
a non-FSF-recommended distribution than lose more of my homework to lousy RAID5 implementations. Thanks raid5atemyhomework

Re: Adding Substitute Mirrors page to installer

2021-08-01 Thread raid5atemyhomework
BUMP

Re: Adding Substitute Mirrors page to installer

2021-07-23 Thread raid5atemyhomework
should get included anyway as a fallback in case the SJTU mirror is not available or something. So maybe the patch is OK as-is? Thanks raid5atemyhomework

Re: Adding Substitute Mirrors page to installer

2021-07-23 Thread raid5atemyhomework
bump. As an aside, I notice there is now a new "bayfront.guix.gnu.org" server. Not sure if I should modify this patch or not to add it or whatever. Thanks raid5atemyhomework > Hi Mathieu, > > I added the test as you recommended, however it looks to me that within t

Re: Adding Substitute Mirrors page to installer

2021-06-02 Thread raid5atemyhomework
Guile and its loading system, so I am unsure what is going wrong here... In any case I checked it manually by creating an installer image and then installing into 2 different VMs, one with ci.guix.gnu.org and the other with mirror.sjtu.edu.cn. Thanks raid5atemyhom

Re: Adding Substitute Mirrors page to installer

2021-06-01 Thread raid5atemyhomework
Hello Maxime, > raid5atemyhomework schreef op ma 31-05-2021 om 09:42 [+]: > > > bump > > > > > bump > > To me it seems all questions have been addressed, > though I was not involved in the discussion. > So, maybe time to merge? > > See https://

Re: Adding Substitute Mirrors page to installer

2021-05-31 Thread raid5atemyhomework
> possibility for the user to add a mirror manually. > > > In that case, the mirror page could look like the "User creation" page, > > > with an "Add" button opening a popup proposing to type a mirror URL or > > > to select one from an existing list. > > > WDYT? > > > > I think Less is More, and deploying an installer with a simple "select one > > mirror" pagenow will cover 90% of use-cases, and we can add the more > > complicated page later when there is more time. > > In particular, there is really only one public mirror of Guix that I know > > of, the SJTU mirror, so all the flexibility here is not very useful, at > > least not to me. > > Since "multiple mirrors" aren't even available yet anyway, why add the > > complication now? > > Maybe you can encourage more people to actually run mirrors if the > > installer has a visible "select mirrors" page, so that you can actually get > > more than just the SJTU mirror and "select multiple mirrors" is now a > > (good) problem to have to solve. > > For now I think a simple "select one mirror, we'll add ci.guix.gnu.org as a > > fallback" would be better. > > You can add a "select multiple mirrors in an order I want to specify" > > later, when there are multiple mirrors existing. > > Thanks > > raid5atemyhomework

Re: Adding Substitute Mirrors page to installer

2021-05-12 Thread raid5atemyhomework
"select one > mirror" pagenow will cover 90% of use-cases, and we can add the more > complicated page later when there is more time. > > In particular, there is really only one public mirror of Guix that I know of, > the SJTU mirror, so all the flexibility here is not very useful, at least not > to me. > Since "multiple mirrors" aren't even available yet anyway, why add the > complication now? > > Maybe you can encourage more people to actually run mirrors if the installer > has a visible "select mirrors" page, so that you can actually get more than > just the SJTU mirror and "select multiple mirrors" is now a (good) problem to > have to solve. > > For now I think a simple "select one mirror, we'll add ci.guix.gnu.org as a > fallback" would be better. > You can add a "select multiple mirrors in an order I want to specify" later, > when there are multiple mirrors existing. > > Thanks > raid5atemyhomework

Re: Adding Substitute Mirrors page to installer

2021-04-21 Thread raid5atemyhomework
add the complication now? Maybe you can encourage more people to actually run mirrors if the installer has a visible "select mirrors" page, so that you can actually get more than just the SJTU mirror and "select multiple mirrors" is now a (good) problem to have to solve. For now I think a simple "select one mirror, we'll add ci.guix.gnu.org as a fallback" would be better. You can add a "select multiple mirrors in an order I want to specify" later, when there *are* multiple mirrors existing. Thanks raid5atemyhomework

Re: Adding Substitute Mirrors page to installer

2021-03-27 Thread raid5atemyhomework
Bump Sent with ProtonMail Secure Email. ‐‐‐ Original Message ‐‐‐ On Tuesday, March 16, 2021 11:55 PM, raid5atemyhomework wrote: > Hi all, > > Below is the new patch version. > > In this version, the installer now also reads the generated > `operating-syste

Re: A Critique of Shepherd Design

2021-03-24 Thread raid5atemyhomework
; suffice it to say that naive code that just opens to `127.0.0.1:9050` failed when invoked before `nm-online` completes. Thanks raid5atemyhomework

Re: A Critique of Shepherd Design

2021-03-24 Thread raid5atemyhomework
Sent with ProtonMail Secure Email. ‐‐‐ Original Message ‐‐‐ On Tuesday, March 23, 2021 1:02 AM, Ludovic Courtès wrote: > Hi, > > raid5atemyhomework raid5atemyhomew...@protonmail.com skribis: > > > I'm not sure you can afford to keep it simple. > > It has

Re: A Critique of Shepherd Design

2021-03-20 Thread raid5atemyhomework
Hello Ludo', > Hi, > > raid5atemyhomework raid5atemyhomew...@protonmail.com skribis: > > > Now, let us combine this with the second feature (really a bug): GNU > > shepherd is a simple, single-threaded Scheme program. That means that > > if the single thread en

Re: A Critique of Shepherd Design

2021-03-20 Thread raid5atemyhomework
Good rmoning Mark, > Hi, > > raid5atemyhomework raid5atemyhomew...@protonmail.com writes: > > > GNU Shepherd is the `init` system used by GNU Guix. It features: > > > > - A rich full Scheme language to describe actions. > > - A simple core that

Re: A Critique of Shepherd Design

2021-03-19 Thread raid5atemyhomework
to time of use) problems > involving > symbolic links.) > > > but otherwise, by default, the specific subset must be used, and users have > > to > > explicitly put `(unsafe-turing-complete ...)` so they are aware that they > > can > > seriously break their

A Critique of Shepherd Design

2021-03-19 Thread raid5atemyhomework
unsafe-turing-complete` form allows an escape, but by default Shepherd code should be in the restricted non-Turing-complete subset, to reduce the scope for catastrophic mistakes. Thanks raid5atemyhomework

Making the Guix installer resilient against transient network issues

2021-03-18 Thread raid5atemyhomework
device being installed into failed". * In the above I use `guix build grub grub-efi` as a proxy for this, but it would be nice if there were some kind of `guix system build-bootloader` that would perform *building* of the script that installs the bootloader, but doesn't actually install the bootloader *yet*. * I don't know how best to ask the user if they want to retry the system building process. Thanks raid5atemyhomework

Re: Adding Substitute Mirrors page to installer

2021-03-16 Thread raid5atemyhomework
and confirmed it downloaded substitutes from the SJTUG mirror. I haven't tested for the use of the normal Berlin Cuirass, as that would be ridiculously slow right now from my network, but I expect it would continue to work. Thanks raid5atemyhomework >From 68a42cce2b4ae876cbbd1911aaa2a5bc8348b

Re: Adding Substitute Mirrors page to installer

2021-03-15 Thread raid5atemyhomework
r the `operating-system` form, then delve in its `services` field for a `substitute-urls` field. This feels fairly brittle but does take advantage of the homoiconicity of Scheme. Thanks raid5atemyhomework

Re: Adding Substitute Mirrors page to installer

2021-03-10 Thread raid5atemyhomework
hat *can* be named in official documentation about Guix? Thanks raid5atemyhomework >From af7e4d1336ed9010a31011d2fbae2a27fdaca237 Mon Sep 17 00:00:00 2001 From: raid5atemyhomework Date: Wed, 10 Mar 2021 09:21:42 + Subject: [PATCH] gnu: Add substitute mirrors page to installer. * gnu/i

Re: Adding Substitute Mirrors page to installer

2021-03-08 Thread raid5atemyhomework
to the original > `ci.guix.gnu.org`) and the default unmirrored `ci.guix.gnu.org`, with > `system-service-type` of `'substitute-urls`. > > - Then in `(gnu installer newt services)`, add a page for > `'substitute-urls`. > > What do you think? > > Thanks > raid5atemyhomework >

Re: ZFS on Guix, again

2021-03-08 Thread raid5atemyhomework
BUMP > Hi Ludo, > > > > I agree with 宋文武 regarding ‘file-system-service-type’. > > > raid5atemyhomework raid5atemyhomew...@protonmail.com skribis: > > > > > > > However, for the case where the user expects the "typical" ZFS style of >

Adding Substitute Mirrors page to installer

2021-03-06 Thread raid5atemyhomework
stitute-urls`. * Then in `(gnu installer newt services)`, add a page for `'substitute-urls`. What do you think? Thanks raid5atemyhomework

Re: ZFS on Guix, again

2021-02-24 Thread raid5atemyhomework
Hi Ludo, > > I agree with 宋文武 regarding ‘file-system-service-type’. > > raid5atemyhomework raid5atemyhomew...@protonmail.com skribis: > > > > > However, for the case where the user expects the "typical" ZFS style of > > > managing file syst

Re: ZFS on Guix, again

2021-02-22 Thread raid5atemyhomework
Hi Ludo' > Hi, > > Sorry for the delay; this isn’t as simple as it looks! > > I agree with 宋文武 regarding ‘file-system-service-type’. > > raid5atemyhomework raid5atemyhomew...@protonmail.com skribis: > > > However, for the case where the user expects the "typic

ZFS on Guix, again

2021-02-20 Thread raid5atemyhomework
iny service types that are then combined together fits the functional design of Guix better. So I would strongly propose my original design rather than hacks on top of `file-system-service-type`. Thanks raid5atemyhomework

Re: ZFS on Guix

2021-02-09 Thread raid5atemyhomework
tions. It is also in the "correct place" as best as I can tell, since only service types in `gnu/services.scm` dare to extend `system-service-type`. `provenance-service-type` does this as well because it *also* extends `system-service-type`. This is basically done here simply because that is what `system-service-type` expects. Thanks raid5atemyhomework

Re: ZFS on Guix

2021-02-08 Thread raid5atemyhomework
vice` procedure in `gnu/services/base.scm`, which includes a `(chdir "/")` as well with the comment "Make sure PID 1 doesn't keep TARGET busy.". Since this also does filesystem mounting/unmounting, I judged it best to imitate the existing filesystem mounting/unmounting service. Thanks raid5atemyhomework

Re: ZFS on Guix

2021-02-08 Thread raid5atemyhomework
Hi guix-developers and users, Here are some notes I made about how to get `/` on ZFS, maybe someone else can think about it. --- Most importantly, it seems for this style we need to consider first `/boot` ***not*** on ZFS, and have `/` on ZFS. I presume grub has some way to read ZFS pools

Re: ZFS on Guix

2021-02-07 Thread raid5atemyhomework
Hi Joshua, > raid5atemyhomework raid5atemyhomew...@protonmail.com writes: > > > The patchset currently dying on issues.guix.gnu.org would provide a nice > > simple single-step way to enable very basic ZFS support on your Guix > > system. Until it gets merged, however, y

Re: ZFS on Guix

2021-02-07 Thread raid5atemyhomework
No automatic replacement of failing drives with a hot spare. No monitoring. You can probably try launching it in its own Shepherd service, but you need to figure out how to populate `/etc/zfs/zed/` yourself. If you do, you probably will not be doing it from the `configuration.scm` file meaning it'll be hard to replicate the setup elsewhere. Thanks raid5atemyhomework

Re: ZFS on Guix

2021-01-09 Thread raid5atemyhomework
-- is it "properly Guix" for a system component to write to a file in the `/etc` directory? Where should I put this kind of not-quite-configuration cache file? Thanks raid5atemyhomework

Re: ZFS on Guix

2021-01-09 Thread raid5atemyhomework
subdirectories of the filesystem to be subverted. How best do I handle this? Thanks raid5atemyhomework

Re: ZFS on Guix

2021-01-06 Thread raid5atemyhomework
Latest patchset: https://issues.guix.gnu.org/45692

Re: ZFS on Guix

2021-01-05 Thread raid5atemyhomework
of `file-systems`, which is enabled by the below. Please review! >From 792a8f8efc95e4fe9a94d42f839ddcfb034b8540 Mon Sep 17 00:00:00 2001 From: raid5atemyhomework Date: Wed, 6 Jan 2021 08:15:54 +0800 Subject: [PATCH] gnu: Make file-systems target extensible by services. * gnu/services/base.

Re: ZFS on Guix

2021-01-05 Thread raid5atemyhomework
Thank you Carlo! I've now tested the new tests I added in `gnu/tests/linux-modules.scm`, and the existing tests as well, and they all pass. Hope to get some review on that patch! Thanks raid5atemyhomework

Re: ZFS on Guix

2021-01-05 Thread raid5atemyhomework
rom: raid5atemyhomework Date: Tue, 5 Jan 2021 22:27:56 +0800 Subject: [PATCH] gnu: Allow services to install kernel-loadable modules. * gnu/system.scm (operating-system-directory-base-entries): Remove code to handle generation of "kernel" and "hurd". (operating-system-default-essential

Re: ZFS on Guix

2021-01-05 Thread raid5atemyhomework
:00 2001 From: raid5atemyhomework Date: Tue, 5 Jan 2021 22:27:56 +0800 Subject: [PATCH] gnu: Add 'kernel-loadable-module-service-type' for services to extend with kernel-loadable modules. --- doc/guix.texi| 6 + gnu/services.scm | 68

Re: ZFS on Guix

2021-01-05 Thread raid5atemyhomework
n `operating-system-directory-base-entries` is used do create the default for `operating-system-essential-services`, and the `operating-sstem-services` is just the concatenation of the user and essential services. I think. Would this work? Thanks raid5atemyhomework

Re: A new paradigm for modifying operating system declarations

2021-01-05 Thread raid5atemyhomework
le for a specific kernel, the alternative here ; would be (operating-system this-operating-system) but the below ; is a good bit shorter, despite the DRY violation... (kernel linux-libre-5.4) (options '(("zfs_arc_max" 500000) ;... %desktop-services)) #;...) ``` Thanks raid5atemyhomework

Re: A new paradigm for modifying operating system declarations

2021-01-04 Thread raid5atemyhomework
g-system` is put in a `define` form as well, but those are rare and the default stuff that come with Guix tend not to use this, and we should consider that new Guix sysads might not be comfortable working with EMACS and prefer nano, so adding even just *one* additional layer of nestedness to a long `operating-system` form is not easy. Of course, such a sysad might then consider not indenting it correctly. Thanks raid5atemyhomework

Re: A new paradigm for modifying operating system declarations

2021-01-04 Thread raid5atemyhomework
ine that this kind of simplifying form would also exist for other things you could install into your operating system in the future. Thus, we need some way to take an existing `` and pass it through a number of single simplifying operating system transformations, which I don't think something like `modify-os` would work well with. Thanks raid5atemyhomework

A new paradigm for modifying operating system declarations

2021-01-04 Thread raid5atemyhomework
uot;delay=120") #:os) operating-system) (name "example-system") #;...) ``` Obviously, it's called "decorate" since it's partly inspired by Python decorators, which use a similar-looking pattern, with different syntax. What are your opinions? Blech? Yummy? Is it worth exploring this paradigm for adding particularly complex features to an operating system definition? Thanks raid5atemyhomework

Re: ZFS on Guix

2021-01-04 Thread raid5atemyhomework
Available here: https://issues.guix.gnu.org/45643 Please review! Hopefully it gets merged! > Yes, I found that out after a little more digging. > > I have a preliminary patch here: https://issues.guix.gnu.org/45592 > However I will make a patchset based on this in order to support /home on ZFS

Re: ZFS on Guix

2021-01-04 Thread raid5atemyhomework
Yes, I found that out after a little more digging. I have a preliminary patch here: https://issues.guix.gnu.org/45592 However I will make a patchset based on this in order to support /home on ZFS and managing ZFS the "legacy" way by (file-system ...) declaration, please wait. > Hi, > > the

Re: ZFS on Guix

2021-01-02 Thread raid5atemyhomework
egacy" mountpoint (there might be an option somewhere not shown by the `strace` that suppress that complaint), and setting a legacy mountpoint makes `mount` error with `filesystem 'tank' cannot be mounted at '/tank' due to canonicalization error 2.` even though I give `--no-canonicalize`, though. Thanks raid5atemyhomework

ZFS on Guix

2021-01-02 Thread raid5atemyhomework
d to the Linux command line? Maybe it only works on even older Linux-libre versions than 5.4? Thanks raid5atemyhomework