xref: /onnv-gate/usr/src/cmd/svr4pkg/pkgadm/pkgadm_msgs.h (revision 9869:9bff8d14ecc3)
19781SMoriah.Waterland@Sun.COM /*
29781SMoriah.Waterland@Sun.COM  * CDDL HEADER START
39781SMoriah.Waterland@Sun.COM  *
49781SMoriah.Waterland@Sun.COM  * The contents of this file are subject to the terms of the
59781SMoriah.Waterland@Sun.COM  * Common Development and Distribution License (the "License").
69781SMoriah.Waterland@Sun.COM  * You may not use this file except in compliance with the License.
79781SMoriah.Waterland@Sun.COM  *
89781SMoriah.Waterland@Sun.COM  * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
99781SMoriah.Waterland@Sun.COM  * or http://www.opensolaris.org/os/licensing.
109781SMoriah.Waterland@Sun.COM  * See the License for the specific language governing permissions
119781SMoriah.Waterland@Sun.COM  * and limitations under the License.
129781SMoriah.Waterland@Sun.COM  *
139781SMoriah.Waterland@Sun.COM  * When distributing Covered Code, include this CDDL HEADER in each
149781SMoriah.Waterland@Sun.COM  * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
159781SMoriah.Waterland@Sun.COM  * If applicable, add the following below this CDDL HEADER, with the
169781SMoriah.Waterland@Sun.COM  * fields enclosed by brackets "[]" replaced with your own identifying
179781SMoriah.Waterland@Sun.COM  * information: Portions Copyright [yyyy] [name of copyright owner]
189781SMoriah.Waterland@Sun.COM  *
199781SMoriah.Waterland@Sun.COM  * CDDL HEADER END
209781SMoriah.Waterland@Sun.COM  */
219781SMoriah.Waterland@Sun.COM 
229781SMoriah.Waterland@Sun.COM /*
23*9869SCasper.Dik@Sun.COM  * Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
249781SMoriah.Waterland@Sun.COM  * Use is subject to license terms.
259781SMoriah.Waterland@Sun.COM  */
269781SMoriah.Waterland@Sun.COM 
279781SMoriah.Waterland@Sun.COM #ifndef	_PKGADM_MSGS_H
289781SMoriah.Waterland@Sun.COM #define	_PKGADM_MSGS_H
299781SMoriah.Waterland@Sun.COM 
309781SMoriah.Waterland@Sun.COM 
319781SMoriah.Waterland@Sun.COM #include <libintl.h>
329781SMoriah.Waterland@Sun.COM 
339781SMoriah.Waterland@Sun.COM #ifdef	__cplusplus
349781SMoriah.Waterland@Sun.COM extern "C" {
359781SMoriah.Waterland@Sun.COM #endif
369781SMoriah.Waterland@Sun.COM 
379781SMoriah.Waterland@Sun.COM #ifdef	lint
389781SMoriah.Waterland@Sun.COM #define	gettext(x)	x
399781SMoriah.Waterland@Sun.COM #endif
409781SMoriah.Waterland@Sun.COM 
419781SMoriah.Waterland@Sun.COM /* generic messages */
429781SMoriah.Waterland@Sun.COM #define	MSG_BAD_SUB		gettext(\
439781SMoriah.Waterland@Sun.COM 	"\"%s\" is not a valid subcommand")
449781SMoriah.Waterland@Sun.COM 
459781SMoriah.Waterland@Sun.COM #define	MSG_MISSING_OPERAND	gettext(\
469781SMoriah.Waterland@Sun.COM 	"-%c requires an operand")
479781SMoriah.Waterland@Sun.COM 
489781SMoriah.Waterland@Sun.COM #define	MSG_USAGE		gettext(\
499781SMoriah.Waterland@Sun.COM "usage:\n" \
509781SMoriah.Waterland@Sun.COM "\n" \
519781SMoriah.Waterland@Sun.COM "pkgadm addcert  [-ty] [-a app] [-k keystore] [-e keyfile]\n" \
529781SMoriah.Waterland@Sun.COM "\t[-f format] [-n name] [-P passarg] [-p input_passarg]\n" \
539781SMoriah.Waterland@Sun.COM "\t[-R rootpath] certfile\n" \
549781SMoriah.Waterland@Sun.COM "\n" \
559781SMoriah.Waterland@Sun.COM "\t- Adds a trusted CA certificate or user certificate\n" \
569781SMoriah.Waterland@Sun.COM "\tand private key\n" \
579781SMoriah.Waterland@Sun.COM "\n" \
589781SMoriah.Waterland@Sun.COM "pkgadm removecert [-a app] [-k keystore] -n name [-P passarg]\n" \
599781SMoriah.Waterland@Sun.COM "\t[-R rootpath]\n" \
609781SMoriah.Waterland@Sun.COM "\n" \
619781SMoriah.Waterland@Sun.COM "\t- Removes a trusted CA certificate or user certificate\n" \
629781SMoriah.Waterland@Sun.COM "\tand private key\n" \
639781SMoriah.Waterland@Sun.COM "\n" \
649781SMoriah.Waterland@Sun.COM "pkgadm listcert  [-a app] [-f format] [-k keystore] -n name\n" \
659781SMoriah.Waterland@Sun.COM "\t[-P passarg] [-o outfile] [-R rootpath]\n" \
669781SMoriah.Waterland@Sun.COM "\n" \
679781SMoriah.Waterland@Sun.COM "\t- Prints trusted CA certificates or user certificates\n" \
689781SMoriah.Waterland@Sun.COM "\n" \
699781SMoriah.Waterland@Sun.COM "pkgadm dbstatus [-R rootpath]\n" \
709781SMoriah.Waterland@Sun.COM "\n" \
719781SMoriah.Waterland@Sun.COM "\t- Returns 'text' - the text install database in use since Solaris 2.0\n" \
729781SMoriah.Waterland@Sun.COM "\t  is the current install database in use.\n" \
739781SMoriah.Waterland@Sun.COM "\n" \
74*9869SCasper.Dik@Sun.COM "pkgadm sync [-R rootpath] [-q]\n" \
75*9869SCasper.Dik@Sun.COM "\n" \
76*9869SCasper.Dik@Sun.COM "\t- Writes the contents file and rolls the contents log file.\n" \
77*9869SCasper.Dik@Sun.COM "\t- Optionally forces the contents file server to quit [-q].\n" \
78*9869SCasper.Dik@Sun.COM "\n" \
799781SMoriah.Waterland@Sun.COM "pkgadm -V\n" \
809781SMoriah.Waterland@Sun.COM "\t- Displays packaging tools version\n" \
819781SMoriah.Waterland@Sun.COM "\n" \
829781SMoriah.Waterland@Sun.COM "pkgadm -?\n" \
839781SMoriah.Waterland@Sun.COM "\t- Shows this help message\n")
849781SMoriah.Waterland@Sun.COM 
859781SMoriah.Waterland@Sun.COM #define	MSG_WARNING		gettext(\
869781SMoriah.Waterland@Sun.COM 	"WARNING")
879781SMoriah.Waterland@Sun.COM 
889781SMoriah.Waterland@Sun.COM #define	MSG_ERROR		gettext(\
899781SMoriah.Waterland@Sun.COM 	"ERROR")
909781SMoriah.Waterland@Sun.COM 
919781SMoriah.Waterland@Sun.COM #define	MSG_T_OPTION_ARGS	gettext(\
929781SMoriah.Waterland@Sun.COM 	"-t option takes 2 or 3 arguments, not %d!\n")
939781SMoriah.Waterland@Sun.COM 
949781SMoriah.Waterland@Sun.COM #define	MSG_T_RESULT_TWO	gettext(\
959781SMoriah.Waterland@Sun.COM 	"result <%d>: <%s> ~= <%s>\n")
969781SMoriah.Waterland@Sun.COM 
979781SMoriah.Waterland@Sun.COM #define	MSG_T_RESULT_THREE	gettext(\
989781SMoriah.Waterland@Sun.COM 	"required <%d> actual <%d> <%30s> ~- <%30s>\n")
999781SMoriah.Waterland@Sun.COM 
1009781SMoriah.Waterland@Sun.COM #define	MSG_KEYSTORE_PASSPROMPT	gettext(\
1019781SMoriah.Waterland@Sun.COM 	"Enter Keystore Password: ")
1029781SMoriah.Waterland@Sun.COM 
1039781SMoriah.Waterland@Sun.COM #define	MSG_KEYSTORE_PASSOUTPROMPT	gettext(\
1049781SMoriah.Waterland@Sun.COM 	"Type a Keystore protection Password.\n" \
1059781SMoriah.Waterland@Sun.COM 	"Press ENTER for no protection password (not recommended): ")
1069781SMoriah.Waterland@Sun.COM 
1079781SMoriah.Waterland@Sun.COM #define	MSG_PEM_PASSPROMPT	gettext(\
1089781SMoriah.Waterland@Sun.COM 	"Enter PEM Passphrase: ")
1099781SMoriah.Waterland@Sun.COM 
1109781SMoriah.Waterland@Sun.COM #define	MSG_ERROR		gettext(\
1119781SMoriah.Waterland@Sun.COM 	"ERROR")
1129781SMoriah.Waterland@Sun.COM 
1139781SMoriah.Waterland@Sun.COM /* warnings */
1149781SMoriah.Waterland@Sun.COM 
1159781SMoriah.Waterland@Sun.COM #define	CREATE_PKGDIR_WARN	gettext(\
1169781SMoriah.Waterland@Sun.COM 	"Creating directory <%s>\n")
1179781SMoriah.Waterland@Sun.COM 
1189781SMoriah.Waterland@Sun.COM #define	MSG_WRN_UNKNOWN	gettext(\
1199781SMoriah.Waterland@Sun.COM 	"Signer <%s> has unsupported signature, ignoring")
1209781SMoriah.Waterland@Sun.COM 
1219781SMoriah.Waterland@Sun.COM #define	MSG_VALID_STALE		gettext(\
1229781SMoriah.Waterland@Sun.COM 	"Removing stale lock on <%s> pid <%ld> zid <%ld>")
1239781SMoriah.Waterland@Sun.COM 
1249781SMoriah.Waterland@Sun.COM /* errors */
1259781SMoriah.Waterland@Sun.COM 
1269781SMoriah.Waterland@Sun.COM #define	MSG_FATAL			gettext(\
1279781SMoriah.Waterland@Sun.COM 	"Fatal Error")
1289781SMoriah.Waterland@Sun.COM 
1299781SMoriah.Waterland@Sun.COM #define	MSG_TOO_LONG			gettext(\
1309781SMoriah.Waterland@Sun.COM 	"Length of <%s> exceeds maximum allowed length")
1319781SMoriah.Waterland@Sun.COM 
1329781SMoriah.Waterland@Sun.COM #define	MSG_INTERNAL			gettext(\
1339781SMoriah.Waterland@Sun.COM 	"Intenal Error <%s>")
1349781SMoriah.Waterland@Sun.COM 
1359781SMoriah.Waterland@Sun.COM #define	MSG_OPEN			gettext(\
1369781SMoriah.Waterland@Sun.COM 	"Cannot open <%s> for reading")
1379781SMoriah.Waterland@Sun.COM 
1389781SMoriah.Waterland@Sun.COM #define	MSG_OPEN_WRITE			gettext(\
1399781SMoriah.Waterland@Sun.COM 	"Cannot open <%s> for writing")
1409781SMoriah.Waterland@Sun.COM 
1419781SMoriah.Waterland@Sun.COM #define	MSG_BAD_PASSARG			gettext(\
1429781SMoriah.Waterland@Sun.COM 	"Invalid password retrieval method <%s>")
1439781SMoriah.Waterland@Sun.COM 
1449781SMoriah.Waterland@Sun.COM #define	MSG_BAD_PASS			gettext(\
1459781SMoriah.Waterland@Sun.COM 	"Invalid password")
1469781SMoriah.Waterland@Sun.COM 
1479781SMoriah.Waterland@Sun.COM #define	ERR_LOG_FAIL			gettext(\
1489781SMoriah.Waterland@Sun.COM 	"Failed to log message using format <%s>")
1499781SMoriah.Waterland@Sun.COM 
1509781SMoriah.Waterland@Sun.COM #define	MSG_BAD_FORMAT			gettext(\
1519781SMoriah.Waterland@Sun.COM 	"Invalid format: <%s>")
1529781SMoriah.Waterland@Sun.COM 
1539781SMoriah.Waterland@Sun.COM #define	MSG_USER_NAME			gettext(\
1549781SMoriah.Waterland@Sun.COM 	"An alias is required when adding user certificates")
1559781SMoriah.Waterland@Sun.COM 
1569781SMoriah.Waterland@Sun.COM #define	MSG_TRUSTED_NAME		gettext(\
1579781SMoriah.Waterland@Sun.COM 	"Trusted certificates cannot have an explicit alias")
1589781SMoriah.Waterland@Sun.COM 
1599781SMoriah.Waterland@Sun.COM #define	MSG_MULTIPLE_TRUST		gettext(\
1609781SMoriah.Waterland@Sun.COM 	"Found multiple certificates in <%s>.  You must explicitly trust " \
1619781SMoriah.Waterland@Sun.COM 	"them using <%s>")
1629781SMoriah.Waterland@Sun.COM 
1639781SMoriah.Waterland@Sun.COM #define	MSG_NO_MULTIPLE_TRUST		gettext(\
1649781SMoriah.Waterland@Sun.COM 	"Found multiple certificates in <%s>.  You must explicitly trust " \
1659781SMoriah.Waterland@Sun.COM 	"them using <%s>")
1669781SMoriah.Waterland@Sun.COM 
1679781SMoriah.Waterland@Sun.COM #define	MSG_TRUSTED_KEY			gettext(\
1689781SMoriah.Waterland@Sun.COM 	"Cannot supply private key when adding trusted certificates")
1699781SMoriah.Waterland@Sun.COM 
1709781SMoriah.Waterland@Sun.COM #define	MSG_TRUST_KEY_FOUND		gettext(\
1719781SMoriah.Waterland@Sun.COM 	"One or more private keys were found in trusted certificate file <%s>")
1729781SMoriah.Waterland@Sun.COM 
1739781SMoriah.Waterland@Sun.COM #define	MSG_ADDCERT_ABORT		gettext(\
1749781SMoriah.Waterland@Sun.COM 	"Addition of trusted certificate aborted by user request")
1759781SMoriah.Waterland@Sun.COM 
1769781SMoriah.Waterland@Sun.COM 
1779781SMoriah.Waterland@Sun.COM #define	MSG_NEED_KEY			gettext(\
1789781SMoriah.Waterland@Sun.COM 	"No private key found in <%s>, must specify one with -e")
1799781SMoriah.Waterland@Sun.COM 
1809781SMoriah.Waterland@Sun.COM #define	MSG_NO_PRIVKEY		gettext(\
1819781SMoriah.Waterland@Sun.COM 	"No private key found in <%s>")
1829781SMoriah.Waterland@Sun.COM 
1839781SMoriah.Waterland@Sun.COM #define	MSG_NO_CERTS		gettext(\
1849781SMoriah.Waterland@Sun.COM 	"No certificates found in <%s>")
1859781SMoriah.Waterland@Sun.COM 
1869781SMoriah.Waterland@Sun.COM #define	MSG_MULTIPLE_CERTS	gettext(\
1879781SMoriah.Waterland@Sun.COM 	"Multiple certificates found in <%s>")
1889781SMoriah.Waterland@Sun.COM 
1899781SMoriah.Waterland@Sun.COM #define	MSG_NO_ADDCERT	gettext(\
1909781SMoriah.Waterland@Sun.COM 	"Cannot add certificate(s) from <%s>.  No changes have been made.")
1919781SMoriah.Waterland@Sun.COM 
1929781SMoriah.Waterland@Sun.COM #define	MSG_NO_ADDKEY	gettext(\
1939781SMoriah.Waterland@Sun.COM 	"Cannot add private key from <%s>.  No changes have been made.")
1949781SMoriah.Waterland@Sun.COM 
1959781SMoriah.Waterland@Sun.COM #define	MSG_NO_REMOVECERT	gettext(\
1969781SMoriah.Waterland@Sun.COM 	"Cannot remove certificate with alias <%s>")
1979781SMoriah.Waterland@Sun.COM 
1989781SMoriah.Waterland@Sun.COM #define	MSG_VERIFY_TRUST	gettext(\
1999781SMoriah.Waterland@Sun.COM 	"Are you sure you want to trust this certificate? ")
2009781SMoriah.Waterland@Sun.COM 
2019781SMoriah.Waterland@Sun.COM #define	MSG_VERIFY_NOT_CA	gettext(\
2029781SMoriah.Waterland@Sun.COM 	"\n" \
2039781SMoriah.Waterland@Sun.COM 	"This certificate does not appear to be issued and signed\n" \
2049781SMoriah.Waterland@Sun.COM 	"by a certificate authority (CA). CA Certificates are normally\n" \
2059781SMoriah.Waterland@Sun.COM 	"self-signed and have CA Basic Constraints.\n" \
2069781SMoriah.Waterland@Sun.COM 	"Are you sure you want to trust this certificate? ")
2079781SMoriah.Waterland@Sun.COM 
2089781SMoriah.Waterland@Sun.COM #define	MSG_PARSE	gettext(\
2099781SMoriah.Waterland@Sun.COM 	"Parsing error")
2109781SMoriah.Waterland@Sun.COM 
2119781SMoriah.Waterland@Sun.COM #define	MSG_TRUSTED	gettext(\
2129781SMoriah.Waterland@Sun.COM 	"Certificate(s) from <%s> are now trusted")
2139781SMoriah.Waterland@Sun.COM 
2149781SMoriah.Waterland@Sun.COM #define	MSG_TRUSTING	gettext(\
2159781SMoriah.Waterland@Sun.COM 	"Trusting certificate <%s>")
2169781SMoriah.Waterland@Sun.COM 
2179781SMoriah.Waterland@Sun.COM #define	MSG_ADDED	gettext(\
2189781SMoriah.Waterland@Sun.COM 	"Successfully added Certificate <%s> with alias <%s>")
2199781SMoriah.Waterland@Sun.COM 
2209781SMoriah.Waterland@Sun.COM #define	MSG_REMOVED	gettext(\
2219781SMoriah.Waterland@Sun.COM 	"Successfully removed Certificate(s) with alias <%s>")
2229781SMoriah.Waterland@Sun.COM 
2239781SMoriah.Waterland@Sun.COM #define	MSG_MEM		gettext(\
2249781SMoriah.Waterland@Sun.COM 	"Out of memory")
2259781SMoriah.Waterland@Sun.COM 
2269781SMoriah.Waterland@Sun.COM #define	MSG_PRINT		gettext(\
2279781SMoriah.Waterland@Sun.COM 	"Cannot print certificates to <%s>")
2289781SMoriah.Waterland@Sun.COM 
2299781SMoriah.Waterland@Sun.COM #define	MSG_PROBLEM_CONVERT	gettext(\
2309781SMoriah.Waterland@Sun.COM 	"Does %s/var/sadm exist?  Can the user write to it? (%s)")
2319781SMoriah.Waterland@Sun.COM 
2329781SMoriah.Waterland@Sun.COM #define	MSG_CONTENTS_FORMAT	gettext(\
2339781SMoriah.Waterland@Sun.COM 	"Operation failed due to corrupted install contents data file.")
2349781SMoriah.Waterland@Sun.COM 
2359781SMoriah.Waterland@Sun.COM #define	MSG_MKDIR_FAILED	gettext(\
2369781SMoriah.Waterland@Sun.COM 	"Could not mkdir for path %s.  %s.")
2379781SMoriah.Waterland@Sun.COM 
2389781SMoriah.Waterland@Sun.COM #define	MSG_RENAME_FAILED	gettext(\
2399781SMoriah.Waterland@Sun.COM 	"Could not rename %s to %s\n%s")
2409781SMoriah.Waterland@Sun.COM 
2419781SMoriah.Waterland@Sun.COM #define	MSG_REMOVE_FAILED	gettext(\
2429781SMoriah.Waterland@Sun.COM 	"Could not remove %s\n%s")
2439781SMoriah.Waterland@Sun.COM 
2449781SMoriah.Waterland@Sun.COM #define	MSG_FILE_ACCESS		gettext(\
2459781SMoriah.Waterland@Sun.COM 	"Operation failed: unable to access file %s: %s")
2469781SMoriah.Waterland@Sun.COM 
2479781SMoriah.Waterland@Sun.COM #define	MSG_NOT_READABLE	gettext(\
2489781SMoriah.Waterland@Sun.COM 	"Operation failed: unable to read file %s")
2499781SMoriah.Waterland@Sun.COM 
2509781SMoriah.Waterland@Sun.COM #define	MSG_PATCH_UPGD gettext(\
2519781SMoriah.Waterland@Sun.COM 	"Operation failed: unable to process patch information\n")
2529781SMoriah.Waterland@Sun.COM 
2539781SMoriah.Waterland@Sun.COM #define	MSG_BUILD_INDEXES gettext(\
2549781SMoriah.Waterland@Sun.COM 	"Operation failed: unable to build indexes\n")
2559781SMoriah.Waterland@Sun.COM 
2569781SMoriah.Waterland@Sun.COM #define	MSG_FILE_NAME_TOO_LONG gettext(\
2579781SMoriah.Waterland@Sun.COM 	"Operation failed: file name too long: %s\n")
2589781SMoriah.Waterland@Sun.COM 
2599781SMoriah.Waterland@Sun.COM #define	MSG_ZONES_MISSING_REQUEST	gettext(\
2609781SMoriah.Waterland@Sun.COM 	"Must specify operation to perform\n")
2619781SMoriah.Waterland@Sun.COM 
2629781SMoriah.Waterland@Sun.COM #define	MSG_LOCK_ALTROOT_CANTCREATE	gettext(\
2639781SMoriah.Waterland@Sun.COM 	"lock: cannot create alternative root directory <%s>: %s\n")
2649781SMoriah.Waterland@Sun.COM 
2659781SMoriah.Waterland@Sun.COM #define	MSG_LOCK_ALTROOT_NONEXIST	gettext(\
2669781SMoriah.Waterland@Sun.COM 	"lock: argument to -R <%s> is not a directory: %s\n")
2679781SMoriah.Waterland@Sun.COM 
2689781SMoriah.Waterland@Sun.COM #define	MSG_LOCK_ROOTDIR_INVALID	gettext(\
2699781SMoriah.Waterland@Sun.COM 	"lock: lock file base directory <%s> not valid: %s\n")
2709781SMoriah.Waterland@Sun.COM 
2719781SMoriah.Waterland@Sun.COM #define	MSG_LOCK_WFLAG_BADINT	gettext(\
2729781SMoriah.Waterland@Sun.COM 	"The integer value <%s> given to the -W option includes an " \
2739781SMoriah.Waterland@Sun.COM 	"invalid character: \"%c\"\n")
2749781SMoriah.Waterland@Sun.COM 
2759781SMoriah.Waterland@Sun.COM #define	MSG_LOCK_pFLAG_BADINT	gettext(\
2769781SMoriah.Waterland@Sun.COM 	"The integer value <%s> given to the -p option includes an " \
2779781SMoriah.Waterland@Sun.COM 	"invalid character: \"%c\"\n")
2789781SMoriah.Waterland@Sun.COM 
2799781SMoriah.Waterland@Sun.COM #define	MSG_LOCK_zFLAG_BADINT	gettext(\
2809781SMoriah.Waterland@Sun.COM 	"The integer value <%s> given to the -z option includes an " \
2819781SMoriah.Waterland@Sun.COM 	"invalid character: \"%c\"\n")
2829781SMoriah.Waterland@Sun.COM 
2839781SMoriah.Waterland@Sun.COM #define	MSG_LOCK_nFLAG_BADINT	gettext(\
2849781SMoriah.Waterland@Sun.COM 	"The integer value <%s> given to the -n option includes an " \
2859781SMoriah.Waterland@Sun.COM 	"invalid character: \"%c\"\n")
2869781SMoriah.Waterland@Sun.COM 
2879781SMoriah.Waterland@Sun.COM #define	MSG_LOCK_ar_TOGETHER	gettext(\
2889781SMoriah.Waterland@Sun.COM 	"lock: The -a and -r options cannot be used together: "\
2899781SMoriah.Waterland@Sun.COM 	"specify only one.\n")
2909781SMoriah.Waterland@Sun.COM 
2919781SMoriah.Waterland@Sun.COM #define	MSG_LOCK_kARG_TOOLONG	gettext(\
2929781SMoriah.Waterland@Sun.COM 	"Argument to -k is <%d> characters: may not exceed <%d> characters\n")
2939781SMoriah.Waterland@Sun.COM 
2949781SMoriah.Waterland@Sun.COM #define	MSG_LOCK_oARG_TOOLONG	gettext(\
2959781SMoriah.Waterland@Sun.COM 	"Argument to -o is <%d> characters: may not exceed <%d> characters\n")
2969781SMoriah.Waterland@Sun.COM 
2979781SMoriah.Waterland@Sun.COM #define	MSG_LOCK_RARG_NOT_ABSOLUTE	gettext(\
2989781SMoriah.Waterland@Sun.COM 	"Argument to -R must be absolute path: %s")
2999781SMoriah.Waterland@Sun.COM 
3009781SMoriah.Waterland@Sun.COM #define	MSG_LOCK_WFLAG_ERROR	gettext(\
3019781SMoriah.Waterland@Sun.COM 	"Argument to -W has problem with wait interval <%s>: %s")
3029781SMoriah.Waterland@Sun.COM 
3039781SMoriah.Waterland@Sun.COM #define	MSG_LOCK_pFLAG_ERROR	gettext(\
3049781SMoriah.Waterland@Sun.COM 	"Argument to -p has problem with process i.d. value <%s>: %s")
3059781SMoriah.Waterland@Sun.COM 
3069781SMoriah.Waterland@Sun.COM #define	MSG_LOCK_zFLAG_ERROR	gettext(\
3079781SMoriah.Waterland@Sun.COM 	"Argument to -p has problem with zone i.d. value <%s>: %s")
3089781SMoriah.Waterland@Sun.COM 
3099781SMoriah.Waterland@Sun.COM #define	MSG_LOCK_nFLAG_ERROR	gettext(\
3109781SMoriah.Waterland@Sun.COM 	"Argument to -n has problem with maximum number of retries " \
3119781SMoriah.Waterland@Sun.COM 	"value <%s>: %s")
3129781SMoriah.Waterland@Sun.COM 
3139781SMoriah.Waterland@Sun.COM #define	MSG_LOCK_es_TOGETHER	gettext(\
3149781SMoriah.Waterland@Sun.COM 	"lock: The -e and -s options cannot be used together: "\
3159781SMoriah.Waterland@Sun.COM 	"specify only one.\n")
3169781SMoriah.Waterland@Sun.COM 
3179781SMoriah.Waterland@Sun.COM #define	MSG_LOCK_ak_TOGETHER	gettext(\
3189781SMoriah.Waterland@Sun.COM 	"lock: The -k option cannot be used with the -a option.\n")
3199781SMoriah.Waterland@Sun.COM 
3209781SMoriah.Waterland@Sun.COM #define	MSG_LOCK_e_without_a	gettext(\
3219781SMoriah.Waterland@Sun.COM 	"lock: The -e option can only be used with the -a option.\n")
3229781SMoriah.Waterland@Sun.COM 
3239781SMoriah.Waterland@Sun.COM #define	MSG_LOCK_s_without_a	gettext(\
3249781SMoriah.Waterland@Sun.COM 	"lock: The -s option can only be used with the -a option.\n")
3259781SMoriah.Waterland@Sun.COM 
3269781SMoriah.Waterland@Sun.COM #define	MSG_LOCK_ACQUIRE_KEYMISMATCH	gettext(\
3279781SMoriah.Waterland@Sun.COM 	"cannot acquire %s lock on <%s>: object locked and specified key " \
3289781SMoriah.Waterland@Sun.COM 	"does not match")
3299781SMoriah.Waterland@Sun.COM 
3309781SMoriah.Waterland@Sun.COM #define	MSG_LOCK_ACQUIRE_ERROR	gettext(\
3319781SMoriah.Waterland@Sun.COM 	"cannot determine if object <%s> key <%s> is locked: %s")
3329781SMoriah.Waterland@Sun.COM 
3339781SMoriah.Waterland@Sun.COM #define	MSG_LOCK_ACQUIRE_TIMEDOUT	gettext(\
3349781SMoriah.Waterland@Sun.COM 	"cannot acquire %s lock on <%s> key <%s>: object locked, no key " \
3359781SMoriah.Waterland@Sun.COM 	"was specified, and the wait timed out")
3369781SMoriah.Waterland@Sun.COM 
3379781SMoriah.Waterland@Sun.COM #define	MSG_LOCK_ACQUIRE_WAITING	gettext(\
3389781SMoriah.Waterland@Sun.COM 	"object <%s> is locked: waiting for object to become available")
3399781SMoriah.Waterland@Sun.COM 
3409781SMoriah.Waterland@Sun.COM #define	MSG_LOCK_ACQUIRE_REOPEN_FAILED	gettext(\
3419781SMoriah.Waterland@Sun.COM 	"cannot reopen lock file after waiting for lock on object " \
3429781SMoriah.Waterland@Sun.COM 	"<%s> to be released")
3439781SMoriah.Waterland@Sun.COM 
3449781SMoriah.Waterland@Sun.COM #define	MSG_LOCK_RELEASE_NOTLOCKED	gettext(\
3459781SMoriah.Waterland@Sun.COM 	"cannot release lock on <%s> key <%s>: object not locked and " \
3469781SMoriah.Waterland@Sun.COM 	"a key was specified")
3479781SMoriah.Waterland@Sun.COM 
3489781SMoriah.Waterland@Sun.COM #define	MSG_LOCK_RELEASE_LOCKED		gettext(\
3499781SMoriah.Waterland@Sun.COM 	"cannot release lock on <%s> key <%s>: object locked but no " \
3509781SMoriah.Waterland@Sun.COM 	"key was specified")
3519781SMoriah.Waterland@Sun.COM 
3529781SMoriah.Waterland@Sun.COM #define	MSG_LOCK_RELEASE_NOTFOUND	gettext(\
3539781SMoriah.Waterland@Sun.COM 	"cannot release lock on <%s> key <%s>: object is not locked")
3549781SMoriah.Waterland@Sun.COM 
3559781SMoriah.Waterland@Sun.COM #define	MSG_LOCK_RELEASE_KEYMISMATCH	gettext(\
3569781SMoriah.Waterland@Sun.COM 	"cannot release lock on <%s>: object locked and specified key " \
3579781SMoriah.Waterland@Sun.COM 	"does not match")
3589781SMoriah.Waterland@Sun.COM 
3599781SMoriah.Waterland@Sun.COM #define	MSG_LOCK_RELEASE_ERROR		gettext(\
3609781SMoriah.Waterland@Sun.COM 	"cannot determine if object <%s> key <%s> is locked")
3619781SMoriah.Waterland@Sun.COM 
3629781SMoriah.Waterland@Sun.COM #define	MSG_LOCK_EXEC_ACCESS	gettext(\
3639781SMoriah.Waterland@Sun.COM 	"cannot execute command <%s>: %s")
3649781SMoriah.Waterland@Sun.COM 
3659781SMoriah.Waterland@Sun.COM #define	MSG_LOCK_EXEC_NOINPUT	gettext(\
3669781SMoriah.Waterland@Sun.COM 	"cannot open input file <%s>: %s")
3679781SMoriah.Waterland@Sun.COM 
3689781SMoriah.Waterland@Sun.COM #define	MSG_LOCK_EXEC_NOPIPE	gettext(\
3699781SMoriah.Waterland@Sun.COM 	"cannot create pipe: %s")
3709781SMoriah.Waterland@Sun.COM 
3719781SMoriah.Waterland@Sun.COM #define	MSG_LOCK_FINDLOCK_LSEEK_FAILURE	gettext(\
3729781SMoriah.Waterland@Sun.COM 	"cannot find lock <%s> key <%s>: lseek failure: %s")
3739781SMoriah.Waterland@Sun.COM 
3749781SMoriah.Waterland@Sun.COM #define	MSG_LOCK_ADDLOCK_PWRITE_FAILURE	gettext(\
3759781SMoriah.Waterland@Sun.COM 	"cannot create %s lock for object <%s>: pwrite failure: %s")
3769781SMoriah.Waterland@Sun.COM 
3779781SMoriah.Waterland@Sun.COM #define	MSG_LOCK_ADDLOCK_LSEEK_FAILURE	gettext(\
3789781SMoriah.Waterland@Sun.COM 	"cannot create %s lock for object <%s>: lseek failure: %s")
3799781SMoriah.Waterland@Sun.COM 
3809781SMoriah.Waterland@Sun.COM #define	MSG_LOCK_INCLOCK_PWRITE_FAILURE	gettext(\
3819781SMoriah.Waterland@Sun.COM 	"cannot increment %s lock for object <%s>: pwrite failure: %s")
3829781SMoriah.Waterland@Sun.COM 
3839781SMoriah.Waterland@Sun.COM #define	MSG_LOCK_DECLOCK_PWRITE_FAILURE	gettext(\
3849781SMoriah.Waterland@Sun.COM 	"cannot decrement %s lock for object <%s>: pwrite failure: %s")
3859781SMoriah.Waterland@Sun.COM 
3869781SMoriah.Waterland@Sun.COM #define	MSG_LOCK_DECLOCK_PREAD_FAILURE	gettext(\
3879781SMoriah.Waterland@Sun.COM 	"cannot decrement %s lock for object <%s>: pread failure: %s")
3889781SMoriah.Waterland@Sun.COM 
3899781SMoriah.Waterland@Sun.COM #define	MSG_LOCK_DECLOCK_LSEEK_FAILURE	gettext(\
3909781SMoriah.Waterland@Sun.COM 	"cannot decrement %s lock for object <%s>: lseek failure: %s")
3919781SMoriah.Waterland@Sun.COM 
3929781SMoriah.Waterland@Sun.COM #define	MSG_LOCK_DECLOCK_FTRUNCATE_FAILURE	gettext(\
3939781SMoriah.Waterland@Sun.COM 	"cannot decrement %s lock for object <%s>: ftruncate failure: %s")
3949781SMoriah.Waterland@Sun.COM 
3959781SMoriah.Waterland@Sun.COM /*
3969781SMoriah.Waterland@Sun.COM  * i18n:
3979781SMoriah.Waterland@Sun.COM  * next two messages grouped together
3989781SMoriah.Waterland@Sun.COM  */
3999781SMoriah.Waterland@Sun.COM 
4009781SMoriah.Waterland@Sun.COM #define	MSG_LOCK_ACQUIRE_BUSY_QUASI	gettext(\
4019781SMoriah.Waterland@Sun.COM 	"cannot acquire %s lock on <%s> key <%s>: object matches wildcard " \
4029781SMoriah.Waterland@Sun.COM 	"<%s> lock%s")
4039781SMoriah.Waterland@Sun.COM #define	MSG_LOCK_ACQUIRE_BUSY_FIRST	gettext(\
4049781SMoriah.Waterland@Sun.COM 	"cannot acquire %s lock on <%s> key <%s>: object <%s> is locked <%s>%s")
4059781SMoriah.Waterland@Sun.COM 
4069781SMoriah.Waterland@Sun.COM /*
4079781SMoriah.Waterland@Sun.COM  * i18n: note this message may be appended to the previous message
4089781SMoriah.Waterland@Sun.COM  * by supplying it to the final "%s" at the end of the line above;
4099781SMoriah.Waterland@Sun.COM  * that is either:
4109781SMoriah.Waterland@Sun.COM  *  cannot acquire %s lock on <%s> key <%s>: object is locked <%s>
4119781SMoriah.Waterland@Sun.COM  * or:
4129781SMoriah.Waterland@Sun.COM  *  cannot acquire %s lock on <%s> [...] is locked <%s> and no key specified
4139781SMoriah.Waterland@Sun.COM  */
4149781SMoriah.Waterland@Sun.COM 
4159781SMoriah.Waterland@Sun.COM #define	MSG_LOCK_ACQUIRE_BUSY_ADDITIONAL	gettext(\
4169781SMoriah.Waterland@Sun.COM 	" and no key specified")
4179781SMoriah.Waterland@Sun.COM 
4189781SMoriah.Waterland@Sun.COM /*
4199781SMoriah.Waterland@Sun.COM  * i18n: note these two "messages" are inserted into other
4209781SMoriah.Waterland@Sun.COM  * messages, such as:
4219781SMoriah.Waterland@Sun.COM  * 	cannot acquire %s lock on <%s>
4229781SMoriah.Waterland@Sun.COM  * will be either:
4239781SMoriah.Waterland@Sun.COM  *	cannot acquire shared lock on <%s>
4249781SMoriah.Waterland@Sun.COM  * or
4259781SMoriah.Waterland@Sun.COM  *	cannot acquire exclusive lock on <%s>
4269781SMoriah.Waterland@Sun.COM  */
4279781SMoriah.Waterland@Sun.COM 
4289781SMoriah.Waterland@Sun.COM #define	MSG_LOCK_EXC	gettext(\
4299781SMoriah.Waterland@Sun.COM 	"exclusive")
4309781SMoriah.Waterland@Sun.COM 
4319781SMoriah.Waterland@Sun.COM #define	MSG_LOCK_SHR		gettext(\
4329781SMoriah.Waterland@Sun.COM 	"shared")
4339781SMoriah.Waterland@Sun.COM 
4349781SMoriah.Waterland@Sun.COM /*
4359781SMoriah.Waterland@Sun.COM  * i18n: note these messages are "debugging" messages and will normally
4369781SMoriah.Waterland@Sun.COM  * not be seen unless debugging has been enabled for problem root causing
4379781SMoriah.Waterland@Sun.COM  * so they are not meant to be perfectly "human readable"
4389781SMoriah.Waterland@Sun.COM  */
4399781SMoriah.Waterland@Sun.COM 
4409781SMoriah.Waterland@Sun.COM #define	MSG_VALID_NOPID		gettext(\
4419781SMoriah.Waterland@Sun.COM 	"validate lock <%s>: VALID (no pid)")
4429781SMoriah.Waterland@Sun.COM 
4439781SMoriah.Waterland@Sun.COM #define	MSG_VALID_BADZID	gettext(\
4449781SMoriah.Waterland@Sun.COM 	"validate lock <%s>: VALID (lock zid <%ld> this zid <%ld>)")
4459781SMoriah.Waterland@Sun.COM 
4469781SMoriah.Waterland@Sun.COM #define	MSG_VALID_ZIDOK	gettext(\
4479781SMoriah.Waterland@Sun.COM 	"validate lock <%s>: zone i.d.s match (lock zid <%ld> this zid <%ld>)")
4489781SMoriah.Waterland@Sun.COM 
4499781SMoriah.Waterland@Sun.COM #define	MSG_VALID_OK		gettext(\
4509781SMoriah.Waterland@Sun.COM 	"validate lock <%s> pid <%ld> path <%s>: VALID")
4519781SMoriah.Waterland@Sun.COM 
4529781SMoriah.Waterland@Sun.COM #define	MSG_VALID_NOTOK		gettext(\
4539781SMoriah.Waterland@Sun.COM 	"validate lock <%s> pid <%ld> path <%s>: NOT VALID")
4549781SMoriah.Waterland@Sun.COM 
4559781SMoriah.Waterland@Sun.COM #define	MSG_LCKMCH_ENTRY	gettext(\
4569781SMoriah.Waterland@Sun.COM 	"lockMatch: *** BEGIN *** compare objects <%s> <%s>")
4579781SMoriah.Waterland@Sun.COM 
4589781SMoriah.Waterland@Sun.COM #define	MSG_LCKMCH_FSTNODE	gettext(\
4599781SMoriah.Waterland@Sun.COM 	"lockMatch: first lock node (%d) <%s>")
4609781SMoriah.Waterland@Sun.COM 
4619781SMoriah.Waterland@Sun.COM #define	MSG_LCKMCH_SCNDNODE	gettext(\
4629781SMoriah.Waterland@Sun.COM 	"lockMatch: second lock node (%d) <%s>")
4639781SMoriah.Waterland@Sun.COM 
4649781SMoriah.Waterland@Sun.COM #define	MSG_LCKMCH_NODES	gettext(\
4659781SMoriah.Waterland@Sun.COM 	"lockMatch: first lock node <%s> prefix <%s> (%d) second lock " \
4669781SMoriah.Waterland@Sun.COM 	" node <%s> prefix <%s> (%d)")
4679781SMoriah.Waterland@Sun.COM 
4689781SMoriah.Waterland@Sun.COM #define	MSG_LCKMCH_DIRMCH	gettext(\
4699781SMoriah.Waterland@Sun.COM 	"lockMatch: no prefix direct comparison: match: <%s> <%s>")
4709781SMoriah.Waterland@Sun.COM 
4719781SMoriah.Waterland@Sun.COM #define	MSG_LCKMCH_DIRNOMCH	gettext(\
4729781SMoriah.Waterland@Sun.COM 	"lockMatch: no prefix direct comparison: NO MATCH: <%s> <%s>")
4739781SMoriah.Waterland@Sun.COM 
4749781SMoriah.Waterland@Sun.COM #define	MSG_LCKMCH_PFXMCH	gettext(\
4759781SMoriah.Waterland@Sun.COM 	"lockMatch: prefix comparison: match: <%s> <%s>")
4769781SMoriah.Waterland@Sun.COM 
4779781SMoriah.Waterland@Sun.COM #define	MSG_LCKMCH_PFXNOMCH	gettext(\
4789781SMoriah.Waterland@Sun.COM 	"lockMatch: prefix comparison: NO MATCH: <%s> <%s>")
4799781SMoriah.Waterland@Sun.COM 
4809781SMoriah.Waterland@Sun.COM #define	MSG_LCKMCH_FSTLCK	gettext(\
4819781SMoriah.Waterland@Sun.COM 	"lockMatch: first lock index (%d) last scanned node <%s> prefix " \
4829781SMoriah.Waterland@Sun.COM 	"<%s> (%d)")
4839781SMoriah.Waterland@Sun.COM 
4849781SMoriah.Waterland@Sun.COM #define	MSG_LCKMCH_SCNDLCK	gettext(\
4859781SMoriah.Waterland@Sun.COM 	"lockMatch: second lock index (%d) last scanned node <%s> prefix " \
4869781SMoriah.Waterland@Sun.COM 	"<%s> (%d)")
4879781SMoriah.Waterland@Sun.COM 
4889781SMoriah.Waterland@Sun.COM #define	MSG_LCKMCH_ABSNOMCH	gettext(\
4899781SMoriah.Waterland@Sun.COM 	"lockMatch: absolute locks: NO MATCH: <%s> <%s>")
4909781SMoriah.Waterland@Sun.COM 
4919781SMoriah.Waterland@Sun.COM #define	MSG_LCKMCH_OBJMCH	gettext(\
4929781SMoriah.Waterland@Sun.COM 	"lockMatch: object locks: match: <%s> <%s>")
4939781SMoriah.Waterland@Sun.COM 
4949781SMoriah.Waterland@Sun.COM #define	MSG_LCKMCH_OVLPNOMCH	gettext(\
4959781SMoriah.Waterland@Sun.COM 	"lockMatch: nonmatching overlapping objects: <%s> <%s> before " \
4969781SMoriah.Waterland@Sun.COM 	"(%d) <%s>")
4979781SMoriah.Waterland@Sun.COM 
4989781SMoriah.Waterland@Sun.COM #define	MSG_LCKMCH_SAME	gettext(\
4999781SMoriah.Waterland@Sun.COM 	"lockMatch: locks begin with same node - compare: <%s> <%s> at <%s>")
5009781SMoriah.Waterland@Sun.COM 
5019781SMoriah.Waterland@Sun.COM #define	MSG_LCKMCH_SCNDSUB	gettext(\
5029781SMoriah.Waterland@Sun.COM 	"lockMatch: second lock <%s> subset of <%s> at (%d) <%s>")
5039781SMoriah.Waterland@Sun.COM 
5049781SMoriah.Waterland@Sun.COM #define	MSG_LCKMCH_FRSTSUB	gettext(\
5059781SMoriah.Waterland@Sun.COM 	"lockMatch: first lock <%s> subset of <%s> at (%d) <%s>")
5069781SMoriah.Waterland@Sun.COM 
5079781SMoriah.Waterland@Sun.COM #define	MSG_LCKMCH_DONTKNOW	gettext(\
5089781SMoriah.Waterland@Sun.COM 	"lockMatch: unable to determine how to compare locks: <%s> <%s>: " \
5099781SMoriah.Waterland@Sun.COM 	"using direct comparision")
5109781SMoriah.Waterland@Sun.COM 
5119781SMoriah.Waterland@Sun.COM #define	MSG_LCKMCH_READY	gettext(\
5129781SMoriah.Waterland@Sun.COM 	"lockMatch: comparing nodes locks <%s> <%s>")
5139781SMoriah.Waterland@Sun.COM 
5149781SMoriah.Waterland@Sun.COM #define	MSG_LCKMCH_NODEFAIL	gettext(\
5159781SMoriah.Waterland@Sun.COM 	"lockMatch: node (%d) comparison: NO MATCH: <%s> != <%s>")
5169781SMoriah.Waterland@Sun.COM 
5179781SMoriah.Waterland@Sun.COM #define	MSG_LCKMCH_NODEOK	gettext(\
5189781SMoriah.Waterland@Sun.COM 	"lockMatch: node (%d) comparision: match: <%s> == <%s>")
5199781SMoriah.Waterland@Sun.COM 
5209781SMoriah.Waterland@Sun.COM #define	MSG_LCKMCH_MATCHOK	gettext(\
5219781SMoriah.Waterland@Sun.COM 	"lockMatch: locks match: <%s> == <%s>")
5229781SMoriah.Waterland@Sun.COM 
5239781SMoriah.Waterland@Sun.COM #define	MSG_LOCK_EXEC_RESULTS	gettext(\
5249781SMoriah.Waterland@Sun.COM 	"command <%s> executed: pid <%d> errno <0x%04x> status <0x%04x> " \
5259781SMoriah.Waterland@Sun.COM 	"final status <0x%04x> output <%s>")
5269781SMoriah.Waterland@Sun.COM 
5279781SMoriah.Waterland@Sun.COM #define	MSG_LOCK_GENUID_MAKEUUID	gettext(\
5289781SMoriah.Waterland@Sun.COM 	"generated new unique key using makeuuid: %s")
5299781SMoriah.Waterland@Sun.COM 
5309781SMoriah.Waterland@Sun.COM #define	MSG_LOCK_GENUID_INTERNAL	gettext(\
5319781SMoriah.Waterland@Sun.COM 	"generated new unique key using date: %s")
5329781SMoriah.Waterland@Sun.COM 
5339781SMoriah.Waterland@Sun.COM #define	MSG_LOCK_DECLOCK_DECING	gettext(\
5349781SMoriah.Waterland@Sun.COM 	"decrement <%s> lock count record <%d> count <%d>")
5359781SMoriah.Waterland@Sun.COM 
5369781SMoriah.Waterland@Sun.COM #define	MSG_LOCK_DECLOCK_DONE	gettext(\
5379781SMoriah.Waterland@Sun.COM 	"decrement lock record <%d> count <%d> object <%s> key <%s>")
5389781SMoriah.Waterland@Sun.COM 
5399781SMoriah.Waterland@Sun.COM #define	MSG_LOCK_DECLOCK_REMOVE	gettext(\
5409781SMoriah.Waterland@Sun.COM 	"decrement lock remove record lastPos %ld last record %d " \
5419781SMoriah.Waterland@Sun.COM 	"current record %d")
5429781SMoriah.Waterland@Sun.COM 
5439781SMoriah.Waterland@Sun.COM #define	MSG_LOCK_DECLOCK_LASTONE	gettext(\
5449781SMoriah.Waterland@Sun.COM 	"decrement lock removing <%s> lock last record <%d> " \
5459781SMoriah.Waterland@Sun.COM 	"truncating to <%ld>")
5469781SMoriah.Waterland@Sun.COM 
5479781SMoriah.Waterland@Sun.COM #define	MSG_LOCK_DECLOCK_REMOVING	gettext(\
5489781SMoriah.Waterland@Sun.COM 	"decrement lock removing record <%d> last record <%d> " \
5499781SMoriah.Waterland@Sun.COM 	"truncating to <%ld>")
5509781SMoriah.Waterland@Sun.COM 
5519781SMoriah.Waterland@Sun.COM #define	MSG_LOCK_INCLOCK_ENTRY	gettext(\
5529781SMoriah.Waterland@Sun.COM 	"increment <%s> lock count record <%d> count <%d>")
5539781SMoriah.Waterland@Sun.COM 
5549781SMoriah.Waterland@Sun.COM #define	MSG_LOCK_INCLOCK_DONE	gettext(\
5559781SMoriah.Waterland@Sun.COM 	"increment lock record <%d> count <%d> object <%s> key <%s>")
5569781SMoriah.Waterland@Sun.COM 
5579781SMoriah.Waterland@Sun.COM #define	MSG_LOCK_ADDLOCK_ADDING	gettext(\
5589781SMoriah.Waterland@Sun.COM 	"adding %s lock pos <%d> object <%s> key <%s> pid <%ld> zid <%ld>")
5599781SMoriah.Waterland@Sun.COM 
5609781SMoriah.Waterland@Sun.COM #define	MSG_LOCK_FINDLOCK_ENTRY	gettext(\
5619781SMoriah.Waterland@Sun.COM 	"find lock object <%s> key <%s>")
5629781SMoriah.Waterland@Sun.COM 
5639781SMoriah.Waterland@Sun.COM #define	MSG_LOCK_FINDLOCK_READRECORD	gettext(\
5649781SMoriah.Waterland@Sun.COM 	"find lock read record <%d>: count <%d> object <%s> key <%s> pid " \
5659781SMoriah.Waterland@Sun.COM 	"<%ld> zid <%ld>")
5669781SMoriah.Waterland@Sun.COM 
5679781SMoriah.Waterland@Sun.COM #define	MSG_LOCK_FINDLOCK_FOUND	gettext(\
5689781SMoriah.Waterland@Sun.COM 	"find lock record found")
5699781SMoriah.Waterland@Sun.COM 
5709781SMoriah.Waterland@Sun.COM #define	MSG_LOCK_FINDLOCK_NOTFOUND	gettext(\
5719781SMoriah.Waterland@Sun.COM 	"find lock record not found")
5729781SMoriah.Waterland@Sun.COM 
5739781SMoriah.Waterland@Sun.COM #define	MSG_LOCK_OPENFILE_ENTRY	gettext(\
5749781SMoriah.Waterland@Sun.COM 	"open lock file root <%s> file <%s>")
5759781SMoriah.Waterland@Sun.COM 
5769781SMoriah.Waterland@Sun.COM #define	MSG_LOCK_OPENFILE_SLEEPING	gettext(\
5779781SMoriah.Waterland@Sun.COM 	"open lock file busy <%s>: sleeping <%d>")
5789781SMoriah.Waterland@Sun.COM 
5799781SMoriah.Waterland@Sun.COM #define	MSG_LOCK_OPENFILE_FAILURE	gettext(\
5809781SMoriah.Waterland@Sun.COM 	"open lock file could not be opened: %s")
5819781SMoriah.Waterland@Sun.COM 
5829781SMoriah.Waterland@Sun.COM #define	MSG_LOCK_OPENFILE_SLEEP2	gettext(\
5839781SMoriah.Waterland@Sun.COM 	"open lock file cannot obtain record lock <%s>: sleeping <%d>")
5849781SMoriah.Waterland@Sun.COM 
5859781SMoriah.Waterland@Sun.COM #define	MSG_LOCK_OPENFILE_FAIL2	gettext(\
5869781SMoriah.Waterland@Sun.COM 	"open lock file could not obtain record lock: <%s>")
5879781SMoriah.Waterland@Sun.COM 
5889781SMoriah.Waterland@Sun.COM #define	MSG_LOCK_OPENFILE_SUCCESS	gettext(\
5899781SMoriah.Waterland@Sun.COM 	"open lock file: opened and locked fd <%d>")
5909781SMoriah.Waterland@Sun.COM 
5919781SMoriah.Waterland@Sun.COM #define	MSG_LOCK_STATUS_READRECORD	gettext(\
5929781SMoriah.Waterland@Sun.COM 	"status read record <%d>: count <%d> object <%s> key <%s> pid <%ld> " \
5939781SMoriah.Waterland@Sun.COM 	"zid <%ld>")
5949781SMoriah.Waterland@Sun.COM 
5959781SMoriah.Waterland@Sun.COM #define	MSG_LOCK_STATUS_ENTRY	gettext(\
5969781SMoriah.Waterland@Sun.COM 	"status key=<%s> object=<%s>")
5979781SMoriah.Waterland@Sun.COM 
5989781SMoriah.Waterland@Sun.COM #define	MSG_LOCK_RELEASE_FOUND		gettext(\
5999781SMoriah.Waterland@Sun.COM 	"object <%s> key <%s> is locked: decrementing lock count")
6009781SMoriah.Waterland@Sun.COM 
6019781SMoriah.Waterland@Sun.COM #define	MSG_LOCK_RELEASE_ENTRY	gettext(\
6029781SMoriah.Waterland@Sun.COM 	"release lock key=<%s> object=<%s> quiet=<%d>")
6039781SMoriah.Waterland@Sun.COM 
6049781SMoriah.Waterland@Sun.COM #define	MSG_LOCK_RELEASE_FINDRESULT	gettext(\
6059781SMoriah.Waterland@Sun.COM 	"release lock result <%d> record <%d>")
6069781SMoriah.Waterland@Sun.COM 
6079781SMoriah.Waterland@Sun.COM #define	MSG_LOCK_ACQUIRE_FOUND_INC	gettext(\
6089781SMoriah.Waterland@Sun.COM 	"object <%s> key <%s> is locked: incrementing <%s> lock count")
6099781SMoriah.Waterland@Sun.COM 
6109781SMoriah.Waterland@Sun.COM #define	MSG_LOCK_ACQUIRE_ENTRY	gettext(\
6119781SMoriah.Waterland@Sun.COM 	"acquire lock key=<%s> object=<%s> quiet=<%d> exclusive=<%d>")
6129781SMoriah.Waterland@Sun.COM 
6139781SMoriah.Waterland@Sun.COM #define	MSG_LOCK_ACQUIRE_FINDRESULT	gettext(\
6149781SMoriah.Waterland@Sun.COM 	"acquire %s lock result <%d> record <%d>")
6159781SMoriah.Waterland@Sun.COM 
6169781SMoriah.Waterland@Sun.COM #define	MSG_LOCK_ACQUIRE_LOCKED_SHARED	gettext(\
6179781SMoriah.Waterland@Sun.COM 	"object <%s> key <%s> is locked but shared: incrementing lock count")
6189781SMoriah.Waterland@Sun.COM 
6199781SMoriah.Waterland@Sun.COM #define	MSG_LOCK_ACQUIRE_NOTLOCKED	gettext(\
6209781SMoriah.Waterland@Sun.COM 	"cannot acquire %s lock on <%s> key <%s>: object not locked " \
6219781SMoriah.Waterland@Sun.COM 	"and non-matching key specified")
6229781SMoriah.Waterland@Sun.COM 
6239781SMoriah.Waterland@Sun.COM #define	MSG_LOCK_ACQUIRE_NOTFOUND	gettext(\
6249781SMoriah.Waterland@Sun.COM 	"acquiring %s lock on object <%s>")
6259781SMoriah.Waterland@Sun.COM 
6269781SMoriah.Waterland@Sun.COM #ifdef	__cplusplus
6279781SMoriah.Waterland@Sun.COM }
6289781SMoriah.Waterland@Sun.COM #endif
6299781SMoriah.Waterland@Sun.COM 
6309781SMoriah.Waterland@Sun.COM #endif /* _PKGADM_MSGS_H */
631