Bug 245537 - sysutils/spiped: avoid creating /nonexistent
Summary: sysutils/spiped: avoid creating /nonexistent
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-04-11 15:40 UTC by Thomas Hurst
Modified: 2020-04-11 17:49 UTC (History)
2 users (show)

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


Attachments
Patch to UIDs (690 bytes, patch)
2020-04-11 15:40 UTC, Thomas Hurst
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Hurst 2020-04-11 15:40:49 UTC
Created attachment 213291 [details]
Patch to UIDs

spiped 1.6.1 added a malformed UIDs entry, using /nonexistent/ as a home directory.  The trailing slash breaks Script/do-users-groups.sh's special handling for it, resulting in /nonexistent actually being created.
Comment 1 commit-hook freebsd_committer freebsd_triage 2020-04-11 17:48:36 UTC
A commit references this bug:

Author: cperciva
Date: Sat Apr 11 17:48:13 UTC 2020
New revision: 531444
URL: https://svnweb.freebsd.org/changeset/ports/531444

Log:
  Use canonical spelling of "/nonexistent".

  I accidentally spelled this as "/nonexistent/" yesterday, which broke
  the special handling of that path and resulted in /nonexistent existing.

  PR:		245537
  Submitted by:	Thomas Hurst

Changes:
  head/UIDs
Comment 2 Colin Percival freebsd_committer freebsd_triage 2020-04-11 17:49:32 UTC
Thanks!