You are not logged in.

#1 2014-08-28 14:52:00

CarlD
Member
From: London
Registered: 2013-01-22
Posts: 80

Warning about apparent automatic activation of services

Hello there,

I've noticed that ISOs I generated today threw up a load of errors / service failures upon booting. This was related to errors reported by users at the Evo forum.

It would (apparently) seem that (at least some) services are being automatically enabled when packages are installed (for ISO generation and Arch installations). This includes dcpcd, ip6tables, iptables,  krb5 (Kerberos) services and even raid. As you can imagine, this results in quite a mess and these services need to be manually disabled.

I've asked about this on the Arch forums. Doesn't affect existing installations (so offline installations will be fine), but may affect new AB ISOs generated.

Carl

Offline

#2 2014-08-28 23:18:19

Mr Green
Administrator
Registered: 2010-11-07
Posts: 6,920

Re: Warning about apparent automatic activation of services

Check our iso source on github I had to make changes to customize script (see systemctl command)


Comments, suggestions please feel free to contact me mrgreen(at)archbang(dot)org

Offline

#3 2014-08-29 02:33:06

pablokal
Administrator
From: Nijmegen, Holland
Registered: 2010-10-12
Posts: 3,634
Website

Re: Warning about apparent automatic activation of services

Thanks, Carl, for the warning!!!


Getting your questions answered here at ArchBang Forums
Please! Always give hardware info, if there is a chance that 's relevant: #lspci -vnn
On Arch(bang) and Openbox: http://stillstup.blogspot.com/

Offline

#4 2014-08-29 06:07:45

scjet
Member
From: Canada
Registered: 2010-12-01
Posts: 1,468

Re: Warning about apparent automatic activation of services

Hey Carl,

I just tried the "Evo/Lution" iso yesterday, so I missed this mess, but say a thanks to Jeff and Helmut as well for this Arch Net-Installer iso.
Hope Arch upstream fixes all this soon.
mmm, it looks like "systemd" strikes again.

BTW: I didn't like the default Openbox that I got with it, but LoL, being form Archbang, I'm a perfectionist when it comes to Openbox.
I noticed your (Evolution) Forum is filling up with Manjaro Users.
big_smile
  ...seriously though, Good work, and good luck with your Evo/Lution project.

Last edited by scjet (2014-08-29 07:35:28)

Offline

#5 2014-08-29 11:58:15

CarlD
Member
From: London
Registered: 2013-01-22
Posts: 80

Re: Warning about apparent automatic activation of services

Mr Green wrote:

Check our iso source on github I had to make changes to customize script (see systemctl command)

Do you mean:

systemctl enable pacman-init.service lastmin.service
systemctl set-default multi-user.target

I see the change from 'enable' to 'set-default'. I like the man-entry for that (basically that it is used to set the default... no, really?!).

Used this with Archiso (i.e. in customize_airootfs), but am still getting issues from services being automatically enabled. I am stumped on this one. Interesting, no-one has responded to my post on the Arch forums about this, either. I don't think I'm important enough to warrant any kind of silent treatment, so can only assume no-one knows.

Can you shed any light on what is going on?

Offline

#6 2014-08-29 12:29:45

Mr Green
Administrator
Registered: 2010-11-07
Posts: 6,920

Re: Warning about apparent automatic activation of services

Can you be a little more specific on the services in question?


Comments, suggestions please feel free to contact me mrgreen(at)archbang(dot)org

Offline

#7 2014-08-29 12:39:45

CarlD
Member
From: London
Registered: 2013-01-22
Posts: 80

Re: Warning about apparent automatic activation of services

Mr Green wrote:

Can you be a little more specific on the services in question?

OK:

releng/airootfs/etc/systemd/system/multi-user.target.wants/
I only have the networkmanager service file. That's it.

After spinning an ISO (and only since the 27th/28th),  etc/system/multi-user.target.wants/ contains:

adsl.service                        nfs-blkmap.target
avahi-daemon.service                nfs-client.target
avahi-dnsconfd.service              nfs-server.service
choose-mirror.service               nscd.service
darkhttpd.service                   ntpdate.service
dhcpcd.service                      ntpd.service
dnsmasq.service                     pacman-init.service
fstrim.timer                        partimaged.service
ftpd.service                        remote-fs.target
gpm.service                         rsyncd.service
haveged.service                     smartd.service
ip6tables.service                   sshd.service
iptables.service                    systemd-journal-upload.service
krb5-kadmind.service                systemd-networkd.service
krb5-kdc.service                    systemd-resolved.service
krb5-kpropd.service                 vboxservice.service
mdadm.service                       wpa_supplicant-nl80211@.service
nbd.service                         wpa_supplicant.service
netctl.service                      wpa_supplicant@.service
NetworkManager.service              wpa_supplicant-wired@.service
NetworkManager-wait-online.service

Hence all the bootup errors. This happens with Arch installations as well (including "the arch way"). I cannot figure out how all of these got enabled.

Last edited by CarlD (2014-08-29 12:40:26)

Offline

#8 2014-08-29 12:52:29

Mr Green
Administrator
Registered: 2010-11-07
Posts: 6,920

Re: Warning about apparent automatic activation of services

They relate to applications you have installed, most of them are required, network manager will need more than half of them as it is a real hog.  Will look at what we are running....


Comments, suggestions please feel free to contact me mrgreen(at)archbang(dot)org

Offline

#9 2014-08-29 12:54:45

CarlD
Member
From: London
Registered: 2013-01-22
Posts: 80

Re: Warning about apparent automatic activation of services

Mr Green wrote:

The relate to applications you have installed, most of them are required, network manager will need more than half of them as it is a real hog.  Will look at what we are running....

Thing is, on ISOs generated only a week ago, aside from those required, the rest of these services were inactive!

Last edited by CarlD (2014-08-29 12:55:15)

Offline

#10 2014-08-29 13:25:41

CarlD
Member
From: London
Registered: 2013-01-22
Posts: 80

Re: Warning about apparent automatic activation of services

https://bugs.archlinux.org/task/41711

Now we know what it is! Found this after my own bug report was closed due to being a duplicate.

Offline

Board footer

Powered by FluxBB