Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 832445 - gui-apps/tuigreet-9999: Won't remember username or session
Summary: gui-apps/tuigreet-9999: Won't remember username or session
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords: PATCH, PullRequest
Depends on:
Blocks:
 
Reported: 2022-01-31 19:50 UTC by kamal
Modified: 2022-09-05 12:37 UTC (History)
1 user (show)

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


Attachments
Patch to create cache directory in src_install (install-cachedir.patch,398 bytes, patch)
2022-01-31 19:53 UTC, kamal
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description kamal 2022-01-31 19:50:04 UTC
Tuigreet tries to write the values to be remembered 
to /var/cache/tuigreet, which does not exist.

Reproducible: Always

Steps to Reproduce:
1. Configure tuigreet with --remember in greetd
2. Start tuigreet from greetd
3. Log in
3. Reboot
4. Repeat
Actual Results:  
Username is blank again.

Expected Results:  
Username was remembered.
Comment 1 kamal 2022-01-31 19:53:48 UTC
Created attachment 764058 [details, diff]
Patch to create cache directory in src_install
Comment 2 kamal 2022-01-31 19:54:49 UTC
I could fix it by manually creating /var/cache/tuigreet. See attached patch.
Comment 3 Larry the Git Cow gentoo-dev 2022-09-05 12:37:20 UTC
The bug has been closed via the following commit(s):

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

commit 8625205b4677dc7aa4fb2500aa835547ba2bdafd
Author:     Michael Mair-Keimberger <mmk@levelnine.at>
AuthorDate: 2022-08-19 18:34:55 +0000
Commit:     Joonas Niilola <juippis@gentoo.org>
CommitDate: 2022-09-05 12:37:14 +0000

    gui-apps/tuigreet: fix remember username or session, bug 832445
    
    Closes: https://bugs.gentoo.org/832445
    Signed-off-by: Michael Mair-Keimberger <mmk@levelnine.at>
    Portage 3.0.34 / pkgdev 0.2.1 / pkgcheck 0.10.12
    Signed-off-by: Joonas Niilola <juippis@gentoo.org>

 gui-apps/tuigreet/tuigreet-0.8.0.ebuild | 7 +++++++
 gui-apps/tuigreet/tuigreet-9999.ebuild  | 7 +++++++
 2 files changed, 14 insertions(+)