Bug 256462 - www/mini_httpd: devfs remains at the end
Summary: www/mini_httpd: devfs remains at the end
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: Craig Leres
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-06-07 03:46 UTC by takefu
Modified: 2021-06-12 00:53 UTC (History)
0 users

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


Attachments
mini_httpd-1.30_2.patch (775 bytes, patch)
2021-06-07 03:46 UTC, takefu
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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!