Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 498900 - net-im/jabberd2-2.3.1-r1 installs useless upstart files
Summary: net-im/jabberd2-2.3.1-r1 installs useless upstart files
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: All Linux
: Normal trivial (vote)
Assignee: Julian Ospald
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-01-22 09:59 UTC by Marcin Mirosław
Modified: 2014-01-23 15:28 UTC (History)
1 user (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 Marcin Mirosław 2014-01-22 09:59:57 UTC
# equery f jabberd2|grep "/usr/etc"
/usr/etc
/usr/etc/init
/usr/etc/init/jabberd-c2s.conf
/usr/etc/init/jabberd-router.conf
/usr/etc/init/jabberd-s2s.conf
/usr/etc/init/jabberd-sm.conf

# cat /usr/etc/init/jabberd-s2s.conf
description     "jabberd Server-2-Server component"

start on runlevel [2345]
stop on runlevel [!2345]

respawn

exec sudo -u jabber /usr/bin/jabberd2-s2s
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2014-01-22 16:10:27 UTC
It seems systemd has nothing to do with this.
Comment 2 Julian Ospald 2014-01-22 16:18:11 UTC
those are _upstart_ files and can be ignored

https://github.com/jabberd2/jabberd2/commit/a6a07227e1dbf762593f868a4c19a0021362cd0b

I'll probably remove them anyway.
Comment 3 Julian Ospald 2014-01-22 16:30:10 UTC
+  22 Jan 2014; Julian Ospald <hasufell@gentoo.org> jabberd2-2.3.1-r1.ebuild:
+  remove useless upstart files wrt #498900
+
Comment 4 Marcin Mirosław 2014-01-23 08:38:48 UTC
Thanks but it's almost fixed;)
# equery f jabberd2|grep "/usr/etc"
/usr/etc

Directory /usr/etc/ remains.
Comment 5 Julian Ospald 2014-01-23 12:18:39 UTC
that's a portage bug
Comment 6 Marcin Mirosław 2014-01-23 12:26:31 UTC
Why do you think so?

I've changed ebuild:
- rm -rf "${ED%/}"/usr/etc/init
+ rm -rf "${ED%/}"/usr/etc/

and now it's ok, no /usr/etc directory.
Comment 7 Julian Ospald 2014-01-23 12:31:31 UTC
(In reply to Marcin Mirosław from comment #6)
> Why do you think so?
> 

because we have keepdir for empty directories and it should not install empty directories anyway
Comment 8 Julian Ospald 2014-01-23 15:28:56 UTC
fixed anyway