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: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Philipp Rösner
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2021-08-09 19:02 UTC by Stuart Shelton
Modified: 2024-01-10 09:06 UTC (History)
3 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.
Comment 2 Larry the Git Cow gentoo-dev 2024-01-10 09:06:12 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e6e1f421a276080114008991ded9b1a2a3772cc0

commit e6e1f421a276080114008991ded9b1a2a3772cc0
Author:     Azamat H. Hackimov <azamat.hackimov@gmail.com>
AuthorDate: 2023-10-18 14:40:44 +0000
Commit:     Joonas Niilola <juippis@gentoo.org>
CommitDate: 2024-01-10 09:06:07 +0000

    www-servers/pound: add 4.10
    
    Updated to new upstream, several fixes to ebuild and init-script.
    
    Closes: https://bugs.gentoo.org/829652
    Closes: https://bugs.gentoo.org/807331
    Closes: https://bugs.gentoo.org/804990
    Signed-off-by: Azamat H. Hackimov <azamat.hackimov@gmail.com>
    Closes: https://github.com/gentoo/gentoo/pull/33395
    Signed-off-by: Joonas Niilola <juippis@gentoo.org>

 www-servers/pound/Manifest          |  1 +
 www-servers/pound/files/pound.init  | 18 ++++++++++++++
 www-servers/pound/metadata.xml      |  3 +++
 www-servers/pound/pound-4.10.ebuild | 47 +++++++++++++++++++++++++++++++++++++
 4 files changed, 69 insertions(+)