[Bug 1464990] [NEW] Job for dnsmasq.service failed because the control process exited with error code

dino99 1464990 at bugs.launchpad.net
Sun Jun 14 10:51:20 UTC 2015


Public bug reported:

Got an error while upgrading:

********
Setting up dnsmasq-base (2.72-3.1build1) ...
Setting up dnsmasq (2.72-3.1build1) ...
Job for dnsmasq.service failed because the control process exited with error code. See "systemctl status dnsmasq.service" and "journalctl -xe" for details.
invoke-rc.d: initscript dnsmasq, action "restart" failed.
*******

systemctl status dnsmasq.service
● dnsmasq.service - dnsmasq - A lightweight DHCP and caching DNS server
   Loaded: loaded (/lib/systemd/system/dnsmasq.service; enabled; vendor preset: enabled)
  Drop-In: /run/systemd/generator/dnsmasq.service.d
           └─50-dnsmasq-$named.conf, 50-insserv.conf-$named.conf
   Active: failed (Result: exit-code) since dim. 2015-06-14 12:40:41 CEST; 1min 11s ago
  Process: 29275 ExecStop=/etc/init.d/dnsmasq systemd-stop-resolvconf (code=exited, status=0/SUCCESS)
  Process: 29335 ExecStart=/etc/init.d/dnsmasq systemd-exec (code=exited, status=2)
  Process: 29331 ExecStartPre=/usr/sbin/dnsmasq --test (code=exited, status=0/SUCCESS)
 Main PID: 915 (code=exited, status=0/SUCCESS)

 systemd[1]: Starting dnsmasq - A lightweight DHCP and .....
 dnsmasq[29331]: dnsmasq: syntax check OK.
 dnsmasq[29335]: dnsmasq: failed to create listening so...se
 systemd[1]: dnsmasq.service: Control process exited, c...=2
 systemd[1]: Failed to start dnsmasq - A lightweight DH...r.
 systemd[1]: dnsmasq.service: Unit entered failed state.
 systemd[1]: dnsmasq.service: Failed with result 'exit-...'.
Hint: Some lines were ellipsized, use -l to show in full.

 journalctl -xe
 dnsmasq[29335]: failed to create listening socket for 192.168.1.2: Address already in
 dnsmasq[29335]: FAILED to start up
 systemd[1]: dnsmasq.service: Control process exited, code=exited status=2
 systemd[1]: Failed to start dnsmasq - A lightweight DHCP and caching DNS server.
-- Subject: L'unité (unit) dnsmasq.service a échoué
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- L'unité (unit) dnsmasq.service a échoué, avec le résultat failed.
 systemd[1]: Dependency failed for Host and Network Name Lookups.
-- Subject: L'unité (unit) nss-lookup.target a échoué
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- L'unité (unit) nss-lookup.target a échoué, avec le résultat dependency.
 systemd[1]: nss-lookup.target: Job nss-lookup.target/start failed with result 'depend
 systemd[1]: dnsmasq.service: Unit entered failed state.
 systemd[1]: dnsmasq.service: Failed with result 'exit-code'.
 polkitd(authority=local)[910]: Unregistered Authentication Agent for unix-process:292

ProblemType: Bug
DistroRelease: Ubuntu 15.10
Package: dnsmasq 2.72-3.1build1
ProcVersionSignature: Ubuntu 4.0.0-1.2-generic 4.0.5
Uname: Linux 4.0.0-1-generic i686
NonfreeKernelModules: nvidia
ApportVersion: 2.17.3-0ubuntu4
Architecture: i386
CurrentDesktop: GNOME
Date: Sun Jun 14 12:45:55 2015
PackageArchitecture: all
SourcePackage: dnsmasq
UpgradeStatus: No upgrade log present (probably fresh install)

** Affects: dnsmasq (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: apport-bug i386 package-from-proposed wily

** Description changed:

  Got an error while upgrading:
  
  ********
  Setting up dnsmasq-base (2.72-3.1build1) ...
  Setting up dnsmasq (2.72-3.1build1) ...
  Job for dnsmasq.service failed because the control process exited with error code. See "systemctl status dnsmasq.service" and "journalctl -xe" for details.
  invoke-rc.d: initscript dnsmasq, action "restart" failed.
  *******
  
  systemctl status dnsmasq.service
  ● dnsmasq.service - dnsmasq - A lightweight DHCP and caching DNS server
-    Loaded: loaded (/lib/systemd/system/dnsmasq.service; enabled; vendor preset: enabled)
-   Drop-In: /run/systemd/generator/dnsmasq.service.d
-            └─50-dnsmasq-$named.conf, 50-insserv.conf-$named.conf
-    Active: failed (Result: exit-code) since dim. 2015-06-14 12:40:41 CEST; 1min 11s ago
-   Process: 29275 ExecStop=/etc/init.d/dnsmasq systemd-stop-resolvconf (code=exited, status=0/SUCCESS)
-   Process: 29335 ExecStart=/etc/init.d/dnsmasq systemd-exec (code=exited, status=2)
-   Process: 29331 ExecStartPre=/usr/sbin/dnsmasq --test (code=exited, status=0/SUCCESS)
-  Main PID: 915 (code=exited, status=0/SUCCESS)
+    Loaded: loaded (/lib/systemd/system/dnsmasq.service; enabled; vendor preset: enabled)
+   Drop-In: /run/systemd/generator/dnsmasq.service.d
+            └─50-dnsmasq-$named.conf, 50-insserv.conf-$named.conf
+    Active: failed (Result: exit-code) since dim. 2015-06-14 12:40:41 CEST; 1min 11s ago
+   Process: 29275 ExecStop=/etc/init.d/dnsmasq systemd-stop-resolvconf (code=exited, status=0/SUCCESS)
+   Process: 29335 ExecStart=/etc/init.d/dnsmasq systemd-exec (code=exited, status=2)
+   Process: 29331 ExecStartPre=/usr/sbin/dnsmasq --test (code=exited, status=0/SUCCESS)
+  Main PID: 915 (code=exited, status=0/SUCCESS)
  
- juin 14 12:40:41 u32 systemd[1]: Starting dnsmasq - A lightweight DHCP and .....
- juin 14 12:40:41 u32 dnsmasq[29331]: dnsmasq: syntax check OK.
- juin 14 12:40:41 u32 dnsmasq[29335]: dnsmasq: failed to create listening so...se
- juin 14 12:40:41 u32 systemd[1]: dnsmasq.service: Control process exited, c...=2
- juin 14 12:40:41 u32 systemd[1]: Failed to start dnsmasq - A lightweight DH...r.
- juin 14 12:40:41 u32 systemd[1]: dnsmasq.service: Unit entered failed state.
- juin 14 12:40:41 u32 systemd[1]: dnsmasq.service: Failed with result 'exit-...'.
+  systemd[1]: Starting dnsmasq - A lightweight DHCP and .....
+  dnsmasq[29331]: dnsmasq: syntax check OK.
+  dnsmasq[29335]: dnsmasq: failed to create listening so...se
+  systemd[1]: dnsmasq.service: Control process exited, c...=2
+  systemd[1]: Failed to start dnsmasq - A lightweight DH...r.
+  systemd[1]: dnsmasq.service: Unit entered failed state.
+  systemd[1]: dnsmasq.service: Failed with result 'exit-...'.
  Hint: Some lines were ellipsized, use -l to show in full.
  
- 
-  journalctl -xe
-  dnsmasq[29335]: failed to create listening socket for 192.168.1.2: Address already in
-  dnsmasq[29335]: FAILED to start up
-  systemd[1]: dnsmasq.service: Control process exited, code=exited status=2
-  systemd[1]: Failed to start dnsmasq - A lightweight DHCP and caching DNS server.
+  journalctl -xe
+  dnsmasq[29335]: failed to create listening socket for 192.168.1.2: Address already in
+  dnsmasq[29335]: FAILED to start up
+  systemd[1]: dnsmasq.service: Control process exited, code=exited status=2
+  systemd[1]: Failed to start dnsmasq - A lightweight DHCP and caching DNS server.
  -- Subject: L'unité (unit) dnsmasq.service a échoué
  -- Defined-By: systemd
  -- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
- -- 
+ --
  -- L'unité (unit) dnsmasq.service a échoué, avec le résultat failed.
-  systemd[1]: Dependency failed for Host and Network Name Lookups.
+  systemd[1]: Dependency failed for Host and Network Name Lookups.
  -- Subject: L'unité (unit) nss-lookup.target a échoué
  -- Defined-By: systemd
  -- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
- -- 
+ --
  -- L'unité (unit) nss-lookup.target a échoué, avec le résultat dependency.
-  systemd[1]: nss-lookup.target: Job nss-lookup.target/start failed with result 'depend
-  systemd[1]: dnsmasq.service: Unit entered failed state.
-  systemd[1]: dnsmasq.service: Failed with result 'exit-code'.
-  polkitd(authority=local)[910]: Unregistered Authentication Agent for unix-process:292
+  systemd[1]: nss-lookup.target: Job nss-lookup.target/start failed with result 'depend
+  systemd[1]: dnsmasq.service: Unit entered failed state.
+  systemd[1]: dnsmasq.service: Failed with result 'exit-code'.
+  polkitd(authority=local)[910]: Unregistered Authentication Agent for unix-process:292
  
  ProblemType: Bug
  DistroRelease: Ubuntu 15.10
  Package: dnsmasq 2.72-3.1build1
  ProcVersionSignature: Ubuntu 4.0.0-1.2-generic 4.0.5
  Uname: Linux 4.0.0-1-generic i686
  NonfreeKernelModules: nvidia
  ApportVersion: 2.17.3-0ubuntu4
  Architecture: i386
  CurrentDesktop: GNOME
  Date: Sun Jun 14 12:45:55 2015
  PackageArchitecture: all
  SourcePackage: dnsmasq
  UpgradeStatus: No upgrade log present (probably fresh install)

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to dnsmasq in Ubuntu.
https://bugs.launchpad.net/bugs/1464990

Title:
  Job for dnsmasq.service failed because the control process exited with
  error code

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/dnsmasq/+bug/1464990/+subscriptions



More information about the Ubuntu-server-bugs mailing list