Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
AutoYaST: fix to allow NFS4 options (FATE#312242, bnc#457981)
Backported from 29e91e5 BUT! changed the schema to keep compatibility with SLE11-SP2. Nfs.ycp: removing a public function Nfs::Set which is not used anywhere else. Namely not in - autoyast2 - yast2-backup - yast2-installation - yast2-nfs-client - yast2-nfs-server
- Loading branch information
Showing
4 changed files
with
139 additions
and
48 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,26 @@ | ||
nfs = | ||
element nfs { | ||
LIST, | ||
element nfs_entry { | ||
# hack: the <nfs> list is heterogeneous, | ||
# with an optional first entry which carries the global options | ||
# bnc#... | ||
|
||
nfs_global_options_content = ( | ||
element enable_nfs4 { BOOLEAN }? & | ||
element idmapd_domain { text }? | ||
) | ||
|
||
nfs_entry_content = ( | ||
element server_path { text } | ||
& element mount_point { text } | ||
& element vfstype {text}? | ||
& element nfs_options { text } | ||
) | ||
|
||
nfs = | ||
element nfs { | ||
LIST, | ||
element nfs_entry { | ||
nfs_global_options_content | ||
}? , | ||
element nfs_entry { | ||
nfs_entry_content | ||
}* | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,16 @@ | ||
Read .target.tmpdir nil | ||
Log Failed to set temporary directory: nil | ||
Read .target.tmpdir "/tmp" | ||
Dump Nfs::Import | ||
Dump - basic, SLE11-SP2 | ||
Read .sysconfig.nfs.NFS4_SUPPORT "no" | ||
Read .etc.idmapd_conf "Domain" "localdomain" | ||
Return true | ||
Dump -- and Export | ||
Dump - empty | ||
Read .sysconfig.nfs.NFS4_SUPPORT "no" | ||
Read .etc.idmapd_conf "Domain" "localdomain" | ||
Return true | ||
Dump - invalid, missing basic data | ||
Log Missing at Import: 'mount_point'. | ||
Log Missing at Import: 'nfs_options'. | ||
Dump - basic, SLE11-SP3 | ||
Dump -- and Export |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters