From mboxrd@z Thu Jan 1 00:00:00 1970 From: Subject: Re: Deleting unnecessary services from %desktop-services Date: Sat, 1 Dec 2018 16:28:27 +0100 (CET) Message-ID: References: <> <87bm6am94n.fsf@ambrevar.xyz> <> <87efb32s1f.fsf@elephly.net> < (znavko's message of "Sat, 1 Dec 2018 06:06:59 +0100 (CET)")> <87bm65l5p5.fsf@fastmail.com> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_69754_11474008.1543678107630" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:59625) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gT7Ji-0003LB-L9 for help-guix@gnu.org; Sat, 01 Dec 2018 10:36:27 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gT7Jd-0006jq-Nw for help-guix@gnu.org; Sat, 01 Dec 2018 10:36:26 -0500 Received: from w1.tutanota.de ([81.3.6.162]:56136) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gT7Jd-0006j0-At for help-guix@gnu.org; Sat, 01 Dec 2018 10:36:21 -0500 Received: from w2.tutanota.de (unknown [192.168.1.163]) by w1.tutanota.de (Postfix) with ESMTP id 9B6EEFA0D12 for ; Sat, 1 Dec 2018 15:28:27 +0000 (UTC) In-Reply-To: <87bm65l5p5.fsf@fastmail.com> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane.org@gnu.org Sender: "Help-Guix" To: Joshua Branson Cc: Help Guix ------=_Part_69754_11474008.1543678107630 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Yes, you are right. I do not need all these services: - avahi-daemon , - ntpd, - networking But this config does not remove them: =C2=A0 (services (cons*=C2=A0 ;;(tor-service) =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (service postgresql-service-type) =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (xfce-desktop-service) =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (modify-services=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=20 =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (remove! (lambda (servi= ce) =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (eq? (servi= ce-kind service)=20 =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 avahi-service-type ntp-service-type ntpd net= working)) =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 %desktop-se= rvices =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 );end of remove =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (elogind-service-type =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 c =3D> (elo= gind-configuration (handle-lid-switch 'ignore))) =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 );;end of modify desktop-srvices =C2=A0 ));;end of services # guix system reconfigure /etc/config.scm ... upgrade, and restart each service that was not automatically restarted. shepherd: Evaluating user expression (let* ((services (map primitive-load (= ?))) # ?) ?). shepherd: Service user-homes could not be started. shepherd: Service term-auto could not be started. shepherd: Service wpa-supplicant has been started. shepherd: Service networking has been started. shepherd: Service ntpd has been started. shepherd: Service avahi-daemon has been started. # herd status ... =C2=A0+ avahi-daemon =C2=A0+ networking =C2=A0+ ntpd My question is how to remove at all these services: avahi, ntpd, networking= . My current config does not fulfill this. I need only these packages: wpa_supplicant, dhclient, and graphical service= s from %desktop services. So I need %desktop-services, but want to remove a= vahi, ntpd and networking from that list. Would you correct my config? ------=_Part_69754_11474008.1543678107630 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable

Yes, you are right. I do not need all these services:

- avahi-daemon ,
- ntpd,
- networking

But this config does not remove t= hem:

  (services (cons*  ;;(tor-servi= ce)
           =          (service postgresql-servic= e-type)
          &n= bsp;         (xfce-desktop-service)=
           &nb= sp;        (modify-services  &= nbsp;  
        &nb= sp;            = (remove! (lambda (service)
       =             &nb= sp;    (eq? (service-kind service)
   &= nbsp;           &nbs= p;            &= nbsp;  avahi-service-type ntp-service-type ntpd networking))
&nbs= p;            &= nbsp;          %desktop-servic= es
           &= nbsp;          );end of remove=
           &nb= sp;          (elogind-service-= type
           = ;             c= =3D> (elogind-configuration (handle-lid-switch 'ignore)))
 &n= bsp;            = ;      );;end of modify desktop-srvices
 = ; ));;end of services


# guix system reconfigure /etc/config.scm
<= div style=3D"16px" text-align=3D"left">...
upgrade, and restart each service that was not automatic= ally restarted.
shepherd: Evaluating user expression (let* ((services = (map primitive-load (?))) # ?) ?).
shepherd: Service user-homes could = not be started.
shepherd: Service term-auto could not be started.
shepherd: Service wpa-supplicant has been started.
shepherd: Service = networking has been started.
shepherd: Service ntpd has been started.<= br />shepherd: Service avahi-daemon has been started.

# herd status
...=
 + avahi-daemon + networking
 + ntpd


M= y question is how to remove at all these services: avahi, ntpd, networking.= My current config does not fulfill this.

I nee= d only these packages: wpa_supplicant, dhclient, and graphical services fro= m %desktop services. So I need %desktop-services, but want to remove avahi,= ntpd and networking from that list.
Would you correct my config?
------=_Part_69754_11474008.1543678107630--