Bug 260971 - sysutils/accountsservice: act_user_set_password broken
Summary: sysutils/accountsservice: act_user_set_password broken
Status: Closed DUPLICATE of bug 259580
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Many People
Assignee: Gleb Popov
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-01-06 08:25 UTC by Toghrul
Modified: 2023-07-02 03:35 UTC (History)
3 users (show)

See Also:


Attachments
fix path to chpass in patch (10.75 KB, text/plain)
2022-01-10 08:18 UTC, Toghrul
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toghrul 2022-01-06 08:25:07 UTC
some desktop application uses sysutils/accountsservice and calls function act_user_set_password from it which does not work.  

Log says /usr/sbin/chpass not found.

I changed /usr/sbin/chpass to /usr/bin/chpass in patches and it worked.
Comment 2 Toghrul 2022-01-10 08:18:59 UTC
Created attachment 230864 [details]
fix path to chpass in patch


fix path to chpass in patch-src_user.c
Comment 3 commit-hook freebsd_committer freebsd_triage 2022-12-29 18:25:12 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=25bd187bcf5e0c4da1abe9da99e85efcc27fc591

commit 25bd187bcf5e0c4da1abe9da99e85efcc27fc591
Author:     Gleb Popov <arrowd@FreeBSD.org>
AuthorDate: 2022-12-29 18:23:35 +0000
Commit:     Gleb Popov <arrowd@FreeBSD.org>
CommitDate: 2022-12-29 18:24:05 +0000

    sysutils/accountsservice: Fix changing user password.

    PR:             260971

 sysutils/accountsservice/Makefile               | 2 +-
 sysutils/accountsservice/files/patch-src_user.c | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
Comment 4 commit-hook freebsd_committer freebsd_triage 2022-12-29 18:26:13 UTC
A commit in branch 2022Q4 references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=fa196a207467bc89e474356fa43e4875f5b6abc0

commit fa196a207467bc89e474356fa43e4875f5b6abc0
Author:     Gleb Popov <arrowd@FreeBSD.org>
AuthorDate: 2022-12-29 18:23:35 +0000
Commit:     Gleb Popov <arrowd@FreeBSD.org>
CommitDate: 2022-12-29 18:25:47 +0000

    sysutils/accountsservice: Fix changing user password.

    PR:             260971
    (cherry picked from commit 25bd187bcf5e0c4da1abe9da99e85efcc27fc591)

 sysutils/accountsservice/Makefile               | 2 +-
 sysutils/accountsservice/files/patch-src_user.c | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
Comment 5 Gleb Popov freebsd_committer freebsd_triage 2022-12-29 18:26:33 UTC
Thanks for the patch.
Comment 6 Graham Perrin freebsd_committer freebsd_triage 2023-07-02 03:35:19 UTC

*** This bug has been marked as a duplicate of bug 259580 ***