xref: /titanic_41/usr/src/cmd/devfsadm/message.h (revision 7c478bd95313f5f23a4c958a745db2134aa03244)
1*7c478bd9Sstevel@tonic-gate /*
2*7c478bd9Sstevel@tonic-gate  * CDDL HEADER START
3*7c478bd9Sstevel@tonic-gate  *
4*7c478bd9Sstevel@tonic-gate  * The contents of this file are subject to the terms of the
5*7c478bd9Sstevel@tonic-gate  * Common Development and Distribution License, Version 1.0 only
6*7c478bd9Sstevel@tonic-gate  * (the "License").  You may not use this file except in compliance
7*7c478bd9Sstevel@tonic-gate  * with the License.
8*7c478bd9Sstevel@tonic-gate  *
9*7c478bd9Sstevel@tonic-gate  * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
10*7c478bd9Sstevel@tonic-gate  * or http://www.opensolaris.org/os/licensing.
11*7c478bd9Sstevel@tonic-gate  * See the License for the specific language governing permissions
12*7c478bd9Sstevel@tonic-gate  * and limitations under the License.
13*7c478bd9Sstevel@tonic-gate  *
14*7c478bd9Sstevel@tonic-gate  * When distributing Covered Code, include this CDDL HEADER in each
15*7c478bd9Sstevel@tonic-gate  * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
16*7c478bd9Sstevel@tonic-gate  * If applicable, add the following below this CDDL HEADER, with the
17*7c478bd9Sstevel@tonic-gate  * fields enclosed by brackets "[]" replaced with your own identifying
18*7c478bd9Sstevel@tonic-gate  * information: Portions Copyright [yyyy] [name of copyright owner]
19*7c478bd9Sstevel@tonic-gate  *
20*7c478bd9Sstevel@tonic-gate  * CDDL HEADER END
21*7c478bd9Sstevel@tonic-gate  */
22*7c478bd9Sstevel@tonic-gate /*
23*7c478bd9Sstevel@tonic-gate  * Copyright 2004 Sun Microsystems, Inc.  All rights reserved.
24*7c478bd9Sstevel@tonic-gate  * Use is subject to license terms.
25*7c478bd9Sstevel@tonic-gate  */
26*7c478bd9Sstevel@tonic-gate 
27*7c478bd9Sstevel@tonic-gate #ifndef	_MESSAGE_H
28*7c478bd9Sstevel@tonic-gate #define	_MESSAGE_H
29*7c478bd9Sstevel@tonic-gate 
30*7c478bd9Sstevel@tonic-gate #pragma ident	"%Z%%M%	%I%	%E% SMI"
31*7c478bd9Sstevel@tonic-gate 
32*7c478bd9Sstevel@tonic-gate #ifdef	__cplusplus
33*7c478bd9Sstevel@tonic-gate extern "C" {
34*7c478bd9Sstevel@tonic-gate #endif
35*7c478bd9Sstevel@tonic-gate 
36*7c478bd9Sstevel@tonic-gate #define	CANNOT_BE_USED \
37*7c478bd9Sstevel@tonic-gate 	gettext("Pattern '%s' cannot be used with device '%s:%s'\n")
38*7c478bd9Sstevel@tonic-gate 
39*7c478bd9Sstevel@tonic-gate #define	MUST_BE_ROOT gettext("you must be root to run this program\n")
40*7c478bd9Sstevel@tonic-gate 
41*7c478bd9Sstevel@tonic-gate #define	CANT_FIND_USER gettext("name service cannot find user: %s\n")
42*7c478bd9Sstevel@tonic-gate 
43*7c478bd9Sstevel@tonic-gate #define	CANT_FIND_GROUP gettext("name service cannot find group %s\n")
44*7c478bd9Sstevel@tonic-gate 
45*7c478bd9Sstevel@tonic-gate #define	NO_LINKTAB gettext("no devlink.tab rules loaded from file '%s'\n")
46*7c478bd9Sstevel@tonic-gate 
47*7c478bd9Sstevel@tonic-gate #define	NO_MODULES gettext("no modules loaded from MODPATH '%s'\n")
48*7c478bd9Sstevel@tonic-gate 
49*7c478bd9Sstevel@tonic-gate #define	ABORTING gettext("aborting\n")
50*7c478bd9Sstevel@tonic-gate 
51*7c478bd9Sstevel@tonic-gate #define	MODIFY_PATH gettext("use devfsadm -l to modify\n")
52*7c478bd9Sstevel@tonic-gate 
53*7c478bd9Sstevel@tonic-gate #define	CONFIGURING gettext("Configuring devices.\n")
54*7c478bd9Sstevel@tonic-gate 
55*7c478bd9Sstevel@tonic-gate #define	CHROOT_FAILED gettext("chdir to root failed: %s\n")
56*7c478bd9Sstevel@tonic-gate 
57*7c478bd9Sstevel@tonic-gate #define	DAEMON_RUNNING gettext("daemon pid %d is already running\n")
58*7c478bd9Sstevel@tonic-gate 
59*7c478bd9Sstevel@tonic-gate #define	ALIAS_TOO_LONG \
60*7c478bd9Sstevel@tonic-gate gettext("alias name is too long; must be %d characters or less: %s\n")
61*7c478bd9Sstevel@tonic-gate 
62*7c478bd9Sstevel@tonic-gate #define	MAJOR_AND_B_FLAG \
63*7c478bd9Sstevel@tonic-gate gettext("must specify major number and driver name when using the -b flag\n")
64*7c478bd9Sstevel@tonic-gate 
65*7c478bd9Sstevel@tonic-gate #define	MODCTL_ADDMAJBIND \
66*7c478bd9Sstevel@tonic-gate gettext("modctl failed to add major number binding.\n")
67*7c478bd9Sstevel@tonic-gate 
68*7c478bd9Sstevel@tonic-gate #define	DRIVER_FAILURE gettext("driver failed to attach: %s\n")
69*7c478bd9Sstevel@tonic-gate 
70*7c478bd9Sstevel@tonic-gate #define	IS_EVENTD_RUNNING gettext("check to make sure syseventd is running\n")
71*7c478bd9Sstevel@tonic-gate 
72*7c478bd9Sstevel@tonic-gate #define	UNKNOWN_EVENT gettext("parse_event: unknown event type: %s\n")
73*7c478bd9Sstevel@tonic-gate 
74*7c478bd9Sstevel@tonic-gate #define	DI_INIT_FAILED gettext("di_init failed for %s: %s\n")
75*7c478bd9Sstevel@tonic-gate 
76*7c478bd9Sstevel@tonic-gate #define	CLONE_NOT_FOUND gettext("di_init failed to find clone entry for %s\n")
77*7c478bd9Sstevel@tonic-gate 
78*7c478bd9Sstevel@tonic-gate #define	DLOPEN_FAILED gettext("dlopen failed: %s: %s\n")
79*7c478bd9Sstevel@tonic-gate 
80*7c478bd9Sstevel@tonic-gate #define	REGCOMP_FAILED gettext("regcomp failed for %s: error code: %d\n")
81*7c478bd9Sstevel@tonic-gate 
82*7c478bd9Sstevel@tonic-gate #define	IGNORING_ENTRY \
83*7c478bd9Sstevel@tonic-gate gettext("ignoring devfsadm_create entry #%d in module %s\n")
84*7c478bd9Sstevel@tonic-gate 
85*7c478bd9Sstevel@tonic-gate #define	CANT_CREATE_THREAD gettext("can not create thread %s: %s\n")
86*7c478bd9Sstevel@tonic-gate 
87*7c478bd9Sstevel@tonic-gate #define	CANT_CREATE_DOOR gettext("can not create event door %s: %s\n")
88*7c478bd9Sstevel@tonic-gate 
89*7c478bd9Sstevel@tonic-gate #define	CANT_CREATE_ZONE_DOOR \
90*7c478bd9Sstevel@tonic-gate     gettext("can not create zone registration door %s: %s\n")
91*7c478bd9Sstevel@tonic-gate 
92*7c478bd9Sstevel@tonic-gate #define	FAILED_FOR_MODULE gettext("%s failed for module %s\n")
93*7c478bd9Sstevel@tonic-gate 
94*7c478bd9Sstevel@tonic-gate #define	REMOVING_LINK gettext("removing link %s -> %s invalid contents\n")
95*7c478bd9Sstevel@tonic-gate 
96*7c478bd9Sstevel@tonic-gate #define	CREATING_LINK gettext("symlink %s -> %s\n")
97*7c478bd9Sstevel@tonic-gate 
98*7c478bd9Sstevel@tonic-gate #define	SYMLINK_FAILED gettext("symlink failed for %s -> %s: %s\n")
99*7c478bd9Sstevel@tonic-gate 
100*7c478bd9Sstevel@tonic-gate #define	MAX_ATTEMPTS \
101*7c478bd9Sstevel@tonic-gate gettext("cannot create link: %s -> %s.  max attempts exceeded\n")
102*7c478bd9Sstevel@tonic-gate 
103*7c478bd9Sstevel@tonic-gate #define	PERM_MSG gettext("chown/chmod %s %ul/%ul/%o\n")
104*7c478bd9Sstevel@tonic-gate 
105*7c478bd9Sstevel@tonic-gate #define	NO_DEVFS_NODE gettext("no devfs node or mismatched dev_t for %s\n")
106*7c478bd9Sstevel@tonic-gate 
107*7c478bd9Sstevel@tonic-gate #define	CHMOD_FAILED gettext("chmod failed for %s: %s\n")
108*7c478bd9Sstevel@tonic-gate 
109*7c478bd9Sstevel@tonic-gate #define	CHOWN_FAILED gettext("chown failed for %s: %s\n")
110*7c478bd9Sstevel@tonic-gate 
111*7c478bd9Sstevel@tonic-gate #define	RM_INVALID_MINOR_NODE gettext("removing node %s.  invalid st_rdev\n")
112*7c478bd9Sstevel@tonic-gate 
113*7c478bd9Sstevel@tonic-gate #define	OPENDIR_FAILED gettext("opendir failed for %s: %s\n")
114*7c478bd9Sstevel@tonic-gate 
115*7c478bd9Sstevel@tonic-gate #define	READLINK_FAILED gettext("%s: readlink failed for %s: %s\n")
116*7c478bd9Sstevel@tonic-gate 
117*7c478bd9Sstevel@tonic-gate #define	CANT_LOAD_SYSCALL gettext("cannot load system call for inst_sync\n")
118*7c478bd9Sstevel@tonic-gate 
119*7c478bd9Sstevel@tonic-gate #define	SUPER_TO_SYNC \
120*7c478bd9Sstevel@tonic-gate gettext("you must be superuser to sync /etc/path_to_inst\n")
121*7c478bd9Sstevel@tonic-gate 
122*7c478bd9Sstevel@tonic-gate #define	INSTSYNC_FAILED gettext("inst_sync failed for %s: %s\n")
123*7c478bd9Sstevel@tonic-gate 
124*7c478bd9Sstevel@tonic-gate #define	RENAME_FAILED gettext("rename failed for %s: %s\n")
125*7c478bd9Sstevel@tonic-gate 
126*7c478bd9Sstevel@tonic-gate #define	CANT_UPDATE gettext("cannot update: %s\n")
127*7c478bd9Sstevel@tonic-gate 
128*7c478bd9Sstevel@tonic-gate #define	FCLOSE_FAILED gettext("fclose failed: %s: %s\n")
129*7c478bd9Sstevel@tonic-gate 
130*7c478bd9Sstevel@tonic-gate #define	FAILED_TO_UPDATE gettext("WARNING: failed to update %s\n")
131*7c478bd9Sstevel@tonic-gate 
132*7c478bd9Sstevel@tonic-gate #define	OPEN_FAILED gettext("open failed for %s: %s\n")
133*7c478bd9Sstevel@tonic-gate 
134*7c478bd9Sstevel@tonic-gate #define	LSEEK_FAILED gettext("lseek failed for %s: %s\n")
135*7c478bd9Sstevel@tonic-gate 
136*7c478bd9Sstevel@tonic-gate #define	LOCK_FAILED gettext("fcntl(F_SETLKW) failed for %s: %s\n")
137*7c478bd9Sstevel@tonic-gate 
138*7c478bd9Sstevel@tonic-gate #define	WRITE_FAILED gettext("write failed for %s: %s\n")
139*7c478bd9Sstevel@tonic-gate 
140*7c478bd9Sstevel@tonic-gate #define	UNLOCK_FAILED gettext("fcntl(F_UNLCK) failed for %s: %s\n")
141*7c478bd9Sstevel@tonic-gate 
142*7c478bd9Sstevel@tonic-gate #define	CLOSE_FAILED gettext("close failed for %s: %s\n")
143*7c478bd9Sstevel@tonic-gate 
144*7c478bd9Sstevel@tonic-gate #define	LSTAT_FAILED gettext("lstat failed for %s: %s\n")
145*7c478bd9Sstevel@tonic-gate 
146*7c478bd9Sstevel@tonic-gate #define	STAT_FAILED gettext("stat failed for %s: %s\n")
147*7c478bd9Sstevel@tonic-gate 
148*7c478bd9Sstevel@tonic-gate #define	GID_FAILED gettext("cannot determine gid for %d: %s\n")
149*7c478bd9Sstevel@tonic-gate 
150*7c478bd9Sstevel@tonic-gate #define	MKNOD_FAILED gettext("mknod failed for %s: %s\n")
151*7c478bd9Sstevel@tonic-gate 
152*7c478bd9Sstevel@tonic-gate #define	MODGETNAME_FAILED gettext("MODGETNAME failed for major number %lu\n")
153*7c478bd9Sstevel@tonic-gate 
154*7c478bd9Sstevel@tonic-gate #define	FIND_MAJOR_FAILED gettext("could not find major number for driver %s\n")
155*7c478bd9Sstevel@tonic-gate 
156*7c478bd9Sstevel@tonic-gate #define	FOPEN_FAILED gettext("fopen failed for %s: %s\n")
157*7c478bd9Sstevel@tonic-gate 
158*7c478bd9Sstevel@tonic-gate #define	IGNORING_LINE_IN gettext("line %d:  malformed in %s\n")
159*7c478bd9Sstevel@tonic-gate 
160*7c478bd9Sstevel@tonic-gate #define	MISSING_TAB \
161*7c478bd9Sstevel@tonic-gate gettext("line %d: configuration file %s has a missing tab -- ignoring\n")
162*7c478bd9Sstevel@tonic-gate 
163*7c478bd9Sstevel@tonic-gate #define	MISSING_DEVNAME \
164*7c478bd9Sstevel@tonic-gate gettext("line %d: configuration file %s has a missing dev name field -- \
165*7c478bd9Sstevel@tonic-gate ignoring\n")
166*7c478bd9Sstevel@tonic-gate 
167*7c478bd9Sstevel@tonic-gate #define	TOO_MANY_FIELDS \
168*7c478bd9Sstevel@tonic-gate gettext("line %d:  configuration file %s has too many fields -- ignoring\n")
169*7c478bd9Sstevel@tonic-gate 
170*7c478bd9Sstevel@tonic-gate #define	LINE_TOO_LONG \
171*7c478bd9Sstevel@tonic-gate gettext("Line %d too long in configuration file %s -- should be less \
172*7c478bd9Sstevel@tonic-gate than %d characters\n")
173*7c478bd9Sstevel@tonic-gate 
174*7c478bd9Sstevel@tonic-gate #define	UNRECOGNIZED_KEY \
175*7c478bd9Sstevel@tonic-gate gettext("unrecognized keyword '%s' -- ignoring line %d of file %s\n")
176*7c478bd9Sstevel@tonic-gate 
177*7c478bd9Sstevel@tonic-gate #define	BADKEYWORD gettext("bad keyword '%s' on line %d of file %s\n")
178*7c478bd9Sstevel@tonic-gate 
179*7c478bd9Sstevel@tonic-gate #define	MISSING_EQUAL \
180*7c478bd9Sstevel@tonic-gate 	gettext("missing '=' in devfs_spec field line %d from file %s\n")
181*7c478bd9Sstevel@tonic-gate 
182*7c478bd9Sstevel@tonic-gate #define	CONFIG_INCORRECT \
183*7c478bd9Sstevel@tonic-gate gettext("line %d: configuration file %s incorrect: %s -- ignoring\n")
184*7c478bd9Sstevel@tonic-gate 
185*7c478bd9Sstevel@tonic-gate #define	NO_NODE gettext("no node name found for %s\n")
186*7c478bd9Sstevel@tonic-gate 
187*7c478bd9Sstevel@tonic-gate #define	NO_MINOR gettext("no minor name for %s\n")
188*7c478bd9Sstevel@tonic-gate 
189*7c478bd9Sstevel@tonic-gate #define	DRV_BUT_NO_ALIAS gettext("line %d: driver name with no alias in %s\n")
190*7c478bd9Sstevel@tonic-gate 
191*7c478bd9Sstevel@tonic-gate #define	MALLOC_FAILED gettext("malloc failed for %d bytes\n")
192*7c478bd9Sstevel@tonic-gate 
193*7c478bd9Sstevel@tonic-gate #define	REALLOC_FAILED gettext("realloc failed for %d bytes\n")
194*7c478bd9Sstevel@tonic-gate 
195*7c478bd9Sstevel@tonic-gate #define	CALLOC_FAILED gettext("calloc failed for %d bytes\n")
196*7c478bd9Sstevel@tonic-gate 
197*7c478bd9Sstevel@tonic-gate #define	STRDUP_FAILED gettext("strdup failed for %s\n")
198*7c478bd9Sstevel@tonic-gate 
199*7c478bd9Sstevel@tonic-gate #define	CLOSEDIR_FAILED gettext("closedir failed %s\n")
200*7c478bd9Sstevel@tonic-gate 
201*7c478bd9Sstevel@tonic-gate #define	MKDIR_FAILED gettext("mkdir failed for %s 0x%x: %s\n")
202*7c478bd9Sstevel@tonic-gate 
203*7c478bd9Sstevel@tonic-gate #define	UNLINK_FAILED gettext("unlink failed for %s: %s\n")
204*7c478bd9Sstevel@tonic-gate 
205*7c478bd9Sstevel@tonic-gate #define	DI_DEVFS_PATH_FAILED gettext("di_devfs_path failed: %s\n")
206*7c478bd9Sstevel@tonic-gate 
207*7c478bd9Sstevel@tonic-gate #define	COMPAT_LINK_USAGE gettext("Usage:\n\t\t[ -C ]\n\t\t[ \
208*7c478bd9Sstevel@tonic-gate -r root_directory ]\n\t\t[ -n ]\n\t\t[ -v ]\n")
209*7c478bd9Sstevel@tonic-gate 
210*7c478bd9Sstevel@tonic-gate #define	DEVLINKS_USAGE gettext("Usage:\n\t\t[ -d ]\n\t\t[ -n ]\n\t\t[ -r \
211*7c478bd9Sstevel@tonic-gate root_directory ]\n\t\t[ -t table-file ]\n\t\t[ -v ]\n")
212*7c478bd9Sstevel@tonic-gate 
213*7c478bd9Sstevel@tonic-gate #define	DRVCONFIG_USAGE gettext("Usage:\n\t\t[ -a alias_name ]\n\t\t[ -b ]\
214*7c478bd9Sstevel@tonic-gate \n\t\t[ -c class_name ]\n\t\t[ -d ]\n\t\t[ -i driver_name ]\n\t\t[ -m \
215*7c478bd9Sstevel@tonic-gate major_number ]\n\t\t[ -n ]\n\t\t[ -r rootdir ]\n\t\t[ -v ]\n")
216*7c478bd9Sstevel@tonic-gate 
217*7c478bd9Sstevel@tonic-gate #define	DEVFSADM_USAGE gettext("Usage:\n\t\t[ -c device_class ]\n\t\t[ -C ]\
218*7c478bd9Sstevel@tonic-gate \n\t\t[ -i driver_name ]\n\t\t[ -l module_path ]\n\t\t[ -n ]\
219*7c478bd9Sstevel@tonic-gate \n\t\t[ -r rootdir ]\n\t\t[ -s ]\n\t\t[ -t devlink_table_file ]\n\t\t[ -v ]\n")
220*7c478bd9Sstevel@tonic-gate 
221*7c478bd9Sstevel@tonic-gate #define	DEVFSADM_UNLINK gettext("removing file: %s\n")
222*7c478bd9Sstevel@tonic-gate 
223*7c478bd9Sstevel@tonic-gate #define	INVOKED_WITH gettext("invoked with %s\n")
224*7c478bd9Sstevel@tonic-gate 
225*7c478bd9Sstevel@tonic-gate #define	MISSING_SYMBOLS gettext("missing symbols in %s\n")
226*7c478bd9Sstevel@tonic-gate 
227*7c478bd9Sstevel@tonic-gate #define	RCM_ALLOC_HANDLE_ERROR gettext("Unable to allocate rcm handle\n")
228*7c478bd9Sstevel@tonic-gate 
229*7c478bd9Sstevel@tonic-gate #define	RCM_NOTIFY_FAILED \
230*7c478bd9Sstevel@tonic-gate 	gettext("RCM notification failed: " \
231*7c478bd9Sstevel@tonic-gate 	"path = %s, driver = %s, instance = %d: %s\n")
232*7c478bd9Sstevel@tonic-gate 
233*7c478bd9Sstevel@tonic-gate #define	RCM_NVLIST_BUILD_ERROR \
234*7c478bd9Sstevel@tonic-gate 	gettext("failed to build nvlist for notifying RCM: " \
235*7c478bd9Sstevel@tonic-gate 	"path = %s, driver = %s, instance = %d: %s\n")
236*7c478bd9Sstevel@tonic-gate 
237*7c478bd9Sstevel@tonic-gate #define	INVALID_DEVLINK_SPEC gettext("Invalid devlink spec: '%s'\n")
238*7c478bd9Sstevel@tonic-gate 
239*7c478bd9Sstevel@tonic-gate #define	DRV_LOAD_REQD gettext("-n option cannot be used with -i. Ignoring\n")
240*7c478bd9Sstevel@tonic-gate 
241*7c478bd9Sstevel@tonic-gate #define	DPLCY_ONE_DFLT gettext("%s: Only one default entry allowed\n")
242*7c478bd9Sstevel@tonic-gate 
243*7c478bd9Sstevel@tonic-gate #define	DPLCY_FIRST gettext("%s: First entry must be default entry\n")
244*7c478bd9Sstevel@tonic-gate 
245*7c478bd9Sstevel@tonic-gate #define	INVALID_MINOR gettext("%s: invalid minor node specification\n")
246*7c478bd9Sstevel@tonic-gate 
247*7c478bd9Sstevel@tonic-gate #define	MINOR_TOO_LONG gettext("%s:%s: minor node specification too long\n")
248*7c478bd9Sstevel@tonic-gate 
249*7c478bd9Sstevel@tonic-gate #define	UNEXPECTED_EOF gettext("%s: unexpected end of file\n")
250*7c478bd9Sstevel@tonic-gate 
251*7c478bd9Sstevel@tonic-gate #define	BAD_ENTRY gettext("\tin the following entry at line %d\n%s\n")
252*7c478bd9Sstevel@tonic-gate 
253*7c478bd9Sstevel@tonic-gate #define	NO_MEMORY gettext("Out of memory\n")
254*7c478bd9Sstevel@tonic-gate 
255*7c478bd9Sstevel@tonic-gate 
256*7c478bd9Sstevel@tonic-gate #define	EVENT_ATTR_LOOKUP_FAILED \
257*7c478bd9Sstevel@tonic-gate     gettext("failed to lookup event attributes: %s\n")
258*7c478bd9Sstevel@tonic-gate 
259*7c478bd9Sstevel@tonic-gate #define	PROP_ADD_FAILED \
260*7c478bd9Sstevel@tonic-gate     gettext("failed to add the property %s to event attributes\n")
261*7c478bd9Sstevel@tonic-gate 
262*7c478bd9Sstevel@tonic-gate #define	DEV_NAME_LOOKUP_FAILED \
263*7c478bd9Sstevel@tonic-gate     gettext("failed to lookup dev name for %s\n")
264*7c478bd9Sstevel@tonic-gate 
265*7c478bd9Sstevel@tonic-gate #define	BUILD_EVENT_ATTR_FAILED \
266*7c478bd9Sstevel@tonic-gate     gettext("failed to build event attributes: %s\n")
267*7c478bd9Sstevel@tonic-gate 
268*7c478bd9Sstevel@tonic-gate #define	LOG_EVENT_FAILED gettext("failed to log event: %s\n")
269*7c478bd9Sstevel@tonic-gate 
270*7c478bd9Sstevel@tonic-gate #define	INVALID_ZONE gettext("invalid zone: '%s'\n")
271*7c478bd9Sstevel@tonic-gate 
272*7c478bd9Sstevel@tonic-gate #define	ZONE_ROOTPATH_FAILED \
273*7c478bd9Sstevel@tonic-gate     gettext("could not determine root path for zone %s: %s\n")
274*7c478bd9Sstevel@tonic-gate 
275*7c478bd9Sstevel@tonic-gate #define	ZONE_LIST_FAILED \
276*7c478bd9Sstevel@tonic-gate     gettext("could not determine system zone configuration: %s\n")
277*7c478bd9Sstevel@tonic-gate 
278*7c478bd9Sstevel@tonic-gate #define	ZONE_DOOR_MKFAIL \
279*7c478bd9Sstevel@tonic-gate     gettext("failed to create door server for zone %s: %s\n")
280*7c478bd9Sstevel@tonic-gate 
281*7c478bd9Sstevel@tonic-gate #define	ZONE_REG_FAILED \
282*7c478bd9Sstevel@tonic-gate     gettext("failed registration operation for zone %s: %s\n")
283*7c478bd9Sstevel@tonic-gate 
284*7c478bd9Sstevel@tonic-gate #define	ZONE_REP_FAILED \
285*7c478bd9Sstevel@tonic-gate     gettext("repository or name service failure for zone %s: %s\n")
286*7c478bd9Sstevel@tonic-gate 
287*7c478bd9Sstevel@tonic-gate #define	ZONE_LIB_MISSING \
288*7c478bd9Sstevel@tonic-gate     gettext("unable to load libzonecfg, make sure zone packages " \
289*7c478bd9Sstevel@tonic-gate 	"are installed\n")
290*7c478bd9Sstevel@tonic-gate 
291*7c478bd9Sstevel@tonic-gate #define	ZONE_PATHCHECK \
292*7c478bd9Sstevel@tonic-gate     gettext("cannot manage root path '%s': path is part of zone '%s'\n")
293*7c478bd9Sstevel@tonic-gate 
294*7c478bd9Sstevel@tonic-gate #define	NVLIST_ERROR gettext("nvlist interface failed: %s\n")
295*7c478bd9Sstevel@tonic-gate 
296*7c478bd9Sstevel@tonic-gate #ifdef	__cplusplus
297*7c478bd9Sstevel@tonic-gate }
298*7c478bd9Sstevel@tonic-gate #endif
299*7c478bd9Sstevel@tonic-gate 
300*7c478bd9Sstevel@tonic-gate #endif /* _MESSAGE_H */
301