Bug 273450 - sysutils/password-store remove warning about dev/shm
Summary: sysutils/password-store remove warning about dev/shm
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: Piotr Kubaj
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-08-30 12:25 UTC by Sebastian
Modified: 2023-08-30 23:48 UTC (History)
0 users

See Also:
bugzilla: maintainer-feedback? (pkubaj)


Attachments
comment out the warning about /dev/shm (1.17 KB, text/plain)
2023-08-30 12:25 UTC, Sebastian
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Sebastian 2023-08-30 12:25:48 UTC
Created attachment 244470 [details]
comment out the warning about /dev/shm

When trying to edit an entry, pass will give the following warning:

===
Your system does not have /dev/shm, which means that it may
be difficult to entirely erase the temporary non-encrypted
password file after editing.

Are you sure you would like to continue?
===

and awaits confirmation before it proceeds to the editor.


As /dev/shm is only a Linuxism for a memory-based tempfs, it has no meaning on FreeBSD. So this is only hindering the workflow (at best), gets annoying quickly if one is often editing entries, and it may even confuse some users because it is named similar to SYSV/POSIX shared memory.


I therefore propose the attached patch to mute the warning.
Comment 1 commit-hook freebsd_committer freebsd_triage 2023-08-30 23:48:21 UTC
A commit in branch main references this bug:

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

commit b2d250b83800d9fec6901b0bb775b279e141bf75
Author:     Piotr Kubaj <pkubaj@FreeBSD.org>
AuthorDate: 2023-08-30 23:09:49 +0000
Commit:     Piotr Kubaj <pkubaj@FreeBSD.org>
CommitDate: 2023-08-30 23:09:49 +0000

    sysutils/password-store: remove warning about dev/shm

    PR:     273450

 sysutils/password-store/Makefile                        |  2 +-
 .../files/patch-src_password-store.sh (new)             | 17 +++++++++++++++++
 2 files changed, 18 insertions(+), 1 deletion(-)