| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
and server. This replaces the RPC implementation of the NFS client and
server with the newer RPC implementation originally developed
(actually ported from the userland sunrpc code) to support the NFS
Lock Manager. I have tested this code extensively and I believe it is
stable and that performance is at least equal to the legacy RPC
implementation.
The NFS code currently contains support for both the new RPC
implementation and the older legacy implementation inherited from the
original NFS codebase. The default is to use the new implementation -
add the NFS_LEGACYRPC option to fall back to the old code. When I
merge this support back to RELENG_7, I will probably change this so
that users have to 'opt in' to get the new code.
To use RPCSEC_GSS on either client or server, you must build a kernel
which includes the KGSSAPI option and the crypto device. On the
userland side, you must build at least a new libc, mountd, mount_nfs
and gssd. You must install new versions of /etc/rc.d/gssd and
/etc/rc.d/nfsd and add 'gssd_enable=YES' to /etc/rc.conf.
As long as gssd is running, you should be able to mount an NFS
filesystem from a server that requires RPCSEC_GSS authentication. The
mount itself can happen without any kerberos credentials but all
access to the filesystem will be denied unless the accessing user has
a valid ticket file in the standard place (/tmp/krb5cc_<uid>). There
is currently no support for situations where the ticket file is in a
different place, such as when the user logged in via SSH and has
delegated credentials from that login. This restriction is also
present in Solaris and Linux. In theory, we could improve this in
future, possibly using Brooks Davis' implementation of variant
symlinks.
Supporting RPCSEC_GSS on a server is nearly as simple. You must create
service creds for the server in the form 'nfs/<fqdn>@<REALM>' and
install them in /etc/krb5.keytab. The standard heimdal utility ktutil
makes this fairly easy. After the service creds have been created, you
can add a '-sec=krb5' option to /etc/exports and restart both mountd
and nfsd.
The only other difference an administrator should notice is that nfsd
doesn't fork to create service threads any more. In normal operation,
there will be two nfsd processes, one in userland waiting for TCP
connections and one in the kernel handling requests. The latter
process will create as many kthreads as required - these should be
visible via 'top -H'. The code has some support for varying the number
of service threads according to load but initially at least, nfsd uses
a fixed number of threads according to the value supplied to its '-n'
option.
Sponsored by: Isilon Systems
MFC after: 1 month
|
|
|
|
| |
PC98 scheme.
|
|
|
|
| |
MFC after: 1 week
|
|
|
|
|
|
| |
PR: bin/127076
Submitted by: jkim
MFC after: 1 week
|
|
|
|
| |
in a previous commit.
|
|
|
|
|
|
|
|
| |
show_nat() from endless loop and makes work ipfw -n nat <...>.
PR: bin/128064
Submitted by: sem
MFC after: 1 month
|
|
|
|
|
|
|
|
|
|
|
| |
background fsck on the same file system might then print negative
numbers for reclaimed directories/files/fragments.
Address the issue in a limited degree, by using old summary data for
cg when bgfsck is performed.
Submitted by: tegge
MFC after: 1 week
|
|
|
|
|
|
|
|
|
|
|
| |
systems less than 1 TB, due to using 32-bits integers for file system block
numbers. This also causes incorrect error reporting for foreground fsck.
Convert it to use ufs2_daddr_t for block numbers.
PR: kern/127951
Submitted by: tegge
MFC after: 1 week
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
--此行及以下内容将会被忽略--
> Description of fields to fill in above: 76 columns --|
> PR: If a GNATS PR is affected by the change.
> Submitted by: If someone else sent in the change.
> Reviewed by: If someone else reviewed your modification.
> Approved by: If you needed approval for this commit.
> Obtained from: If the change is from a third party.
> MFC after: N [day[s]|week[s]|month[s]]. Request a reminder email.
> Security: Vulnerability reference (one per line) or description.
> Empty fields above will be automatically removed.
M gpart.8
|
|
|
|
|
| |
PR: docs/127866
Submitted by: Marius Korsmo
|
|
|
|
|
|
| |
so they can be used when not doing a create operation
Reviewed by: ed
|
|
|
|
|
|
|
| |
on g_providername failure.
Suggested by: pjd
Approved by: pjd (mentor)
|
|
|
|
|
|
| |
- While there, make error messages consistent with the rest.
Approved by: kib (mentor)
|
|
|
|
|
|
|
|
|
|
|
| |
all others. Use this to disambiguate cmd line arguments that can
be either clone params or regular parameters so, in particular,
"bssid" again works as a regular parameter.
While here leverage the above to improve the logic for flushing
clone operations on the first !clone cmd line parameter.
Reviewed by: jhay
|
| |
|
|
|
|
| |
Noted by: ganbold@
|
|
|
|
|
|
|
| |
* add tables_max sysctl.
* add default_rule sysctl.
PR: 127058 (partially)
|
|
|
|
|
|
|
| |
'flush' actions on tables. Part of PR: 127058.
PR: 127058 (based on)
MFC after: 1 month
|
| |
|
|
|
|
|
| |
PR: bin/127573
Submitted by: Eygene Ryabinkin
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
control over the result of buildworld and installworld; this especially
helps packaging systems such as nanobsd
Reviewed by: various (posted to arch)
MFC after: 1 month
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
MFC after: 1 month
|
|
|
|
|
|
|
| |
to determine whether to call the fallback_mount() backwards
compatibility function or not.
Reviewed by: dfr
|
|
|
|
|
|
|
|
|
| |
size and the sector size.
- Fix a bug where bsdlabel would try to read a regular file using the geom_bsd
class.
Quick review by: phk
Approved by: pjd (mentor)
|
|
|
|
|
|
|
|
|
|
| |
If the application returns succesfully
the return code is 7 (which means the
filesystem is clean).
PR: 127432
Submitted by: edwin
MFC after: 3 days
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
via nmount(), build up an iovec where each iovec member is an NFS mount
option, and pass the iovec down to the kernel via nmount(). These options
are then parsed in the kernel.
This should make it easier to add new NFS mount options in future.
Many, many thanks to Doug Rabson for taking my initial patches,
and cleaning them up. In addition, Doug added a fallback_mount()
function so that the newer mount_nfs program will work against older
kernels, to facilitate upgrading/downgrading scenarios.
Doug also re-wrote the mount_nfs.8 man page.
Reviewed by: dfr
|
|
|
|
| |
Discussed with: des
|
|
|
|
|
|
|
|
|
| |
duplication of code in fdisk and boot0cfg. Also make use of g_providername to
fix an issue with fdisk and boot0cfg not using the correct provider when
writing the MBR.
Reviewed by: phk
Approved by: pjd (mentor)
|
|
|
|
|
|
| |
to overflow.
MFC after: 5 days.
|
|
|
|
|
|
| |
available.
MFC after: 5 days.
|
| |
|
|
|
|
|
|
|
| |
mount_fs.
PR: bin/125154
MFC after: 1 day
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
once it is lost, all data is gone.
Option '-B none' can by used to prevent backup. Option '-B path' can be
used to backup metadata to a different file than the default, which is
/var/backups/<prov>.eli.
The 'geli init' command also prints backup file location and gives short
procedure how to restore metadata.
The 'geli setkey' command now warns that even after passphrase change or keys
update there could be version of the master key encrypted with old
keys/passphrase in the backup file.
Add regression tests to verify that new functionality works as expected.
Update other regression tests so they don't create backup files.
Reviewed by: keramida, rink
Dedicated to: a friend who lost 400GB of his live by accidentally overwritting geli metadata
MFC after: 2 weeks
|
|
|
|
| |
- Keep options in alphabetical order.
|
|
|
|
|
| |
Reviewed by: EvilSam and moi
MFC after:1 week
|
|
|
|
| |
Approved by: gnn (mentor)
|
|
|
|
|
|
|
|
|
|
| |
ping(8)'s -a was mapped to -e, but -E was already taken in ping6 (old
option) so rename -e to -r.
Now:
ping -a => ping6 -r
ping -A => ping6 -R
MFC after: 2 days
|
|
|
|
| |
MFC after: 2 days
|
| |
|
|
|
|
|
|
|
| |
taken, I chose -e (no real argument for this) but I'm willing to change to a different character if needed/desired.
PR: bin/123752 (inspired by)
MFC after: 2 days
|