Bug 256462

Summary: www/mini_httpd: devfs remains at the end
Product: Ports & Packages Reporter: takefu
Component: Individual Port(s)Assignee: Craig Leres <leres>
Status: Closed FIXED    
Severity: Affects Only Me Flags: bugzilla: maintainer-feedback? (leres)
Priority: ---    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
mini_httpd-1.30_2.patch none

Description takefu 2021-06-07 03:46:31 UTC
Created attachment 225618 [details]
mini_httpd-1.30_2.patch

mini_httpd_devfs not umount when using the service.

mini_httpd_enable=1
mini_httpd_flags='-C /usr/local/etc/mini_httpd.conf' #<-chroot
mini_httpd_devfs=/share/dev

# mount -p
...snip...
devfs on /share/dev (devfs)
devfs on /share/dev (devfs)
Comment 1 commit-hook freebsd_committer 2021-06-12 00:50:46 UTC
A commit in branch main references this bug:

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

commit 6d19e625a2f26f21a76241b86cb5243216ea2987
Author:     Craig Leres <leres@FreeBSD.org>
AuthorDate: 2021-06-12 00:46:12 +0000
Commit:     Craig Leres <leres@FreeBSD.org>
CommitDate: 2021-06-12 00:46:12 +0000

    www/mini_httpd: umount devfs when stopping the service

    Update the rc.d scripts to unmount devfs when the mini_httpd_devfs
    rc.d option is used.

    PR:             256462
    Reported by:    takefu@airport.fm

 www/mini_httpd/Makefile                            |  2 +-
 .../files/patch-scripts_mini__httpd.sh (new)       | 24 ++++++++++++++++++++++
 2 files changed, 25 insertions(+), 1 deletion(-)
Comment 2 Craig Leres freebsd_committer 2021-06-12 00:53:49 UTC
Committed (with changes). Thanks for the patch!