[Bug 273450] sysutils/password-store remove warning about dev/shm

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 30 Aug 2023 12:25:48 UTC

            Bug ID: 273450
           Summary: sysutils/password-store remove warning about dev/shm
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: pkubaj@FreeBSD.org
          Reporter: sko@rostwald.de
             Flags: maintainer-feedback?(pkubaj@FreeBSD.org)
          Assignee: pkubaj@FreeBSD.org

Created attachment 244470
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=244470&action=edit
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.

You are receiving this mail because:
You are the assignee for the bug.