Skip to content

stunnel: init fails due to PID file directory not being created when alt config file is used #28982

@DDRRE

Description

@DDRRE

Package Name

stunnel

Maintainer

@feckert

OpenWrt Version

25.12.0

OpenWrt Target/Subtarget

mediatek/mt7622

Steps to Reproduce

Set "stunnel.globals.alt_config_file". On next boot, init script will not create the PID file directory and assign its ownership to nobody:nogroup, causing stunnel to fail to load.

Actual Behaviour

Modify stunnel init to also create the PID directory (move line 352 before returning 0 on alt-config-file)

https://github.com/openwrt/packages/blob/master/net/stunnel/files/stunnel.init

Confirmation Checklist

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions