freeradius3 installation error messages (6.5 beta)

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

freeradius3 installation error messages (6.5 beta)

Robert Klein
Hi,

When installing freeradius3 from  packages on a beta snapshot  of
OpenBSD I get error messages about non-existing mods-enabled and
sites-enabled directories.

Installation of freeradius3 in earlier OpenBSD *releases* (6.2, 6.3,
6.4) succeeds without errors.


Looking at the last commit (March, 14), is '%D' in pkg/PLIST-main
something different than '${PREFIX}' in files/freeradius-enable.sh ?



OpenBSD version:

apu2c4-silver# uname -a
OpenBSD apu2c4-silver.mpip-mainz.mpg.de 6.5 GENERIC.MP#838 amd64


Installation output (parts of key generation ('---+---') deleted:

apu2c4-silver# pkg_add freeradius-3.0.18p0
quirks-3.115 signed on 2019-03-31T13:55:17Z
freeradius-3.0.18p0:nghttp2-1.37.0: ok
freeradius-3.0.18p0:curl-7.64.1: ok
freeradius-3.0.18p0:libiconv-1.14p3: ok
freeradius-3.0.18p0:gettext-0.19.8.1p3: ok
freeradius-3.0.18p0:ykclient-2.15p2: ok
freeradius-3.0.18p0:libyubikey-1.13p2: ok
freeradius-3.0.18p0:libffi-3.2.1p5: ok
freeradius-3.0.18p0:sqlite3-3.27.2p0: ok
freeradius-3.0.18p0:bzip2-1.0.6p9: ok
freeradius-3.0.18p0:python-2.7.15p1: ok
freeradius-3.0.18p0:libtalloc-2.1.14: ok
freeradius-3.0.18p0:pcre-8.41p2: ok
freeradius-3.0.18p0:gdbm-1.16: ok
freeradius-3.0.18p0:libhiredis-0.13.3: ok
freeradius-3.0.18p0:json-c-0.13.1: ok
freeradius-3.0.18p0:libexecinfo-0.3p1v0: ok
===>  Copying initial configuration
cp: /usr/obj/ports/freeradius-server-3.0.18/fake-amd64/usr/local/share/examples/freeradius/mods-enabled:
No such file or directory
cp: /usr/obj/ports/freeradius-server-3.0.18/fake-amd64/usr/local/share/examples/freeradius/sites-enabled:
No such file or directory ===>  Generating self-signed keys, this will
take a few minutes Generating DH parameters, 2048 bit long safe prime,
generator 2 This is going to take a long
time
[parts deleted]
.....................++*++*
Generating a 2048 bit RSA private
key
[parts deleted]
.............+++
writing new private key to 'server.key'
-----
Generating a 2048 bit RSA private key
[parts deleted]
...................+++
writing new private key to 'ca.key'
-----
Using configuration from ./server.cnf
Check that the request matches the signature
Signature ok
Certificate Details:
        Serial Number: 1 (0x1)
        Validity
            Not Before: Apr  2 06:50:28 2019 GMT
            Not After : Jun  1 06:50:28 2019 GMT
        Subject:
            countryName               = FR
            stateOrProvinceName       = Radius
            organizationName          = Example Inc.
            commonName                = Example Server Certificate
            emailAddress              = [hidden email]
        X509v3 extensions:
            X509v3 Extended Key Usage:
                TLS Web Server Authentication
            X509v3 CRL Distribution Points:

                Full Name:
                  URI:http://www.example.com/example_ca.crl

Certificate is to be certified until Jun  1 06:50:28 2019 GMT (60 days)

Write out database with 1 new entries
Data Base Updated
MAC verified OK
Generating a 2048 bit RSA private key
[parts deleted]
........................+++
writing new private key to 'client.key'
-----
Using configuration from ./client.cnf
Check that the request matches the signature
Signature ok
Certificate Details:
        Serial Number: 2 (0x2)
        Validity
            Not Before: Apr  2 06:50:30 2019 GMT
            Not After : Jun  1 06:50:30 2019 GMT
        Subject:
            countryName               = FR
            stateOrProvinceName       = Radius
            organizationName          = Example Inc.
            commonName                = [hidden email]
            emailAddress              = [hidden email]
        X509v3 extensions:
            X509v3 Extended Key Usage:
                TLS Web Client Authentication
            X509v3 CRL Distribution Points:

                Full Name:
                  URI:http://www.example.com/example_ca.crl

Certificate is to be certified until Jun  1 06:50:30 2019 GMT (60 days)

Write out database with 1 new entries
Data Base Updated
===>  Please note: to avoid conflicting with radiusd in base,
      for debug mode use the full
path: /usr/obj/ports/freeradius-server-3.0.18/fake-amd64/usr/local/sbin/radiusd
-X freeradius-3.0.18p0: ok The following new rcscripts were
installed: /etc/rc.d/freeradius See rcctl(8) for details.
--- +python-2.7.15p1 -------------------
If you want to use this package as your default system python, as root
create symbolic links like so (overwriting any previous default):
 ln -sf /usr/local/bin/python2.7 /usr/local/bin/python
 ln -sf /usr/local/bin/python2.7-2to3 /usr/local/bin/2to3
 ln -sf /usr/local/bin/python2.7-config /usr/local/bin/python-config
 ln -sf /usr/local/bin/pydoc2.7  /usr/local/bin/pydoc
apu2c4-silver# pkg_info
bzip2-1.0.6p9       block-sorting file compressor, unencumbered
curl-7.64.1         get files from FTP, Gopher, HTTP or HTTPS servers
freeradius-3.0.18p0 RADIUS server implementation
gdbm-1.16           GNU dbm
gettext-0.19.8.1p3  GNU gettext runtime libraries and programs
json-c-0.13.1       JSON implementation in C
libexecinfo-0.3p1v0 clone of backtrace facility found in the GNU libc
libffi-3.2.1p5      Foreign Function Interface
libhiredis-0.13.3   minimalistic C client for Redis
libiconv-1.14p3     character set conversion library
libtalloc-2.1.14    hierarchical memory pool system with destructors
libyubikey-1.13p2   low-level C software development kit for the Yubico
YubiKey nghttp2-1.37.0      library for HTTP/2
pcre-8.41p2         perl-compatible regular expression library
python-2.7.15p1     interpreted object-oriented programming language
quirks-3.115        exceptions to pkg_add rules
sqlite3-3.27.2p0    embedded SQL implementation
vmm-firmware-1.11.0p1 firmware binary images for vmm(4) driver
ykclient-2.15p2     C library to validate an Yubikey OTP against API
servers



Best regards
Robert


Reply | Threaded
Open this post in threaded view
|

Re: freeradius3 installation error messages (6.5 beta)

Stuart Henderson-6
On 2019/04/02 11:41, Robert Klein wrote:
> Hi,
>
> When installing freeradius3 from  packages on a beta snapshot  of
> OpenBSD I get error messages about non-existing mods-enabled and
> sites-enabled directories.

Thanks, I've just committed a fix.