Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 398621 - app-emulation/libvirt - man libvirtd.8 is installed unprocessed - @sysconfdir@ unexchanged
Summary: app-emulation/libvirt - man libvirtd.8 is installed unprocessed - @sysconfdir...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Virtualization Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-01-12 07:48 UTC by Justin Lecher (RETIRED)
Modified: 2012-08-31 21:48 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Justin Lecher (RETIRED) gentoo-dev 2012-01-12 07:48:21 UTC
The man file is installed as input file and not processed by the buildsystem. Here some examples:



LIBVIRTD.POD.IN(8)                                                                                                 Virtualization Support                                                                                                LIBVIRTD.POD.IN(8)



NAME
       libvirtd - libvirtd management daemon

SYNOPSIS


FILES
       @sysconfdir@/libvirtd.conf
           The default configuration file used by libvirtd, unless overridden on the command line using the -f|--config option.

       @localstatedir@/run/libvirt/libvirt-sock
       @localstatedir@/run/libvirt/libvirt-sock-ro
           The sockets libvirtd will use when run as root.

       $HOME/.libvirt/libvirt-sock
           The socket libvirtd will use when run as a non-root user.

       @sysconfdir@/pki/CA/cacert.pem
           The TLS Certificate Authority certificate libvirtd will use.

       @sysconfdir@/pki/libvirt/servercert.pem
           The TLS Server certificate libvirtd will use.

       @sysconfdir@/pki/libvirt/private/serverkey.pem
           The TLS Server private key libvirtd will use.
Comment 1 Doug Goldstein (RETIRED) gentoo-dev 2012-03-05 23:35:37 UTC
sed \
    -e 's![@]sysconfdir[@]!/etc!g' \
    -e 's![@]localstatedir[@]!/var!g' \
    -e 's![@]remote_pid_file[@]!!g' \
    < libvirtd.8.in > libvirtd.8-t

I see that during the build so I'm unsure what's going wrong. It must be because of the [ ]
Comment 2 Justin Lecher (RETIRED) gentoo-dev 2012-03-06 08:05:27 UTC
The problem is, that the libvirtd.8.in doesn't contain @sysconfdir@.


.ie n .IP "\fI\fI@sysconfdir\fI@/libvirtd.conf\fR" 4
.el .IP "\fI\f(CI@sysconfdir\fI@/libvirtd.conf\fR" 4
.IX Item "/etc/libvirtd.conf"
The default configuration file used by libvirtd, unless overridden on the
command line using the \fB\-f\fR|\fB\-\-config\fR option.
.ie n .IP "\fI\fI@localstatedir\fI@/run/libvirt/libvirt\-sock\fR" 4
.el .IP "\fI\f(CI@localstatedir\fI@/run/libvirt/libvirt\-sock\fR" 4
.IX Item "/var/run/libvirt/libvirt-sock"
.PD 0
.ie n .IP "\fI\fI@localstatedir\fI@/run/libvirt/libvirt\-sock\-ro\fR" 4
.el .IP "\fI\f(CI@localstatedir\fI@/run/libvirt/libvirt\-sock\-ro\fR" 4
.IX Item "/var/run/libvirt/libvirt-sock-ro"
.PD
The sockets libvirtd will use when \fBrun as root\fR.
.ie n .IP "\fI\fI$HOME\fI/.libvirt/libvirt\-sock\fR" 4
.el .IP "\fI\f(CI$HOME\fI/.libvirt/libvirt\-sock\fR" 4
.IX Item "$HOME/.libvirt/libvirt-sock"
The socket libvirtd will use when run as a \fBnon-root\fR user.
.ie n .IP "\fI\fI@sysconfdir\fI@/pki/CA/cacert.pem\fR" 4
.el .IP "\fI\f(CI@sysconfdir\fI@/pki/CA/cacert.pem\fR" 4
.IX Item "/etc/pki/CA/cacert.pem"
The \s-1TLS\s0 \fBCertificate Authority\fR certificate libvirtd will use.
.ie n .IP "\fI\fI@sysconfdir\fI@/pki/libvirt/servercert.pem\fR" 4
.el .IP "\fI\f(CI@sysconfdir\fI@/pki/libvirt/servercert.pem\fR" 4
.IX Item "/etc/pki/libvirt/servercert.pem"
The \s-1TLS\s0 \fBServer\fR certificate libvirtd will use.
.ie n .IP "\fI\fI@sysconfdir\fI@/pki/libvirt/private/serverkey.pem\fR" 4
.el .IP "\fI\f(CI@sysconfdir\fI@/pki/libvirt/private/serverkey.pem\fR" 4
.IX Item "/etc/pki/libvirt/private/serverkey.pem"
The \s-1TLS\s0 \fBServer\fR private key libvirtd will use.
.ie n .IP "\fI\fI@remote_pid_file\fI@\fR" 4
.el .IP "\fI\f(CI@remote_pid_file\fI@\fR" 4
Comment 3 Doug Goldstein (RETIRED) gentoo-dev 2012-08-13 03:24:41 UTC
Well we've got the issue with it always having ".pod.in" at the end of libvirtd taken care of. But the sed issue still hasn't been upstreamed. I'll try to get this fixed for 0.10.0.
Comment 4 Doug Goldstein (RETIRED) gentoo-dev 2012-08-13 04:46:31 UTC
I've submitted a series of 4 patches upstream to fix the remaining issues with the man page as well as update the output of libvirtd --help to match what the code is actually doing. If I create another libvirt-0.9.13 bump, I'll include them. Otherwise it should be fixed by 0.10.0.
Comment 5 Doug Goldstein (RETIRED) gentoo-dev 2012-08-31 21:48:29 UTC
I've added 0.10.1 to the tree which contains all this fixed.