Re: How to install a mountpoint directory from an rpm?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Apr 30, 2019 at 09:40:13PM +0100, David Howells wrote:
> > It should go somewhere under /run or /var.
> 
> Well, I could mount it there, but then I'd really need a symlink or bind mount
> at /afs to deal
> 
> Note the SELinux rules already have /afs as the mountpoint:
> 
> 	matchpathcon /afs/
> 	/afs    system_u:object_r:mnt_t:s0

In addition to SELinux rules, the default configuration for mlocate
specifically mentions /afs, see:

    https://src.fedoraproject.org/rpms/mlocate/blob/master/f/updatedb.conf

It'll ignore AFS mounted elsewhere because 'afs' is included in
PRUNEFS, but this is just more evidence that Fedora already expects an
/afs mountpoint, historically.

There's really no question of where AFS will be mounted.  It will be
/afs.  It's mostly a question of whether a Fedora package can set up
that mountpoint, or if it should be left as a partial implementation
that requires the user to run 'mkdir /afs' before starting the
service. 

-- 
Jonathan Billings <billings@xxxxxxxxxx>
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Users]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]

  Powered by Linux