Bug 230256 - [patch] sysutils/dsbmd: add pkg-message to address upgrading to FreeBSD 12
Summary: [patch] sysutils/dsbmd: add pkg-message to address upgrading to FreeBSD 12
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: Danilo G. Baio
Depends on: 230559
  Show dependency treegraph
Reported: 2018-08-01 02:21 UTC by Samy Mahmoudi
Modified: 2018-08-12 12:47 UTC (History)
3 users (show)

See Also:
mk: maintainer-feedback+

patch-add-pkg-message (1.10 KB, patch)
2018-08-01 02:21 UTC, Samy Mahmoudi
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Samy Mahmoudi 2018-08-01 02:21:52 UTC
Created attachment 195712 [details]

Upgrading to FreeBSD 12 silently breaks dsbmd since revision 319735 removed the msdosfs option "large".

I first thought you had not propagated the change to the configuration file, especially because I had the last version of dsbmd before the upgrade and because of the (clever) way you address the issue at build time.

Unfortunately, users who installed and configured dsbmd before upgrading to FreeBSD 12 would face mount errors if they do not update their configuration file.

The attached patch file let you add a pkg-message file to the port so that the users are informed of this problem. Other possible workarounds include forking 1004 into 1204 to trigger your cfgversion mechanism or checking FreeBSD version at run time to conditionally ignore the large option.
Comment 1 Marcel Kaiser 2018-08-12 11:54:12 UTC
(In reply to Samy Mahmoudi from comment #0)
Hi Samy,

thank you for the report. I decided to let DSBMD ignore the "large" option on FreeBSD >= 12. The change is available in version 1.4: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=230559

Best regards,
Comment 2 commit-hook freebsd_committer 2018-08-12 12:45:33 UTC
A commit references this bug:

Author: dbaio
Date: Sun Aug 12 12:44:33 UTC 2018
New revision: 476988
URL: https://svnweb.freebsd.org/changeset/ports/476988

  sysutils/dsbmd: Update to 1.4

  Changes since 1.3

  - Detach md(4) devices when they are ejected.
  - Open listening socket before scanning attached devices, so that clients can
    connect even if DSBMD is busy with slow devices.
  - Ignore the deprecated "large" mount option for msdosfs on FreeBSD >= 12. This
    is necessary for users upgrading their system to FreeBSD 12 without adjusting
    dsbmd.conf. Thanks to Samy Mahmoudi for pointing this out. [1]
  - Support for bootable USB drives with ISO-9660 has been added. Thanks to jmp-2
  - Support for nvd(4) and uzip memory disks has been added.

  PR:		230256 [1]
  PR:		230559
  Submitted by:	Marcel Kaiser <mk@nic-nac-project.org> (maintainer)
  Reported by:	Samy Mahmoudi <samy.mahmoudi@gmail.com> [1]