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
how I 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
ch uses, so it 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-05-31 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
t up to date. We could also add the > > > 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
re, 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-04-21 Thread raid5atemyhomework
s" 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-03-26 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-system` f

Re: A Critique of Shepherd Design

2021-03-24 Thread raid5atemyhomework
uffice 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 ha

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 is easy t

Re: A Critique of Shepherd Design

2021-03-19 Thread raid5atemyhomework
gt; ‘unsafe’, > only potentially so. We could also define a checkers for other issues this > way. > > (I'm thinking of potential TOCTTOU (time of check to time of use) problems > involving > symbolic links.) > > > but otherwise, by default, the specific subset must

A Critique of Shepherd Design

2021-03-19 Thread raid5atemyhomework
better. The `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
quot;writing to the 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
tance 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 68a42cce2b4ae876cbbd1911aaa

Re: Adding Substitute Mirrors page to installer

2021-03-15 Thread raid5atemyhomework
, look for 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
nnels that *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

Re: Adding Substitute Mirrors page to installer

2021-03-08 Thread raid5atemyhomework
fallback 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
27;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-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 systems,

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 "

ZFS on Guix, again

2021-02-20 Thread raid5atemyhomework
aving lots of tiny 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
monadic action. `mbegin` is one of the simpler monadic actions. 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
after `file-system-shepherd-service` 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
quirement. Though hmmm the above doesn't use `zvol_wait` anywhere... sigh. * There's no ZED. 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
her hand --- 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
`zpool import -a`, could let particular 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
requirement 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

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
781 Mon Sep 17 00:00:00 2001 From: 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". (oper

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
odule-service-type` service, the function `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
e need to compile 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" 50) ;... %desktop-services)) #;...) ``` Thanks raid5atemyhomework

Re: A new paradigm for modifying operating system declarations

2021-01-04 Thread raid5atemyhomework
the `operating-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
fore your form). Now, if this kind of simplifying form is useful for ZFS, I imagine 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

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 rea

A new paradigm for modifying operating system declarations

2021-01-04 Thread raid5atemyhomework
i #:options '("dyndbg" "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-02 Thread raid5atemyhomework
" 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
does it have to somehow be added to the Linux command line? Maybe it only works on even older Linux-libre versions than 5.4? Thanks raid5atemyhomework