Re: Value in adding Shepherd requirements to file-systems entries?

2024-06-07 Thread Richard Sent
Felix Lechner writes: > > You could try invoking mount-file-system from (gnu build file-systems) > > directly to try and narrow down what exactly is breaking. > How would I go about doing that, please? 1. $ guix repl 2. Import the module with ,use (gnu build file-systems) 3. Call

Re: Value in adding Shepherd requirements to file-systems entries?

2024-06-07 Thread Development of GNU Guix and the GNU System distribution.
Hi Richard, On Fri, Jun 07 2024, Richard Sent wrote: > I did have to reboot So did I. In fact, my issue is now that the file system fails to mount on boot. > You could try invoking mount-file-system from (gnu build file-systems) > directly to try and narrow down what exactly is breaking. How

Re: Value in adding Shepherd requirements to file-systems entries?

2024-06-07 Thread Richard Sent
Hi Felix, Felix Lechner writes: > Hi Richard, > > On Tue, Apr 23 2024, Richard Sent wrote: > >> I submitted a patch for what I'm thinking at >> https://issues.guix.gnu.org/70542. > > I believe this stopped working for my NFS setup. Interesting. It does still work with my CIFS/SMB share, so I

Re: Value in adding Shepherd requirements to file-systems entries?

2024-06-07 Thread Development of GNU Guix and the GNU System distribution.
Hi Richard, On Tue, Apr 23 2024, Richard Sent wrote: > I submitted a patch for what I'm thinking at > https://issues.guix.gnu.org/70542. I believe this stopped working for my NFS setup. Kind regards Felix

Re: Value in adding Shepherd requirements to file-systems entries?

2024-05-02 Thread Richard Sent
Hi Ludo! > The other option would be to allow for symbols in the ‘dependencies’ > field, because it’s really the same thing. That would only require a > new clause in the ‘dependency->shepherd-service-name’ procedure. Personally I prefer separating requirements and dependencies. Dependencies

Re: Value in adding Shepherd requirements to file-systems entries?

2024-05-02 Thread Ludovic Courtès
Hi! Richard Sent skribis: > Before hacking away at this myself, I'd like to get other people's > thoughts on the best way to proceed. Do others agree that (file-system) > entries should support networked devices? Should this be transparent > depending on the type, or require explicit

Re: Value in adding Shepherd requirements to file-systems entries?

2024-04-26 Thread Attila Lendvai
> P.S. The code above should read (requirements ...) in the plural. inside shepherd there's a bit of anomaly, but it's called requirement in the public API, and also in the guix side of the config; i.e. it's not plural. -- • attila lendvai • PGP: 963F 5D5F 45C7 DFCD 0A39 -- “Moderation in

Re: Value in adding Shepherd requirements to file-systems entries?

2024-04-26 Thread Development of GNU Guix and the GNU System distribution.
Hi Richard, On Tue, Apr 23 2024, Richard Sent wrote: > I submitted a patch [..] at https://issues.guix.gnu.org/70542. If this > winds up merged I believe your code could be rewritten [as] > > --8<---cut here---start->8--- > (file-system >(device

Re: Value in adding Shepherd requirements to file-systems entries?

2024-04-23 Thread Richard Sent
Hi Felix, > Someone once gave me this service [1] to mount a file-system declared > with (mount? #f). [2] It's been working ever since. Thanks! I know custom services can be made that can work on a case-by-case basis. I was curious about the value of encapsulating that logic within an

Re: Value in adding Shepherd requirements to file-systems entries?

2024-04-22 Thread Development of GNU Guix and the GNU System distribution.
Hi Richard, On Mon, Apr 22 2024, Richard Sent wrote: > NFS is allegedly supported Someone once gave me this service [1] to mount a file-system declared with (mount? #f). [2] It's been working ever since. Kind regards Felix [1]

Value in adding Shepherd requirements to file-systems entries?

2024-04-22 Thread Richard Sent
Hi Guix! I wanted to ask the Guix community for their thoughts on improving the support for adding networked file systems to an operating-system declaration. For some context, I started tackling adding CIFS support to file-system declarations, but I've hit a snag. CIFS is a networked file