Bug 260971

Summary: sysutils/accountsservice: act_user_set_password broken
Product: Ports & Packages Reporter: Toghrul <toghrulgasimov>
Component: Individual Port(s)Assignee: Gleb Popov <arrowd>
Status: Closed DUPLICATE    
Severity: Affects Many People CC: arrowd, grahamperrin, toghrulgasimov
Priority: ---    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
fix path to chpass in patch none

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 ***