File: faq.xml

package info (click to toggle)
commons-daemon 1.0.1-3
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 1,764 kB
  • ctags: 1,770
  • sloc: ansic: 15,466; sh: 2,530; xml: 1,504; java: 1,042; makefile: 81
file content (72 lines) | stat: -rw-r--r-- 2,189 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
<?xml version="1.0"?>
 
<document>
 
 <properties>
  <title>Daemon : FAQ</title>
  <author email="jfrederic.clere@fujitsu-siemens.con">Jean-Frederic Clere</author>
 </properties>

<body>
<section name="Buildconf problems">
<p>
<source>
$ sh support/buildconf.sh
autoconf: Undefined macros:
***BUG in Autoconf--please report*** AC_PATH
***BUG in Autoconf--please report*** AC_PATH
***BUG in Autoconf--please report*** AC_PATH
</source>
Your version of autoconf is to old, upgrade your autoconf and retry.
Or run support/buildconf.sh in another machine and copy the daemon tree in
the machine where you want to compile jsvc.
</p>
</section>

<section name="Configure problems">
<p>
<source>
configure: creating ./config.status
config.status: creating Makefile
mv: Makefile: set owner/group (was: 1670/0): Operation not permitted
config.status: creating Makedefs
mv: Makedefs: set owner/group (was: 1670/0): Operation not permitted
config.status: creating native/Makefile
mv: native/Makefile: set owner/group (was: 1670/0): Operation not permitted
*** All done ***
Now you can issue "make"
</source>
You should ignore those error messages they are normal in FreeBSD.
config.status creates files in /tmp and move them in the current directory.
When FreeBSD creates files it sets the group of the files to
the group of the directory where the files are created.
So if /tmp is group "wheel" the files are "wheel". When moving the files in
the current directory (if you are not member of group "wheel")
the group "wheel" cannot be set on the moved files.
</p>
</section>
<section name="Runtime problems">
<p>
On linux 2.6.x jsvc does not start and write the following error:
<source>
jsvc.exec error: syscall failed in set_caps
jsvc.exec error: Service exit with a return value of 4
</source>
CONFIG_SECURITY_CAPABILITIES in missing in your kernel try the following in the kernel sources:
<ul>
<li>
Configure the kernel with "Default Linux Capabilities" and reboot
  (by make gconfig or make xconfig under "security options" and "Enable different security models")
</li>
<li>
Insert the module "capability":
<source>
modprobe capability
</source>
</li>
</ul>
</p>
</section>

</body>
</document>