xref: /illumos-gate/usr/src/cmd/svr4pkg/pkgadm/pkgadm_msgs.h (revision 21ecdf64e1e200cd74cadf771fc7ddc3d0062080)
1 /*
2  * CDDL HEADER START
3  *
4  * The contents of this file are subject to the terms of the
5  * Common Development and Distribution License (the "License").
6  * You may not use this file except in compliance with the License.
7  *
8  * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9  * or http://www.opensolaris.org/os/licensing.
10  * See the License for the specific language governing permissions
11  * and limitations under the License.
12  *
13  * When distributing Covered Code, include this CDDL HEADER in each
14  * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15  * If applicable, add the following below this CDDL HEADER, with the
16  * fields enclosed by brackets "[]" replaced with your own identifying
17  * information: Portions Copyright [yyyy] [name of copyright owner]
18  *
19  * CDDL HEADER END
20  */
21 
22 /*
23  * Copyright 2007 Sun Microsystems, Inc.  All rights reserved.
24  * Use is subject to license terms.
25  */
26 
27 #ifndef	_PKGADM_MSGS_H
28 #define	_PKGADM_MSGS_H
29 
30 
31 #include <libintl.h>
32 
33 #ifdef	__cplusplus
34 extern "C" {
35 #endif
36 
37 #ifdef	lint
38 #define	gettext(x)	x
39 #endif
40 
41 /* generic messages */
42 #define	MSG_BAD_SUB		gettext(\
43 	"\"%s\" is not a valid subcommand")
44 
45 #define	MSG_MISSING_OPERAND	gettext(\
46 	"-%c requires an operand")
47 
48 #define	MSG_USAGE		gettext(\
49 "usage:\n" \
50 "\n" \
51 "pkgadm addcert  [-ty] [-a app] [-k keystore] [-e keyfile]\n" \
52 "\t[-f format] [-n name] [-P passarg] [-p input_passarg]\n" \
53 "\t[-R rootpath] certfile\n" \
54 "\n" \
55 "\t- Adds a trusted CA certificate or user certificate\n" \
56 "\tand private key\n" \
57 "\n" \
58 "pkgadm removecert [-a app] [-k keystore] -n name [-P passarg]\n" \
59 "\t[-R rootpath]\n" \
60 "\n" \
61 "\t- Removes a trusted CA certificate or user certificate\n" \
62 "\tand private key\n" \
63 "\n" \
64 "pkgadm listcert  [-a app] [-f format] [-k keystore] -n name\n" \
65 "\t[-P passarg] [-o outfile] [-R rootpath]\n" \
66 "\n" \
67 "\t- Prints trusted CA certificates or user certificates\n" \
68 "\n" \
69 "pkgadm dbstatus [-R rootpath]\n" \
70 "\n" \
71 "\t- Returns 'text' - the text install database in use since Solaris 2.0\n" \
72 "\t  is the current install database in use.\n" \
73 "\n" \
74 "pkgadm -V\n" \
75 "\t- Displays packaging tools version\n" \
76 "\n" \
77 "pkgadm -?\n" \
78 "\t- Shows this help message\n")
79 
80 #define	MSG_WARNING		gettext(\
81 	"WARNING")
82 
83 #define	MSG_ERROR		gettext(\
84 	"ERROR")
85 
86 #define	MSG_T_OPTION_ARGS	gettext(\
87 	"-t option takes 2 or 3 arguments, not %d!\n")
88 
89 #define	MSG_T_RESULT_TWO	gettext(\
90 	"result <%d>: <%s> ~= <%s>\n")
91 
92 #define	MSG_T_RESULT_THREE	gettext(\
93 	"required <%d> actual <%d> <%30s> ~- <%30s>\n")
94 
95 #define	MSG_KEYSTORE_PASSPROMPT	gettext(\
96 	"Enter Keystore Password: ")
97 
98 #define	MSG_KEYSTORE_PASSOUTPROMPT	gettext(\
99 	"Type a Keystore protection Password.\n" \
100 	"Press ENTER for no protection password (not recommended): ")
101 
102 #define	MSG_PEM_PASSPROMPT	gettext(\
103 	"Enter PEM Passphrase: ")
104 
105 #define	MSG_ERROR		gettext(\
106 	"ERROR")
107 
108 /* warnings */
109 
110 #define	CREATE_PKGDIR_WARN	gettext(\
111 	"Creating directory <%s>\n")
112 
113 #define	MSG_WRN_UNKNOWN	gettext(\
114 	"Signer <%s> has unsupported signature, ignoring")
115 
116 #define	MSG_VALID_STALE		gettext(\
117 	"Removing stale lock on <%s> pid <%ld> zid <%ld>")
118 
119 /* errors */
120 
121 #define	MSG_FATAL			gettext(\
122 	"Fatal Error")
123 
124 #define	MSG_TOO_LONG			gettext(\
125 	"Length of <%s> exceeds maximum allowed length")
126 
127 #define	MSG_INTERNAL			gettext(\
128 	"Intenal Error <%s>")
129 
130 #define	MSG_OPEN			gettext(\
131 	"Cannot open <%s> for reading")
132 
133 #define	MSG_OPEN_WRITE			gettext(\
134 	"Cannot open <%s> for writing")
135 
136 #define	MSG_BAD_PASSARG			gettext(\
137 	"Invalid password retrieval method <%s>")
138 
139 #define	MSG_BAD_PASS			gettext(\
140 	"Invalid password")
141 
142 #define	ERR_LOG_FAIL			gettext(\
143 	"Failed to log message using format <%s>")
144 
145 #define	MSG_BAD_FORMAT			gettext(\
146 	"Invalid format: <%s>")
147 
148 #define	MSG_USER_NAME			gettext(\
149 	"An alias is required when adding user certificates")
150 
151 #define	MSG_TRUSTED_NAME		gettext(\
152 	"Trusted certificates cannot have an explicit alias")
153 
154 #define	MSG_MULTIPLE_TRUST		gettext(\
155 	"Found multiple certificates in <%s>.  You must explicitly trust " \
156 	"them using <%s>")
157 
158 #define	MSG_NO_MULTIPLE_TRUST		gettext(\
159 	"Found multiple certificates in <%s>.  You must explicitly trust " \
160 	"them using <%s>")
161 
162 #define	MSG_TRUSTED_KEY			gettext(\
163 	"Cannot supply private key when adding trusted certificates")
164 
165 #define	MSG_TRUST_KEY_FOUND		gettext(\
166 	"One or more private keys were found in trusted certificate file <%s>")
167 
168 #define	MSG_ADDCERT_ABORT		gettext(\
169 	"Addition of trusted certificate aborted by user request")
170 
171 
172 #define	MSG_NEED_KEY			gettext(\
173 	"No private key found in <%s>, must specify one with -e")
174 
175 #define	MSG_NO_PRIVKEY		gettext(\
176 	"No private key found in <%s>")
177 
178 #define	MSG_NO_CERTS		gettext(\
179 	"No certificates found in <%s>")
180 
181 #define	MSG_MULTIPLE_CERTS	gettext(\
182 	"Multiple certificates found in <%s>")
183 
184 #define	MSG_NO_ADDCERT	gettext(\
185 	"Cannot add certificate(s) from <%s>.  No changes have been made.")
186 
187 #define	MSG_NO_ADDKEY	gettext(\
188 	"Cannot add private key from <%s>.  No changes have been made.")
189 
190 #define	MSG_NO_REMOVECERT	gettext(\
191 	"Cannot remove certificate with alias <%s>")
192 
193 #define	MSG_VERIFY_TRUST	gettext(\
194 	"Are you sure you want to trust this certificate? ")
195 
196 #define	MSG_VERIFY_NOT_CA	gettext(\
197 	"\n" \
198 	"This certificate does not appear to be issued and signed\n" \
199 	"by a certificate authority (CA). CA Certificates are normally\n" \
200 	"self-signed and have CA Basic Constraints.\n" \
201 	"Are you sure you want to trust this certificate? ")
202 
203 #define	MSG_PARSE	gettext(\
204 	"Parsing error")
205 
206 #define	MSG_TRUSTED	gettext(\
207 	"Certificate(s) from <%s> are now trusted")
208 
209 #define	MSG_TRUSTING	gettext(\
210 	"Trusting certificate <%s>")
211 
212 #define	MSG_ADDED	gettext(\
213 	"Successfully added Certificate <%s> with alias <%s>")
214 
215 #define	MSG_REMOVED	gettext(\
216 	"Successfully removed Certificate(s) with alias <%s>")
217 
218 #define	MSG_MEM		gettext(\
219 	"Out of memory")
220 
221 #define	MSG_PRINT		gettext(\
222 	"Cannot print certificates to <%s>")
223 
224 #define	MSG_PROBLEM_CONVERT	gettext(\
225 	"Does %s/var/sadm exist?  Can the user write to it? (%s)")
226 
227 #define	MSG_CONTENTS_FORMAT	gettext(\
228 	"Operation failed due to corrupted install contents data file.")
229 
230 #define	MSG_MKDIR_FAILED	gettext(\
231 	"Could not mkdir for path %s.  %s.")
232 
233 #define	MSG_RENAME_FAILED	gettext(\
234 	"Could not rename %s to %s\n%s")
235 
236 #define	MSG_REMOVE_FAILED	gettext(\
237 	"Could not remove %s\n%s")
238 
239 #define	MSG_FILE_ACCESS		gettext(\
240 	"Operation failed: unable to access file %s: %s")
241 
242 #define	MSG_NOT_READABLE	gettext(\
243 	"Operation failed: unable to read file %s")
244 
245 #define	MSG_PATCH_UPGD gettext(\
246 	"Operation failed: unable to process patch information\n")
247 
248 #define	MSG_BUILD_INDEXES gettext(\
249 	"Operation failed: unable to build indexes\n")
250 
251 #define	MSG_FILE_NAME_TOO_LONG gettext(\
252 	"Operation failed: file name too long: %s\n")
253 
254 #define	MSG_ZONES_MISSING_REQUEST	gettext(\
255 	"Must specify operation to perform\n")
256 
257 #define	MSG_LOCK_ALTROOT_CANTCREATE	gettext(\
258 	"lock: cannot create alternative root directory <%s>: %s\n")
259 
260 #define	MSG_LOCK_ALTROOT_NONEXIST	gettext(\
261 	"lock: argument to -R <%s> is not a directory: %s\n")
262 
263 #define	MSG_LOCK_ROOTDIR_INVALID	gettext(\
264 	"lock: lock file base directory <%s> not valid: %s\n")
265 
266 #define	MSG_LOCK_WFLAG_BADINT	gettext(\
267 	"The integer value <%s> given to the -W option includes an " \
268 	"invalid character: \"%c\"\n")
269 
270 #define	MSG_LOCK_pFLAG_BADINT	gettext(\
271 	"The integer value <%s> given to the -p option includes an " \
272 	"invalid character: \"%c\"\n")
273 
274 #define	MSG_LOCK_zFLAG_BADINT	gettext(\
275 	"The integer value <%s> given to the -z option includes an " \
276 	"invalid character: \"%c\"\n")
277 
278 #define	MSG_LOCK_nFLAG_BADINT	gettext(\
279 	"The integer value <%s> given to the -n option includes an " \
280 	"invalid character: \"%c\"\n")
281 
282 #define	MSG_LOCK_ar_TOGETHER	gettext(\
283 	"lock: The -a and -r options cannot be used together: "\
284 	"specify only one.\n")
285 
286 #define	MSG_LOCK_kARG_TOOLONG	gettext(\
287 	"Argument to -k is <%d> characters: may not exceed <%d> characters\n")
288 
289 #define	MSG_LOCK_oARG_TOOLONG	gettext(\
290 	"Argument to -o is <%d> characters: may not exceed <%d> characters\n")
291 
292 #define	MSG_LOCK_RARG_NOT_ABSOLUTE	gettext(\
293 	"Argument to -R must be absolute path: %s")
294 
295 #define	MSG_LOCK_WFLAG_ERROR	gettext(\
296 	"Argument to -W has problem with wait interval <%s>: %s")
297 
298 #define	MSG_LOCK_pFLAG_ERROR	gettext(\
299 	"Argument to -p has problem with process i.d. value <%s>: %s")
300 
301 #define	MSG_LOCK_zFLAG_ERROR	gettext(\
302 	"Argument to -p has problem with zone i.d. value <%s>: %s")
303 
304 #define	MSG_LOCK_nFLAG_ERROR	gettext(\
305 	"Argument to -n has problem with maximum number of retries " \
306 	"value <%s>: %s")
307 
308 #define	MSG_LOCK_es_TOGETHER	gettext(\
309 	"lock: The -e and -s options cannot be used together: "\
310 	"specify only one.\n")
311 
312 #define	MSG_LOCK_ak_TOGETHER	gettext(\
313 	"lock: The -k option cannot be used with the -a option.\n")
314 
315 #define	MSG_LOCK_e_without_a	gettext(\
316 	"lock: The -e option can only be used with the -a option.\n")
317 
318 #define	MSG_LOCK_s_without_a	gettext(\
319 	"lock: The -s option can only be used with the -a option.\n")
320 
321 #define	MSG_LOCK_ACQUIRE_KEYMISMATCH	gettext(\
322 	"cannot acquire %s lock on <%s>: object locked and specified key " \
323 	"does not match")
324 
325 #define	MSG_LOCK_ACQUIRE_ERROR	gettext(\
326 	"cannot determine if object <%s> key <%s> is locked: %s")
327 
328 #define	MSG_LOCK_ACQUIRE_TIMEDOUT	gettext(\
329 	"cannot acquire %s lock on <%s> key <%s>: object locked, no key " \
330 	"was specified, and the wait timed out")
331 
332 #define	MSG_LOCK_ACQUIRE_WAITING	gettext(\
333 	"object <%s> is locked: waiting for object to become available")
334 
335 #define	MSG_LOCK_ACQUIRE_REOPEN_FAILED	gettext(\
336 	"cannot reopen lock file after waiting for lock on object " \
337 	"<%s> to be released")
338 
339 #define	MSG_LOCK_RELEASE_NOTLOCKED	gettext(\
340 	"cannot release lock on <%s> key <%s>: object not locked and " \
341 	"a key was specified")
342 
343 #define	MSG_LOCK_RELEASE_LOCKED		gettext(\
344 	"cannot release lock on <%s> key <%s>: object locked but no " \
345 	"key was specified")
346 
347 #define	MSG_LOCK_RELEASE_NOTFOUND	gettext(\
348 	"cannot release lock on <%s> key <%s>: object is not locked")
349 
350 #define	MSG_LOCK_RELEASE_KEYMISMATCH	gettext(\
351 	"cannot release lock on <%s>: object locked and specified key " \
352 	"does not match")
353 
354 #define	MSG_LOCK_RELEASE_ERROR		gettext(\
355 	"cannot determine if object <%s> key <%s> is locked")
356 
357 #define	MSG_LOCK_EXEC_ACCESS	gettext(\
358 	"cannot execute command <%s>: %s")
359 
360 #define	MSG_LOCK_EXEC_NOINPUT	gettext(\
361 	"cannot open input file <%s>: %s")
362 
363 #define	MSG_LOCK_EXEC_NOPIPE	gettext(\
364 	"cannot create pipe: %s")
365 
366 #define	MSG_LOCK_FINDLOCK_LSEEK_FAILURE	gettext(\
367 	"cannot find lock <%s> key <%s>: lseek failure: %s")
368 
369 #define	MSG_LOCK_ADDLOCK_PWRITE_FAILURE	gettext(\
370 	"cannot create %s lock for object <%s>: pwrite failure: %s")
371 
372 #define	MSG_LOCK_ADDLOCK_LSEEK_FAILURE	gettext(\
373 	"cannot create %s lock for object <%s>: lseek failure: %s")
374 
375 #define	MSG_LOCK_INCLOCK_PWRITE_FAILURE	gettext(\
376 	"cannot increment %s lock for object <%s>: pwrite failure: %s")
377 
378 #define	MSG_LOCK_DECLOCK_PWRITE_FAILURE	gettext(\
379 	"cannot decrement %s lock for object <%s>: pwrite failure: %s")
380 
381 #define	MSG_LOCK_DECLOCK_PREAD_FAILURE	gettext(\
382 	"cannot decrement %s lock for object <%s>: pread failure: %s")
383 
384 #define	MSG_LOCK_DECLOCK_LSEEK_FAILURE	gettext(\
385 	"cannot decrement %s lock for object <%s>: lseek failure: %s")
386 
387 #define	MSG_LOCK_DECLOCK_FTRUNCATE_FAILURE	gettext(\
388 	"cannot decrement %s lock for object <%s>: ftruncate failure: %s")
389 
390 /*
391  * i18n:
392  * next two messages grouped together
393  */
394 
395 #define	MSG_LOCK_ACQUIRE_BUSY_QUASI	gettext(\
396 	"cannot acquire %s lock on <%s> key <%s>: object matches wildcard " \
397 	"<%s> lock%s")
398 #define	MSG_LOCK_ACQUIRE_BUSY_FIRST	gettext(\
399 	"cannot acquire %s lock on <%s> key <%s>: object <%s> is locked <%s>%s")
400 
401 /*
402  * i18n: note this message may be appended to the previous message
403  * by supplying it to the final "%s" at the end of the line above;
404  * that is either:
405  *  cannot acquire %s lock on <%s> key <%s>: object is locked <%s>
406  * or:
407  *  cannot acquire %s lock on <%s> [...] is locked <%s> and no key specified
408  */
409 
410 #define	MSG_LOCK_ACQUIRE_BUSY_ADDITIONAL	gettext(\
411 	" and no key specified")
412 
413 /*
414  * i18n: note these two "messages" are inserted into other
415  * messages, such as:
416  * 	cannot acquire %s lock on <%s>
417  * will be either:
418  *	cannot acquire shared lock on <%s>
419  * or
420  *	cannot acquire exclusive lock on <%s>
421  */
422 
423 #define	MSG_LOCK_EXC	gettext(\
424 	"exclusive")
425 
426 #define	MSG_LOCK_SHR		gettext(\
427 	"shared")
428 
429 /*
430  * i18n: note these messages are "debugging" messages and will normally
431  * not be seen unless debugging has been enabled for problem root causing
432  * so they are not meant to be perfectly "human readable"
433  */
434 
435 #define	MSG_VALID_NOPID		gettext(\
436 	"validate lock <%s>: VALID (no pid)")
437 
438 #define	MSG_VALID_BADZID	gettext(\
439 	"validate lock <%s>: VALID (lock zid <%ld> this zid <%ld>)")
440 
441 #define	MSG_VALID_ZIDOK	gettext(\
442 	"validate lock <%s>: zone i.d.s match (lock zid <%ld> this zid <%ld>)")
443 
444 #define	MSG_VALID_OK		gettext(\
445 	"validate lock <%s> pid <%ld> path <%s>: VALID")
446 
447 #define	MSG_VALID_NOTOK		gettext(\
448 	"validate lock <%s> pid <%ld> path <%s>: NOT VALID")
449 
450 #define	MSG_LCKMCH_ENTRY	gettext(\
451 	"lockMatch: *** BEGIN *** compare objects <%s> <%s>")
452 
453 #define	MSG_LCKMCH_FSTNODE	gettext(\
454 	"lockMatch: first lock node (%d) <%s>")
455 
456 #define	MSG_LCKMCH_SCNDNODE	gettext(\
457 	"lockMatch: second lock node (%d) <%s>")
458 
459 #define	MSG_LCKMCH_NODES	gettext(\
460 	"lockMatch: first lock node <%s> prefix <%s> (%d) second lock " \
461 	" node <%s> prefix <%s> (%d)")
462 
463 #define	MSG_LCKMCH_DIRMCH	gettext(\
464 	"lockMatch: no prefix direct comparison: match: <%s> <%s>")
465 
466 #define	MSG_LCKMCH_DIRNOMCH	gettext(\
467 	"lockMatch: no prefix direct comparison: NO MATCH: <%s> <%s>")
468 
469 #define	MSG_LCKMCH_PFXMCH	gettext(\
470 	"lockMatch: prefix comparison: match: <%s> <%s>")
471 
472 #define	MSG_LCKMCH_PFXNOMCH	gettext(\
473 	"lockMatch: prefix comparison: NO MATCH: <%s> <%s>")
474 
475 #define	MSG_LCKMCH_FSTLCK	gettext(\
476 	"lockMatch: first lock index (%d) last scanned node <%s> prefix " \
477 	"<%s> (%d)")
478 
479 #define	MSG_LCKMCH_SCNDLCK	gettext(\
480 	"lockMatch: second lock index (%d) last scanned node <%s> prefix " \
481 	"<%s> (%d)")
482 
483 #define	MSG_LCKMCH_ABSNOMCH	gettext(\
484 	"lockMatch: absolute locks: NO MATCH: <%s> <%s>")
485 
486 #define	MSG_LCKMCH_OBJMCH	gettext(\
487 	"lockMatch: object locks: match: <%s> <%s>")
488 
489 #define	MSG_LCKMCH_OVLPNOMCH	gettext(\
490 	"lockMatch: nonmatching overlapping objects: <%s> <%s> before " \
491 	"(%d) <%s>")
492 
493 #define	MSG_LCKMCH_SAME	gettext(\
494 	"lockMatch: locks begin with same node - compare: <%s> <%s> at <%s>")
495 
496 #define	MSG_LCKMCH_SCNDSUB	gettext(\
497 	"lockMatch: second lock <%s> subset of <%s> at (%d) <%s>")
498 
499 #define	MSG_LCKMCH_FRSTSUB	gettext(\
500 	"lockMatch: first lock <%s> subset of <%s> at (%d) <%s>")
501 
502 #define	MSG_LCKMCH_DONTKNOW	gettext(\
503 	"lockMatch: unable to determine how to compare locks: <%s> <%s>: " \
504 	"using direct comparision")
505 
506 #define	MSG_LCKMCH_READY	gettext(\
507 	"lockMatch: comparing nodes locks <%s> <%s>")
508 
509 #define	MSG_LCKMCH_NODEFAIL	gettext(\
510 	"lockMatch: node (%d) comparison: NO MATCH: <%s> != <%s>")
511 
512 #define	MSG_LCKMCH_NODEOK	gettext(\
513 	"lockMatch: node (%d) comparision: match: <%s> == <%s>")
514 
515 #define	MSG_LCKMCH_MATCHOK	gettext(\
516 	"lockMatch: locks match: <%s> == <%s>")
517 
518 #define	MSG_LOCK_EXEC_RESULTS	gettext(\
519 	"command <%s> executed: pid <%d> errno <0x%04x> status <0x%04x> " \
520 	"final status <0x%04x> output <%s>")
521 
522 #define	MSG_LOCK_GENUID_MAKEUUID	gettext(\
523 	"generated new unique key using makeuuid: %s")
524 
525 #define	MSG_LOCK_GENUID_INTERNAL	gettext(\
526 	"generated new unique key using date: %s")
527 
528 #define	MSG_LOCK_DECLOCK_DECING	gettext(\
529 	"decrement <%s> lock count record <%d> count <%d>")
530 
531 #define	MSG_LOCK_DECLOCK_DONE	gettext(\
532 	"decrement lock record <%d> count <%d> object <%s> key <%s>")
533 
534 #define	MSG_LOCK_DECLOCK_REMOVE	gettext(\
535 	"decrement lock remove record lastPos %ld last record %d " \
536 	"current record %d")
537 
538 #define	MSG_LOCK_DECLOCK_LASTONE	gettext(\
539 	"decrement lock removing <%s> lock last record <%d> " \
540 	"truncating to <%ld>")
541 
542 #define	MSG_LOCK_DECLOCK_REMOVING	gettext(\
543 	"decrement lock removing record <%d> last record <%d> " \
544 	"truncating to <%ld>")
545 
546 #define	MSG_LOCK_INCLOCK_ENTRY	gettext(\
547 	"increment <%s> lock count record <%d> count <%d>")
548 
549 #define	MSG_LOCK_INCLOCK_DONE	gettext(\
550 	"increment lock record <%d> count <%d> object <%s> key <%s>")
551 
552 #define	MSG_LOCK_ADDLOCK_ADDING	gettext(\
553 	"adding %s lock pos <%d> object <%s> key <%s> pid <%ld> zid <%ld>")
554 
555 #define	MSG_LOCK_FINDLOCK_ENTRY	gettext(\
556 	"find lock object <%s> key <%s>")
557 
558 #define	MSG_LOCK_FINDLOCK_READRECORD	gettext(\
559 	"find lock read record <%d>: count <%d> object <%s> key <%s> pid " \
560 	"<%ld> zid <%ld>")
561 
562 #define	MSG_LOCK_FINDLOCK_FOUND	gettext(\
563 	"find lock record found")
564 
565 #define	MSG_LOCK_FINDLOCK_NOTFOUND	gettext(\
566 	"find lock record not found")
567 
568 #define	MSG_LOCK_OPENFILE_ENTRY	gettext(\
569 	"open lock file root <%s> file <%s>")
570 
571 #define	MSG_LOCK_OPENFILE_SLEEPING	gettext(\
572 	"open lock file busy <%s>: sleeping <%d>")
573 
574 #define	MSG_LOCK_OPENFILE_FAILURE	gettext(\
575 	"open lock file could not be opened: %s")
576 
577 #define	MSG_LOCK_OPENFILE_SLEEP2	gettext(\
578 	"open lock file cannot obtain record lock <%s>: sleeping <%d>")
579 
580 #define	MSG_LOCK_OPENFILE_FAIL2	gettext(\
581 	"open lock file could not obtain record lock: <%s>")
582 
583 #define	MSG_LOCK_OPENFILE_SUCCESS	gettext(\
584 	"open lock file: opened and locked fd <%d>")
585 
586 #define	MSG_LOCK_STATUS_READRECORD	gettext(\
587 	"status read record <%d>: count <%d> object <%s> key <%s> pid <%ld> " \
588 	"zid <%ld>")
589 
590 #define	MSG_LOCK_STATUS_ENTRY	gettext(\
591 	"status key=<%s> object=<%s>")
592 
593 #define	MSG_LOCK_RELEASE_FOUND		gettext(\
594 	"object <%s> key <%s> is locked: decrementing lock count")
595 
596 #define	MSG_LOCK_RELEASE_ENTRY	gettext(\
597 	"release lock key=<%s> object=<%s> quiet=<%d>")
598 
599 #define	MSG_LOCK_RELEASE_FINDRESULT	gettext(\
600 	"release lock result <%d> record <%d>")
601 
602 #define	MSG_LOCK_ACQUIRE_FOUND_INC	gettext(\
603 	"object <%s> key <%s> is locked: incrementing <%s> lock count")
604 
605 #define	MSG_LOCK_ACQUIRE_ENTRY	gettext(\
606 	"acquire lock key=<%s> object=<%s> quiet=<%d> exclusive=<%d>")
607 
608 #define	MSG_LOCK_ACQUIRE_FINDRESULT	gettext(\
609 	"acquire %s lock result <%d> record <%d>")
610 
611 #define	MSG_LOCK_ACQUIRE_LOCKED_SHARED	gettext(\
612 	"object <%s> key <%s> is locked but shared: incrementing lock count")
613 
614 #define	MSG_LOCK_ACQUIRE_NOTLOCKED	gettext(\
615 	"cannot acquire %s lock on <%s> key <%s>: object not locked " \
616 	"and non-matching key specified")
617 
618 #define	MSG_LOCK_ACQUIRE_NOTFOUND	gettext(\
619 	"acquiring %s lock on object <%s>")
620 
621 #ifdef	__cplusplus
622 }
623 #endif
624 
625 #endif /* _PKGADM_MSGS_H */
626