Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 822084 - net-misc/asterisk creates tmpfiles.d config with old run dir [QA]
Summary: net-misc/asterisk creates tmpfiles.d config with old run dir [QA]
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Jaco Kroon
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2021-11-06 09:58 UTC by Ogelpre
Modified: 2021-11-12 01:36 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 Ogelpre 2021-11-06 09:58:52 UTC
I am using OpenRC and get a warning message about tmpfiles.d config.

Reproducible: Always

Steps to Reproduce:
1. Install asterisk.
2. Reboot
Actual Results:  
During boot I see the following warning:

 * Setting up tmpfiles.d entries ...
/usr/lib/tmpfiles.d/asterisk.conf:1: Line references path below legacy directory /var/run/, updating /var/run/asterisk → /run/asterisk; please update the tmpfiles.d/ drop-in file accordingly. [ ok ]


Expected Results:  
There should be no warning.

Updating tmpfiles.d config and init scripts should fix the warning, but I haven't tested it yet.

sed -i "s|/var/run|/run|" files/asterisk.tmpfiles3.conf files/initd-16.16.2-r1 files/initd-13.32.0-r1
Comment 1 Jaco Kroon 2021-11-10 07:04:42 UTC
Hi Ogelpre,

Eyeballing I can confirm.

Asterisk 16.22.0 and 18.8.0 (as well as 19.0.0 which I'm not going to package right now, perhaps later) have been released a few days back.  Busy bumping, will fix this as part of that.

Kind Regards,
Jaco
Comment 2 Larry the Git Cow gentoo-dev 2021-11-12 01:36:33 UTC
The bug has been closed via the following commit(s):

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

commit 8d80c86857d4c3af405ce22bd54d8569401bde43
Author:     Jaco Kroon <jaco@uls.co.za>
AuthorDate: 2021-11-10 08:04:36 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2021-11-12 01:32:56 +0000

    net-misc/asterisk: 13.38.3-r2
    
    Revision bump with the specific purpose of addressing:
    
    Closes: https://bugs.gentoo.org/822084
    Package-Manager: Portage-3.0.28, Repoman-3.0.3
    Signed-off-by: Jaco Kroon <jaco@uls.co.za>
    Closes: https://github.com/gentoo/gentoo/pull/22879
    Signed-off-by: Sam James <sam@gentoo.org>

 .../{asterisk-13.38.3-r1.ebuild => asterisk-13.38.3-r2.ebuild}    | 5 +++--
 net-misc/asterisk/files/asterisk.tmpfiles-13.38.3-r2.conf         | 1 +
 net-misc/asterisk/files/asterisk.tmpfiles2.conf                   | 1 -
 net-misc/asterisk/files/{initd-13.32.0-r1 => initd-13.38.3-r2}    | 8 ++++----
 4 files changed, 8 insertions(+), 7 deletions(-)

Additionally, it has been referenced in the following commit(s):

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

commit d9b0578004e8f20cfe08135a9ce71c64a711f594
Author:     Jaco Kroon <jaco@uls.co.za>
AuthorDate: 2021-11-10 07:58:25 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2021-11-12 01:32:55 +0000

    net-misc/asterisk: 18.8.0
    
    Bug: https://bugs.gentoo.org/822084
    Package-Manager: Portage-3.0.28, Repoman-3.0.3
    Signed-off-by: Jaco Kroon <jaco@uls.co.za>
    Signed-off-by: Sam James <sam@gentoo.org>

 net-misc/asterisk/Manifest               |   1 +
 net-misc/asterisk/asterisk-18.8.0.ebuild | 365 +++++++++++++++++++++++++++++++
 2 files changed, 366 insertions(+)

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

commit b06dd7a7632c479976144dfb3f3cdcd0ef89e1ad
Author:     Jaco Kroon <jaco@uls.co.za>
AuthorDate: 2021-11-10 07:41:33 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2021-11-12 01:32:55 +0000

    net-misc/asterisk: 16.22.0
    
    Bug: https://bugs.gentoo.org/822084
    Package-Manager: Portage-3.0.28, Repoman-3.0.3
    Signed-off-by: Jaco Kroon <jaco@uls.co.za>
    Signed-off-by: Sam James <sam@gentoo.org>

 net-misc/asterisk/Manifest                         |   1 +
 net-misc/asterisk/asterisk-16.22.0.ebuild          | 366 +++++++++++++++++++++
 .../files/asterisk.tmpfiles-16.22.0-18.8.0.conf    |   2 +
 net-misc/asterisk/files/initd-16.22.0-18.8.0       | 363 ++++++++++++++++++++
 4 files changed, 732 insertions(+)