Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 916012 - net-p2p/qbittorrent-4.5.5 fails to start if you set your own user/group
Summary: net-p2p/qbittorrent-4.5.5 fails to start if you set your own user/group
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: xbt573
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2023-10-19 14:37 UTC by Klemen Mihevc
Modified: 2023-10-19 16:56 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 Klemen Mihevc 2023-10-19 14:37:40 UTC
Qbittorrent fails to start with "group not found" if you manually set user/group in /etc/conf.d/qbittorrent (and user&group are different for example random/users).

Issue is in new init.d script:

Line

command_user="${QBITTORRENT_USER}:${QBITTORRENT_USER}"

should be

command_user="${QBITTORRENT_USER}:${QBITTORRENT_GROUP}"

Reproducible: Always
Comment 1 Larry the Git Cow gentoo-dev 2023-10-19 16:56:47 UTC
The bug has been closed via the following commit(s):

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

commit 9cbbeb14db35f527f0ce09b69d66131b16f2386c
Author:     Alexey Lunev <cheembox573@gmail.com>
AuthorDate: 2023-10-19 16:04:47 +0000
Commit:     Florian Schmaus <flow@gentoo.org>
CommitDate: 2023-10-19 16:56:08 +0000

    net-p2p/qbittorrent: revbump to fix service file
    
    Closes: https://bugs.gentoo.org/916012
    Signed-off-by: Alexey Lunev <cheembox573@gmail.com>
    Closes: https://github.com/gentoo/gentoo/pull/33415
    Signed-off-by: Florian Schmaus <flow@gentoo.org>

 net-p2p/qbittorrent/files/qbittorrent.initd                             | 2 +-
 .../{qbittorrent-4.5.5.ebuild => qbittorrent-4.5.5-r1.ebuild}           | 0
 2 files changed, 1 insertion(+), 1 deletion(-)