GNU bug report logs -
#75145
[PATCH] services: NetworkManager: configuration-directory
Previous Next
Reported by: 45mg <45mg.writes <at> gmail.com>
Date: Fri, 27 Dec 2024 18:23:02 UTC
Severity: normal
Tags: patch
Done: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
Bug is archived. No further changes may be made.
Full log
Message #74 received at 75145 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Hi,
Thank you for the v5. The patch applies cleanly on master, and works as
expected. I have one remark left (it's the last one, I promise :/).
45mg <45mg.writes <at> gmail.com> writes:
> * gnu/services/networking.scm (<network-manager-configuration>)
> [extra-configuration-files]: New field.
> (network-manager-activation): Honor the new field.
> * doc/guix.texi (Networking Setup): Document the new field.
>
> Change-Id: I07479958e4d0aa318328c666a9630b779230b300
> ---
> doc/guix.texi | 23 +++++++++++++++++++++++
> gnu/services/networking.scm | 13 +++++++++++--
> 2 files changed, 34 insertions(+), 2 deletions(-)
- the configuration snippet of the documentation indeed adds files with
the right content and names in /etc/NetworkManager/conf.d,
- the directory conf.d is no longer created when empty,
- the man page mentioned in the documentation is correct,
- last remark (non-blocking):
--8<---------------cut here---------------start------------->8---
(service network-manager-service-type
(network-manager-configuration
(extra-configuration-files
`(("existing-file" ,(local-file "001-basic.conf"))
("constructed-file" ,(plain-file "002-unmanaged.conf"
"[keyfile]
unmanaged-devices=interface-name:wlo1_ap
"))))))
--8<---------------cut here---------------end--------------->8---
adds files named "existing-file" and "constructed-file". This is the
expected behaviour (explained in the doc). However, the example is
introduced by:
--8<---------------cut here---------------start------------->8---
For example, to add two files ‘001-basic.conf’ and
‘002-unmanaged.conf’:
--8<---------------cut here---------------end--------------->8---
This may seem counter-intuitive to some readers.
Best regards,
--
Arnaud
[signature.asc (application/pgp-signature, inline)]
This bug report was last modified 154 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.