Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 807331 - www-servers/pound-3.0: Incompatible configuration deployed by ebuild
Summary: www-servers/pound-3.0: Incompatible configuration deployed by ebuild
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-08-09 19:02 UTC by Stuart Shelton
Modified: 2021-08-09 23:01 UTC (History)
2 users (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 Stuart Shelton 2021-08-09 19:02:32 UTC
Between www-servers/pound-2.8 and www-servers/pound-3.0, Apsis.ch entirely changed pound's configuration format to a new and incompatible YAML-based format (… which they don't seem to have gone out of their way to mention, and no migration tool appears to be available).

The www-servers/pound-3.0 ebuild is deploying an old configuration from its 'files' directory which no longer works.

$ pound -v
Pound version 3.0
$ pound -cf /var/db/repos/gentoo/www-servers/pound/files/pound-2.2.cfg 
YAML root not mapping (8)

A replacement pound-3.0.cfg might wish to read:

---

## see pound(8) for details

######################################################################
#Global:
#  User: 'nobody'
#  Group: 'nobody'
#  RootJail: '/chroot/pound'
#  Err404: '/path/to/html'
#  Err405: '/path/to/html'
#  Err500: '/path/to/html'
#
#Backends:
#  - &name
#    Address: <ip_or_hostname>
#    Port: <0-65535>
#    # optional:
#    Timeout: 15
#    Threads: 8
#    HeadAdd: 'header'
#
#Services:
#  - URL: <url>
#    HeadRequire: <pattern>
#    HeadDeny: <pattern>
#    Session: 0
#    BackEnds:
#      - *name
#
#HTTPListeners:
#  - Address: <ip_or_hostname>
#    Port: <0-65535>
#    # optional:
#    Client: 5
#    Threads: 8
#
#HTTPSListeners:
#  - Address: <ip_or_hostname>
#    Port: <0-65535>
#    Certificates: <filename_or_list>
#    # optional:
#    Ciphers: <names>
#    Client: 5
#    Threads: 8
...
Comment 1 Bernd 2021-08-09 19:12:46 UTC
PLease note, that the package has no maintainer, which means, that it can take a long time, until it get's fixed, depending on how many devs are using the package actively.

You might want to consider if you can provide a fix for yourself and open a pull request on Gentoo's github repository.