ACC SHELL

Path : /usr/share/YaST2/modules/
File Upload :
Current File : //usr/share/YaST2/modules/Nfs.ybc

YaST bytecode 1.4.0Nfs0Nfs.ycpModeReportServiceSummarySuSEFirewallProgress
PackageSystemWizard	nfs/routines.ycp
PackageSpecToServPath	FstabTableItems

CheckHostName	IsMpInFstab		CheckPath	
check_options		StripExtraSlash		IsPortmapperInstalled	modified
skip_fstabSetModifiedGetModifiedrequired_packages	nfs_entries	non_nfs_entriesnfs4_enabled
idmapd_domain	
portmapper	created_dirs	ReadNfs4
ReadIdmapd	 Set	!Import	"Export#
EscapeSpaces1		$EscapeSpaces		%gsub				&UnescapeSpaces1		'UnescapeSpaces		(FindPortmapper	)Read*	WriteOnly+Write,Summary	-Mount						.Unmount	/AutoPackages		!%)/7>CHJL  `settings	!!settings	""(())**F++,,--server	share	mpoint	options	type	..8mpoint	//r33SCRReadWriteExecute0nfs3Mode	testsuite3ReportError	Warning	3ServiceStatus	Enable	Start	Stop	Find		3Summary
NotConfigured		AddHeader			AddLine			3SuSEFirewallReadActivateConfiguration	WriteOnly3ProgresssetNew					NextStage3
PackageSystem"CheckAndInstallPackagesInteractive	3WizardRestoreHelp	1!nfs/routines.ycp0nfs3PackageInstall	%spec		!colonposserv		!$ 		findfirstof		:$!("4"	!&#			substring		&$			substring		+-&couple%0fstab	!count	!$1-2maplistentry	!
spit	!$3	
spec$4itemid+				 +				 +				
file 	
vfstype +				
mntops &;+-<%F
name		!	!(G&&&&	size		size	2			filterchars			A-_.0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz4J	!-K,N		
sformat		
rThe hostname entered is invalid. It must be
shorter than 50 characters and only use
0-9, A-Z, a-z, dots, -, and _.nfs-Q%Zfstabmpoint		!tmp	!$[filterfse	!
	
file(_size-`,c		
sformat		
6fstab already contains an entry
with mount point '%1'.nfs-e%oname		!	!(p&&&&	size		size	F			substring		/4s	!-t,x		
sformat		
fThe path entered is invalid.
It must be shorter than 70 characters
and it must begin with a slash (/).nfs-{%options		!option_list		non_value	
non_value1
with_valueicurrent_option		!(	size	-%Empty option strings are not allowed.nfs(defaults-$			splitstring			,$	bgfgsofthardintrposixctoacacllocktcpudprdirplusatimeautodevexecgroupownersuiduserusers$	
defaultsasyncsyncdirsyncrorwremountbindrbind_netdev$	rsizewsizetimeoretransacregminacregmaxacdirminacdirminacdirmaxactimeoretrynamlenportproto
clientaddr	mountport	mounthost	mountprog	mountversnfsprognfsversverssec$$&			filtere		!
!		contains
&				mapliste		!
		
sformat		
no%1
&			filtere		!
!		contains
&			filtere		!
!contains
)size4opt	value	v0	v1		!$
	$
			splitstring			
=$

	$

	(!contains
-		
sformat		
Unknown option: %1nfs
(size
-		
sformat		
Invalid option: %1nfs
(
-		
sformat		
Empty value for option: %1nfs
&+-%p		!	!(		regexpmatch		^.+/$4	!-					regexpsub				^(.+)/$\14	!-%
portmapper		!	!-
2Nfs.ycp$%$)%/&0%7-8$>	
nfs-client$C	$H	$J$L$N$Q	%S-T	SCR::Read.sysconfig.nfs.NFS4_SUPPORTyes%W-X		SCR::Read.etc.idmapd_confDomain%` (ahaskeyenable_nfs44a&benable_nfs4&e(ghaskey
idmapd_domain4g&h	
idmapd_domainlocaldomain&k&m				maplistentry
nfs_entries	spec	
server_pathfile	
mount_pointvfstype	
vfstypemntops	
nfs_options-u%!missing$'nfs_entriesmaplists
nfs_entries	,		foreachk		server_pathmount_pointnfs_options(!haskey
4,	
y2error	
Missing at Import: '%1'.&(!haskey
vfstype4'
vfstypenfs-
(4-, -%"settings	entries$
'enable_nfs4'
idmapd_domain$				maplistentryserver_path	specmount_point	filevfstype	vfstypenfs_options	mntops'nfs_entries-%#s	-			mergestring						splitstring			 \040%$entries	-						maplistentry	
						mapmapkey	value
	#	%%regex	replacement	s	temp	$)4(!		regexpmatch		+			+			.*.*4.&					regexpsub				+			+			(.*)(.*)+			+			\1\2(4.&-%&s	-%\\040 %'entries	-						maplistentry	
						mapmapkey	value
	&	%((	-
portmap-	rpcbindportmap%)
progress_orig(!4fstab	$		SCR::Read
.etc.fstab&',	
y2milestone	
	fstab: %1&			filterentry	
||	
vfstypenfs	
vfstypenfs4&!filterentry
&&	
vfstypenfs	
vfstypenfs4&&	SCR::Read.sysconfig.nfs.NFS4_SUPPORTyes&'		SCR::Read.etc.idmapd_confDomain$),*,+&-((/40&2			addrpcbind&3rpcbind(5&6			addnfsidmap(8!-9-;%F*fstab	
progress_orig$H		SCR::Read
.etc.fstab&J			filterentry	&&	vfstypenfs	vfstypenfs4&M',O		foreachentry	file	&P			add	union
freqpassno$S
	file(T!SCR::Execute
.target.mkdir
4U,W		
sformat		
 Unable to create directory '%1'.nfs
,[	
y2milestone	
	fstab: %1,]SCR::Execute.target.bash/bin/cp $ORIG $BACKUP
BACKUP/etc/fstab.YaST2.saveORIG
/etc/fstab&_$(`!
SCR::Write
.etc.fstab4a,c\Unable to write to /etc/fstab.
No changes will be made to the
the NFS client configuration.
nfs-f(nsize4o,p,qnfs,tnfsboot(w4x,y
SCR::Write.sysconfig.nfs.NFS4_SUPPORTyes,z
SCR::Write.etc.idmapd_confDomain4},~
SCR::Write.sysconfig.nfs.NFS4_SUPPORTno$,,-%+(*4
progress_orig,Writing NFS Configurationnfs 
Stop servicesnfsStart servicesnfsStopping services...nfsStarting services...nfsFinishednfs,	+Writing NFS client settings. Please wait...nfs,,nfs,(size4status(4,,nfs$
nfs(&&

4,0Unable to mount the NFS entries from /etc/fstab.nfs-$,,,-4-%,summary	nc	entries
configured	$$&NFS Entriesnfs$size,	
y2milestone	
Entries: %1$		
sformat		
%1 entries configurednfs&-%-
portmapper	command	
(||	size		size	4-(	size	4(4,	
	y2warning	
invalid mount options: %1-(4tmpdir	$
		SCR::Read.target.tmpdir(||

4,	

y2security	
Warning: using /tmp directory!&
/tmp&+			+			
/nfs		
sformat		
%1size(4,	
	y2warning	
invalid mount point: %1-$
((4
,	
	y2warning	
(Neither rpcbind nor portmap is installed-(4(4,	
	y2warning	
		
sformat		
%1 cannot be started-(	SCR::Read.target.dir4( !SCR::Execute
.target.mkdir4!,"	
	y2warning	
cannot create mount point %1-#&'			add$+		
sformat		
/bin/mount %1 %2 %3:%4 %5	size	+			-o +			-t 	size	nfs-0SCR::Execute.target.bash%8.mounts	found(9	size	4:-;$?		SCR::Read.proc.mounts$@,B		foreachm	
type	file	$D	
vfstype$E	
file(G&&||nfsnfs44H&I(N4Ocommand	$P
		
sformat		
/bin/umount %1(RSCR::Execute.target.bash
4S-T4X,Y	
	y2warning	
%1 is not NFS mount point-Z(^&&		contains	SCR::Read.target.dir	4_command	$`
		
sformat		

/bin/rmdir %1(bSCR::Execute.target.bash
4c-d&h			filterd	-k%r/-sinstallremove	

ACC SHELL 2018