Bug 12540 - "Could not obtain information on password file" build error
Summary: "Could not obtain information on password file" build error
Status: RESOLVED FIXED
Alias: None
Product: systemtap
Classification: Unclassified
Component: uprobes (show other bugs)
Version: unspecified
: P2 normal
Target Milestone: ---
Assignee: Dave Brolley
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-03-03 22:43 UTC by David Smith
Modified: 2011-03-08 21:12 UTC (History)
1 user (show)

See Also:
Host:
Target:
Build:
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description David Smith 2011-03-03 22:43:20 UTC
On a 2.6.32.12-115.fc12.ppc64 system, I configured/build like so:

# ../src/configure --prefix=/notnfs/dsmith/stap/install --disable-docs --disable-server
# make && sudo make install

When I got to build uprobes, I get the following error:

# sudo make -C /notnfs/dsmith/stap/install/share/systemtap/runtime/uprobes
make: Entering directory `/notnfs/dsmith/stap/install/share/systemtap/runtime/uprobes'
make -C /lib/modules/2.6.32.12-115.fc12.ppc64/build SUBDIRS=/notnfs/dsmith/stap/install/share/systemtap/runtime/uprobes modules
make[1]: Entering directory `/usr/src/kernels/2.6.32.12-115.fc12.ppc64'
  CC [M]  /notnfs/dsmith/stap/install/share/systemtap/runtime/uprobes/uprobes.o
  Building modules, stage 2.
  MODPOST 1 modules
  CC      /notnfs/dsmith/stap/install/share/systemtap/runtime/uprobes/uprobes.mod.o
  LD [M]  /notnfs/dsmith/stap/install/share/systemtap/runtime/uprobes/uprobes.ko
make[1]: Leaving directory `/usr/src/kernels/2.6.32.12-115.fc12.ppc64'
if test -f ../../../../libexec/systemtap/stap-sign-module; then \
		for f in *.ko; do \
			if test ! -e $f.sgn -o $f.sgn -ot $f; then \
				../../../../libexec/systemtap/stap-sign-module $f; \
			fi \
		done \
	fi
Could not obtain information on password file /home/hsv/dsmith/.systemtap/ssl/server/pw.
(-5950) File not found
Unable to obtain certificate database password.
make: *** [default] Error 1
make: Leaving directory `/notnfs/dsmith/stap/install/share/systemtap/runtime/uprobes'
Comment 1 Dave Brolley 2011-03-08 16:48:05 UTC
commit c1abd6ae:

runtime/uprobes/Makefile now ensures that the proper tools and resources are in place before attempting to digitally sign the uprobes.ko module.
Comment 2 Dave Brolley 2011-03-08 21:09:25 UTC
We should only be signing the upropbes.ko module if we are root or stap-server.
Comment 3 Dave Brolley 2011-03-08 21:12:56 UTC
commit bd8504cf