make xkiosk is aborted with return code 127

Bug #1263389 reported by Patrick Frank
16
This bug affects 2 people
Affects Status Importance Assigned to Milestone
debirf (Ubuntu)
Expired
High
Unassigned

Bug Description

After the installation of debirf I unpacked the profiles and run "make xkiosk".
It then exits like this after a while:

I: Configuring gnupg...
I: Configuring apt...
I: Base system installed successfully.
debirf> fixing debirf root dev tree...
debirf> executing modules...
run-parts: executing xkiosk/modules/a0_add_extra_repos
run-parts: executing xkiosk/modules/a0_add_security_repos
run-parts: executing xkiosk/modules/a0_motd
run-parts: executing xkiosk/modules/a0_prep-root
dpkg: warning: failed to open configuration file '/root/.dpkg.cfg' for reading: Permission denied
passwd: password expiry information changed.
Ign http://security.ubuntu.com saucy-security InRelease
Get:1 http://security.ubuntu.com saucy-security Release.gpg [933 B]
Ign http://mirrors.kernel.org saucy InRelease
Get:2 http://security.ubuntu.com saucy-security Release [49.6 kB]
Hit http://mirrors.kernel.org saucy Release.gpg
Hit http://mirrors.kernel.org saucy Release
Get:3 http://security.ubuntu.com saucy-security/main amd64 Packages [60.5 kB]
Hit http://mirrors.kernel.org saucy/main amd64 Packages
Get:4 http://security.ubuntu.com saucy-security/restricted amd64 Packages [14 B]
Get:5 http://mirrors.kernel.org saucy/universe amd64 Packages [5643 kB]
Get:6 http://security.ubuntu.com saucy-security/universe amd64 Packages [22.7 kB]
Get:7 http://security.ubuntu.com saucy-security/multiverse amd64 Packages [1149 B]
Get:8 http://security.ubuntu.com saucy-security/main Translation-en [29.0 kB]
Get:9 http://security.ubuntu.com saucy-security/multiverse Translation-en [587 B]
Get:10 http://security.ubuntu.com saucy-security/restricted Translation-en [14 B]
Get:11 http://security.ubuntu.com saucy-security/universe Translation-en [14.4 kB]
Get:12 http://mirrors.kernel.org saucy/multiverse amd64 Packages [131 kB]
Get:13 http://mirrors.kernel.org saucy/restricted amd64 Packages [9348 B]
Get:14 http://mirrors.kernel.org saucy/main Translation-en [711 kB]
Get:15 http://mirrors.kernel.org saucy/multiverse Translation-en [101 kB]
Get:16 http://mirrors.kernel.org saucy/restricted Translation-en [2686 B]
Get:17 http://mirrors.kernel.org saucy/universe Translation-en [3886 kB]
Fetched 10.7 MB in 17s (624 kB/s)
Reading package lists... Done
Reading package lists... Done
Building dependency tree... Done
The following packages will be upgraded:
  gnupg gpgv
2 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 1002 kB of archives.
After this operation, 0 B of additional disk space will be used.
Get:1 http://security.ubuntu.com/ubuntu/ saucy-security/main gpgv amd64 1.4.14-1ubuntu2.1 [185 kB]
Get:2 http://security.ubuntu.com/ubuntu/ saucy-security/main gnupg amd64 1.4.14-1ubuntu2.1 [816 kB]
Fetched 1002 kB in 1s (769 kB/s)
debconf: delaying package configuration, since apt-utils is not installed
(Reading database ... 7345 files and directories currently installed.)
Preparing to replace gpgv 1.4.14-1ubuntu2 (using .../gpgv_1.4.14-1ubuntu2.1_amd64.deb) ...
Unpacking replacement gpgv ...
Setting up gpgv (1.4.14-1ubuntu2.1) ...
(Reading database ... 7345 files and directories currently installed.)
Preparing to replace gnupg 1.4.14-1ubuntu2 (using .../gnupg_1.4.14-1ubuntu2.1_amd64.deb) ...
Unpacking replacement gnupg ...
Setting up gnupg (1.4.14-1ubuntu2.1) ...
sh: 1: insserv: not found
run-parts: xkiosk/modules/a0_prep-root exited with return code 127

ProblemType: Bug
DistroRelease: Ubuntu 13.10
Package: debirf 0.33
ProcVersionSignature: Ubuntu 3.11.0-14.21-generic 3.11.7
Uname: Linux 3.11.0-14-generic x86_64
NonfreeKernelModules: nvidia
ApportVersion: 2.12.5-0ubuntu2.2
Architecture: amd64
Date: Sat Dec 21 21:18:49 2013
InstallationDate: Installed on 2013-12-09 (12 days ago)
InstallationMedia: Ubuntu 13.10 "Saucy Salamander" - Release amd64 (20131016.1)
MarkForUpload: True
PackageArchitecture: all
SourcePackage: debirf
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Patrick Frank (paddyf) wrote :
Revision history for this message
Jörg Frings-Fürst (jff-de) wrote :

Hi

> sh: 1: insserv: not found

is insserv installed?

Revision history for this message
Jörg Frings-Fürst (jff-de) wrote :

yes it is. See Dependencies.txt

Revision history for this message
Jörg Frings-Fürst (jff-de) wrote :

i got the same error here.

I think its a bug in gnupg. I'm looking for it

Revision history for this message
Jörg Frings-Fürst (jff-de) wrote :

The first bug is insserv. Its not accessible via the path.

First quick & dirty:

change in file /usr/share/debirf/modules/a0_prep-root

line 70

from

debirf_exec sh -c 'cd /etc/init.d && insserv $(ls | grep -vFx -e rc -e rcS -e skeleton -e README)'

to

debirf_exec sh -c 'cd /etc/init.d && /usr/lib/insserv/insserv $(ls | grep -vFx -e rc -e rcS -e skeleton -e README)'

But after that debirf runs into upstart - errors

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in debirf (Ubuntu):
status: New → Confirmed
Revision history for this message
Patrick Frank (paddyf) wrote :

Thanks a lot for caring about this bug, Jörg.

I made a test on Debian 7 where debirf is also used in version 0.33 and the problem there is a dependency conflict after the xserver package is setup.

But as you mentioned in your comment. After your fix the problem is the following:

Setting up gnupg (1.4.14-1ubuntu2.1) ...
initctl: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
The script you are attempting to invoke has been converted to an Upstart
job, but lsb-header is not supported for Upstart jobs.
insserv: warning: script 'kmod' missing LSB tags and overrides
insserv: warning: current start runlevel(s) (0) of script `halt' overrides LSB defaults (empty).
insserv: warning: current stop runlevel(s) (empty) of script `halt' overrides LSB defaults (0).
insserv: warning: current start runlevel(s) (0 6) of script `umountfs' overrides LSB defaults (empty).
insserv: warning: current stop runlevel(s) (empty) of script `umountfs' overrides LSB defaults (0 6).
insserv: Service mountkernfs has to be enabled to start service udev
insserv: exiting now!
run-parts: xkiosk/modules/a0_prep-root exited with return code 1

Revision history for this message
Jörg Frings-Fürst (jff-de) wrote :

Under trusty are the same errors

tags: added: trusty
Revision history for this message
Dave Gilbert (ubuntu-treblig) wrote :

Can you try installing the insserv package prior to installing debirf?

Changed in debirf (Ubuntu):
importance: Undecided → High
status: Confirmed → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for debirf (Ubuntu) because there has been no activity for 60 days.]

Changed in debirf (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.