unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
From: znavko@disroot.org
To: "znavko--- via" <help-guix@gnu.org>
Subject: Re: What for network-manager appears in my system?
Date: Fri, 05 Mar 2021 20:43:20 +0000	[thread overview]
Message-ID: <66506ba9c5d4f016972f0de0d1eb7f56@disroot.org> (raw)
In-Reply-To: <1fe959f1fa72152cef482367c6312b70@disroot.org>

I searched something new in %desktop-services that I use in my config
And really there are new services from line 1257:
https://git.savannah.gnu.org/cgit/guix.git/tree/gnu/services/desktop.scm

         ;; NetworkManager and its applet.
         (service network-manager-service-type)
         (service wpa-supplicant-service-type)    ;needed by NetworkManager
         (simple-service 'network-manager-applet
                         profile-service-type
                         (list network-manager-applet))
         (service modem-manager-service-type)
         (service usb-modeswitch-service-type)

1271:
         (service cups-pk-helper-service-type)

I added these new items in my (lambda remove %desktop-services) like this:

			     (modify-services      
			      ;; removing unnecessary services
			      (remove (lambda (service)
					(member (service-kind service)
						(list gdm-service-type geoclue-service bluetooth-service
						      sane-service-type
						      network-manager-service-type network-manager-applet
						      modem-manager-service-type
						      avahi-service-type
						      cups-pk-helper-service-type ntp-service-type)))
				      %desktop-services) ;end of remove lambda services
...


And with these new lines any network-manager or cups will not appear in my /gnu/store
My system reconfigured well and fast without any ugliness.

I think it will be usefull to look %desktop-services from my terminal
or also to look declaration of 'gnu/services/desktop.scm' from terminal.


Thanks!


March 5, 2021 10:19 PM, "znavko--- via" <help-guix@gnu.org> wrote:

> Hello! I start 'guix pull && guix package -u && guix system reconfigure /etc/config.scm'
> and here I saw I have network-manager in my system and its compilation fails (you know
> reconfigure often breaks last half a year):
> 
> applying 2 grafts for /gnu/store/a6irrqvlpqk6v66g4kj54w4rcbylywz7-libnma-1.8.28.drv ...
> building /gnu/store/9pf1dh0ijm5jd4n90sww7dl8038bvk9v-activate.scm.drv...
> applying 2 grafts for /gnu/store/1hdklza3iwzr01iq0qc86j4hy68xzh4v-network-manager-1.24.0.drv ...
> |builder for `/gnu/store/1hdklza3iwzr01iq0qc86j4hy68xzh4v-network-manager-1.24.0.drv' failed due to
> signal 11 (Segmentation fault)
> build of /gnu/store/1hdklza3iwzr01iq0qc86j4hy68xzh4v-network-manager-1.24.0.drv failed
> View build log at
> '/var/log/guix/drvs/1h/dklza3iwzr01iq0qc86j4hy68xzh4v-network-manager-1.24.0.drv.bz2'.
> building /gnu/store/dxxvr6nri5zvy6wrkc6wrvsl3hr79l7g-boot.drv...
> cannot build derivation `/gnu/store/qa5ks50xk0w3n7sinka0bgrdpdwrylmy-profile.drv': 1 dependencies
> couldn't be built
> building /gnu/store/iifkfi1k4zd89gx72xhffixbxwkv5yr5-raw-initrd.drv...
> cannot build derivation `/gnu/store/klxa4qccb4wvpz1bkd1zmjz8zlsy0n73-system.drv': 1 dependencies
> couldn't be built
> guix system: error: build of `/gnu/store/klxa4qccb4wvpz1bkd1zmjz8zlsy0n73-system.drv' failed
> I think it happened when Guix changed services organization, because I removed network-managger
> service from my system.
> 
> I wish to remove network-manager from my system, but I could not determine what does refer to it?
> 
> # guix graph --type=referrers network-manager
> digraph "Guix referrers" {
> "/gnu/store/7g8agl6jiirihz913bi1xrvgq1jkkl8k-network-manager-1.24.0-doc" [label =
> "network-manager-1.24.0-doc", shape = box, fontname = sans];
> "/gnu/store/2qqmqppkn912i0sia4xca98b7zsrwpxy-network-manager-1.24.0" [label =
> "network-manager-1.24.0", shape = box, fontname = sans];
> "/gnu/store/2qqmqppkn912i0sia4xca98b7zsrwpxy-network-manager-1.24.0" ->
> "/gnu/store/2qqmqppkn912i0sia4xca98b7zsrwpxy-network-manager-1.24.0" [color = dimgrey];
> "/gnu/store/2qqmqppkn912i0sia4xca98b7zsrwpxy-network-manager-1.24.0" ->
> "/gnu/store/7lz21cbcjazh67jycs72dvr2nvinhfpy-libnma-1.8.28" [color = dimgrey];
> "/gnu/store/2qqmqppkn912i0sia4xca98b7zsrwpxy-network-manager-1.24.0" ->
> "/gnu/store/hbqfmqb8wrfmz2kg538j8xk6zmr438x2-network-manager-applet-1.16.0" [color = dimgrey];
> "/gnu/store/7lz21cbcjazh67jycs72dvr2nvinhfpy-libnma-1.8.28" [label = "libnma-1.8.28", shape = box,
> fontname = sans];
> "/gnu/store/7lz21cbcjazh67jycs72dvr2nvinhfpy-libnma-1.8.28" ->
> "/gnu/store/7lz21cbcjazh67jycs72dvr2nvinhfpy-libnma-1.8.28" [color = darkviolet];
> "/gnu/store/7lz21cbcjazh67jycs72dvr2nvinhfpy-libnma-1.8.28" ->
> "/gnu/store/hbqfmqb8wrfmz2kg538j8xk6zmr438x2-network-manager-applet-1.16.0" [color = darkviolet];
> "/gnu/store/hbqfmqb8wrfmz2kg538j8xk6zmr438x2-network-manager-applet-1.16.0" [label =
> "network-manager-applet-1.16.0", shape = box, fontname = sans];
> "/gnu/store/hbqfmqb8wrfmz2kg538j8xk6zmr438x2-network-manager-applet-1.16.0" ->
> "/gnu/store/hbqfmqb8wrfmz2kg538j8xk6zmr438x2-network-manager-applet-1.16.0" [color = peachpuff4];
> 
> }
> I have this in my system, but as I see now it does not remove network-manager:
> 
> ;; removing unnecessary services
> (remove (lambda (service)
> (member (service-kind service)
> (list ntp-service-type avahi-service-type 
> bluetooth-service network-manager-service-type
> gdm-service-type)))
> %desktop-services) ;end of remove lambda services
> Here it is what I've installed under root:
> 
> root@antelope ~# guix package -I
> hdparm 9.60 out /gnu/store/11dsd9gizfvksbvn74qv7qgrxpxv4w9l-hdparm-9.60
> unzip 6.0 out /gnu/store/1zx8knb7h79q6cr4kwhbz6z6v609309w-unzip-6.0
> bzip2 1.0.8 out /gnu/store/a9f7wmc75hbpg520phw9z4l9asm3qvsw-bzip2-1.0.8
> wget 1.20.3 out /gnu/store/6b26hgs87h6m2qvnpa1qxmkizhhh4jpi-wget-1.20.3
> curl 7.74.0 out /gnu/store/6w4w31samjbpiavzgm13zin6qnx22xb6-curl-7.74.0
> emacs-paredit 24 out /gnu/store/xvcf371a70iflp4plmm7sr7v25n8kb87-emacs-paredit-24
> emacs-highlight 0.0.0 out /gnu/store/gh5vgsm1124kgjhlxd8bpb0nfgacqi36-emacs-highlight-0.0.0
> openvpn 2.4.10 out /gnu/store/gnspsy1j18chlc6d5vaf7xa17x8m2m6b-openvpn-2.4.10
> emacs 27.1 out /gnu/store/7z33lhy9m8xqgym9w3hj30y1w290c8hn-emacs-27.1
> protonvpn-cli 2.2.6 out /gnu/store/wfvag525xhppxf7vnxj11a0h4x9dsrbr-protonvpn-cli-2.2.6
> graphviz 2.42.3 out /gnu/store/bi9hjvhcgr5rc0r29wmb18xxk4cgphx8-graphviz-2.42.3
> xdot 1.1 out /gnu/store/g64mfj0dphlksshp8i3zqbcpza1pbsqx-xdot-1.1
> There are my config in attach and also all packages network-manager.
> Can you help me to configure my system to remove nm?


  reply	other threads:[~2021-03-05 20:44 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-03-05 19:19 What for network-manager appears in my system? znavko--- via
2021-03-05 20:43 ` znavko [this message]
2021-03-05 21:56 ` znavko

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=66506ba9c5d4f016972f0de0d1eb7f56@disroot.org \
    --to=znavko@disroot.org \
    --cc=help-guix@gnu.org \
    /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.
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).