15c51f124SMoriah Waterland /*
25c51f124SMoriah Waterland  * CDDL HEADER START
35c51f124SMoriah Waterland  *
45c51f124SMoriah Waterland  * The contents of this file are subject to the terms of the
55c51f124SMoriah Waterland  * Common Development and Distribution License (the "License").
65c51f124SMoriah Waterland  * You may not use this file except in compliance with the License.
75c51f124SMoriah Waterland  *
85c51f124SMoriah Waterland  * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
95c51f124SMoriah Waterland  * or http://www.opensolaris.org/os/licensing.
105c51f124SMoriah Waterland  * See the License for the specific language governing permissions
115c51f124SMoriah Waterland  * and limitations under the License.
125c51f124SMoriah Waterland  *
135c51f124SMoriah Waterland  * When distributing Covered Code, include this CDDL HEADER in each
145c51f124SMoriah Waterland  * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
155c51f124SMoriah Waterland  * If applicable, add the following below this CDDL HEADER, with the
165c51f124SMoriah Waterland  * fields enclosed by brackets "[]" replaced with your own identifying
175c51f124SMoriah Waterland  * information: Portions Copyright [yyyy] [name of copyright owner]
185c51f124SMoriah Waterland  *
195c51f124SMoriah Waterland  * CDDL HEADER END
205c51f124SMoriah Waterland  */
215c51f124SMoriah Waterland 
225c51f124SMoriah Waterland /*
23*6e1ae2a3SGary Pennington  * Copyright (c) 2005, 2010, Oracle and/or its affiliates. All rights reserved.
245c51f124SMoriah Waterland  */
255c51f124SMoriah Waterland 
265c51f124SMoriah Waterland #ifndef	_PKGCOND_MSGS_H
275c51f124SMoriah Waterland #define	_PKGCOND_MSGS_H
285c51f124SMoriah Waterland 
295c51f124SMoriah Waterland 
305c51f124SMoriah Waterland #include <libintl.h>
315c51f124SMoriah Waterland 
325c51f124SMoriah Waterland #ifdef	__cplusplus
335c51f124SMoriah Waterland extern "C" {
345c51f124SMoriah Waterland #endif
355c51f124SMoriah Waterland 
365c51f124SMoriah Waterland #ifdef	lint
375c51f124SMoriah Waterland #define	gettext(x)	x
385c51f124SMoriah Waterland #endif
395c51f124SMoriah Waterland 
405c51f124SMoriah Waterland /* generic messages */
415c51f124SMoriah Waterland 
425c51f124SMoriah Waterland #define	MSG_USAGE						gettext(\
435c51f124SMoriah Waterland "%s; usage is:\n" \
445c51f124SMoriah Waterland "\t%s [-nv] <condition> [ <option(s)> ]\n" \
455c51f124SMoriah Waterland "\n" \
465c51f124SMoriah Waterland "command options:\n" \
475c51f124SMoriah Waterland "\t-n - negate results of condition test\n" \
485c51f124SMoriah Waterland "\t-v - verbose output of condition testing\n" \
495c51f124SMoriah Waterland "\n" \
505c51f124SMoriah Waterland "<condition> may be any one of:\n" \
515c51f124SMoriah Waterland "%s\n" \
525c51f124SMoriah Waterland "<option(s)> are specific to the condition used\n" \
535c51f124SMoriah Waterland "\n" \
545c51f124SMoriah Waterland "pkgcond -?\n" \
555c51f124SMoriah Waterland "\t- Shows this help message\n")
565c51f124SMoriah Waterland 
575c51f124SMoriah Waterland #define	MSG_NO_PKG_ENV_DATA_PRESENT				gettext(\
585c51f124SMoriah Waterland "no data available from package tools: zone information may be incomplete")
595c51f124SMoriah Waterland 
605c51f124SMoriah Waterland #define	MSG_NO_ARGUMENTS_SPECIFIED				gettext(\
615c51f124SMoriah Waterland "no condition to check specified")
625c51f124SMoriah Waterland 
635c51f124SMoriah Waterland #define	MSG_INVALID_OPTION_SPECIFIED				gettext(\
645c51f124SMoriah Waterland "option <%c> not recognized")
655c51f124SMoriah Waterland 
665c51f124SMoriah Waterland #define	MSG_IS_INVALID_OPTION					gettext(\
675c51f124SMoriah Waterland "option <%c> not recognized by condition <%s>")
685c51f124SMoriah Waterland 
695c51f124SMoriah Waterland #define	MSG_UNRECOGNIZED_CONDITION_SPECIFIED			gettext(\
705c51f124SMoriah Waterland "condition not recognized")
715c51f124SMoriah Waterland 
725c51f124SMoriah Waterland #define	MSG_IS_WHAT_RESULT					gettext(\
735c51f124SMoriah Waterland "%s=%d")
745c51f124SMoriah Waterland 
755c51f124SMoriah Waterland /* debugging messages */
765c51f124SMoriah Waterland 
775c51f124SMoriah Waterland #define	DBG_NO_RECURSION					gettext(\
785c51f124SMoriah Waterland "nonrecursive call to <%s>")
795c51f124SMoriah Waterland 
805c51f124SMoriah Waterland #define	DBG_RECURSION						gettext(\
815c51f124SMoriah Waterland "recursive call to <%s> count <%d> ignored")
825c51f124SMoriah Waterland 
835c51f124SMoriah Waterland #define	DBG_TESTPATH_OK						gettext(\
845c51f124SMoriah Waterland "path <%s> matches all criteria")
855c51f124SMoriah Waterland 
865c51f124SMoriah Waterland #define	DBG_ADDV_PATH_IS_SYMLINK				gettext(\
875c51f124SMoriah Waterland "cannot add driver to path <%s>: <%s> does not exist or exists but " \
885c51f124SMoriah Waterland "is a symbolic link")
895c51f124SMoriah Waterland 
905c51f124SMoriah Waterland #define	DBG_ADDV_YES						gettext(\
915c51f124SMoriah Waterland "root path <%s> can have a driver added")
925c51f124SMoriah Waterland 
935c51f124SMoriah Waterland #define	DBG_UPDV_PATH_IS_SYMLINK				gettext(\
945c51f124SMoriah Waterland "cannot update driver to path <%s>: <%s> does not exist or exists but " \
955c51f124SMoriah Waterland "is a symbolic link")
965c51f124SMoriah Waterland 
975c51f124SMoriah Waterland #define	DBG_UPDV_YES						gettext(\
985c51f124SMoriah Waterland "root path <%s> can have a driver updated")
995c51f124SMoriah Waterland 
1005c51f124SMoriah Waterland #define	DBG_RMDV_PATH_IS_SYMLINK				gettext(\
1015c51f124SMoriah Waterland "cannot remove driver to path <%s>: <%s> does not exist or exists but " \
1025c51f124SMoriah Waterland "is a symbolic link")
1035c51f124SMoriah Waterland 
1045c51f124SMoriah Waterland #define	DBG_RMDV_YES						gettext(\
1055c51f124SMoriah Waterland "root path <%s> can have a driver removed")
1065c51f124SMoriah Waterland 
1075c51f124SMoriah Waterland #define	DBG_ROOTPATH_IS						gettext(\
1085c51f124SMoriah Waterland "root path is <%s>")
1095c51f124SMoriah Waterland 
1105c51f124SMoriah Waterland #define	DBG_CANNOT_ACCESS_PATH_BUT_SHOULD			gettext(\
1115c51f124SMoriah Waterland "test_path: path <%s> must exist and does not: %s")
1125c51f124SMoriah Waterland 
1135c51f124SMoriah Waterland #define	DBG_CANNOT_ACCESS_PATH_OK				gettext(\
1145c51f124SMoriah Waterland "test_path: path <%s> must not (and does not) exist")
1155c51f124SMoriah Waterland 
1165c51f124SMoriah Waterland #define	DBG_PATH_DOES_NOT_EXIST					gettext(\
1175c51f124SMoriah Waterland "test_path: path <%s> does not exist: %s")
1185c51f124SMoriah Waterland 
1195c51f124SMoriah Waterland #define	DBG_CANNOT_LSTAT_PATH					gettext(\
1205c51f124SMoriah Waterland "test_path: cannot lstat path <%s>: %s")
1215c51f124SMoriah Waterland 
1225c51f124SMoriah Waterland #define	DBG_IS_A_DIRECTORY					gettext(\
1235c51f124SMoriah Waterland "test_path: path <%s> is a directory but is not supposed to be")
1245c51f124SMoriah Waterland 
1255c51f124SMoriah Waterland #define	DBG_IS_NOT_A_DIRECTORY					gettext(\
1265c51f124SMoriah Waterland "test_path: path <%s> is not a directory but is supposed to be")
1275c51f124SMoriah Waterland 
1285c51f124SMoriah Waterland #define	DBG_DIRECTORY_NOT					gettext(\
1295c51f124SMoriah Waterland "test_path: path <%s> is not a directory")
1305c51f124SMoriah Waterland 
1315c51f124SMoriah Waterland #define	DBG_DIRECTORY_IS					gettext(\
1325c51f124SMoriah Waterland "test_path: path <%s> is a directory")
1335c51f124SMoriah Waterland 
1345c51f124SMoriah Waterland #define	DBG_IS_A_FILE						gettext(\
1355c51f124SMoriah Waterland "test_path: path <%s> is a file but is not supposed to be")
1365c51f124SMoriah Waterland 
1375c51f124SMoriah Waterland #define	DBG_IS_NOT_A_FILE					gettext(\
1385c51f124SMoriah Waterland "test_path: path <%s> is not a file but is supposed to be")
1395c51f124SMoriah Waterland 
1405c51f124SMoriah Waterland #define	DBG_TOKEN__EXISTS					gettext(\
1415c51f124SMoriah Waterland "test_path: token <%s> exists in path <%s>")
1425c51f124SMoriah Waterland 
1435c51f124SMoriah Waterland #define	DBG_FILE_NOT						gettext(\
1445c51f124SMoriah Waterland "test_path: path <%s> is not a file")
1455c51f124SMoriah Waterland 
1465c51f124SMoriah Waterland #define	DBG_FILE_IS						gettext(\
1475c51f124SMoriah Waterland "test_path: path <%s> is a file")
1485c51f124SMoriah Waterland 
1495c51f124SMoriah Waterland #define	DBG_IS_A_SYMLINK					gettext(\
1505c51f124SMoriah Waterland "test_path: path <%s> is a symlink but is not supposed to be")
1515c51f124SMoriah Waterland 
1525c51f124SMoriah Waterland #define	DBG_IS_NOT_A_SYMLINK					gettext(\
1535c51f124SMoriah Waterland "test_path: path <%s> is not a symlink but is supposed to be")
1545c51f124SMoriah Waterland 
1555c51f124SMoriah Waterland #define	DBG_SORTEDINS_SKIPPED					gettext(\
1565c51f124SMoriah Waterland "duplicate entry <%d> : <%s> (<%s> vs <%s>, <%s> vs <%s>): merged options")
1575c51f124SMoriah Waterland 
1585c51f124SMoriah Waterland #define	DBG_SYMLINK_NOT						gettext(\
1595c51f124SMoriah Waterland "test_path: path <%s> is not a symlink")
1605c51f124SMoriah Waterland 
1615c51f124SMoriah Waterland #define	DBG_SYMLINK_IS						gettext(\
1625c51f124SMoriah Waterland "test_path: path <%s> is a symlink")
1635c51f124SMoriah Waterland 
1645c51f124SMoriah Waterland #define	DBG_SET_NEGATE_RESULTS					gettext(\
1655c51f124SMoriah Waterland "set_negate_results: current setting <%d> new setting <%d>")
1665c51f124SMoriah Waterland 
1675c51f124SMoriah Waterland #define	DBG_ADJUST_RESULTS					gettext(\
1685c51f124SMoriah Waterland "adjust_results: result <%d> negate <%d> returned result <%d>")
1695c51f124SMoriah Waterland 
1705c51f124SMoriah Waterland #define	DBG_PARSE_GLOBAL					gettext(\
1715c51f124SMoriah Waterland "parsing global data <%s>")
1725c51f124SMoriah Waterland 
1735c51f124SMoriah Waterland #define	DBG_NO_DEFAULT_ROOT_PATH_SET				gettext(\
1745c51f124SMoriah Waterland "no default root path set")
1755c51f124SMoriah Waterland 
1765c51f124SMoriah Waterland #define	DBG_DEFAULT_ROOT_PATH_SET				gettext(\
1775c51f124SMoriah Waterland "default root path <%s> set from environment variable <%s>")
1785c51f124SMoriah Waterland 
1795c51f124SMoriah Waterland #define	DBG_RESULTS						gettext(\
1805c51f124SMoriah Waterland "returning results <%d>")
1815c51f124SMoriah Waterland 
1825c51f124SMoriah Waterland #define	DBG_SET_ROOT_PATH_TO					gettext(\
1835c51f124SMoriah Waterland "setting root path to <%s>")
1845c51f124SMoriah Waterland 
1855c51f124SMoriah Waterland #define	DBG_TEST_PATH						gettext(\
1865c51f124SMoriah Waterland "test path <%s> flags <0x%08lx>")
1875c51f124SMoriah Waterland 
1885c51f124SMoriah Waterland #define	DBG_TEST_PATH_NO_RESOLVE				gettext(\
1895c51f124SMoriah Waterland "cannot resolve path <%s>")
1905c51f124SMoriah Waterland 
1915c51f124SMoriah Waterland #define	DBG_TEST_PATH_RESOLVE					gettext(\
1925c51f124SMoriah Waterland "test resolved path <%s>")
1935c51f124SMoriah Waterland 
1945c51f124SMoriah Waterland #define	DBG_TEST_EXISTS_SHOULD_NOT				gettext(\
1955c51f124SMoriah Waterland "path <%s> exists but should not")
1965c51f124SMoriah Waterland 
1975c51f124SMoriah Waterland #define	DBG_PARSED_ENVIRONMENT					gettext(\
1985c51f124SMoriah Waterland "global data parsed from environment variable <%s>")
1995c51f124SMoriah Waterland 
2005c51f124SMoriah Waterland #define	DBG_DUMP_GLOBAL_ENTRY					gettext(\
2015c51f124SMoriah Waterland "global data settings")
2025c51f124SMoriah Waterland 
2035c51f124SMoriah Waterland #define	DBG_DUMP_GLOBAL_PARENT_ZONE				gettext(\
2045c51f124SMoriah Waterland "parentzone zoneName <%s> zoneType <%s>")
2055c51f124SMoriah Waterland 
2065c51f124SMoriah Waterland #define	DBG_DUMP_GLOBAL_CURRENT_ZONE				gettext(\
2075c51f124SMoriah Waterland "currentzone zoneName <%s> zoneType <%s>")
2085c51f124SMoriah Waterland 
2095c51f124SMoriah Waterland #define	DBG_IDLC_INITIAL_INSTALL				gettext(\
2105c51f124SMoriah Waterland "path <%s> is not a diskless client: initial installation in progress")
2115c51f124SMoriah Waterland 
2125c51f124SMoriah Waterland #define	DBG_IDLC_ZONE_INSTALL					gettext(\
2135c51f124SMoriah Waterland "path <%s> is not a diskless client: initial zone installation in progress")
2145c51f124SMoriah Waterland 
2155c51f124SMoriah Waterland #define	DBG_IDLC_PKG_NOT_INSTALLED				gettext(\
2165c51f124SMoriah Waterland "path <%s> is not a diskless client: package <%s> is not installed in <%s>")
2175c51f124SMoriah Waterland 
2185c51f124SMoriah Waterland #define	DBG_IDLC_ROOTPATH_BAD					gettext(\
2195c51f124SMoriah Waterland "path <%s> is not a diskless client: root path cannot be <%s>")
2205c51f124SMoriah Waterland 
2215c51f124SMoriah Waterland #define	DBG_IDLC_ZONE_BAD					gettext(\
2225c51f124SMoriah Waterland "path <%s> is not a diskless client: current zone must be <%s>")
2235c51f124SMoriah Waterland 
2245c51f124SMoriah Waterland #define	DBG_IDLC_PATH_MISSING					gettext(\
2255c51f124SMoriah Waterland "path <%s> is not a diskless client: <%s> does not exist")
2265c51f124SMoriah Waterland 
2275c51f124SMoriah Waterland #define	DBG_IDLC_USR_IS_NOT_EMPTY				gettext(\
2285c51f124SMoriah Waterland "path <%s> is not a diskless client: </usr> is not empty")
2295c51f124SMoriah Waterland 
2305c51f124SMoriah Waterland #define	DBG_IDLC_NO_TEMPLATES_PATH				gettext(\
2315c51f124SMoriah Waterland "path <%s> is not a diskless client: <%s/%s> does not exist")
2325c51f124SMoriah Waterland 
2335c51f124SMoriah Waterland #define	DBG_IDLC_PATH_IS_DISKLESS_CLIENT			gettext(\
2345c51f124SMoriah Waterland "path <%s> is a diskless client")
2355c51f124SMoriah Waterland 
2365c51f124SMoriah Waterland #define	DBG_ISGZ_INITIAL_INSTALL				gettext(\
2375c51f124SMoriah Waterland "path <%s> is not a global zone: initial installation in progress")
2385c51f124SMoriah Waterland 
2395c51f124SMoriah Waterland #define	DBG_ISGZ_NGZ_ZONE_INSTALL				gettext(\
2405c51f124SMoriah Waterland "path <%s> is not a global zone: initial non-global zone " \
2415c51f124SMoriah Waterland "installation in progress")
2425c51f124SMoriah Waterland 
2435c51f124SMoriah Waterland #define	DBG_ISGZ_PATH_IS_GLOBAL_ZONE				gettext(\
2445c51f124SMoriah Waterland "path <%s> is a global zone")
2455c51f124SMoriah Waterland 
2465c51f124SMoriah Waterland #define	DBG_ISGZ_PATH_ISNT_DIRECTORY				gettext(\
2475c51f124SMoriah Waterland "path <%s> is not a global zone: directory <%s> does not exist")
2485c51f124SMoriah Waterland 
2495c51f124SMoriah Waterland #define	DBG_ISGZ_PATH_EXISTS					gettext(\
2505c51f124SMoriah Waterland "path <%s> is not a global zone: <%s> exists")
2515c51f124SMoriah Waterland 
2525c51f124SMoriah Waterland #define	DBG_ISGZ_ZONENAME_ISNT_GLOBAL				gettext(\
2535c51f124SMoriah Waterland "path <%s> is not a global zone: zone name <%s> is not <global>")
2545c51f124SMoriah Waterland 
2555c51f124SMoriah Waterland #define	DBG_ISGZ_PATH_IS_SYMLINK				gettext(\
2565c51f124SMoriah Waterland "path <%s> is not a global zone: <%s> does not exist or exists but " \
2575c51f124SMoriah Waterland "is a symbolic link")
2585c51f124SMoriah Waterland 
2595c51f124SMoriah Waterland #define	DBG_INIM_INITIAL_INSTALL				gettext(\
2605c51f124SMoriah Waterland "path <%s> is not a netinstall image: initial installation in progress")
2615c51f124SMoriah Waterland 
2625c51f124SMoriah Waterland #define	DBG_INIM_ZONE_INSTALL					gettext(\
2635c51f124SMoriah Waterland "path <%s> is not a netinstall image: initial zone installation in progress")
2645c51f124SMoriah Waterland 
2655c51f124SMoriah Waterland #define	DBG_INIM_PATH_IS_NETINSTALL_IMAGE			gettext(\
2665c51f124SMoriah Waterland "path <%s> is a netinstall image")
2675c51f124SMoriah Waterland 
2685c51f124SMoriah Waterland #define	DBG_INIM_BAD_CURRENT_ZONE				gettext(\
2695c51f124SMoriah Waterland "path <%s> is not a netinstall image: current zone is not <%s>")
2705c51f124SMoriah Waterland 
2715c51f124SMoriah Waterland #define	DBG_INIM_PATH_ISNT_SYMLINK				gettext(\
2725c51f124SMoriah Waterland "path <%s> is not a netinstall image: <%s> does not exist or exists " \
2735c51f124SMoriah Waterland "but is not a symbolic link")
2745c51f124SMoriah Waterland 
2755c51f124SMoriah Waterland #define	DBG_INIM_PATH_ISNT_DIRECTORY				gettext(\
2765c51f124SMoriah Waterland "path <%s> is not a netinstall image: <%s> does not exist or " \
2775c51f124SMoriah Waterland "is not a directory")
2785c51f124SMoriah Waterland 
2795c51f124SMoriah Waterland #define	DBG_IMRT_INITIAL_INSTALL				gettext(\
2805c51f124SMoriah Waterland "path <%s> is not a mounted miniroot image: initial installation in progress")
2815c51f124SMoriah Waterland 
2825c51f124SMoriah Waterland #define	DBG_IMRT_ZONE_INSTALL					gettext(\
2835c51f124SMoriah Waterland "path <%s> is not a mounted miniroot image: initial zone " \
2845c51f124SMoriah Waterland "installation in progress")
2855c51f124SMoriah Waterland 
2865c51f124SMoriah Waterland #define	DBG_IMRT_PATH_IS_MOUNTED_MINIROOT			gettext(\
2875c51f124SMoriah Waterland "path <%s> is a mounted miniroot")
2885c51f124SMoriah Waterland 
2895c51f124SMoriah Waterland #define	DBG_IMRT_BAD_CURRENT_ZONE				gettext(\
2905c51f124SMoriah Waterland "path <%s> is not a mounted miniroot image: current zone is not <%s>")
2915c51f124SMoriah Waterland 
2925c51f124SMoriah Waterland #define	DBG_IMRT_ROOTDIR_BAD					gettext(\
2935c51f124SMoriah Waterland "path <%s> is not a mounted miniroot image: root directory is not <%s>")
2945c51f124SMoriah Waterland 
2955c51f124SMoriah Waterland #define	DBG_IMRT_PATH_ISNT_SYMLINK				gettext(\
2965c51f124SMoriah Waterland "path <%s> is not a mounted miniroot image: <%s> does not exist or is " \
2975c51f124SMoriah Waterland " not a symbolic link")
2985c51f124SMoriah Waterland 
2995c51f124SMoriah Waterland #define	DBG_IMRT_PATH_ISNT_DIRECTORY				gettext(\
3005c51f124SMoriah Waterland "path <%s> is not a netinstall image: <%s> does not exist or is not " \
3015c51f124SMoriah Waterland " a directory")
3025c51f124SMoriah Waterland 
3035c51f124SMoriah Waterland #define	DBG_NGZN_INITIAL_INSTALL				gettext(\
3045c51f124SMoriah Waterland "path <%s> is not a non-global zone: initial installation in progress")
3055c51f124SMoriah Waterland 
3065c51f124SMoriah Waterland #define	DBG_NGZN_GLOBAL_ZONE_INSTALL				gettext(\
3075c51f124SMoriah Waterland "path <%s> is not a non-global zone: initial global zone " \
3085c51f124SMoriah Waterland "installation in progress")
3095c51f124SMoriah Waterland 
3105c51f124SMoriah Waterland #define	DBG_NGZN_IN_GZ_IS_NONGLOBAL_ZONE			gettext(\
3115c51f124SMoriah Waterland "path <%s> is a non-global zone: running in global zone")
3125c51f124SMoriah Waterland 
3135c51f124SMoriah Waterland #define	DBG_NGZN_PARENT_CHILD_SAMEZONE				gettext(\
3145c51f124SMoriah Waterland "path <%s> is a non-global zone: parent/child are same zone name <%s>")
3155c51f124SMoriah Waterland 
3165c51f124SMoriah Waterland #define	DBG_NGZN_IS_NONGLOBAL_ZONE				gettext(\
3175c51f124SMoriah Waterland "path <%s> is a non-global zone")
3185c51f124SMoriah Waterland 
3195c51f124SMoriah Waterland #define	DBG_NGZN_ZONENAME_ISNT_NGZ				gettext(\
3205c51f124SMoriah Waterland "path <%s> is not a non-global zone: zone name is <%s>")
3215c51f124SMoriah Waterland 
3225c51f124SMoriah Waterland #define	DBG_NGZN_INSTALL_ZONENAME_IS_NGZ			gettext(\
3235c51f124SMoriah Waterland "path <%s> is a non-global zone: installation of non-global zone name is <%s>")
3245c51f124SMoriah Waterland 
3255c51f124SMoriah Waterland #define	DBG_NGZN_ZONENAME_IS_NGZ				gettext(\
3265c51f124SMoriah Waterland "path <%s> is a non-global zone: zone name is <%s>")
3275c51f124SMoriah Waterland 
3285c51f124SMoriah Waterland #define	DBG_NGZN_PATH_EXISTS					gettext(\
3295c51f124SMoriah Waterland "path <%s> is not a non-global zone: <%s> exists")
3305c51f124SMoriah Waterland 
3315c51f124SMoriah Waterland #define	DBG_NGZN_BAD_PARENT_ZONETYPE				gettext(\
3325c51f124SMoriah Waterland "path <%s> is not a non-global zone: parent zone type is <%s>")
3335c51f124SMoriah Waterland 
3345c51f124SMoriah Waterland #define	DBG_NGZN_BAD_CURRENT_ZONETYPE				gettext(\
3355c51f124SMoriah Waterland "path <%s> is not a non-global zone: current zone type is <%s>")
3365c51f124SMoriah Waterland 
3375c51f124SMoriah Waterland #define	DBG_NGZN_PATH_DOES_NOT_EXIST				gettext(\
3385c51f124SMoriah Waterland "path <%s> is not a non-global zone: <%s> does not exist or exists but " \
3395c51f124SMoriah Waterland "is a symbolic link")
3405c51f124SMoriah Waterland 
3415c51f124SMoriah Waterland #define	DBG_IRST_INITIAL_INSTALL				gettext(\
3425c51f124SMoriah Waterland "path <%s> is not the current running system: initial installation in progress")
3435c51f124SMoriah Waterland 
3445c51f124SMoriah Waterland #define	DBG_IRST_ZONE_INSTALL					gettext(\
3455c51f124SMoriah Waterland "path <%s> is not the current running system: initial zone installation " \
3465c51f124SMoriah Waterland "in progress")
3475c51f124SMoriah Waterland 
3485c51f124SMoriah Waterland #define	DBG_IRST_PATH_IS_RUNNING_SYSTEM				gettext(\
3495c51f124SMoriah Waterland "path <%s> is a running system")
3505c51f124SMoriah Waterland 
3515c51f124SMoriah Waterland #define	DBG_IRST_ZONE_BAD					gettext(\
3525c51f124SMoriah Waterland "path <%s> is not the current running system: the current zone name " \
3535c51f124SMoriah Waterland " is not <%s>")
3545c51f124SMoriah Waterland 
3555c51f124SMoriah Waterland #define	DBG_IRST_ROOTPATH_BAD					gettext(\
3565c51f124SMoriah Waterland "path <%s> is not the current running system: root path is not <%s>")
3575c51f124SMoriah Waterland 
3585c51f124SMoriah Waterland #define	DBG_IALR_INITIAL_INSTALL				gettext(\
3595c51f124SMoriah Waterland "path <%s> is an alternative root: initial installation in progress")
3605c51f124SMoriah Waterland 
3615c51f124SMoriah Waterland #define	DBG_IALR_ZONE_INSTALL					gettext(\
3625c51f124SMoriah Waterland "path <%s> is not an alternative root: initial zone installation in progress")
3635c51f124SMoriah Waterland 
3645c51f124SMoriah Waterland #define	DBG_IALR_PATH_DOES_NOT_EXIST				gettext(\
3655c51f124SMoriah Waterland "path <%s> is not an alternative root: <%s> does not exist or exists but " \
3665c51f124SMoriah Waterland "is a symbolic link")
3675c51f124SMoriah Waterland 
3685c51f124SMoriah Waterland #define	DBG_IALR_BAD_ROOTPATH					gettext(\
3695c51f124SMoriah Waterland "path <%s> is not an alternative root: root directory is <%s>")
3705c51f124SMoriah Waterland 
3715c51f124SMoriah Waterland #define	DBG_IALR_IS						gettext(\
3725c51f124SMoriah Waterland "root path <%s> is an alternative root")
3735c51f124SMoriah Waterland 
3745c51f124SMoriah Waterland #define	DBG_WRNG_IS						gettext(\
3755c51f124SMoriah Waterland "root path <%s> is a whole root non-global zone")
3765c51f124SMoriah Waterland 
3775c51f124SMoriah Waterland #define	DBG_BENV_INITIAL_INSTALL				gettext(\
3785c51f124SMoriah Waterland "path <%s> is not an alternative boot environment: initial " \
3795c51f124SMoriah Waterland "installation in progress")
3805c51f124SMoriah Waterland 
3815c51f124SMoriah Waterland #define	DBG_BENV_ZONE_INSTALL					gettext(\
3825c51f124SMoriah Waterland "path <%s> is not an alternative boot environment: initial zone " \
3835c51f124SMoriah Waterland "installation in progress")
3845c51f124SMoriah Waterland 
3855c51f124SMoriah Waterland #define	DBG_BENV_IS						gettext(\
3865c51f124SMoriah Waterland "path <%s> is an alternative boot environment")
3875c51f124SMoriah Waterland 
3885c51f124SMoriah Waterland #define	DBG_BENV_NO_ETCLU					gettext(\
3895c51f124SMoriah Waterland "path <%s> is not an alternative boot environment: <%s> does " \
3905c51f124SMoriah Waterland "not exist or is not a directory")
3915c51f124SMoriah Waterland 
3925c51f124SMoriah Waterland #define	DBG_BENV_NO_ETCLUTAB					gettext(\
3935c51f124SMoriah Waterland "path <%s> is not an alternative boot environment: <%s> does not exist")
3945c51f124SMoriah Waterland 
3955c51f124SMoriah Waterland #define	DBG_BENV_BAD_ZONE					gettext(\
3965c51f124SMoriah Waterland "path <%s> is not an alternative boot environment: " \
3975c51f124SMoriah Waterland "the current zone name is not <%s>")
3985c51f124SMoriah Waterland 
3995c51f124SMoriah Waterland #define	DBG_BENV_BAD_ROOTPATH					gettext(\
4005c51f124SMoriah Waterland "path <%s> is not an alternative boot environment: root directory is <%s>")
4015c51f124SMoriah Waterland 
4025c51f124SMoriah Waterland #define	DBG_PWRT_READONLY					gettext(\
4035c51f124SMoriah Waterland "root path <%s> is not writeable: is read only <%s>")
4045c51f124SMoriah Waterland 
4055c51f124SMoriah Waterland #define	DBG_PWRT_IS						gettext(\
4065c51f124SMoriah Waterland "root path <%s> is writeable")
4075c51f124SMoriah Waterland 
4085c51f124SMoriah Waterland #define	DBG_PWRT_INFO						gettext(\
4095c51f124SMoriah Waterland "root path <%s> is mount point <%s> fstype <%s> options <%s>")
4105c51f124SMoriah Waterland 
4115c51f124SMoriah Waterland #define	DBG_NO_GLOBAL_DATA_AVAILABLE				gettext(\
4125c51f124SMoriah Waterland "no global data available in environment variable <%s>")
4135c51f124SMoriah Waterland 
4145c51f124SMoriah Waterland #define	DBG_CKSR_FSREADONLY					gettext(\
4155c51f124SMoriah Waterland "file system <%s> type <%s> is read-only")
4165c51f124SMoriah Waterland 
4175c51f124SMoriah Waterland #define	DBG_CALCSCFG_MOUNTED					gettext(\
4185c51f124SMoriah Waterland "analyzing mounted file systems")
4195c51f124SMoriah Waterland 
4205c51f124SMoriah Waterland #define	DBG_SINS_ENTRY						gettext(\
4215c51f124SMoriah Waterland "inserting mount point <%s> type <%s> options <%s>")
4225c51f124SMoriah Waterland 
4235c51f124SMoriah Waterland #define	DBG_NGZN_PATH_EXISTS					gettext(\
4245c51f124SMoriah Waterland "path <%s> is not a non-global zone: <%s> exists")
4255c51f124SMoriah Waterland 
4265c51f124SMoriah Waterland #define	DBG_CMDLINE_PATH					gettext(\
4275c51f124SMoriah Waterland "command line path to check set to: <%s>")
4285c51f124SMoriah Waterland 
4295c51f124SMoriah Waterland /* warnings */
4305c51f124SMoriah Waterland 
4315c51f124SMoriah Waterland #define	WRN_PARSED_DATA_MISSING					gettext(\
4325c51f124SMoriah Waterland "available global data missing <%s>")
4335c51f124SMoriah Waterland 
4345c51f124SMoriah Waterland /* errors */
4355c51f124SMoriah Waterland 
4365c51f124SMoriah Waterland #define	MSG_FATAL						gettext(\
4375c51f124SMoriah Waterland 	"Fatal Error")
4385c51f124SMoriah Waterland 
4395c51f124SMoriah Waterland #define	ERR_REQUIRED_ROOTPATH_MISSING				gettext(\
4405c51f124SMoriah Waterland "the <%s> condition requires a root path to be specified")
4415c51f124SMoriah Waterland 
4425c51f124SMoriah Waterland #define	ERR_CANNOT_GET_ZONENAME					gettext(\
4435c51f124SMoriah Waterland "could not determine zone name")
4445c51f124SMoriah Waterland 
4455c51f124SMoriah Waterland #define	ERR_CANNOT_CALC_FS_CONFIG				gettext(\
4465c51f124SMoriah Waterland "cannot calculate file system config")
4475c51f124SMoriah Waterland 
4485c51f124SMoriah Waterland #define	ERR_CANNOT_PARSE_GLOBAL_DATA				gettext(\
4495c51f124SMoriah Waterland "cannot parse global data SML: <%s>")
4505c51f124SMoriah Waterland 
4515c51f124SMoriah Waterland #define	ERR_UNRECOGNIZED_OPTION					gettext(\
4525c51f124SMoriah Waterland "unrecognized option <%s>")
4535c51f124SMoriah Waterland 
4545c51f124SMoriah Waterland #define	ERR_DEFAULT_ROOT_INVALID				gettext(\
4555c51f124SMoriah Waterland "cannot set root path to <%s>: %s")
4565c51f124SMoriah Waterland 
4575c51f124SMoriah Waterland #define	ERR_DEFAULT_ROOT_NOT_DIR				gettext(\
4585c51f124SMoriah Waterland "cannot set root path to <%s>: not a directory")
4595c51f124SMoriah Waterland 
4605c51f124SMoriah Waterland #define	ERR_CANNOT_SET_ROOT_PATH				gettext(\
4615c51f124SMoriah Waterland "cannot set root path from environment variable <%s>")
4625c51f124SMoriah Waterland 
4635c51f124SMoriah Waterland #define	ERR_CANNOT_USE_GLOBAL_DATA				gettext(\
4645c51f124SMoriah Waterland "global data from environment variable <%s> cannot be used to determine " \
4655c51f124SMoriah Waterland "conditions and capabilities")
4665c51f124SMoriah Waterland 
4675c51f124SMoriah Waterland #define	ERR_BAD_SUB						gettext(\
4685c51f124SMoriah Waterland 	"\"%s\" is not a valid condition")
4695c51f124SMoriah Waterland 
4705c51f124SMoriah Waterland #ifdef	__cplusplus
4715c51f124SMoriah Waterland }
4725c51f124SMoriah Waterland #endif
4735c51f124SMoriah Waterland 
4745c51f124SMoriah Waterland #endif /* _PKGCOND_MSGS_H */
475