Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 934624 - net-misc/tigervnc-1.13.90 wrong config path in init.d
Summary: net-misc/tigervnc-1.13.90 wrong config path in init.d
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Viorel Munteanu
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-06-20 18:27 UTC by Forza
Modified: 2024-06-22 07:57 UTC (History)
0 users

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 Forza 2024-06-20 18:27:15 UTC
The new tigervnc versions look for user config files in ~/.config/tigervnc/ instead of ~/.vnc/

This makes the following check fail:

elif ! runuser -l "${user}" -c "[ -f ~/.vnc/passwd ]"; then
                    eerror "There are no passwords defined for user ${user}."
                    return 1

Reproducible: Always
Comment 1 Larry the Git Cow gentoo-dev 2024-06-22 07:57:10 UTC
The bug has been closed via the following commit(s):

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

commit 1031f5a7340e83c2cc260c3948e458274a3badd0
Author:     Viorel Munteanu <ceamac@gentoo.org>
AuthorDate: 2024-06-22 07:51:34 +0000
Commit:     Viorel Munteanu <ceamac@gentoo.org>
CommitDate: 2024-06-22 07:56:29 +0000

    net-misc/tigervnc: fix tigervnc config path check
    
    New users use ${XDG_CONFIG_HOME}/tigervnc, existing users can still use ~/.vnc
    
    Closes: https://bugs.gentoo.org/934624
    Signed-off-by: Viorel Munteanu <ceamac@gentoo.org>

 net-misc/tigervnc/files/tigervnc-1.13.90.initd     | 91 ++++++++++++++++++++++
 ...c-1.13.90.ebuild => tigervnc-1.13.90-r1.ebuild} |  5 +-
 2 files changed, 94 insertions(+), 2 deletions(-)