Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 589212 - app-mobilephone/kannel-1.5.0-r1 tmpfiles.d record is needed
Summary: app-mobilephone/kannel-1.5.0-r1 tmpfiles.d record is needed
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Mike Gilbert
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-07-20 09:05 UTC by Alexander Sergeyev
Modified: 2016-07-20 19:02 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge --info (emerge-info.txt,3.85 KB, text/plain)
2016-07-20 09:05 UTC, Alexander Sergeyev
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Sergeyev 2016-07-20 09:05:05 UTC
Created attachment 441196 [details]
emerge --info

app-mobilephone/kannel-1.5.0-r1 uses the old pid-files workflow:

# equery f kannel | grep run
<...>
/var/run
/var/run/kannel
/var/run/kannel/.keep_app-mobilephone_kannel-0

Now, /var/run is a symbolic link to /run and the last is a mountpoint for tmpfs. Thus, any file installation into /var/run is broken since the installed files will be dropped after reboot.

The issue could be fixed by placing a file at /usr/lib/tmpfiles.d/kannel.conf with something like:
d /run/kannel 0750 kannel kannel
Comment 1 Mike Gilbert gentoo-dev 2016-07-20 14:58:23 UTC
Let me know if this breaks anything.

commit 3e4fb0e5e45eb8b2fb41fd5ab802c43454bbf00e
Author: Mike Gilbert <floppym@gentoo.org>
Date:   Wed Jul 20 10:49:14 2016 -0400

    app-mobilephone/kannel: Don't keepdir /var/run/kannel

    Call checkpath from the init script instead.

    Bug: https://bugs.gentoo.org/589212

    Package-Manager: portage-2.3.0_p13

 app-mobilephone/kannel/files/kannel-bearerbox.initd                     | 1 +
 app-mobilephone/kannel/files/kannel-smsbox.initd                        | 1 +
 app-mobilephone/kannel/files/kannel-wapbox.initd                        | 1 +
 .../kannel/{kannel-1.5.0-r1.ebuild => kannel-1.5.0-r2.ebuild}           | 2 +-
 4 files changed, 4 insertions(+), 1 deletion(-)
Comment 2 Alexander Sergeyev 2016-07-20 18:29:29 UTC
(In reply to Mike Gilbert from comment #1)
> Let me know if this breaks anything.
Works for me, thanks.