pax_global_header00006660000000000000000000000064127530554310014517gustar00rootroot0000000000000052 comment=d6f45b1f36979b3e7e4ac2e386d6fd56e113ebf6 libvirt-sandbox-0.5.1+git20160404/000077500000000000000000000000001275305543100162315ustar00rootroot00000000000000libvirt-sandbox-0.5.1+git20160404/.gitignore000066400000000000000000000020021275305543100202130ustar00rootroot00000000000000AUTHORS Makefile.in Makefile aclocal.m4 autom4te.cache/ compile config.guess config.h config.h.in config.log config.status config.sub configure depcomp install-sh *.tar.gz libtool ltmain.sh missing m4/libtool.m4 m4/ltsugar.m4 m4/ltoptions.m4 m4/lt~obsolete.m4 m4/ltversion.m4 m4/intltool.m4 po/Makefile.in.in po/Makefile.in po/Makefile po/POTFILES po/stamp-it po/libvirt-sandbox.pot po/*.gmo stamp-h1 build-aux/test-driver INSTALL libvirt-sandbox-1.0.pc libvirt-sandbox.spec .deps/ .libs/ .tx/ libvirt-sandbox/LibvirtSandbox-1.0.gir libvirt-sandbox/LibvirtSandbox-1.0.typelib *.lo *.la *.o *.pyc *~ libvirt-sandbox/libvirt-sandbox-init-lxc libvirt-sandbox/libvirt-sandbox-init-common libvirt-sandbox/libvirt-sandbox-init-qemu libvirt-sandbox/libvirt-sandbox-enum-types.h libvirt-sandbox/libvirt-sandbox-enum-types.c libvirt-sandbox/libvirt-sandbox-protocol.c libvirt-sandbox/libvirt-sandbox-protocol.h libvirt-sandbox/tests/*.cfg libvirt-sandbox/tests/test-config bin/virt-sandbox bin/virt-sandbox-service-util build/ bin/*.1 libvirt-sandbox-0.5.1+git20160404/.mailmap000066400000000000000000000003201275305543100176450ustar00rootroot00000000000000# 'git shortlog --help' and look for mailmap for the format of each line # Email consolidation: # libvirt-sandbox-0.5.1+git20160404/AUTHORS.in000066400000000000000000000005541275305543100177120ustar00rootroot00000000000000 libvirt-sandbox Authors ======================= The primary maintainers of libvirt-sandbox are: Daniel P. Berrange Dan Walsh Guido Günther Michal Privoznik Patches have been received from: #authorslist# ... send patches to get your name added ... libvirt-sandbox-0.5.1+git20160404/COPYING000066400000000000000000000636421275305543100172770ustar00rootroot00000000000000 GNU LESSER GENERAL PUBLIC LICENSE Version 2.1, February 1999 Copyright (C) 1991, 1999 Free Software Foundation, Inc. 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed. [This is the first released version of the Lesser GPL. It also counts as the successor of the GNU Library Public License, version 2, hence the version number 2.1.] Preamble The licenses for most software are designed to take away your freedom to share and change it. By contrast, the GNU General Public Licenses are intended to guarantee your freedom to share and change free software--to make sure the software is free for all its users. This license, the Lesser General Public License, applies to some specially designated software packages--typically libraries--of the Free Software Foundation and other authors who decide to use it. You can use it too, but we suggest you first think carefully about whether this license or the ordinary General Public License is the better strategy to use in any particular case, based on the explanations below. When we speak of free software, we are referring to freedom of use, not price. Our General Public Licenses are designed to make sure that you have the freedom to distribute copies of free software (and charge for this service if you wish); that you receive source code or can get it if you want it; that you can change the software and use pieces of it in new free programs; and that you are informed that you can do these things. To protect your rights, we need to make restrictions that forbid distributors to deny you these rights or to ask you to surrender these rights. These restrictions translate to certain responsibilities for you if you distribute copies of the library or if you modify it. For example, if you distribute copies of the library, whether gratis or for a fee, you must give the recipients all the rights that we gave you. You must make sure that they, too, receive or can get the source code. If you link other code with the library, you must provide complete object files to the recipients, so that they can relink them with the library after making changes to the library and recompiling it. And you must show them these terms so they know their rights. We protect your rights with a two-step method: (1) we copyright the library, and (2) we offer you this license, which gives you legal permission to copy, distribute and/or modify the library. To protect each distributor, we want to make it very clear that there is no warranty for the free library. Also, if the library is modified by someone else and passed on, the recipients should know that what they have is not the original version, so that the original author's reputation will not be affected by problems that might be introduced by others. Finally, software patents pose a constant threat to the existence of any free program. We wish to make sure that a company cannot effectively restrict the users of a free program by obtaining a restrictive license from a patent holder. Therefore, we insist that any patent license obtained for a version of the library must be consistent with the full freedom of use specified in this license. Most GNU software, including some libraries, is covered by the ordinary GNU General Public License. This license, the GNU Lesser General Public License, applies to certain designated libraries, and is quite different from the ordinary General Public License. We use this license for certain libraries in order to permit linking those libraries into non-free programs. When a program is linked with a library, whether statically or using a shared library, the combination of the two is legally speaking a combined work, a derivative of the original library. The ordinary General Public License therefore permits such linking only if the entire combination fits its criteria of freedom. The Lesser General Public License permits more lax criteria for linking other code with the library. We call this license the "Lesser" General Public License because it does Less to protect the user's freedom than the ordinary General Public License. It also provides other free software developers Less of an advantage over competing non-free programs. These disadvantages are the reason we use the ordinary General Public License for many libraries. However, the Lesser license provides advantages in certain special circumstances. For example, on rare occasions, there may be a special need to encourage the widest possible use of a certain library, so that it becomes a de-facto standard. To achieve this, non-free programs must be allowed to use the library. A more frequent case is that a free library does the same job as widely used non-free libraries. In this case, there is little to gain by limiting the free library to free software only, so we use the Lesser General Public License. In other cases, permission to use a particular library in non-free programs enables a greater number of people to use a large body of free software. For example, permission to use the GNU C Library in non-free programs enables many more people to use the whole GNU operating system, as well as its variant, the GNU/Linux operating system. Although the Lesser General Public License is Less protective of the users' freedom, it does ensure that the user of a program that is linked with the Library has the freedom and the wherewithal to run that program using a modified version of the Library. The precise terms and conditions for copying, distribution and modification follow. Pay close attention to the difference between a "work based on the library" and a "work that uses the library". The former contains code derived from the library, whereas the latter must be combined with the library in order to run. GNU LESSER GENERAL PUBLIC LICENSE TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION 0. This License Agreement applies to any software library or other program which contains a notice placed by the copyright holder or other authorized party saying it may be distributed under the terms of this Lesser General Public License (also called "this License"). Each licensee is addressed as "you". A "library" means a collection of software functions and/or data prepared so as to be conveniently linked with application programs (which use some of those functions and data) to form executables. The "Library", below, refers to any such software library or work which has been distributed under these terms. A "work based on the Library" means either the Library or any derivative work under copyright law: that is to say, a work containing the Library or a portion of it, either verbatim or with modifications and/or translated straightforwardly into another language. (Hereinafter, translation is included without limitation in the term "modification".) "Source code" for a work means the preferred form of the work for making modifications to it. For a library, complete source code means all the source code for all modules it contains, plus any associated interface definition files, plus the scripts used to control compilation and installation of the library. Activities other than copying, distribution and modification are not covered by this License; they are outside its scope. The act of running a program using the Library is not restricted, and output from such a program is covered only if its contents constitute a work based on the Library (independent of the use of the Library in a tool for writing it). Whether that is true depends on what the Library does and what the program that uses the Library does. 1. You may copy and distribute verbatim copies of the Library's complete source code as you receive it, in any medium, provided that you conspicuously and appropriately publish on each copy an appropriate copyright notice and disclaimer of warranty; keep intact all the notices that refer to this License and to the absence of any warranty; and distribute a copy of this License along with the Library. You may charge a fee for the physical act of transferring a copy, and you may at your option offer warranty protection in exchange for a fee. 2. You may modify your copy or copies of the Library or any portion of it, thus forming a work based on the Library, and copy and distribute such modifications or work under the terms of Section 1 above, provided that you also meet all of these conditions: a) The modified work must itself be a software library. b) You must cause the files modified to carry prominent notices stating that you changed the files and the date of any change. c) You must cause the whole of the work to be licensed at no charge to all third parties under the terms of this License. d) If a facility in the modified Library refers to a function or a table of data to be supplied by an application program that uses the facility, other than as an argument passed when the facility is invoked, then you must make a good faith effort to ensure that, in the event an application does not supply such function or table, the facility still operates, and performs whatever part of its purpose remains meaningful. (For example, a function in a library to compute square roots has a purpose that is entirely well-defined independent of the application. Therefore, Subsection 2d requires that any application-supplied function or table used by this function must be optional: if the application does not supply it, the square root function must still compute square roots.) These requirements apply to the modified work as a whole. If identifiable sections of that work are not derived from the Library, and can be reasonably considered independent and separate works in themselves, then this License, and its terms, do not apply to those sections when you distribute them as separate works. But when you distribute the same sections as part of a whole which is a work based on the Library, the distribution of the whole must be on the terms of this License, whose permissions for other licensees extend to the entire whole, and thus to each and every part regardless of who wrote it. Thus, it is not the intent of this section to claim rights or contest your rights to work written entirely by you; rather, the intent is to exercise the right to control the distribution of derivative or collective works based on the Library. In addition, mere aggregation of another work not based on the Library with the Library (or with a work based on the Library) on a volume of a storage or distribution medium does not bring the other work under the scope of this License. 3. You may opt to apply the terms of the ordinary GNU General Public License instead of this License to a given copy of the Library. To do this, you must alter all the notices that refer to this License, so that they refer to the ordinary GNU General Public License, version 2, instead of to this License. (If a newer version than version 2 of the ordinary GNU General Public License has appeared, then you can specify that version instead if you wish.) Do not make any other change in these notices. Once this change is made in a given copy, it is irreversible for that copy, so the ordinary GNU General Public License applies to all subsequent copies and derivative works made from that copy. This option is useful when you wish to copy part of the code of the Library into a program that is not a library. 4. You may copy and distribute the Library (or a portion or derivative of it, under Section 2) in object code or executable form under the terms of Sections 1 and 2 above provided that you accompany it with the complete corresponding machine-readable source code, which must be distributed under the terms of Sections 1 and 2 above on a medium customarily used for software interchange. If distribution of object code is made by offering access to copy from a designated place, then offering equivalent access to copy the source code from the same place satisfies the requirement to distribute the source code, even though third parties are not compelled to copy the source along with the object code. 5. A program that contains no derivative of any portion of the Library, but is designed to work with the Library by being compiled or linked with it, is called a "work that uses the Library". Such a work, in isolation, is not a derivative work of the Library, and therefore falls outside the scope of this License. However, linking a "work that uses the Library" with the Library creates an executable that is a derivative of the Library (because it contains portions of the Library), rather than a "work that uses the library". The executable is therefore covered by this License. Section 6 states terms for distribution of such executables. When a "work that uses the Library" uses material from a header file that is part of the Library, the object code for the work may be a derivative work of the Library even though the source code is not. Whether this is true is especially significant if the work can be linked without the Library, or if the work is itself a library. The threshold for this to be true is not precisely defined by law. If such an object file uses only numerical parameters, data structure layouts and accessors, and small macros and small inline functions (ten lines or less in length), then the use of the object file is unrestricted, regardless of whether it is legally a derivative work. (Executables containing this object code plus portions of the Library will still fall under Section 6.) Otherwise, if the work is a derivative of the Library, you may distribute the object code for the work under the terms of Section 6. Any executables containing that work also fall under Section 6, whether or not they are linked directly with the Library itself. 6. As an exception to the Sections above, you may also combine or link a "work that uses the Library" with the Library to produce a work containing portions of the Library, and distribute that work under terms of your choice, provided that the terms permit modification of the work for the customer's own use and reverse engineering for debugging such modifications. You must give prominent notice with each copy of the work that the Library is used in it and that the Library and its use are covered by this License. You must supply a copy of this License. If the work during execution displays copyright notices, you must include the copyright notice for the Library among them, as well as a reference directing the user to the copy of this License. Also, you must do one of these things: a) Accompany the work with the complete corresponding machine-readable source code for the Library including whatever changes were used in the work (which must be distributed under Sections 1 and 2 above); and, if the work is an executable linked with the Library, with the complete machine-readable "work that uses the Library", as object code and/or source code, so that the user can modify the Library and then relink to produce a modified executable containing the modified Library. (It is understood that the user who changes the contents of definitions files in the Library will not necessarily be able to recompile the application to use the modified definitions.) b) Use a suitable shared library mechanism for linking with the Library. A suitable mechanism is one that (1) uses at run time a copy of the library already present on the user's computer system, rather than copying library functions into the executable, and (2) will operate properly with a modified version of the library, if the user installs one, as long as the modified version is interface-compatible with the version that the work was made with. c) Accompany the work with a written offer, valid for at least three years, to give the same user the materials specified in Subsection 6a, above, for a charge no more than the cost of performing this distribution. d) If distribution of the work is made by offering access to copy from a designated place, offer equivalent access to copy the above specified materials from the same place. e) Verify that the user has already received a copy of these materials or that you have already sent this user a copy. For an executable, the required form of the "work that uses the Library" must include any data and utility programs needed for reproducing the executable from it. However, as a special exception, the materials to be distributed need not include anything that is normally distributed (in either source or binary form) with the major components (compiler, kernel, and so on) of the operating system on which the executable runs, unless that component itself accompanies the executable. It may happen that this requirement contradicts the license restrictions of other proprietary libraries that do not normally accompany the operating system. Such a contradiction means you cannot use both them and the Library together in an executable that you distribute. 7. You may place library facilities that are a work based on the Library side-by-side in a single library together with other library facilities not covered by this License, and distribute such a combined library, provided that the separate distribution of the work based on the Library and of the other library facilities is otherwise permitted, and provided that you do these two things: a) Accompany the combined library with a copy of the same work based on the Library, uncombined with any other library facilities. This must be distributed under the terms of the Sections above. b) Give prominent notice with the combined library of the fact that part of it is a work based on the Library, and explaining where to find the accompanying uncombined form of the same work. 8. You may not copy, modify, sublicense, link with, or distribute the Library except as expressly provided under this License. Any attempt otherwise to copy, modify, sublicense, link with, or distribute the Library is void, and will automatically terminate your rights under this License. However, parties who have received copies, or rights, from you under this License will not have their licenses terminated so long as such parties remain in full compliance. 9. You are not required to accept this License, since you have not signed it. However, nothing else grants you permission to modify or distribute the Library or its derivative works. These actions are prohibited by law if you do not accept this License. Therefore, by modifying or distributing the Library (or any work based on the Library), you indicate your acceptance of this License to do so, and all its terms and conditions for copying, distributing or modifying the Library or works based on it. 10. Each time you redistribute the Library (or any work based on the Library), the recipient automatically receives a license from the original licensor to copy, distribute, link with or modify the Library subject to these terms and conditions. You may not impose any further restrictions on the recipients' exercise of the rights granted herein. You are not responsible for enforcing compliance by third parties with this License. 11. If, as a consequence of a court judgment or allegation of patent infringement or for any other reason (not limited to patent issues), conditions are imposed on you (whether by court order, agreement or otherwise) that contradict the conditions of this License, they do not excuse you from the conditions of this License. If you cannot distribute so as to satisfy simultaneously your obligations under this License and any other pertinent obligations, then as a consequence you may not distribute the Library at all. For example, if a patent license would not permit royalty-free redistribution of the Library by all those who receive copies directly or indirectly through you, then the only way you could satisfy both it and this License would be to refrain entirely from distribution of the Library. If any portion of this section is held invalid or unenforceable under any particular circumstance, the balance of the section is intended to apply, and the section as a whole is intended to apply in other circumstances. It is not the purpose of this section to induce you to infringe any patents or other property right claims or to contest validity of any such claims; this section has the sole purpose of protecting the integrity of the free software distribution system which is implemented by public license practices. Many people have made generous contributions to the wide range of software distributed through that system in reliance on consistent application of that system; it is up to the author/donor to decide if he or she is willing to distribute software through any other system and a licensee cannot impose that choice. This section is intended to make thoroughly clear what is believed to be a consequence of the rest of this License. 12. If the distribution and/or use of the Library is restricted in certain countries either by patents or by copyrighted interfaces, the original copyright holder who places the Library under this License may add an explicit geographical distribution limitation excluding those countries, so that distribution is permitted only in or among countries not thus excluded. In such case, this License incorporates the limitation as if written in the body of this License. 13. The Free Software Foundation may publish revised and/or new versions of the Lesser General Public License from time to time. Such new versions will be similar in spirit to the present version, but may differ in detail to address new problems or concerns. Each version is given a distinguishing version number. If the Library specifies a version number of this License which applies to it and "any later version", you have the option of following the terms and conditions either of that version or of any later version published by the Free Software Foundation. If the Library does not specify a license version number, you may choose any version ever published by the Free Software Foundation. 14. If you wish to incorporate parts of the Library into other free programs whose distribution conditions are incompatible with these, write to the author to ask for permission. For software which is copyrighted by the Free Software Foundation, write to the Free Software Foundation; we sometimes make exceptions for this. Our decision will be guided by the two goals of preserving the free status of all derivatives of our free software and of promoting the sharing and reuse of software generally. NO WARRANTY 15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE LIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. 16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. END OF TERMS AND CONDITIONS How to Apply These Terms to Your New Libraries If you develop a new library, and you want it to be of the greatest possible use to the public, we recommend making it free software that everyone can redistribute and change. You can do so by permitting redistribution under these terms (or, alternatively, under the terms of the ordinary General Public License). To apply these terms, attach the following notices to the library. It is safest to attach them to the start of each source file to most effectively convey the exclusion of warranty; and each file should have at least the "copyright" line and a pointer to where the full notice is found. Copyright (C) This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA Also add information on how to contact you by electronic and paper mail. You should also get your employer (if you work as a programmer) or your school, if any, to sign a "copyright disclaimer" for the library, if necessary. Here is a sample; alter the names: Yoyodyne, Inc., hereby disclaims all copyright interest in the library `Frob' (a library for tweaking knobs) written by James Random Hacker. , 1 April 1990 Ty Coon, President of Vice That's all there is to it! libvirt-sandbox-0.5.1+git20160404/ChangeLog000066400000000000000000000000001275305543100177710ustar00rootroot00000000000000libvirt-sandbox-0.5.1+git20160404/GNUmakefile000066400000000000000000000113161275305543100203050ustar00rootroot00000000000000# Having a separate GNUmakefile lets me `include' the dynamically # generated rules created via cfg.mk (package-local configuration) # as well as maint.mk (generic maintainer rules). # This makefile is used only if you run GNU Make. # It is necessary if you want to build targets usually of interest # only to the maintainer. # Copyright (C) 2001, 2003, 2006-2011 Free Software Foundation, Inc. # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # You should have received a copy of the GNU General Public License # along with this program. If not, see . # Systems where /bin/sh is not the default shell need this. The $(shell) # command below won't work with e.g. stock DOS/Windows shells. ifeq ($(wildcard /bin/s[h]),/bin/sh) SHELL = /bin/sh else # will be used only with the next shell-test line, then overwritten # by a configured-in value SHELL = sh endif # If the user runs GNU make but has not yet run ./configure, # give them a diagnostic. _have-Makefile := $(shell test -f Makefile && echo yes) ifeq ($(_have-Makefile),yes) # Make tar archive easier to reproduce. export TAR_OPTIONS = --owner=0 --group=0 --numeric-owner # Allow the user to add to this in the Makefile. ALL_RECURSIVE_TARGETS = include Makefile # Some projects override e.g., _autoreconf here. -include $(srcdir)/cfg.mk # Allow cfg.mk to override these. _build-aux ?= build-aux _autoreconf ?= autoreconf -v include $(srcdir)/maint.mk # Ensure that $(VERSION) is up to date for dist-related targets, but not # for others: rerunning autoreconf and recompiling everything isn't cheap. _have-git-version-gen := \ $(shell test -f $(srcdir)/$(_build-aux)/git-version-gen && echo yes) ifeq ($(_have-git-version-gen)0,yes$(MAKELEVEL)) _is-dist-target ?= $(filter-out %clean, \ $(filter maintainer-% dist% alpha beta stable,$(MAKECMDGOALS))) _is-install-target ?= $(filter-out %check, $(filter install%,$(MAKECMDGOALS))) ifneq (,$(_is-dist-target)$(_is-install-target)) _curr-ver := $(shell cd $(srcdir) \ && $(_build-aux)/git-version-gen \ .tarball-version \ $(git-version-gen-tag-sed-script)) ifneq ($(_curr-ver),$(VERSION)) ifeq ($(_curr-ver),UNKNOWN) $(info WARNING: unable to verify if $(VERSION) is the correct version) else ifneq (,$(_is-install-target)) # GNU Coding Standards state that 'make install' should not cause # recompilation after 'make all'. But as long as changing the version # string alters config.h, the cost of having 'make all' always have an # up-to-date version is prohibitive. So, as a compromise, we merely # warn when installing a version string that is out of date; the user # should run 'autoreconf' (or something like 'make distcheck') to # fix the version, 'make all' to propagate it, then 'make install'. $(info WARNING: version string $(VERSION) is out of date;) $(info run '$(MAKE) _version' to fix it) else $(info INFO: running autoreconf for new version string: $(_curr-ver)) GNUmakefile: _version touch GNUmakefile endif endif endif endif endif .PHONY: _version _version: cd $(srcdir) && rm -rf autom4te.cache .version && $(_autoreconf) $(MAKE) $(AM_MAKEFLAGS) Makefile else .DEFAULT_GOAL := abort-due-to-no-makefile srcdir = . # The package can override .DEFAULT_GOAL to run actions like autoreconf. -include ./cfg.mk include ./maint.mk ifeq ($(.DEFAULT_GOAL),abort-due-to-no-makefile) $(MAKECMDGOALS): abort-due-to-no-makefile endif abort-due-to-no-makefile: @echo There seems to be no Makefile in this directory. 1>&2 @echo "You must run ./configure before running \`make'." 1>&2 @exit 1 endif # Tell version 3.79 and up of GNU make to not build goals in this # directory in parallel, in case someone tries to build multiple # targets, and one of them can cause a recursive target to be invoked. # Only set this if Automake doesn't provide it. AM_RECURSIVE_TARGETS ?= $(RECURSIVE_TARGETS:-recursive=) \ $(RECURSIVE_CLEAN_TARGETS:-recursive=) \ dist distcheck tags ctags ALL_RECURSIVE_TARGETS += $(AM_RECURSIVE_TARGETS) ifneq ($(word 2, $(MAKECMDGOALS)), ) ifneq ($(filter $(ALL_RECURSIVE_TARGETS), $(MAKECMDGOALS)), ) .NOTPARALLEL: endif endif libvirt-sandbox-0.5.1+git20160404/HACKING000066400000000000000000000005431275305543100172220ustar00rootroot00000000000000 Tips for hacking on libvirt-sandbox =================================== To test the GObject introspection based language bindings without having to run make install, there are two environment variables that need to be set: export GI_TYPELIB_PATH=`pwd`/libvirt-sandbox export LD_LIBRARY_PATH=`pwd`/libvirt-sandbox/.libs libvirt-sandbox-0.5.1+git20160404/Makefile.am000066400000000000000000000021511275305543100202640ustar00rootroot00000000000000 SUBDIRS = libvirt-sandbox bin examples docs po ACLOCAL_AMFLAGS = -I m4 pkgconfigdir = $(libdir)/pkgconfig pkgconfig_DATA = libvirt-sandbox-1.0.pc EXTRA_DIST = \ $(PACKAGE).spec \ $(pkgconfig_DATA:%.pc=%.pc.in) \ AUTHORS.in \ $(NULL) DISTCLEAN_FILES = $(PACKAGE).spec $(pkgconfig_DATA) DISTCHECK_CONFIGURE_FLAGS = --enable-introspection=yes --enable-gtk-doc=yes dist-hook: gen-ChangeLog gen-AUTHORS # Generate the ChangeLog file (with all entries since the switch to git) # and insert it into the directory we're about to use to create a tarball. .PHONY: gen-ChangeLog gen-AUTHORS gen-ChangeLog: if test -d .git || test -d ../.git; then \ $(top_srcdir)/build-aux/gitlog-to-changelog \ > $(distdir)/cl-t; \ rm -f $(distdir)/ChangeLog; \ mv $(distdir)/cl-t $(distdir)/ChangeLog; \ fi gen-AUTHORS: $(AM_V_GEN)if test -d $(srcdir)/.git; then \ out="`cd $(srcdir) && git log --pretty=format:'%aN <%aE>' | sort -u`" && \ perl -p -e "s/#authorslist#// and print '$$out'" \ < $(srcdir)/AUTHORS.in > $(distdir)/AUTHORS-tmp && \ mv -f $(distdir)/AUTHORS-tmp $(distdir)/AUTHORS ; \ fi libvirt-sandbox-0.5.1+git20160404/NEWS000066400000000000000000000273721275305543100167430ustar00rootroot00000000000000 libvirt Sandbox News ==================== 0.6.0 - "Dashti Margo" - 2015-07-01 ----------------------------------- - API/ABI in-compatible change, soname increased - Prevent use of virt-sandbox-service as non-root upfront - Fix misc memory leaks - Block SIGHUP from the dhclient binary to prevent accidental death if the controlling terminal is closed & reopened - Add support for re-creating libvirt XML from sandbox config to facilitate upgrades - Switch to standard gobject introspection autoconf macros - Add ability to set filters on network interfaces - Search /usr/lib instead of /lib for systemd unit files, as the former is the canonical location even when / and /usr are merged - Only set SELinux labels on hosts that support SELinux - Explicitly link to selinux, instead of relying on indirect linkage - Update compiler warning flags - Fix misc docs comments - Don't assume use of SELinux in virt-sandbox-service - Fix path checks for SUSUE in virt-sandbox-service - Add support for AppArmour profiles - Mount /var after other FS to ensure host image is available - Ensure state/config dirs can be accessed when QEMU is running non-root for qemu:///system - Fix mounting of host images in QEMU sandboxes - Mount images as ext4 instead of ext3 - Allow use of non-raw disk images as filesystem mounts - Check if required static libs are available at configure time to prevent silent fallback to shared linking - Require libvirt-glib >= 0.2.1 - Add support for loading lzma and gzip compressed kmods - Check for support libvirt URIs when starting guests to ensure clear error message upfront - Add LIBVIRT_SANDBOX_INIT_DEBUG env variable to allow debugging of kernel boot messages and sandbox init process setup - Add support for exposing block devices to sandboxes with a predictable name under /dev/disk/by-tag/TAGNAME - Use devtmpfs instead of tmpfs for auto-populating /dev in QEMU sandboxes - Allow setup of sandbox with custom root filesystem instead of inheriting from host's root. - Allow execution of apps from non-matched ld-linux.so / libc.so, eg executing F19 binaries on F22 host - Use passthrough mode for all QEMU filesystems 0.5.1 - "Cholistan" - 2013-11-18 -------------------------------- - Fix path to systemd binary (prefers dir /lib/systemd not /bin) - Remove obsolete commands from virt-sandbox-service man page - Fix delete of running service container - Allow use of custom root dirs with 'virt-sandbox --root DIR' - Fix 'upgrade' command for virt-sandbox-service generic services - Fix logrotate script to use virsh for listing sandboxed services - Add 'inherit' option for virt-sandbox '-s' security context option, to auto-copy calling process' context - Remove non-existant '-S' option froom virt-sandbox-service man page - Fix line break formatting of man page - Mention LIBVIRT_DEFAULT_URI in virt-sandbox-service man page - Check some return values in libvirt-sandbox-init-qemu - Remove unused variables - Fix crash with partially specified mount option string - Add man page docs for 'ram' mount type - Avoid close of un-opened file descriptor - Fix leak of file handles in init helpers - Log a message if sandbox cleanup fails - Cope with domain being missing when deleting container - Improve stack trace diagnostics in virt-sandbox-service - Fix virt-sandbox-service content copying code when faced with non-regular files. - Improve error reporting if kernel does not exist - Allow kernel version/path/kmod to be set with virt-sandbox - Don't overmount '/root' in QEMU sandboxes by default - Fix nosuid / nodev mount options for tmpfs - Force 9p2000.u protocol version to avoid QEMU bugs - Fix cleanup when failing to start interactive sandbox - Create copy of kernel from /boot to allow relabelling - Bulk re-indent of code - Avoid crash when gateway is missing in network options - Fix symlink target created in multi-user.target.wants - Add '-p PATH' option for virt-sandbox-service clone/delete to match 'create' command option. - Only allow 'lxc:///' URIs with virt-sandbox-service until further notice - Rollback state if cloning a service sandbox fails - Add more kernel modules instead of assuming they are all builtins - Don't complain if some kmods are missing, as they may be builtins - Allow --mount to be repeated with virt-sandbox-service 0.5.0 - "Sahara Desert" - 2013-08-01 ------------------------------------ - Switch to use persistent libvirt configuration files for service sandboxes - Store service configs in /etc/libvirt-sandbox/services/$NAME/ instead of /etc/libvirt-sandbox/services/$NAME.sandbox to allow storage of multiple files per sandbox - Add a new 'virt-sandbox-service upgrade NAME' command, to be run by admin for all existing service sandboxes to upgrade their configuration to be compatible with the new release - Remove start, stop, list commands from virt-sandbox-service, with recomendation to use start, destroy & list commands in virsh instead. - Remove duplicate -u option in man page - Update man page examples - Stop generating a UNIT_sandbox.target unit, instead letting the sandbox unit tie into multi-user.target as normal - Remove unimplemented APIs for graphical sandboxes, to be re-added at a later date when actually functional - Add padding to public structs, to facilitate preservation of public ABI compatibility in future - Add note about default libvirt URIs in man page - Fix cloning of sandboxes 0.2.1 - "Owami Desert" - 2013-07-09 ----------------------------------- - Requires libvirt-glib >= 0.1.7 - ABI change: Removed GVirSandboxCleaner class - Don't add link in /var/log/journal for image based containers - Don't hold open libvirt connection when displaying service sandbox consoles - Record container UUID in config for service sandboxes - Add missing RPMs deps - Allow custom mounts to be specified to virt-sandbox-service - Fix misc bugs in sandbox creation/deletion - Use 'guest bind' for configuring image based service sandboxes - Allow NIC MAC address to be chosen - Include systemd-initctl.socket in service sandboxes by default to allow libvirt initiated graceful shutdown 0.2.0 - "Nubian Desert" - 2013-05-07 ------------------------------------ - Requires systemd >= 198 - Fix termination of interactive sandbox client to avoid loosing final I/O - Stop hardcoding default security label - Misc docs typos / fixes - Fix infinite loop handling security opts - Mandate enablement of introspection - Handle NULL broadcast address for NICs - Don't assume /var/log/journal exists - Improve rollback if creation of service sandbox fails - Block host NICs from sandbox - Sanity check requested network config - Fix sandbox journal location to be a dir not a file - Fix parsing of --security option - Change virt-sandbox-service to use --security opts instead of SELinux specific -l/-t/-d args - Replace use of YUM with RPM to improve performance - Send dhclient output to /dev/null - Avoid getting stuck in waitpid if non-primary process exits - Allow choice of host virtual networks - Support network config with virt-sandbox-service - Do not create any NIC in service sandbox by default - Cope with SELinux label lacking a category pair - Delay dropping credentials until after ttys are opened - Fix tty permissions in QEMU init helper to be 0700 instead of 0777 - Add support for non-systemd service containers - Add support for i18n of all output strings - Remove hardcoding of lxc:/// in virt-sandbox-service - Correctly handle EOF from raw console - Improve I/O performance of virt-sandbox - Allow custom uid/gid for generic service sandboxes - Do not run debug shell in service sandboxes - Add --package option to virt-sandbox-service for cases where the unit file is not owned by an RPM - Use drop in systemd service override, instead of includes - Support templated systemd service units 0.1.2 - "Namib Desert" - 2013-03-05 ----------------------------------- - Requires libvirt >= 1.0.2 - Split virt-sandbox-service manpage into separate docs, one for each sub-command - Fix handling of GLib.GError exceptions - Containerize /var/lib/nfs/rpc_pipefs too - Add ability to execute arbitrary commands inside the container using namespace attach - Fix docs for virt-sandbox mount options - Better wording about escape sequence for consoles - Create journal file if it doesn't already exist - Create /etc/rc.d/init.d inside container to block legacy init scripts starting - Skip binding files/dirs which don't exist in host 0.1.1 - "Libyan Desert" - 2012-12-10 ------------------------------------ - Fix typos in POD docs for some classes - Only depend on libvirt-daemon-{kvm,qemu,lxc}, not full libvirt RPM. - Switch to YUM for extracting package file list - Bind mount whole of /var rather than only some subdirs - Validate unit files exist before creating sandbox - Fixes to population of files in /etc and /var - Finish 'clone' command for copying sandboxes - Populate /etc/machine-id file - Fix systemd dependancies for bulk start/stop of containers - Symlink container journal directory into host filesystem - Rename sandbox.target to multi-user.target - Fix attachment to running containers 0.1.0 - "Karoo" - 2012-08-10 ---------------------------- - ABI+API incompatible with previous library, so new soname - Some changes to CLI args for virt-sandbox command - Many fixes to virt-sandbox-service - Use /run/libvirt-sandbox instead of /root/.cache/libvirt when run as root - Fix typo setting RUNDIR - Re-add /kernel suffix to kmod search dir - Add APIs to select kernel version - Fix SEGV when attaching consoles to NULL stdin - Add logrotate script for virt-sandbox-service - Turn GVirSandboxConsole into an abstract class - Configurable keysequence for breaking out of console (defaults to Ctrl+]) - Fix handling of strace debugging - Add APIs to select kmod directory prefix - Require glib >= 2.32 - Refactor APIs for configuring sandbox mounts - Maintain a single sorted list of mounts - Add support for RAM filesystems - Setup tmpfs for /run and /tmp in sandbox services - Remove need to provide executable for sandbox services, just rely on systemd unit filename - Enable admin customization of systemd services in sandbox services - Rewrite part of virt-sandbox-service in C to reduce long term memory overhead - Create custom systemd startup sequence 0.0.3 - "Kalahari Desert" - 2012-04-13 -------------------------------------- - Ensure root/config filesystems are readonly in KVM - Add support for mounting host disk images in guests - Add support for binding guest filesystems to new locations - Add support for an optional interactive shell for debugging or administrative purposes - Add a virt-sandbox-service script for preparing sandboxes for system services, integrating with systemd - Misc compiler warning fixes - Replace invocation of insmod with direct syscalls - Refactor API to separate interactive sandbox functionality from base class & service sandbox functionality - Rewrite host/guest I/O handling to separate stdout from stderr correctly, improve reliability of startup/shutdown handshakes and propagate exit status back to host - Exec away the first hypervisor specific init process, so generic init process get PID 1 - Turn on reboot-on-panic in KVM to ensure guest exists on fatal problems 0.0.2 - "Blue Desert" - 2012-01-12 ---------------------------------- - Add ability to attach to an existing sandbox - Update to require libvirt-gobject 0.0.4 - Add ability to run privileged apps - Add support for an admin debug shell - Switch to use /etc/libvirt-sandbox/scratch for config 0.0.1 - "Tatti Desert" - 2012-01-11 ----------------------------------- - First release libvirt-sandbox-0.5.1+git20160404/README000066400000000000000000000036351275305543100171200ustar00rootroot00000000000000 libvirt Sandbox =============== The libvirt-sandbox package provides an API for building application sandboxes using libvirt. Sandboxes can be based on either container or machine based virtualization technology. Also included is a simple command line tool for launching sandboxes for arbitrary commands. Installation ------------ The libvirt-sandbox package uses GNU autotools, so the build install process follows the standard process documented in the INSTALL file. As a quick start you can do ./configure --prefix=/usr --sysconfdir=/etc \ --localstatedir=/var --libdir=/usr/lib make sudo make install Or to install into a private user specific location ./configure --prefix=$HOME/libvirt-sandbox make make install The following mandatory dependancies are required in order to build libvirt-sandbox libvirt-glib >= 0.1.7 libvirt >= 1.0.2 glib2 >= 2.28.0 And either the libvirt LXC or QEMU/KVM drivers. Communication ------------- To communicate with the development team, or to post patches there is a technical mailing list: https://www.redhat.com/mailman/listinfo/libvir-list End user support can be found at https://www.redhat.com/mailman/listinfo/libvirt-users There is also a mailing list for new release announcements: https://www.redhat.com/mailman/listinfo/libvirt-announce Bugs found when using an OS distribution's binary packages should be reported to the OS vendors' own bug tracker first. The latest libvirt-sandbox code can be found in GIT at: http://libvirt.org/git/?p=libvirt-sandbox.git Licensing --------- libvirt-sandbox is provided under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. Please see the COPYING file for the complete LGPLv2+ license terms, or visit . -- End of readme libvirt-sandbox-0.5.1+git20160404/TODO000066400000000000000000000031451275305543100167240ustar00rootroot00000000000000 libvirt-sandbox TODO list ================= systemd-tmpfiles --create needs to be run within the container, before any apps are started, since it will populate /run (Completed) CGROUPFS: integration so libvirt does it rather then systemd within the container We need kernel labeling support for cgroupfs so we can allow systemd to write to its section of the cgroupfs. SYSLOG: Currently syslog messages are going no where within the container. If we run a syslog within the container will it get messages from the outside? Should we just use systemd-journal. I think sysadmins will want to be able to look in /var/log/messages within the container. (systemd-journal is now running within a container) EXECUTE: virt-sandbox-service execute --command "BLAH" does not work. We need to have the ability to execute any random command within the container, and get stdin, stdout, stderror outside the container. (Partially Completed) Still needs kernel to implement missing container namespace files under /proc/PID/ns, Also need a mechanism to get the PID of systemd from libvirt. HOSTNAME: Currently if I execute hostname within the container it sees the name of the host not the name based on the container name or the IP Address associated with dhclient. (Completed) virt-sandbox-service connect NAME hangs when you attempt to end the connection. ^d should bring you back to the host terminal. Need a mechanism to allow admins to specify additional services to run within the container. For example you may want to run mysql and apache within the same container. (Completed) You can do this using systemctl enabel BLAH libvirt-sandbox-0.5.1+git20160404/autobuild.sh000077500000000000000000000027431275305543100205660ustar00rootroot00000000000000#!/bin/sh set -e set -v # Make things clean. test -n "$1" && RESULTS=$1 || RESULTS=results.log : ${AUTOBUILD_INSTALL_ROOT=$HOME/builder} test -f Makefile && make -k distclean || : rm -rf build mkdir build cd build ../autogen.sh --prefix=$AUTOBUILD_INSTALL_ROOT \ --enable-gtk-doc make make install # set -o pipefail is a bashism; this use of exec is the POSIX alternative exec 3>&1 st=$( exec 4>&1 >&3 { make check syntax-check 2>&1 3>&- 4>&-; echo $? >&4; } | tee "$RESULTS" ) exec 3>&- test "$st" = 0 rm -f *.tar.gz make dist if [ -n "$AUTOBUILD_COUNTER" ]; then EXTRA_RELEASE=".auto$AUTOBUILD_COUNTER" else NOW=`date +"%s"` EXTRA_RELEASE=".$USER$NOW" fi if [ -f /usr/bin/rpmbuild ]; then rpmbuild --nodeps \ --define "extra_release $EXTRA_RELEASE" \ --define "_sourcedir `pwd`" \ -ba --clean libvirt-sandbox.spec fi exit 0 if [ -x /usr/bin/i686-pc-mingw32-gcc ]; then make distclean PKG_CONFIG_PATH="$AUTOBUILD_INSTALL_ROOT/i686-pc-mingw32/sys-root/mingw/lib/pkgconfig" \ CC="i686-pc-mingw32-gcc" \ ../configure \ --build=$(uname -m)-pc-linux \ --host=i686-pc-mingw32 \ --prefix="$AUTOBUILD_INSTALL_ROOT/i686-pc-mingw32/sys-root/mingw" \ --without-python make make install #set -o pipefail #make check 2>&1 | tee "$RESULTS" if [ -f /usr/bin/rpmbuild ]; then rpmbuild --nodeps \ --define "extra_release $EXTRA_RELEASE" \ --define "_sourcedir `pwd`" \ -ba --clean mingw32-libvirt-sandbox.spec fi fi libvirt-sandbox-0.5.1+git20160404/autogen.sh000077500000000000000000000023751275305543100202410ustar00rootroot00000000000000#!/bin/sh # Run this to generate all the initial makefiles, etc. set -e srcdir=`dirname $0` test -z "$srcdir" && srcdir=. THEDIR=`pwd` cd $srcdir DIE=0 for prog in intltoolize autoreconf automake autoconf libtool do ($prog --version) < /dev/null > /dev/null 2>&1 || { echo echo "You must have $prog installed to compile libvirt-sandbox." DIE=1 } done if test "$DIE" -eq 1; then exit 1 fi if test -z "$*"; then echo "I am going to run ./configure with no args - if you " echo "wish to pass any extra arguments to it, please specify them on " echo "the $0 command line." fi # Real ChangeLog/AUTHORS is auto-generated from GIT logs at # make dist time, but automake requires that it # exists at all times :-( touch ChangeLog AUTHORS mkdir -p build-aux intltoolize --force autoreconf -if cd $THEDIR if test "x$1" = "x--system"; then shift prefix=/usr libdir=$prefix/lib sysconfdir=/etc localstatedir=/var if [ -d /usr/lib64 ]; then libdir=$prefix/lib64 fi EXTRA_ARGS="--prefix=$prefix --sysconfdir=$sysconfdir --localstatedir=$localstatedir --libdir=$libdir" fi $srcdir/configure $EXTRA_ARGS "$@" && { echo echo "Now type 'make' to compile libvirt-sandbox." } libvirt-sandbox-0.5.1+git20160404/bin/000077500000000000000000000000001275305543100170015ustar00rootroot00000000000000libvirt-sandbox-0.5.1+git20160404/bin/Makefile.am000066400000000000000000000063661275305543100210500ustar00rootroot00000000000000 bin_PROGRAMS = virt-sandbox libexec_PROGRAMS = virt-sandbox-service-util bin_SCRIPTS = virt-sandbox-service \ virt-sandbox-image virtsandboxcompdir = $(datarootdir)/bash-completion/completions/ crondailydir = $(sysconfdir)/cron.daily crondaily_SCRIPTS = virt-sandbox-service.logrotate POD_FILES = \ virt-sandbox-service.pod \ virt-sandbox-service-execute.pod \ virt-sandbox-service-create.pod \ virt-sandbox-service-clone.pod \ virt-sandbox-service-connect.pod \ virt-sandbox-service-delete.pod \ virt-sandbox-service-reload.pod \ virt-sandbox-service-upgrade.pod \ $(NULL) EXTRA_DIST = $(bin_SCRIPTS) $(POD_FILES) virt-sandbox-service-bash-completion.sh virt-sandbox-service.logrotate EXTRA_DIST += virt-sandbox-service-bash-completion.sh man1_MANS = \ virt-sandbox.1 \ virt-sandbox-service.1 \ virt-sandbox-service-execute.1 \ virt-sandbox-service-create.1 \ virt-sandbox-service-clone.1 \ virt-sandbox-service-connect.1 \ virt-sandbox-service-delete.1 \ virt-sandbox-service-reload.1 \ virt-sandbox-service-upgrade.1 \ $(NULL) POD2MAN = pod2man -c "Virtualization Support" -r "$(PACKAGE)-$(VERSION)" virt-sandbox.1: virt-sandbox.c Makefile $(AM_V_GEN)$(POD2MAN) $< $(srcdir)/$@ virt-sandbox-service.1: virt-sandbox-service.pod Makefile $(AM_V_GEN)$(POD2MAN) $< $(srcdir)/$@ virt-sandbox-service-execute.1: virt-sandbox-service-execute.pod Makefile $(AM_V_GEN)$(POD2MAN) $< $(srcdir)/$@ virt-sandbox-service-clone.1: virt-sandbox-service-clone.pod Makefile $(AM_V_GEN)$(POD2MAN) $< $(srcdir)/$@ virt-sandbox-service-create.1: virt-sandbox-service-create.pod Makefile $(AM_V_GEN)$(POD2MAN) $< $(srcdir)/$@ virt-sandbox-service-connect.1: virt-sandbox-service-connect.pod Makefile $(AM_V_GEN)$(POD2MAN) $< $(srcdir)/$@ virt-sandbox-service-delete.1: virt-sandbox-service-delete.pod Makefile $(AM_V_GEN)$(POD2MAN) $< $(srcdir)/$@ virt-sandbox-service-reload.1: virt-sandbox-service-reload.pod Makefile $(AM_V_GEN)$(POD2MAN) $< $(srcdir)/$@ virt-sandbox-service-upgrade.1: virt-sandbox-service-upgrade.pod Makefile $(AM_V_GEN)$(POD2MAN) $< $(srcdir)/$@ CLEANFILES = $(man1_MANS) virt_sandbox_SOURCES = virt-sandbox.c virt_sandbox_CFLAGS = \ $(GIO_UNIX_CFLAGS) \ $(LIBVIRT_GOBJECT_CFLAGS) \ -I$(top_srcdir) \ -DLOCALEDIR="\"$(datadir)/locale"\" \ $(WARN_CFLAGS) \ $(NULL) virt_sandbox_LDFLAGS = \ $(GIO_UNIX_LIBS) \ $(LIBVIRT_GOBJECT_LIBS) \ ../libvirt-sandbox/libvirt-sandbox-1.0.la \ $(WARN_CFLAGS) \ $(NULL) virt_sandbox_service_util_SOURCES = virt-sandbox-service-util.c virt_sandbox_service_util_CFLAGS = \ $(GIO_UNIX_CFLAGS) \ $(LIBVIRT_GOBJECT_CFLAGS) \ -I$(top_srcdir) \ -DLOCALEDIR="\"$(datadir)/locale"\" \ $(WARN_CFLAGS) \ $(NULL) virt_sandbox_service_util_LDFLAGS = \ $(GIO_UNIX_LIBS) \ $(LIBVIRT_GOBJECT_LIBS) \ ../libvirt-sandbox/libvirt-sandbox-1.0.la \ $(WARN_CFLAGS) \ $(NULL) install-data-local: $(MKDIR_P) $(DESTDIR)$(sysconfdir)/libvirt-sandbox/services $(MKDIR_P) $(DESTDIR)$(virtsandboxcompdir) cp $(srcdir)/virt-sandbox-service-bash-completion.sh $(DESTDIR)$(virtsandboxcompdir)/virt-sandbox-service uninstall-local: $(rmdir) $(DESTDIR)$(sysconfdir)/libvirt-sandbox/services ||: $(rmdir) $(DESTDIR)$(sysconfdir)/libvirt-sandbox ||: rm -f $(DESTDIR)$(virtsandboxcompdir)/virt-sandbox-service libvirt-sandbox-0.5.1+git20160404/bin/virt-sandbox-image000077500000000000000000000002201275305543100224210ustar00rootroot00000000000000#!/usr/bin/python # -*- coding: utf-8 -*- from libvirt_sandbox.image import cli import sys if __name__ == '__main__': sys.exit(cli.main()) libvirt-sandbox-0.5.1+git20160404/bin/virt-sandbox-service000077500000000000000000001320331275305543100230070ustar00rootroot00000000000000#!/usr/bin/python -Es # # Authors: Dan Walsh # # Copyright (C) 2012-2013 Red Hat, Inc. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. # import gi gi.require_version('LibvirtGObject', '1.0') from gi.repository import LibvirtGObject gi.require_version('LibvirtSandbox', '1.0') from gi.repository import LibvirtSandbox from gi.repository import GLib import gi import re import os, sys, shutil, errno, stat import exceptions import rpm from subprocess import Popen, PIPE, STDOUT import gettext import pwd if os.path.exists("/sys/fs/selinux"): import selinux else: selinux = None LibvirtGObject.init_object_check(None) LibvirtSandbox.init_check(None) gettext.bindtextdomain("libvirt-sandbox", "/usr/share/locale") gettext.textdomain("libvirt-sandbox") try: gettext.install("libvirt-sandbox", localedir="/usr/share/locale", unicode=False, codeset = 'utf-8') except IOError: import __builtin__ __builtin__.__dict__['_'] = unicode CONFIG_PATH = "/etc/libvirt-sandbox/services/" def get_config_path(name): return CONFIG_PATH + name + "/config/sandbox.cfg" def get_legacy_config_path(name): return CONFIG_PATH + name + ".sandbox" def read_config(name): path = get_config_path(name) if not os.path.exists(path): return None return LibvirtSandbox.Config.load_from_path(path) # shutil.copytree throws a fit if it finds sockets # or fifos, and has really bad behaviour on block # and character devices too. def copydirtree(src, dst): filenames = os.listdir(src) os.makedirs(dst) for filename in filenames: srcfilepath = os.path.join(src, filename) dstfilepath = os.path.join(dst, filename) st = os.lstat(srcfilepath) if stat.S_ISDIR(st.st_mode): copydirtree(srcfilepath, dstfilepath) os.utime(dstfilepath, (st.st_atime, st.st_mtime)) os.chmod(dstfilepath, stat.S_IMODE(st.st_mode)) elif stat.S_ISREG(st.st_mode): with open(srcfilepath, 'rb') as fsrc: with open(dstfilepath, 'wb') as fdst: while 1: buf = fsrc.read(1024*32) if not buf: break fdst.write(buf) os.utime(dstfilepath, (st.st_atime, st.st_mtime)) os.chmod(dstfilepath, stat.S_IMODE(st.st_mode)) elif stat.S_ISLNK(st.st_mode): linkdst = os.readlink(srcfilepath) os.symlink(linkdst, dstfilepath) else: # Ignore all other special files (block/char/sock/fifo) pass class Container: DEFAULT_PATH = "/var/lib/libvirt/filesystems" DEFAULT_IMAGE = "/var/lib/libvirt/images/%s.raw" SELINUX_FILE_TYPE = "svirt_lxc_file_t" def __init__(self, name=None, uri = "lxc:///", path = DEFAULT_PATH, config=None, create=False): self.uri = uri self.use_image = False self.size = 10 * MB self.path = path self.config = config if self.config: self.name = self.config.get_name() else: self.name = name self.dest = "%s/%s" % (self.path, self.name) self.file_type = self.SELINUX_FILE_TYPE self.conn = None self.image = None self.uid = 0 self.mounts = [] def get_file_type(self): return self.file_type def set_file_type(self, file_type): self.file_type = file_type def set_uid(self, uid): self.config.set_userid(uid) def get_uid(self): return self.config.get_userid(uid) def set_gid(self, gid): self.config.set_groupid(gid) def get_gid(self): return self.config.get_groupid(gid) def set_username(self, username): self.config.set_username(username) def get_username(self): return self.config.get_username() def set_homedir(self, homedir): self.config.set_homedir(homedir) def get_homedir(self): return self.config.get_homedir() def set_mounts(self, mounts): self.mounts = mounts def get_mounts(self): return self.mounts def add_mounts(self): self.config.add_mount_strv(self.mounts) def get_config_path(self, name = None): if not name: name = self.name return get_config_path(name) def get_filesystem_path(self, name = None): if not name: name = self.get_name() return "%s/%s" % (self.path, name) def get_image_path(self, name = None): if not name: name = self.get_name() return self.DEFAULT_IMAGE % name def set_image(self, size): self.use_image = True self.size = size * MB def set_path(self, path): self.path = path self.dest = "%s/%s" % (self.path, self.name) def get_name(self): return self.name def set_name(self, name): if self.config: raise ValueError([_("Cannot modify Name")]) self.name = name self.dest = "%s/%s" % (self.path, self.name) def set_security(self, val): self.config.set_security_opts(val) def add_network(self, val): self.config.add_network_opts(val) def get_security_dynamic(self): return self.config.get_security_dynamic() def get_security_label(self): return self.config.get_security_label() def set_security_label(self): if selinux is None: return if self.image or self.get_security_dynamic(): return selabel = self.get_security_label() if selabel is None: raise ValueError([_("Missing security label configuration")]) parts = selabel.split(":") selinux.chcon(self.dest, "system_u:object_r:%s:%s" % ( self.get_file_type(), ":".join(parts[3:])), True) def gen_filesystems(self): if self.use_image: self.image = self.DEFAULT_IMAGE % self.get_name() mount = LibvirtSandbox.ConfigMountHostImage.new(self.image, self.dest) self.config.add_mount(mount) def fix_stat(self, f): try: s = os.stat(f) path = "%s%s" % (self.dest, f) os.chown(path, s.st_uid, s.st_gid) os.chmod(path, s.st_mode) except OSError, e: if not e.errno == errno.ENOENT: raise def fix_protection(self): l = len(self.dest) for root, dirs, files in os.walk(self.dest): for f in files: dest = root + "/" + f self.fix_stat(dest[l:]) for d in dirs: dest = root + "/" + d self.fix_stat(dest[l:]) def makedirs(self, d): try: path = "%s%s" % (self.dest, d) os.makedirs(path) except OSError, e: if not e.errno == errno.EEXIST: raise def makefile(self, f): self.makedirs(os.path.dirname(f)) try: path = "%s%s" % (self.dest, f) fd=open(path, "w") fd.close() except OSError, e: if not e.errno == errno.EEXIST: raise def umount(self): p = Popen(["/bin/umount", self.dest]) p.communicate() if p.returncode and p.returncode != 0: raise OSError(_("Failed to unmount image %s from %s") % (self.image, self.dest)) def create_image(self): fd = open(self.image, "w") fd.truncate(self.size) fd.close() p = Popen(["/sbin/mkfs","-F", "-t", "ext4", self.image],stdout=PIPE, stderr=PIPE) p.communicate() if p.returncode and p.returncode != 0: raise OSError(_("Failed to build image %s") % self.image ) p = Popen(["/bin/mount", self.image, self.dest]) p.communicate() if p.returncode and p.returncode != 0: raise OSError(_("Failed to mount image %s on %s") % (self.image, self.dest)) def save_config(self): self.connect() context = self.context() context.define() sys.stdout.write(_("Created sandbox config %s\n") % get_config_path(self.name)) def update_config(self): self.connect() context = self.context() context.undefine() context.define() sys.stdout.write(_("Re-created sandbox config %s\n") % get_config_path(self.name)) def delete(self): self.connect() self.conn.fetch_domains(None) dom = self.conn.find_domain_by_name(self.name) if dom is not None: info = dom.get_info() if info.state == LibvirtGObject.DomainState.RUNNING: raise ValueError([_("Cannot delete running container")]) # Not sure we should remove content if os.path.exists(self.dest): shutil.rmtree(self.dest) image = self.get_image_path() if os.path.exists(image): os.remove(image) context = self.context() context.undefine() def get_security_model(self): model = None # Make sure we have a connection self.connect() # Loop over the security models from the host capabilities # The first in "selinux" and "apparmor" will be the returned model # Those two models can't coexist on a machine configCaps = self.conn.get_capabilities() hostCaps = configCaps.get_host() secmodels = hostCaps.get_secmodels() for secmodel in secmodels: if secmodel.get_model() == "selinux": model = "selinux" break elif secmodel.get_model() == "apparmor": model = "apparmor" break return model def create(self): self.connect() if self.get_security_model() is not None and \ self.config.get_security_dynamic() and not self.use_image: raise ValueError([_("Dynamic security label only supported for image based containers")]) if self.uri != "lxc:///": self.config.set_shell(True) if not os.path.exists(self.dest): os.mkdir(self.dest) def connect(self): if not self.conn: self.conn=LibvirtGObject.Connection.new(self.uri) self.conn.open(None) def disconnect(self): if self.conn: self.conn.close() self.conn = None def context(self): return LibvirtSandbox.ContextService.new(self.conn, self.config) def add_bind_mount(self, source, dest): if self.image is None: mount = LibvirtSandbox.ConfigMountHostBind.new(source, dest) else: mount = LibvirtSandbox.ConfigMountGuestBind.new(source, dest) self.config.add_mount(mount) def add_ram_mount(self, dest, size): mount = LibvirtSandbox.ConfigMountRam.new(dest, size); self.config.add_mount(mount) class GenericContainer(Container): def __init__(self, name=None, uri = "lxc:///", path = Container.DEFAULT_PATH, config=None, create=False): Container.__init__(self, name, uri, path, config, create) if create: self.config = LibvirtSandbox.ConfigServiceGeneric.new(name) def gen_filesystems(self): Container.gen_filesystems(self) self.add_bind_mount(self.dest, self.path) self.add_mounts() def create_generic(self): Container.create(self) self.gen_filesystems() if self.image: self.create_image() self.umount() sys.stdout.write(_("Created sandbox container image %s\n") % self.image) else: sys.stdout.write(_("Created sandbox container dir %s\n") % self.dest) self.save_config() def create(self): try: self.create_generic() except Exception, e: try: self.delete() except Exception, e2: pass raise e def set_command(self, command): self.config.set_command(command) def is_template_unit(unit): return '@' in unit class SystemdContainer(Container): IGNORE_DIRS = [ "/var/run/", "/etc/logrotate.d/", "/etc/pam.d" ] DEFAULT_DIRS = [ "/etc", "/var" ] PROFILE_FILES = [ ".bashrc", ".bash_profile", ".profile" ] MACHINE_ID = "/etc/machine-id" HOSTNAME = "/etc/hostname" SYSVINIT_PATH = "/etc/rc.d" ANACONDA_WANTS_PATH = "/usr/lib/systemd/system/anaconda.target.wants" MULTI_USER_WANTS_PATH = "/usr/lib/systemd/system/multi-user.target.wants" SYSINIT_WANTS_PATH = "/usr/lib/systemd/system/sysinit.target.wants" SOCKET_WANTS_PATH = "/usr/lib/systemd/system/sockets.target.wants" MAKE_SYSTEM_DIRS = [ "/var/lib/dhclient", "/var/lib/dbus", "/var/log", "/var/spool", "/var/cache", "/var/tmp", "/var/lib/nfs/rpc_pipefs", SYSVINIT_PATH, "/lib/lsb" ] BIND_SYSTEM_DIRS = [ "/var", "/home", "/root", "/etc/systemd/system", "/etc/rc.d", "/usr/lib/systemd/system/basic.target.wants", "/usr/lib/systemd/system/local-fs.target.wants", ANACONDA_WANTS_PATH, MULTI_USER_WANTS_PATH, SYSINIT_WANTS_PATH, SOCKET_WANTS_PATH ] BIND_SYSTEM_FILES = [ MACHINE_ID, "/etc/fstab", HOSTNAME ] LOCAL_LINK_FILES = { SYSINIT_WANTS_PATH : [ "systemd-tmpfiles-setup.service" ] , SOCKET_WANTS_PATH : [ "dbus.socket", "systemd-journald.socket", "systemd-shutdownd.socket", "systemd-initctl.socket" ] } DEFAULT_UNIT = "/etc/systemd/system/%s_sandbox.service" def __init__(self, name=None, uri = "lxc:///", path = Container.DEFAULT_PATH, config=None, create=False, packages=[]): Container.__init__(self, name, uri, path, config, create) self.copy = False self.unit_file_list = [] self.packages = packages if create: self.config = LibvirtSandbox.ConfigServiceSystemd.new(name) self.unitfile = None else: self.unitfile = self.get_unit_path() def follow_units(self): unitst="" for i, src in self.unit_file_list: unitst += "ReloadPropagatedFrom=%s\n" % i return unitst def get_unit_path(self, name = None): if not name: name = self.get_name() return self.DEFAULT_UNIT % name def set_unit_file_list(self, unit_file_list): self.unit_file_list = unit_file_list def get_sandboxed_service(self): return self.unit_file_list[0][0].split(".")[0] def create_system_unit(self): self.unitfile = self.get_unit_path() unit = r""" [Unit] Description=Secure Sandbox Container %(NAME)s Requires=libvirtd.service After=libvirtd.service %(FOLLOW)s [Service] Type=simple ExecStart=/usr/libexec/virt-sandbox-service-util -c %(URI)s -s %(NAME)s ExecReload=/usr/bin/virt-sandbox-service -c %(URI)s reload -u %(RELOAD)s %(NAME)s ExecStop=/usr/bin/virsh -c %(URI)s destroy %(NAME)s [Install] WantedBy=multi-user.target """ % { 'NAME':self.name, 'FOLLOW':self.follow_units(), 'RELOAD': " -u ".join(map(lambda x: x[0], self.unit_file_list)), 'URI': self.uri, } fd = open(self.unitfile, "w") fd.write(unit) fd.close() if selinux is not None: selinux.restorecon(self.unitfile) sys.stdout.write(_("Created unit file %s\n") % self.unitfile) def add_dir(self, newd): if newd in self.all_dirs: return for ignd in self.IGNORE_DIRS: if newd.startswith(ignd): return for defd in self.DEFAULT_DIRS: if newd.startswith(defd): self.all_dirs.append(newd) tmp_dirs = [] for d in self.dirs: if newd.startswith(d): return if not d.startswith(newd): tmp_dirs.append(d) self.dirs = tmp_dirs self.dirs.append(newd) break; def add_file(self, newf): if newf in self.files: return for d in self.IGNORE_DIRS: if newf.startswith(d): return for d in self.DEFAULT_DIRS: if newf.startswith(d): self.files.append(newf) break; def get_name(self): if self.config: return self.config.get_name() raise ValueError([_("Name not configured")]) def set_copy(self, copy): self.copy = copy def get_security_dynamic(self): return self.config.get_security_dynamic() def extract_rpms(self): self.all_dirs = [] self.dirs = [] self.files = [] self.ts = rpm.ts() nb_packages = 0 for u, src in self.unit_file_list: rpm_name = self.get_rpm_for_unit(src) if rpm_name: self.extract_rpm(rpm_name) nb_packages += 1 for package in self.packages: self.extract_rpm(package) nb_packages += 1 if nb_packages == 0: raise ValueError([_("Cannot autodetect the package for unit files, please use --package")]) def split_filename(self, filename): if filename[-4:] == '.rpm': filename = filename[:-4] archIndex = filename.rfind('.') arch = filename[archIndex+1:] relIndex = filename[:archIndex].rfind('-') rel = filename[relIndex+1:archIndex] verIndex = filename[:relIndex].rfind('-') ver = filename[verIndex+1:relIndex] epochIndex = filename.find(':') if epochIndex == -1: epoch = '' else: epoch = filename[:epochIndex] name = filename[epochIndex + 1:verIndex] return name, ver, rel, epoch, arch def get_rpm_for_unit(self, unitfile): mi = self.ts.dbMatch(rpm.RPMTAG_BASENAMES, unitfile) try: h = mi.next(); except exceptions.StopIteration: return None return h['name'] def extract_rpm(self, rpm_name): mi = self.ts.dbMatch('name', rpm_name) try: h = mi.next(); except exceptions.StopIteration: raise ValueError([_("Cannot find package named %s") % rpm_name]) for fentry in h.fiFromHeader(): fname = fentry[0] if os.path.isdir(fname): self.add_dir(fname) if os.path.isfile(fname): self.add_file(fname) srcrpm = h[rpm.RPMTAG_SOURCERPM] srcrpmbits = self.split_filename(srcrpm) if srcrpmbits[0] == h[rpm.RPMTAG_NAME]: return mi = self.ts.dbMatch(rpm.RPMTAG_NAME, srcrpmbits[0]) try: h = mi.next(); except exceptions.StopIteration: raise ValueError([_("Cannot find base package %s") % srcrpmbits[0]]) for fentry in h.fiFromHeader(): fname = fentry[0] if os.path.isdir(fname): self.add_dir(fname) if os.path.isfile(fname): self.add_file(fname) def gen_hostname(self): fd=open(self.dest + self.HOSTNAME, "w") fd.write("%s\n" % self.name ) fd.close() def gen_machine_id(self): uuid_fd = open("/proc/sys/kernel/random/uuid") uuid = uuid_fd.read().replace("-","").rstrip() uuid_fd.close() self.config.set_uuid(uuid) fd=open(self.dest + self.MACHINE_ID, "w") fd.write("%s\n" % uuid) fd.close() if not self.use_image: # Link /var/log/journal within the container to /var/log/journal/UUID # on host. This will allow the hosts journalctl to easily read # containers journal information. jdir = "/var/log/journal/" jpath = jdir + uuid if not os.path.exists(self.dest + jpath): os.makedirs(self.dest + jpath) if not os.path.exists(jdir): os.makedirs(jdir) os.symlink(self.dest + jpath, jpath) def gen_filesystems(self): Container.gen_filesystems(self) # 10 MB /run mount = LibvirtSandbox.ConfigMountRam.new("/run", 10 * 1024 * 1024); self.config.add_mount(mount) # 100 MB /tmp mount = LibvirtSandbox.ConfigMountRam.new("/tmp", 100 * 1024 * 1024); self.config.add_mount(mount) # 100 MB /tmp mount = LibvirtSandbox.ConfigMountRam.new("/dev/shm", 100 * 1024 * 1024); self.config.add_mount(mount) for d in self.BIND_SYSTEM_DIRS: if d != "/var" and os.path.exists(d): source = "%s%s" % ( self.dest, d) self.add_bind_mount(source, d) for f in self.BIND_SYSTEM_FILES: if os.path.exists(f): source = "%s%s" % ( self.dest, f) self.add_bind_mount(source, f) for d in self.dirs: found = False # Dont add dirs whos parents are in SYSTEM_DIRS for s in self.BIND_SYSTEM_DIRS: if d.startswith(s): found = True break if not found: source = "%s%s" % ( self.dest, d) self.add_bind_mount(source, d) # /var contains the mounted image if there is an image: should be the # last thing to mount self.add_bind_mount("%s/var" % self.dest, "/var") self.add_mounts() def get_expanded_unit_template(self, unit): return unit.replace('@', '@' + self.name) def create_container_unit(self, src, dest, unit): if is_template_unit(unit): shutil.copy(src, dest + "/" + unit) unit = self.get_expanded_unit_template(unit) os.symlink(src, dest + "/" + unit) dropin_dir = "%s/%s.d" % (dest, unit) if not os.path.exists(dropin_dir): os.mkdir(dropin_dir) fd = open(dropin_dir + "/virt-sandbox.conf", "w") fd.write("""; file placed here by virt-sandbox-service [Service] PrivateTmp=false PrivateNetwork=false """ ) fd.close() def gen_content(self): if self.copy: for d in self.dirs: copydirtree(d, "%s%s" % (self.dest, d)) for f in self.files: self.makedirs(os.path.dirname(f)) shutil.copy(f, "%s%s" % (self.dest, f)) else: for d in self.all_dirs: self.makedirs(d) for f in self.files: self.makedirs(os.path.dirname(f)) self.makefile(f) for d in self.BIND_SYSTEM_DIRS + self.MAKE_SYSTEM_DIRS: self.makedirs(d) for f in self.BIND_SYSTEM_FILES: self.makefile(f) destpath = self.dest + self.SYSVINIT_PATH for i in range(7): os.mkdir(destpath+("/rc%s.d" % i)) # Copy both /etc/rc.d/init.d/functions and /lib/lsb/init-functions, even # though the latter is the one recommended if os.path.exists(self.SYSVINIT_PATH + "/init.d/functions"): os.mkdir(destpath+"/init.d") shutil.copy(self.SYSVINIT_PATH + "/init.d/functions" , destpath + "/init.d") if os.path.exists("/lib/lsb/init-functions"): shutil.copy("/lib/lsb/init-functions" , self.dest + "/lib/lsb/") self.gen_machine_id() self.gen_hostname() for k in self.LOCAL_LINK_FILES: for d in self.LOCAL_LINK_FILES[k]: src = "../%s" % ( d) dest = "%s%s/%s" % ( self.dest, k, d) os.symlink(src,dest) unitdir = "/etc/systemd/system" tgtdir = unitdir + "/multi-user.target.wants" self.makedirs(unitdir) self.makedirs(tgtdir) os.symlink("/run", self.dest + "/var/run") for i, src in self.unit_file_list: self.create_container_unit(src, self.dest + unitdir, i) if is_template_unit(i): i = self.get_expanded_unit_template(i) os.symlink(src, self.dest + tgtdir + "/" + i) tgtfile = unitdir + "/multi-user.target" try: fd = open(self.dest + tgtfile, "w") fd.write("[Unit]\n") fd.write("Description=Sandbox multi-user target\n") fd.close() except OSError, e: if not e.errno == errno.EEXIST: raise for p in self.PROFILE_FILES: profile = "/etc/skel/" + p if os.path.exists(profile): shutil.copy(profile, self.dest + "/root/") self.fix_protection() def delete(self): try: uuid = self.config.get_uuid() if uuid is not None: jpath = "/var/log/journal/" + uuid if os.path.lexists(jpath): os.remove(jpath) except Exception, e: sys.stderr.write("%s: %s\n" % (sys.argv[0], e)) sys.stderr.flush() Container.delete(self) if self.unitfile and os.path.exists(self.unitfile): p = Popen(["/usr/bin/systemctl","disable", self.unitfile],stdout=PIPE, stderr=PIPE) p.communicate() if p.returncode and p.returncode != 0: raise OSError(_("Failed to disable %s unit file") % self.unitfile) os.remove(self.unitfile) def create_systemd(self): self.extract_rpms() Container.create(self) self.gen_filesystems() if self.image: self.create_image() self.gen_content() self.umount() sys.stdout.write(_("Created sandbox container image %s\n") % self.image) else: self.gen_content() sys.stdout.write(_("Created sandbox container dir %s\n") % self.dest) self.set_security_label() self.create_system_unit() self.config.set_boot_target("multi-user.target") self.save_config() def create(self): if os.path.exists(self.dest): raise OSError(_("%s already exists") % self.dest) try: self.create_systemd() except Exception, e: try: self.delete() except Exception, e2: sys.stderr.write("Cleanup failed: %s\n" % str(e2)) raise def reload(self, unitfiles): class Args: command = [] noseclabel = None name = self.name uri = self.uri args = Args() args.command = [ "systemctl", "reload" ] + map(lambda x: x[0], unitfiles) execute(args) MB = int(1000000) def delete(args): config = read_config(args.name) if config is None: sys.stderr.write("Sandbox '%s' does not exist\n" % args.name) sys.exit(1) if isinstance(config, gi.repository.LibvirtSandbox.ConfigServiceGeneric): container = GenericContainer(uri=args.uri, config = config) else: container = SystemdContainer(uri=args.uri, config = config) container.set_path(args.path) container.delete() def create(args): if len(args.command) > 0 and len(args.unitfiles) > 0: raise ValueError([_("Commands cannot be specified with unit files")]) if len(args.command) == 0 and len(args.unitfiles) == 0: raise ValueError([_("You must specify a command or a unit file")]) if args.packages and len(args.unitfiles) != 1: raise ValueError([_("Option --package cannot be used without a unit file")]) if len(args.command) > 0: container = GenericContainer(name = args.name, uri=args.uri, create = True) container.set_command(args.command) else: container = SystemdContainer(name = args.name, uri=args.uri, create = True, packages = args.packages) container.set_copy(args.copy) container.set_unit_file_list(args.unitfiles) for net in args.network: container.add_network(net) if args.security: container.set_security(args.security) container.set_uid(args.uid) if not args.homedir: args.homedir = pwd.getpwuid(args.uid).pw_dir container.set_homedir(args.homedir) if not args.username: args.username = pwd.getpwuid(args.uid).pw_name container.set_username(args.username) if not args.gid: args.gid = pwd.getpwuid(args.uid).pw_gid container.set_gid(args.gid) container.set_path(args.path) container.set_file_type(args.file_type) container.set_mounts(args.mounts) if args.imagesize: container.set_image(args.imagesize) container.create() def usage(parser, msg): parser.print_help() sys.stderr.write("\n%s\n" % msg) sys.stderr.flush() sys.exit(1) def sandbox_reload(args): config = read_config(args.name) if isinstance(config, gi.repository.LibvirtSandbox.ConfigServiceGeneric): raise ValueError([_("Generic Containers do not support reload")]) container = SystemdContainer(uri = args.uri, config = config) container.reload(args.unitfiles) def connect(args): if args.uri == "lxc:///": class Args: command = [] noseclabel = None name = args.name uri = args.uri args = Args() args.command = [ "/bin/sh" ] execute(args) return print """\ Connected to %s. Type 'Ctrl + ]' to detach from the console. """ % ( args.name ) os.execl("/usr/libexec/virt-sandbox-service-util", "virt-sandbox-service-util", "-c", args.uri, "-a", args.name) # # Search Path for command to execute within the container. # def fullpath(cmd): for i in [ "/", "./", "../" ]: if cmd.startswith(i): return cmd for i in os.environ["PATH"].split(':'): f = "%s/%s" % (i, cmd) if os.access(f, os.X_OK): return f return cmd def execute(args): if args.uri != "lxc:///": raise ValueError([_("Can only execute commands inside of linux containers.")]) myexec = [ "virsh", "-c", args.uri, "lxc-enter-namespace" ] if args.noseclabel: myexec.append("--noseclabel") myexec.extend([ args.name, "--", fullpath(args.command[0])] + args.command[1:]) os.execv("/usr/bin/virsh", myexec) def clone(args): config = read_config(args.source) if isinstance(config, gi.repository.LibvirtSandbox.ConfigServiceGeneric): container = GenericContainer(uri=args.uri, config=config) else: container = SystemdContainer(uri=args.uri, config=config) newcontainer = None container.set_path(args.path) old_path = container.get_filesystem_path() new_path = container.get_filesystem_path(args.dest) if os.path.exists(new_path): raise OSError(_("%s already exists") % new_path) try: fd = open(container.get_config_path(),"r") recs = fd.read() fd.close() newrec = recs.replace(old_path + "/", new_path + "/") newrec = newrec.replace("name=" + args.source, "name=" + args.dest) old_image_path = container.get_image_path() if os.path.exists(old_image_path): new_image_path = container.get_image_path(args.dest) newrec = newrec.replace(old_image_path, new_image_path) shutil.copy(old_image_path, new_image_path) sys.stdout.write(_("Created sandbox container image %s\n") % new_image_path) os.mkdir(new_path) else: copydirtree(old_path, new_path) sys.stdout.write(_("Created sandbox container dir %s\n") % new_path) if isinstance(config, gi.repository.LibvirtSandbox.ConfigServiceGeneric): newcontainer = GenericContainer(name=args.dest, uri=args.uri, create=True) newcontainer.set_path(args.path) else: fd = open(container.get_unit_path()) recs = fd.read() fd.close() new_unit = container.get_unit_path(args.dest) fd = open(new_unit, "wx") fd.write(recs.replace(args.source, args.dest)) fd.close() sys.stdout.write(_("Created unit file %s\n") % new_unit) config = LibvirtSandbox.Config.load_from_data(newrec) newcontainer = SystemdContainer(config=config, uri=args.uri) newcontainer.set_path(args.path) newcontainer.gen_machine_id() newcontainer.gen_hostname() if args.security: newcontainer.set_security(args.security) newcontainer.set_security_label() newcontainer.save_config() except Exception, e: if newcontainer is not None: newcontainer.delete() raise def upgrade_config_legacy(path): config = LibvirtSandbox.Config.load_from_path(path) if isinstance(config, gi.repository.LibvirtSandbox.ConfigServiceGeneric): container = GenericContainer(uri=args.uri, config=config) else: container = SystemdContainer(uri=args.uri, config=config) fd = open(container.get_unit_path()) unitfile = fd.read() fd.close() unitfile = unitfile.replace("/usr/bin/virt-sandbox-service start", "/usr/libexec/virt-sandbox-service-util -c lxc:/// -s") unitfile = unitfile.replace("/usr/bin/virt-sandbox-service reload", "/usr/bin/virt-sandbox-service -c lxc:/// reload") unitfile = unitfile.replace("/usr/bin/virt-sandbox-service stop", "/usr/bin/virsh -c lxc:/// destroy") unitfile = re.sub("WantedBy=.*\.target", "WantedBy=multi-user.target", unitfile) os.remove(container.get_unit_path()) fd = open(container.get_unit_path(), "wx") fd.write(unitfile) fd.close() sys.stdout.write(_("Created unit file %s\n") % container.get_unit_path()) # Create new config file + libvirt persistent XML config container.save_config() # Kill legacy config file os.remove(path) def upgrade_config_current(path): config = LibvirtSandbox.Config.load_from_path(path) if isinstance(config, gi.repository.LibvirtSandbox.ConfigServiceGeneric): container = GenericContainer(uri=args.uri, config=config) else: container = SystemdContainer(uri=args.uri, config=config) # Create new config file + libvirt persistent XML config container.update_config() def upgrade_config(args): newconfigfile = get_config_path(args.name) oldconfigfile = get_legacy_config_path(args.name) if os.path.exists(oldconfigfile): upgrade_config_legacy(oldconfigfile) elif os.path.exists(newconfigfile): upgrade_config_current(newconfigfile) else: sys.stderr.write("Sandbox '%s' does not exist\n" % args.name) sys.exit(1) def upgrade_filesystem(args): # This is where we'd look at RPM DB and upgrade the # filesystem with new info for the unit files pass # This function must be capable of reading configs created by # old releases and "fixing" them to work with the new release def upgrade(args): upgrade_config(args) upgrade_filesystem(args) import argparse class AddMount(argparse.Action): def __call__(self, parser, namespace, values, option_string=None): newval = getattr(namespace, self.dest) if not newval: newval = [] for v in values: newval.append(v) setattr(namespace, self.dest, newval) class SizeAction(argparse.Action): def __call__(self, parser, namespace, values, option_string=None): setattr(namespace, self.dest, int(values)) class CheckUnit(argparse.Action): def __call__(self, parser, namespace, value, option_string=None): def check_unit(unit): src = "/etc/systemd/system/" + unit if os.path.exists(src): return src src = "/usr/lib/systemd/system/" + unit if os.path.exists(src): return src return None src = check_unit(value) if not src: src = check_unit(value + ".service") if src: value = value + ".service" else: raise OSError(_("Requested unit %s does not exist") % value) unitfiles = getattr(namespace, self.dest) if unitfiles: unitfiles.append((value, src)) else: unitfiles = [ (value, src) ] setattr(namespace, self.dest, unitfiles) class SetNet(argparse.Action): def __call__(self, parser, namespace, values, option_string=None): nets = getattr(namespace, self.dest) if nets: nets.append(values) else: nets = [values] setattr(namespace, self.dest, nets) class CheckPackage(argparse.Action): def __call__(self, parser, namespace, value, option_string=None): nb_rpm = len(rpm.TransactionSet().dbMatch('name', value)) if nb_rpm == 0: raise OSError(_("Cannot find %s rpm") % value) elif nb_rpm > 1: raise OSError(_("%s rpm is installed more than once") % value) packages = getattr(namespace, self.dest) if packages: packages.append(value) else: packages = [ value ] setattr(namespace, self.dest, packages) def requires_name(parser): parser.add_argument("name", help=_("name of the sandbox container")) def default_security_opts(): if selinux is None: return None # XXX vary per URI for kvm/qemu/lxc. # XXX generate a random category return "static,label=system_u:system_r:svirt_lxc_net_t:s0" def gen_create_args(subparser): parser = subparser.add_parser("create", help=_("Create a sandbox container.")) parser.add_argument("-C", "--copy", default=False, action="store_true", help=_("copy content from the hosts /etc and /var directories that will be mounted within the sandbox")) parser.add_argument("-f", "--filetype", dest="file_type", default=c.get_file_type(), help=_("SELinux file type to assign to content within the sandbox. Default: %s") % c.get_file_type()) parser.add_argument("--homedir", dest="homedir", help=_("Specify the homedir for the container. Default: UID homedir.")) parser.add_argument("-G", "--gid", dest="gid", default=None, type=int, help=_("Specify the login gid for the container. Default: login GID of the UID.")) parser.add_argument("-i", "--imagesize", dest="imagesize", default = None, action=SizeAction, help=_("create image of this many megabytes.")) parser.add_argument("-m", "--mount", dest="mounts",default=[], nargs="*", action=AddMount, help=_("Mount a filesytem in the sandbox")) parser.add_argument("-N", "--network", dest="network", action=SetNet, default=[], help=_("Specify the network configuration")) parser.add_argument("-p", "--path", dest="path", default=c.DEFAULT_PATH, help=_("select path to store sandbox content. Default: %s") % c.DEFAULT_PATH) parser.add_argument("-s", "--security", dest="security", default=default_security_opts(), help=_("Specify the security model configuration for the sandbox: Defaults to dynamic")) parser.add_argument("-u", "--unitfile", action=CheckUnit, dest="unitfiles", default=[], help=_("Systemd Unit file to run within the systemd sandbox container. Commands cannot be specified with unit files.")) parser.add_argument("-P", "--package", action=CheckPackage, dest="packages", default=[], help=_("RPM package to be used in the container. Default: autodetected from unit files.")) parser.add_argument("--username", dest="username", help=_("Specify the username for the container. Default: UID username.")) parser.add_argument("-U", "--uid", dest="uid", default=os.getuid(),type=int, help=_("Specify the uid for the container: Default to current UID.")) requires_name(parser) parser.add_argument("command", default=[], nargs="*", help=_("Command to run within the generic sandbox container. Commands cannot be specified with unit files.")) parser.set_defaults(func=create) def gen_connect_args(subparser): parser = subparser.add_parser("connect", help=_("Connect to a sandbox container")) requires_name(parser) parser.set_defaults(func=connect) def gen_execute_args(subparser): parser = subparser.add_parser("execute", help=_("Execute a command within a sandbox container. Only available for lxc:///")) parser.add_argument("-N", "--noseclabel", dest="noseclabel", default=False, action="store_true", help=_("do not modify the label of the executable process. By default all commands execute with the label of the sandbox")) requires_name(parser) parser.add_argument("command", nargs="+", help=_("command to execute within the container")) parser.set_defaults(func=execute) def gen_reload_args(subparser): parser = subparser.add_parser("reload", help=_("Reload a running sandbox container")) parser.add_argument("-u", "--unitfile", required=True, action=CheckUnit, dest="unitfiles", help=_("Systemd Unit file to reload within the sandbox container")) requires_name(parser) parser.set_defaults(func=sandbox_reload) def gen_clone_args(subparser): parser = subparser.add_parser("clone", help=_("Clone an existing sandbox container")) parser.set_defaults(func=clone) parser.add_argument("-p", "--path", dest="path", default=c.DEFAULT_PATH, help=_("select path to copy sandbox content from/to. Default: %s") % c.DEFAULT_PATH) parser.add_argument("-s", "--security", dest="security", default=default_security_opts(), help=_("Specify the security model configuration for the sandbox: Defaults to dynamic")) parser.add_argument("source", help=_("source sandbox container name")) parser.add_argument("dest", help=_("dest name of the new sandbox container")) def gen_delete_args(subparser): parser = subparser.add_parser("delete", help=_("Delete a sandbox container")) parser.add_argument("-p", "--path", dest="path", default=c.DEFAULT_PATH, help=_("select path to delete sandbox content from. Default: %s") % c.DEFAULT_PATH) requires_name(parser) parser.set_defaults(func=delete) def gen_upgrade_args(subparser): parser = subparser.add_parser("upgrade", help=_("Upgrade the sandbox container")) requires_name(parser) parser.set_defaults(func=upgrade) if __name__ == '__main__': c = Container() parser = argparse.ArgumentParser(description='Sandbox Container Tool') parser.add_argument("-c", "--connect", required=False, dest="uri", default="lxc:///", help=_("libvirt connection URI to use (lxc:/// [default] or qemu:///session)")) subparser = parser.add_subparsers(help=_("commands")) gen_create_args(subparser) gen_clone_args(subparser) gen_connect_args(subparser) gen_delete_args(subparser) gen_execute_args(subparser) gen_reload_args(subparser) gen_upgrade_args(subparser) try: args = parser.parse_args() if args.uri[0:3] != "lxc": sys.stderr.write("%s: only lxc:/// URIs are currently supported\n" % sys.argv[0]) sys.exit(1) if os.geteuid() != 0: sys.stderr.write("%s: lxc:/// URIs are only supported when run as root\n" % sys.argv[0]) sys.exit(1) args.func(args) sys.exit(0) except KeyboardInterrupt, e: sys.exit(0) except ValueError, e: for line in e: for l in line: sys.stderr.write("%s: %s\n" % (sys.argv[0], l)) sys.stderr.flush() sys.exit(1) except IOError, e: sys.stderr.write("%s: %s: %s\n" % (sys.argv[0], e.filename, e.strerror)) sys.stderr.flush() sys.exit(1) except OSError, e: sys.stderr.write("%s: %s\n" % (sys.argv[0], e)) sys.stderr.flush() sys.exit(1) except GLib.GError, e: sys.stderr.write("%s: %s\n" % (sys.argv[0], e)) sys.stderr.flush() sys.exit(1) libvirt-sandbox-0.5.1+git20160404/bin/virt-sandbox-service-bash-completion.sh000077500000000000000000000120101275305543100264720ustar00rootroot00000000000000# This file is part of libvirt-sandbox. # # Copyright (C) 2012-2013 Red Hat, Inc. # # systemd is free software; you can redistribute it and/or modify it # under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at your option) any later version. # # systemd is distributed in the hope that it will be useful, but # WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU # General Public License for more details. # # You should have received a copy of the GNU General Public License # along with systemd; If not, see . # # Authors: Dan Walsh # __contains_word () { local word=$1; shift for w in $*; do [[ $w = $word ]] && return 0; done return 1 } ALL_OPTS='-h --help' __get_all_unit_files () { systemctl list-unit-files --no-legend | cut -d' ' -f 1 | grep -v '@' } __get_all_containers () { virt-sandbox-service list } __get_all_running_containers () { virt-sandbox-service list --running } __get_all_file_types () { seinfo -afile_type -x 2>/dev/null | tail -n +2 } _virt_sandbox_service () { local command=${COMP_WORDS[1]} local cur=${COMP_WORDS[COMP_CWORD]} prev=${COMP_WORDS[COMP_CWORD-1]} local verb comps local -A VERBS=( [CONNECT]='connect' [CREATE]='create' [DELETE]='delete' [RELOAD]='reload' [START]='start' [EXECUTE]='execute' [STOP]='stop' [LIST]='list' ) local -A OPTS=( [ALL]='-h --help' [CREATE]='-C --copy -f --filetype -G --gid -i --imagesize --homedir -m --mount -N --network -p --path -s --security -u --unitfile --username -U -uid' [LIST]='-r --running' [RELOAD]='-u --unitfile' [EXECUTE]='-N --noseclabel' ) for ((i=0; $i <= $COMP_CWORD; i++)); do if __contains_word "${COMP_WORDS[i]}" ${VERBS[*]} && ! __contains_word "${COMP_WORDS[i-1]}" ${OPTS[ARG}]}; then verb=${COMP_WORDS[i]} break fi done if test "$verb" = "" && test "$prev" = "virt-sandbox-service" ; then comps="${VERBS[*]}" COMPREPLY=( $(compgen -W "$comps" -- "$cur") ) return 0 elif test "$verb" == "list" ; then if test "$prev" = "-r" || test "$prev" = "--running" ; then return 0 fi COMPREPLY=( $(compgen -W "${OPTS[ALL]} ${OPTS[LIST]} " -- "$cur") ) return 0 elif test "$verb" == "delete" ; then COMPREPLY=( $(compgen -W "${OPTS[ALL]} $( __get_all_containers ) " -- "$cur") ) return 0 elif test "$verb" == "start" ; then COMPREPLY=( $(compgen -W "${OPTS[ALL]} $( __get_all_containers ) " -- "$cur") ) return 0 elif test "$verb" == "stop" ; then COMPREPLY=( $(compgen -W "${OPTS[ALL]} $( __get_all_running_containers ) " -- "$cur") ) return 0 elif test "$verb" == "reload" ; then COMPREPLY=( $(compgen -W "${OPTS[ALL]} ${OPTS[RELOAD]} $( __get_all_running_containers ) " -- "$cur") ) return 0 elif test "$verb" == "connect" ; then COMPREPLY=( $(compgen -W "${OPTS[ALL]} $( __get_all_running_containers ) " -- "$cur") ) return 0 elif test "$verb" == "execute" ; then if test "$prev" = "execute"; then COMPREPLY=( $(compgen -W "${OPTS[ALL]} ${OPTS[EXECUTE]} $( __get_all_running_containers ) " -- "$cur") ) else COMPREPLY=( $( compgen -c -- "$cur") ) fi return 0 elif test "$verb" == "create" ; then if test "$prev" = "-p" || test "$prev" = "--path" ; then COMPREPLY=( $( compgen -d -- "$cur") ) compopt -o filenames return 0 elif test "$prev" = "-u" || test "$prev" = "--unitfile" ; then COMPREPLY=( $(compgen -W "$( __get_all_unit_files ) " -- "$cur") ) return 0 elif test "$prev" = "-f" || test "$prev" = "--filetype" ; then COMPREPLY=( $(compgen -W "$( __get_all_file_types ) " -- "$cur") ) return 0 elif test "$prev" = "-s" || test "$prev" = "--security" ; then return 0 elif test "$prev" = "-m" || test "$prev" = "--mount" ; then return 0 elif test "$prev" = "-n" || test "$prev" = "--network" ; then return 0 elif test "$prev" = "-i" || test "$prev" = "--imagesize" ; then return 0 elif __contains_word "$command" ${VERBS[CREATE]} ; then COMPREPLY=( $(compgen -W "${OPTS[ALL]} ${OPTS[CREATE]}" -- "$cur") ) return 0 elif __contains_word "${COMP_WORDS[i]}" ${VERBS[*]} ; then COMPREPLY=( $(compgen -W "${OPTS[ALL]}" -- "$cur") ) return 0 fi else if ! __contains_word "${prev}" ${VERBS[*]} && ! __contains_word "${prev}" ${OPTS[*]}; then return 0 fi fi COMPREPLY=( $(compgen -W "${OPTS[ALL]} $( __get_all_containers ) " -- "$cur") ) return 0 } complete -F _virt_sandbox_service virt-sandbox-service libvirt-sandbox-0.5.1+git20160404/bin/virt-sandbox-service-clone.pod000066400000000000000000000052241275305543100246640ustar00rootroot00000000000000=head1 NAME virt-sandbox-service clone - clone an existing Secure container =head1 SYNOPSIS Clone a Security container virt-sandbox-service [-c URI] clone [-h] [-p PATH] [-s SECURITY-OPTS] SOURCE DEST =head1 DESCRIPTION virt-sandbox-service is used to manage secure sandboxed system services. These applications will be launched via libvirt and run within a virtualization technology such as LinuX Containers (LXC), or optionally QEMU/KVM. The container / virtual machines will be secured by SELinux and resource separated using cgroups. The clone command will clone the SOURCE security sandbox container into the DEST security sandbox container. =head1 OPTIONS =over 4 =item B<-h>, B<--help> Display help message =item B<-c> URI, B<--connect URI> The connection URI for the hypervisor (currently only LXC URIs are supported). =item B<-p PATH>, B<--path PATH> Set path to copy container content from/to. This argument must match the value of the C<-p> arg given when creating the original source container. Default: C. =item B<-s SECURITY-OPTIONS>, B<--security=SECURITY-OPTIONS> Use alternative security options. SECURITY-OPTIONS is a set of key=val pairs, separated by commas. The following options are valid for SELinux =over 4 =item dynamic Dynamically allocate an SELinux label, using the default base context. The default base context is system_u:system_r:svirt_lxc_net_t:s0 for LXC, system_u:system_r:svirt_t:s0 for KVM, system_u:system_r:svirt_tcg_t:s0 for QEMU. =item dynamic,label=USER:ROLE:TYPE:LEVEL Dynamically allocate an SELinux label, using the base context USER:ROLE:TYPE:LEVEL, instead of the default base context. =item static,label=USER:ROLE:TYPE:LEVEL To set a completely static label. For example, static,label=system_u:system_r:svirt_t:s0:c412,c355 =back =back =head1 EXAMPLE Execute /bin/sh in httpd1 container # virt-sandbox-service clone -s static,label=system_u:system_r:svirt_lxc_net_t:s0:c1,c2 httpd1 httpd2 =head1 SEE ALSO C, C, C, C =head1 FILES Container content will be stored in subdirectories of /var/lib/libvirt/filesystems, by default. You can manage the content in these directories outside of the container and processes within the container will see the content. =head1 AUTHORS Daniel Walsh Daniel P. Berrange =head1 COPYRIGHT Copyright (C) 2011-2013 Red Hat, Inc. =head1 LICENSE virt-sandbox is distributed under the terms of the GNU LGPL v2+. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE libvirt-sandbox-0.5.1+git20160404/bin/virt-sandbox-service-connect.pod000066400000000000000000000024671275305543100252230ustar00rootroot00000000000000=head1 NAME virt-sandbox-service connect - Connect to a security container console =head1 SYNOPSIS virt-sandbox-service [-c URI] connect [-h] NAME =head1 DESCRIPTION virt-sandbox-service is used to manage secure sandboxed system services. These applications will be launched via libvirt and run within a virtualization technology such as LinuX Containers (LXC), or optionally QEMU/KVM. The container / virtual machines will be secured by SELinux and resource separated using cgroups. The connect command will connect to the security sandbox container console NAME. =head1 OPTIONS =over 4 =item B<-h>, B<--help> Display help message =item B<-c URI>, B<--connect URI> The connection URI for the hypervisor (currently only LXC URIs are supported). =back =head1 EXAMPLE Connect to the in httpd1 container console # virt-sandbox-service connect httpd1 # =head1 SEE ALSO C, C, C, C =head1 AUTHORS Daniel Walsh Daniel P. Berrange =head1 COPYRIGHT Copyright (C) 2011-2013 Red Hat, Inc. =head1 LICENSE virt-sandbox is distributed under the terms of the GNU LGPL v2+. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE libvirt-sandbox-0.5.1+git20160404/bin/virt-sandbox-service-create.pod000066400000000000000000000173041275305543100250310ustar00rootroot00000000000000=head1 NAME virt-sandbox-service create - Create a Security container =head1 SYNOPSIS virt-sandbox-service [-c URI] create [-h] [-C] [-f FILE_TYPE] [--homedir HOMEDIR] [-G GID] [-i IMAGESIZE] [[-m TYPE:DST=SRC ] ...] [-N NETWORK] [-p PATH] [-s SECURITY] [[-u UNITFILES] ...] [--username USERNAME] [-U UID] [[-P package] ... ] NAME -- COMMAND [ARG1 [ARG2...]] =head1 DESCRIPTION virt-sandbox-service is used to manage secure sandboxed system services. These applications will be launched via libvirt and run within a virtualization technology such as LinuX Containers (LXC), or optionally QEMU/KVM. The container / virtual machines will be secured by SELinux and resource separated using cgroups. The create command can setup a sandbox for running one or more systemd unit files. It can also setup a sandbox for running a command in an GenericContainer. Specify a unit file to create the SystemdContainer and the command to create an GenericContainer. =head1 OPTIONS =over 4 =item B<-h>, B<--help> Display help message =item B<-c URI>, B<--connect URI> The connection URI for the hypervisor (currently only LXC URIs are supported). =item B<-u UNIT_FILE>, B<--unitfile UNIT_FILE> Name of the systemd unit file to be to run within the Systemd Container. Can be repeated if multiple unit files are required within the sandbox. Cannot be specified if you are using a COMMAND. If the unit file end with @, this will be considered as a template, and a instantiated systemd unit will be created, using the name of the container as a instance identifier. =item B<-C>, B<--copy> Copy content from /etc and /var directories that will be mounted within the container. =item B<-G GID>, B<--gid GID> Set login gid to use within the container. Default: C. =item B<-f FILETYPE>, B<--filetype FILETYPE> Set SELinux file type to use within container. Default: C. =item B<-p PATH>, B<--path PATH> Set path to store container content. NB if this argument is used when creating a container, the exact same argument must also be used when later cloning or deleting the container. Default: C. =item B<--homedir HOMEDIR> Set homedir path to use within container. Default: C. =item B<-m TYPE:DST=SRC>, B<--mount TYPE:DST=SRC> Sets up a mount inside the sandbox at B backed by B. The meaning of B depends on the value of C specified: =over 4 =item B If B is B, then B is interpreted as the path to a directory on the host filesystem. If C is the empty string, then a temporary (empty) directory is created on the host before starting the sandbox and deleted afterwards. The C<--include> option is useful for populating these temporary directories with copies of host files. =item B If B is B, then B is interpreted as the path to a disk image file on the host filesystem. The image should be formatted with a filesystem that can be auto-detected by the sandbox, such as B, B, etc. The disk image itself should be a raw file, not qcow2 or any other special format =item B If B is B, then B is interpreted as the path to another directory in the container filesystem. =item B If B is B, then B is interpreted as specifying the size of the RAM disk in bytes. The suffix B, B, B, B, B, B can used to alter the units from bytes to a coarser level. =back Some examples -m host-bind:/tmp=/var/lib/sandbox/demo/tmp -m host-image:/=/var/lib/sandbox/demo.img -m guest-bind:/home=/tmp/home -m ram:/tmp=500M =item B<-N NETWORK-OPTIONS>, B<--network NETWORK-OPTIONS> Add a network interface to the sandbox. By default the sandbox will only have a loopback interface. This option allows for connectivity to the LAN in some manner. NETWORK-OPTIONS is a set of key=val pairs, separated by commas. The following options are valid =over 4 =item dhcp Configure the network interface using dhcp. This key takes no value. No other keys may be specified. eg -N dhcp,source=default --network dhcp,source=lan where 'source' is the name of any libvirt virtual network. =item source=NETWORK Set the name of the network to connect the interface to. C is the name of any libvirt virtual network. See also B =item mac=NN:NN:NN:NN:NN:NN Set the MAC address of the network interface, where each NN is a pair of hex digits. =item address=IP-ADDRESS/PREFIX%BROADCAST Configure the network interface with the static IPv4 or IPv6 address B. The B value is the length of the network prefix in B. The optional B parameter specifies the broadcast address. Some examples address=192.168.122.1/24 address=192.168.122.1/24%192.168.122.255 address=2001:212::204:2/64 =item route=IP-NETWORK/PREFIX%GATEWAY Configure the network interface with the static IPv4 or IPv6 route B. The B value is the length of the network prefix in B. The B parameter specifies the address of the gateway for the route. Some examples route=192.168.122.255/24%192.168.1.1 =back =item B<-s SECURITY-OPTIONS>, B<--security=SECURITY-OPTIONS> Use alternative security options. SECURITY-OPTIONS is a set of key=val pairs, separated by commas. The following options are valid for SELinux =over 4 =item dynamic Dynamically allocate an SELinux label, using the default base context. The default base context is system_u:system_r:svirt_lxc_net_t:s0 for LXC, system_u:system_r:svirt_t:s0 for KVM, system_u:system_r:svirt_tcg_t:s0 for QEMU. =item dynamic,label=USER:ROLE:TYPE:LEVEL Dynamically allocate an SELinux label, using the base context USER:ROLE:TYPE:LEVEL, instead of the default base context. =item static,label=USER:ROLE:TYPE:LEVEL To set a completely static label. For example, static,label=system_u:system_r:svirt_t:s0:c412,c355 =back =item B<-i SIZE>, B<--image SIZE> Create file system image file of this size to store container content. =item B<-P PACKAGE>, B<--package PACKAGE> Package(s) to be used within the container. =item B<-U UID>, B<--uid UID> Set uid to use within container. Default: C. =item B<--username USERNAME> Set username to use within container. Default: C. =back =head1 EXAMPLE Create httpd1 Systemd container # virt-sandbox-service create -C -u httpd.service httpd1 Created container dir /var/lib/libvirt/filesystems/httpd1 Created sandbox config /etc/libvirt-sandbox/services/httpd1/config/sandbox.cfg Created unit file /etc/systemd/system/httpd@httpd1.service Create foobar1 Generic container # virt-sandbox-service create -U 1234 foobar1 -- /usr/bin/foobar -a -b Created container dir /var/lib/libvirt/filesystems/foobar1 Created sandbox config /etc/libvirt-sandbox/services/foobar1/config/sandbox.cfg =head1 SEE ALSO C, C, C, C =head1 FILES Container content will be stored in subdirectories of C, by default. You can manage the content in these directories outside of the container and processes within the container will see the content. =head1 AUTHORS Daniel Walsh Daniel P. Berrange =head1 COPYRIGHT Copyright (C) 2011-2013 Red Hat, Inc. =head1 LICENSE virt-sandbox is distributed under the terms of the GNU LGPL v2+. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE libvirt-sandbox-0.5.1+git20160404/bin/virt-sandbox-service-delete.pod000066400000000000000000000027431275305543100250310ustar00rootroot00000000000000=head1 NAME virt-sandbox-service delete - Delete a security container =head1 SYNOPSIS virt-sandbox-service [-c URI] delete [-h] [-p PATH] NAME =head1 DESCRIPTION virt-sandbox-service is used to manage secure sandboxed system services. These applications will be launched via libvirt and run within a virtualization technology such as LinuX Containers (LXC), or optionally QEMU/KVM. The container / virtual machines will be secured by SELinux and resource separated using cgroups. The delete command will delete a sandbox container. =head1 OPTIONS =over 4 =item B<-h>, B<--help> Display help message =item B<-c URI>, B<--connect URI> The connection URI for the hypervisor (currently only LXC URIs are supported). =item B<-p PATH>, B<--path PATH> Set path to delete container content from. This argument must match the value of the C<-p> arg given when creating the original source container. Default: C. =back =head1 EXAMPLE Delete the httpd1 container # virt-sandbox-service delete httpd1 =head1 SEE ALSO C, C, C, C =head1 AUTHORS Daniel Walsh Daniel P. Berrange =head1 COPYRIGHT Copyright (C) 2011-2013 Red Hat, Inc. =head1 LICENSE virt-sandbox is distributed under the terms of the GNU LGPL v2+. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE libvirt-sandbox-0.5.1+git20160404/bin/virt-sandbox-service-execute.pod000066400000000000000000000033071275305543100252260ustar00rootroot00000000000000=head1 NAME virt-sandbox-service execute - execute commands inside Secure container =head1 SYNOPSIS Execute a command within a security container virt-sandbox-service [-c URI] execute [-h] [-N] NAME -- COMMAND [ARG1 [ARG2...]] =head1 DESCRIPTION virt-sandbox-service is used to manage secure sandboxed system services. These applications will be launched via libvirt and run within a virtualization technology such as LinuX Containers (LXC), or optionally QEMU/KVM. The container / virtual machines will be secured by SELinux and resource separated using cgroups. The execute subcommand is used to execute commands within an already running container. =head1 OPTIONS =over 4 =item B<-h>, B<--help> Display help message =item B<-c> URI, B<--connect URI> The connection URI for the hypervisor (currently only LXC URIs are supported). =item B<-N>, B<--noseclabel> Execute command within the container. =back =head1 EXAMPLE Execute /bin/sh in httpd1 container # virt-sandbox-service execute httpd1 -- /bin/sh =head1 SEE ALSO C, C, C, C =head1 FILES Container content will be stored in subdirectories of /var/lib/libvirt/filesystems, by default. You can manage the content in these directories outside of the container and processes within the container will see the content. =head1 AUTHORS Daniel Walsh Daniel P. Berrange =head1 COPYRIGHT Copyright (C) 2011-2013 Red Hat, Inc. =head1 LICENSE virt-sandbox is distributed under the terms of the GNU LGPL v2+. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE libvirt-sandbox-0.5.1+git20160404/bin/virt-sandbox-service-reload.pod000066400000000000000000000033641275305543100250350ustar00rootroot00000000000000=head1 NAME virt-sandbox-service reload - Reload a security container =head1 SYNOPSIS virt-sandbox-service [-c URI] reload [-h] -u UNIT_FILE NAME =head1 DESCRIPTION virt-sandbox-service is used to manage secure sandboxed system services. These applications will be launched via libvirt and run within a virtualization technology such as LinuX Containers (LXC), or optionally QEMU/KVM. The container / virtual machines will be secured by SELinux and resource separated using cgroups. The reload command will reload a sandbox container. This is used when software is updated outside of a container and processes within the container need to reload or restart. For example, if you update your httpd software, and you had a running container that was using the httpd service, systemd would send the reload to the container. =head1 OPTIONS =over 4 =item B<-h>, B<--help> Display help message =item B<-c URI>, B<--connect URI> The connection URI for the hypervisor (currently only LXC URIs are supported). =item B<-u UNIT_FILE>, B<--unitfile UNIT_FILE> Name of the systemd unit file to reload within the container. Can be repeated if multiple unit files need to be reloaded within the sandbox. =back =head1 EXAMPLE Reload the httpd1 container # virt-sandbox-service reload -u httpd.service httpd1 =head1 SEE ALSO C, C, C, C =head1 AUTHORS Daniel Walsh Daniel P. Berrange =head1 COPYRIGHT Copyright (C) 2011-2013 Red Hat, Inc. =head1 LICENSE virt-sandbox is distributed under the terms of the GNU LGPL v2+. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE libvirt-sandbox-0.5.1+git20160404/bin/virt-sandbox-service-upgrade.pod000066400000000000000000000036151275305543100252150ustar00rootroot00000000000000=head1 NAME virt-sandbox-service upgrade - upgrade an existing Secure container =head1 SYNOPSIS Upgrade a Security container virt-sandbox-service [-c URI] upgrade NAME =head1 DESCRIPTION virt-sandbox-service is used to manage secure sandboxed system services. These applications will be launched via libvirt and run within a virtualization technology such as LinuX Containers (LXC), or optionally QEMU/KVM. The container / virtual machines will be secured by SELinux and resource separated using cgroups. The upgrade command will update the config files for NAME to be compatible with the currently installed software version. NB this works in an upgrade direction only, it is not possible to install older versions of the software and use this command to downgrade the configs. If you have editted the main sandbox configuration file manually, this command can also be used to update the libvirt guest configuration to match it. =head1 OPTIONS =over 4 =item B<-h>, B<--help> Display help message =item B<-c URI>, B<--connect URI> The connection URI for the hypervisor (currently only LXC URIs are supported). =back =head1 EXAMPLE Execute /bin/sh in httpd1 container # virt-sandbox-service upgrade httpd =head1 SEE ALSO C, C, C, C =head1 FILES Container content will be stored in subdirectories of /var/lib/libvirt/filesystems, by default. You can manage the content in these directories outside of the container and processes within the container will see the content. =head1 AUTHORS Daniel Walsh Daniel P. Berrange =head1 COPYRIGHT Copyright (C) 2011-2013 Red Hat, Inc. =head1 LICENSE virt-sandbox is distributed under the terms of the GNU LGPL v2+. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE libvirt-sandbox-0.5.1+git20160404/bin/virt-sandbox-service-util.c000066400000000000000000000222511275305543100242000ustar00rootroot00000000000000/* * virt-sandbox-service-util.c: libvirt sandbox service util command * * Copyright (C) 2012-2013 Red Hat, Inc. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. * * This library is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA * * Author: Daniel J Walsh * Author: Daniel P. Berrange */ #include #include #include #define STREQ(x,y) (strcmp(x,y) == 0) static gboolean do_close(GVirSandboxConsole *con G_GNUC_UNUSED, gboolean error G_GNUC_UNUSED, gpointer opaque) { GMainLoop *loop = opaque; g_main_loop_quit(loop); return FALSE; } static void libvirt_sandbox_version(void) { g_print(_("%s version %s\n"), PACKAGE, VERSION); exit(EXIT_SUCCESS); } static GVirSandboxContext *libvirt_sandbox_get_context(const char *uri, const char *name) { GVirSandboxConfig *config = NULL; GVirSandboxContextService *ctx = NULL; GError *err = NULL; GVirConnection *conn = NULL; gchar *configfile = NULL; configfile = g_strdup_printf("/etc/libvirt-sandbox/services/%s/config/sandbox.cfg", name); if (uri) conn = gvir_connection_new(uri); else conn = gvir_connection_new("lxc:///"); if (!gvir_connection_open(conn, NULL, &err)) { g_printerr(_("Unable to open connection: %s\n"), err && err->message ? err->message : _("unknown")); goto cleanup; } if (!(config = gvir_sandbox_config_load_from_path(configfile, &err))) { g_printerr(_("Unable to read config file %s: %s\n"), configfile, err && err->message ? err->message : _("unknown")); goto cleanup; } if (!(ctx = gvir_sandbox_context_service_new(conn, GVIR_SANDBOX_CONFIG_SERVICE(config)))) { g_printerr(_("Unable to create new context service: %s\n"), err && err->message ? err->message : _("unknown")); goto cleanup; } cleanup: g_free(configfile); if (conn) g_object_unref(conn); if (config) g_object_unref(config); return ctx ? GVIR_SANDBOX_CONTEXT(ctx) : NULL; } static int container_start(const char *uri, const char *name, GMainLoop *loop) { int ret = EXIT_FAILURE; GError *err = NULL; GVirSandboxConsole *con = NULL; GVirSandboxContext *ctx = NULL; if (!(ctx = libvirt_sandbox_get_context(uri, name))) goto cleanup; if (!(gvir_sandbox_context_start(ctx, &err))) { g_printerr(_("Unable to start container: %s\n"), err && err->message ? err->message : _("unknown")); goto cleanup; } if (!(con = gvir_sandbox_context_get_log_console(ctx, &err))) { g_printerr(_("Unable to get log console for container: %s\n"), err && err->message ? err->message : _("unknown")); goto cleanup; } gvir_sandbox_console_set_direct(con, TRUE); g_signal_connect(con, "closed", (GCallback)do_close, loop); if (gvir_sandbox_console_attach_stderr(con, &err) < 0) { g_printerr(_("Unable to attach console to stderr in the container: %s\n"), err && err->message ? err->message : _("unknown")); goto cleanup; } /* Stop holding open libvirt connection */ if (gvir_sandbox_console_isolate(con, &err) < 0) { g_printerr(_("Unable to disconnect console from libvirt: %s\n"), err && err->message ? err->message : _("unknown")); goto cleanup; } gvir_sandbox_context_detach(ctx, NULL); g_object_unref(ctx); ctx = NULL; g_main_loop_run(loop); ret = EXIT_SUCCESS; cleanup: if (ctx) g_object_unref(ctx); if (con) g_object_unref(con); return ret; } static int container_attach(const char *uri, const char *name, GMainLoop *loop) { int ret = EXIT_FAILURE; GError *err = NULL; GVirSandboxConsole *con = NULL; GVirSandboxContext *ctx = NULL; if (!(ctx = libvirt_sandbox_get_context(uri, name))) goto cleanup; if (!(gvir_sandbox_context_attach(ctx, &err))) { g_printerr(_("Unable to attach to container: %s\n"), err && err->message ? err->message : _("unknown")); goto cleanup; } if (!(con = gvir_sandbox_context_get_shell_console(ctx, &err))) { g_printerr(_("Unable to get shell console for container: %s\n"), err && err->message ? err->message : _("unknown")); goto cleanup; } gvir_sandbox_console_set_direct(con, TRUE); g_signal_connect(con, "closed", (GCallback)do_close, loop); if (!(gvir_sandbox_console_attach_stdio(con, &err))) { g_printerr(_("Unable to attach to container: %s\n"), err && err->message ? err->message : _("unknown")); goto cleanup; } /* Stop holding open libvirt connection */ if (gvir_sandbox_console_isolate(con, &err) < 0) { g_printerr(_("Unable to disconnect console from libvirt: %s\n"), err && err->message ? err->message : _("unknown")); goto cleanup; } gvir_sandbox_context_detach(ctx, NULL); g_object_unref(ctx); ctx = NULL; g_main_loop_run(loop); ret = EXIT_SUCCESS; cleanup: if (ctx) g_object_unref(ctx); if (con) g_object_unref(con); return ret; } static int (*container_func)(const char *uri, const char *name, GMainLoop *loop) = NULL; static gboolean libvirt_lxc_start(const gchar *option_name, const gchar *value, const gpointer *data, const GError **error) { if (container_func) return FALSE; container_func = container_start; return TRUE; } static gboolean libvirt_lxc_attach(const gchar *option_name, const gchar *value, const gpointer *data, const GError **error) { if (container_func) return FALSE; container_func = container_attach; return TRUE; } int main(int argc, char **argv) { GError *err = NULL; GMainLoop *loop = NULL; int ret = EXIT_FAILURE; pid_t pid = 0; gchar *uri = NULL; gchar **cmdargs = NULL; GOptionContext *context; GOptionEntry options[] = { { "version", 'V', G_OPTION_FLAG_NO_ARG, G_OPTION_ARG_CALLBACK, libvirt_sandbox_version, N_("Display version information"), NULL }, { "start", 's', G_OPTION_FLAG_NO_ARG, G_OPTION_ARG_CALLBACK, libvirt_lxc_start, N_("Start a container"), NULL }, { "attach", 'a', G_OPTION_FLAG_NO_ARG, G_OPTION_ARG_CALLBACK, libvirt_lxc_attach, N_("Attach to a container"), NULL }, { "pid", 'p', 0, G_OPTION_ARG_INT, &pid, N_("Pid of process in container to which the command will run"), "PID"}, { "connect", 'c', 0, G_OPTION_ARG_STRING, &uri, N_("Connect to hypervisor Default:'lxc:///'"), "URI"}, { G_OPTION_REMAINING, '\0', 0, G_OPTION_ARG_STRING_ARRAY, &cmdargs, NULL, "CONTAINER_NAME" }, { NULL, 0, 0, G_OPTION_ARG_NONE, NULL, NULL, NULL } }; const char *help_msg = N_("Run 'virt-sandbox-service-util --help' to see a full list of available command line options\n"); setlocale(LC_ALL, ""); bindtextdomain(PACKAGE, LOCALEDIR); bind_textdomain_codeset(PACKAGE, "UTF-8"); textdomain(PACKAGE); if (!gvir_sandbox_init_check(&argc, &argv, &err)) exit(EXIT_FAILURE); context = g_option_context_new (_("- Libvirt Sandbox Service")); g_option_context_add_main_entries (context, options, NULL); g_option_context_parse (context, &argc, &argv, &err); if (err) { g_printerr("%s\n%s\n", err->message, gettext(help_msg)); goto cleanup; } if ( container_func == NULL ) { g_printerr(_("Invalid command: You must specify --start or --attach\n%s"), gettext(help_msg)); goto cleanup; } if (!cmdargs || !cmdargs[0] ) { g_printerr(_("Invalid command CONTAINER_NAME required: %s"), gettext(help_msg)); goto cleanup; } g_option_context_free(context); g_set_application_name(_("Libvirt Sandbox Service")); loop = g_main_loop_new(g_main_context_default(), 1); ret = container_func(uri, cmdargs[0], loop); g_main_loop_unref(loop); cleanup: exit(ret); } /* * Local variables: * c-indent-level: 4 * c-basic-offset: 4 * indent-tabs-mode: nil * tab-width: 8 * End: */ libvirt-sandbox-0.5.1+git20160404/bin/virt-sandbox-service.logrotate000066400000000000000000000003751275305543100250060ustar00rootroot00000000000000#!/bin/sh for name in `/usr/bin/virsh -c lxc:/// -q list | awk '{print $2}'` do if test -d "/etc/libvirt-sandbox/services/$name" then /usr/bin/virt-sandbox-service -c lxc:/// execute $name -- /etc/cron.daily/logrotate fi done exit 0 libvirt-sandbox-0.5.1+git20160404/bin/virt-sandbox-service.pod000066400000000000000000000046511275305543100235710ustar00rootroot00000000000000=head1 NAME virt-sandbox-service - Secure container tool =head1 SYNOPSIS {create,clone,connect,delete,execute,reload,upgrade} commands: create create a sandbox container clone Clone an existing sandbox container connect Connect to a sandbox container delete Delete a sandbox container execute Execute a command within a sandbox container reload Reload a running sandbox container upgrade Upgrade an existing sandbox container =head1 DESCRIPTION virt-sandbox-service is used to provision secure sandboxed system services. These applications will be launched via libvirt and run within a virtualization technology such as LinuX Containers (LXC), or optionally QEMU/KVM. The container / virtual machines will be secured by SELinux and resource separated using cgroups. By default, it will use the libvirt LXC driver, with the C URI. This is different from libvirt's normal behaviour, which is to probe for the best URI to use. Thus if using C to get a list of containers, one must specify an explicit URI for it, C. Alternatively the C environment variable can be set, or the config file C can have a default URI set. =head1 OPTIONS =over 4 =item B<-h>, B<--help> Display help message =item B<-c URI>, B<--connect URI> The connection URI for the hypervisor (currently only LXC URIs are supported). =back =head1 SEE ALSO C, C, C, C, C, C, C, C, C, C, C =head1 FILES Container content will be stored in subdirectories of /var/lib/libvirt/filesystems, by default. You can manage the content in these directories outside of the container and processes within the container will see the content. =head1 AUTHORS Daniel Walsh Daniel P. Berrange =head1 COPYRIGHT Copyright (C) 2011-2013 Red Hat, Inc. =head1 LICENSE virt-sandbox is distributed under the terms of the GNU LGPL v2+. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE libvirt-sandbox-0.5.1+git20160404/bin/virt-sandbox.c000066400000000000000000000477531275305543100216050ustar00rootroot00000000000000/* * virt-sandbox.c: libvirt sandbox command * * Copyright (C) 2011 Red Hat, Inc. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. * * This library is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA * * Author: Daniel P. Berrange */ #include #include #include #include #include static gboolean do_close(GVirSandboxConsole *con G_GNUC_UNUSED, gboolean error G_GNUC_UNUSED, gpointer opaque) { GMainLoop *loop = opaque; g_main_loop_quit(loop); return FALSE; } static gboolean do_delayed_close(gpointer opaque) { GMainLoop *loop = opaque; g_main_loop_quit(loop); return FALSE; } static gboolean do_pending_close(GVirSandboxConsole *con G_GNUC_UNUSED, gboolean error G_GNUC_UNUSED, gpointer opaque) { GMainLoop *loop = opaque; g_timeout_add(2000, do_delayed_close, loop); return FALSE; } static gboolean do_exited(GVirSandboxConsole *con G_GNUC_UNUSED, int status, gpointer opaque) { int *ret = opaque; *ret = WEXITSTATUS(status); return FALSE; } static void libvirt_sandbox_version(void) { g_print(_("%s version %s\n"), PACKAGE, VERSION); exit(EXIT_SUCCESS); } int main(int argc, char **argv) { int ret = EXIT_FAILURE; GVirConnection *hv = NULL; GVirSandboxConfig *cfg = NULL; GVirSandboxConfigInteractive *icfg = NULL; GVirSandboxContext *ctx = NULL; GVirSandboxContextInteractive *ictx = NULL; GVirSandboxConsole *log = NULL; GVirSandboxConsole *con = NULL; GMainLoop *loop = NULL; GError *error = NULL; gchar *name = NULL; gchar **disks = NULL; gchar **envs = NULL; gchar **mounts = NULL; gchar **includes = NULL; gchar *includefile = NULL; gchar *uri = NULL; gchar *security = NULL; gchar **networks = NULL; gchar **cmdargs = NULL; gchar *root = NULL; gchar *kernver = NULL; gchar *kernpath = NULL; gchar *kmodpath = NULL; gchar *switchto = NULL; gboolean verbose = FALSE; gboolean debug = FALSE; gboolean shell = FALSE; gboolean privileged = FALSE; GOptionContext *context; GOptionEntry options[] = { { "version", 'V', G_OPTION_FLAG_NO_ARG, G_OPTION_ARG_CALLBACK, libvirt_sandbox_version, N_("display version information"), NULL }, { "verbose", 'v', 0, G_OPTION_ARG_NONE, &verbose, N_("display verbose information"), NULL }, { "debug", 'd', 0, G_OPTION_ARG_NONE, &debug, N_("display debugging information"), NULL }, { "connect", 'c', 0, G_OPTION_ARG_STRING, &uri, N_("connect to hypervisor"), "URI"}, { "name", 'n', 0, G_OPTION_ARG_STRING, &name, N_("name of the sandbox"), "NAME" }, { "root", 'r', 0, G_OPTION_ARG_STRING, &root, N_("root directory of the sandbox"), "DIR" }, { "disk", ' ', 0, G_OPTION_ARG_STRING_ARRAY, &disks, N_("add a disk in the guest"), "TYPE:TAGNAME=SOURCE,format=FORMAT" }, { "env", 'e', 0, G_OPTION_ARG_STRING_ARRAY, &envs, N_("add a environment variable for the sandbox"), "KEY=VALUE" }, { "mount", 'm', 0, G_OPTION_ARG_STRING_ARRAY, &mounts, N_("mount a filesystem in the guest"), "TYPE:TARGET=SOURCE" }, { "include", 'i', 0, G_OPTION_ARG_STRING_ARRAY, &includes, N_("file to copy into custom dir"), "GUEST-PATH=HOST-PATH", }, { "includefile", 'I', 0, G_OPTION_ARG_STRING, &includefile, N_("file contain list of files to include"), "FILE" }, { "network", 'N', 0, G_OPTION_ARG_STRING_ARRAY, &networks, N_("setup network interface properties"), "PATH", }, { "security", 's', 0, G_OPTION_ARG_STRING, &security, N_("security properties"), "PATH", }, { "privileged", 'p', 0, G_OPTION_ARG_NONE, &privileged, N_("run the command privileged"), NULL }, { "switchto", 'S', 0, G_OPTION_ARG_STRING, &switchto, N_("switch to the given user"), "USER" }, { "shell", 'l', 0, G_OPTION_ARG_NONE, &shell, N_("start a shell"), NULL, }, { "kernver", 0, 0, G_OPTION_ARG_STRING, &kernver, N_("kernel version"), NULL, }, { "kernpath", 0, 0, G_OPTION_ARG_STRING, &kernpath, N_("kernel binary path"), NULL, }, { "kmodpath", 0, 0, G_OPTION_ARG_STRING, &kmodpath, N_("kernel module directory"), NULL, }, { G_OPTION_REMAINING, '\0', 0, G_OPTION_ARG_STRING_ARRAY, &cmdargs, NULL, "COMMAND-PATH [ARGS...]" }, { NULL, 0, 0, G_OPTION_ARG_NONE, NULL, NULL, NULL } }; const char *help_msg = N_("Run 'virt-sandbox --help' to see a full list of available command line options"); struct passwd *pw; setlocale(LC_ALL, ""); bindtextdomain(PACKAGE, LOCALEDIR); bind_textdomain_codeset(PACKAGE, "UTF-8"); textdomain(PACKAGE); if (!gvir_sandbox_init_check(&argc, &argv, &error)) exit(EXIT_FAILURE); g_set_application_name(_("Libvirt Sandbox")); context = g_option_context_new (_("- Libvirt Sandbox")); g_option_context_add_main_entries (context, options, NULL); g_option_context_parse (context, &argc, &argv, &error); if (error) { g_printerr("%s\n%s\n", error->message, gettext(help_msg)); goto cleanup; } g_option_context_free(context); if (!cmdargs || (g_strv_length(cmdargs) < 1)) { g_printerr(_("\nUsage: %s [OPTIONS] COMMAND-PATH [ARGS...]\n\n%s\n\n"), argv[0], help_msg); goto cleanup; } if (debug) { setenv("LIBVIRT_LOG_FILTERS", "1:libvirt", 1); setenv("LIBVIRT_LOG_OUTPUTS", "stderr", 1); } else if (verbose) { setenv("LIBVIRT_LOG_FILTERS", "1:libvirt", 1); setenv("LIBVIRT_LOG_OUTPUTS", "stderr", 1); } loop = g_main_loop_new(g_main_context_default(), FALSE); hv = gvir_connection_new(uri); if (!gvir_connection_open(hv, NULL, &error)) { g_printerr(_("Unable to open connection: %s\n"), error && error->message ? error->message : _("Unknown failure")); goto cleanup; } icfg = gvir_sandbox_config_interactive_new(name ? name : "sandbox"); cfg = GVIR_SANDBOX_CONFIG(icfg); gvir_sandbox_config_interactive_set_command(icfg, cmdargs); if (root) gvir_sandbox_config_set_root(cfg, root); if (kernver) gvir_sandbox_config_set_kernrelease(cfg, kernver); if (kernpath) gvir_sandbox_config_set_kernpath(cfg, kernpath); if (kmodpath) gvir_sandbox_config_set_kmodpath(cfg, kmodpath); if (privileged && switchto) { g_printerr(_("'switchto' and 'privileged' are incompatible options\n")); goto cleanup; } if (privileged) { gvir_sandbox_config_set_userid(cfg, 0); gvir_sandbox_config_set_groupid(cfg, 0); gvir_sandbox_config_set_username(cfg, "root"); } else if (switchto) { pw = getpwnam(switchto); if (!pw) { g_printerr(_("Failed to resolve user %s\n"), switchto); goto cleanup; } gvir_sandbox_config_set_userid(cfg, pw->pw_uid); gvir_sandbox_config_set_groupid(cfg, pw->pw_gid); gvir_sandbox_config_set_username(cfg, pw->pw_name); gvir_sandbox_config_set_homedir(cfg, pw->pw_dir); } if (envs && !gvir_sandbox_config_add_env_strv(cfg, envs, &error)) { g_printerr(_("Unable to parse custom environment variables: %s\n"), error && error->message ? error->message : _("Unknown failure")); goto cleanup; } if (disks && !gvir_sandbox_config_add_disk_strv(cfg, disks, &error)) { g_printerr(_("Unable to parse disks: %s\n"), error && error->message ? error->message : _("Unknown failure")); goto cleanup; } if (mounts && !gvir_sandbox_config_add_mount_strv(cfg, mounts, &error)) { g_printerr(_("Unable to parse mounts: %s\n"), error && error->message ? error->message : _("Unknown failure")); goto cleanup; } if (includes && !gvir_sandbox_config_add_host_include_strv(cfg, includes, &error)) { g_printerr(_("Unable to parse includes: %s\n"), error && error->message ? error->message : _("Unknown failure")); goto cleanup; } if (includefile && !gvir_sandbox_config_add_host_include_file(cfg, includefile, &error)) { g_printerr(_("Unable to parse include file: %s\n"), error && error->message ? error->message : _("Unknown failure")); goto cleanup; } if (networks && !gvir_sandbox_config_add_network_strv(cfg, networks, &error)) { g_printerr(_("Unable to parse networks: %s\n"), error && error->message ? error->message : _("Unknown failure")); goto cleanup; } if (security && !gvir_sandbox_config_set_security_opts(cfg, security, &error)) { g_printerr(_("Unable to parse security: %s\n"), error && error->message ? error->message : _("Unknown failure")); goto cleanup; } if (shell) gvir_sandbox_config_set_shell(cfg, TRUE); if (isatty(STDIN_FILENO)) gvir_sandbox_config_interactive_set_tty(icfg, TRUE); ictx = gvir_sandbox_context_interactive_new(hv, icfg); ctx = GVIR_SANDBOX_CONTEXT(ictx); if (!gvir_sandbox_context_start(ctx, &error)) { g_printerr(_("Unable to start sandbox: %s\n"), error && error->message ? error->message : _("Unknown failure")); goto cleanup; } if (!(log = gvir_sandbox_context_get_log_console(ctx, &error))) { g_printerr(_("Unable to get log console: %s\n"), error && error->message ? error->message : _("Unknown failure")); goto cleanup; } g_signal_connect(log, "closed", (GCallback)do_close, loop); if (!(gvir_sandbox_console_attach_stderr(log, &error))) { g_printerr(_("Unable to attach sandbox console: %s\n"), error && error->message ? error->message : _("Unknown failure")); goto cleanup; } if (!(con = gvir_sandbox_context_interactive_get_app_console(ictx, &error))) { g_printerr(_("Unable to get app console: %s\n"), error && error->message ? error->message : _("Unknown failure")); goto cleanup; } /* We don't close right away - we want to ensure we read any * final debug info from the log console. We should get an * EOF on that console which will trigger the real close, * but we schedule a timer just in case. */ g_signal_connect(con, "closed", (GCallback)do_pending_close, loop); g_signal_connect(con, "exited", (GCallback)do_exited, &ret); if (!(gvir_sandbox_console_attach_stdio(con, &error))) { g_printerr(_("Unable to attach sandbox console: %s\n"), error && error->message ? error->message : _("Unknown failure")); goto cleanup; } g_main_loop_run(loop); cleanup: if (error) g_error_free(error); if (con) gvir_sandbox_console_detach(con, NULL); if (ctx) { gvir_sandbox_context_stop(ctx, NULL); g_object_unref(ctx); } if (cfg) g_object_unref(cfg); if (loop) g_main_loop_unref(loop); if (hv) g_object_unref(hv); return ret; } /* =head1 NAME virt-sandbox - Run cmd under a virtual machine sandbox =head1 SYNOPSIS virt-sandbox [OPTIONS...] COMMAND virt-sandbox [OPTIONS...] -- COMMAND [CMDARG1 [CMDARG2 [...]]] =head1 DESCRIPTION Run the C application within a tightly confined virtual machine. The default sandbox domain only allows applications the ability to read and write stdin, stdout and any other file descriptors handed to it. It is not allowed to open any other files. =head1 OPTIONS =over 8 =item B<-c URI>, B<--connect=URI> Set the libvirt connection URI, defaults to qemu:///session if omitted. Alternatively the C environment variable can be set, or the config file C can have a default URI set. Currently only the QEMU and LXC drivers are supported. =item B<-n NAME>, B<--name=NAME> Set the unique name for the sandbox. This defaults to B but this will need to be changed if more than one sandbox is to be run concurrently. This is used as the name of the libvirt virtual machine or container. =item B<-r DIR>, B<--root DIR> Use B as the root directory of the sandbox, instead of inheriting the host's root filesystem. NB. C must contain a matching install of the libvirt-sandbox package. This restriction may be lifted in a future version. =item B<--env key=value> Sets up a custom environment variable on a running sandbox. =item B<--disk TYPE:TAGNAME=SOURCE,format=FORMAT> Sets up a disk inside the sandbox by using B with a symlink named as B and type B and format B. Example: file:cache=/var/lib/sandbox/demo/tmp.qcow2,format=qcow2 Format is an optional parameter. =over 4 =item B Type parameter can be set to "file". =item B TAGNAME will be created under /dev/disk/by-tag/TAGNAME. It will be linked to the device under /dev =item B Source parameter needs to point a file which must be a one of the valid domain disk formats supported by qemu. =item B Format parameter must be set to the same disk format as the file passed on source parameter. This parameter is optional and the format can be guessed from the image extension =back =item B<-m TYPE:DST=SRC>, B<--mount TYPE:DST=SRC> Sets up a mount inside the sandbox at B backed by B. The meaning of B depends on the value of C specified: =over 4 =item B If B is B, then B is interpreted as the path to a directory on the host filesystem. If C is the empty string, then a temporary (empty) directory is created on the host before starting the sandbox and deleted afterwards. The C<--include> option is useful for populating these temporary directories with copies of host files. =item B If B is B, then B is interpreted as the path to a disk image file on the host filesystem. The image should be formatted with a filesystem that can be auto-detected by the sandbox, such as B, B, etc. The disk image itself should be a raw file, not qcow2 or any other special format =item B If B is B, then B is interpreted as the path to another directory in the container filesystem. =item B If B is B, then B is interpreted as specifying the size of the RAM disk in bytes. The suffix B, B, B, B, B, B can used to alter the units from bytes to a coarser level. =back Some examples -m host-bind:/tmp=/var/lib/sandbox/demo/tmp -m host-image:/=/var/lib/sandbox/demo.img -m guest-bind:/home=/tmp/home -m ram:/tmp=500M =item B<-I HOST-PATH>, B<--includefile=HOST-PATH> Copy all files listed in inputfile into the appropriate temporary sandbox directories. =item B<-N NETWORK-OPTIONS>, B<--network NETWORK-OPTIONS> Add a network interface to the sandbox. NETWORK-OPTIONS is a set of key=val pairs, separated by commas. The following options are valid =over 4 =item dhcp Configure the network interface using dhcp. This key takes no value. No other keys may be specified. eg -N dhcp,source=default --network dhcp,source=lan where 'source' is the name of any libvirt virtual network. =item source=NETWORK Set the name of the network to connect the interface to. C is the name of any libvirt virtual network. See also B =item mac=NN:NN:NN:NN:NN:NN Set the MAC address of the network interface, where each NN is a pair of hex digits. =item address=IP-ADDRESS/PREFIX%BROADCAST Configure the network interface with the static IPv4 or IPv6 address B. The B value is the length of the network prefix in B. The optional B parameter specifies the broadcast address. Some examples address=192.168.122.1/24 address=192.168.122.1/24%192.168.122.255 address=2001:212::204:2/64 =item route=IP-NETWORK/PREFIX%GATEWAY Configure the network interface with the static IPv4 or IPv6 route B. The B value is the length of the network prefix in B. The B parameter specifies the address of the gateway for the route. Some examples route=192.168.122.255/24%192.168.1.1 =back =item B<-s SECURITY-OPTIONS>, B<--security=SECURITY-OPTIONS> Use alternative security options. SECURITY-OPTIONS is a set of key=val pairs, separated by commas. The following options are valid for SELinux =over 4 =item dynamic Dynamically allocate an SELinux label, using the default base context. The default base context is system_u:system_r:svirt_lxc_net_t:s0 for LXC, system_u:system_r:svirt_t:s0 for KVM, system_u:system_r:svirt_tcg_t:s0 for QEMU. =item dynamic,label=USER:ROLE:TYPE:LEVEL Dynamically allocate an SELinux label, using the base context USER:ROLE:TYPE:LEVEL, instead of the default base context. =item static,label=USER:ROLE:TYPE:LEVEL To set a completely static label. For example, static,label=system_u:system_r:svirt_t:s0:c412,c355 =item inherit Inherit the context from the process that is executing virt-sandbox. =back =item B<--kernver=VERSION> Specify the kernel version to run for machine based sandboxes. If omitted, defaults to match the current running host version. =item B<--kernpath=FILE-PATH> Specify the path to the kernel binary. If omitted, defaults to C. =item B<--kmodpath=DIR-PATH> Specify the path to the kernel module base directory. If omitted, defaults to C. The suffix C<$KERNEL-VERSION/kernel> will be appended to this path to locate the modules. =item B<-p>, B<--privileged> Retain root privileges inside the sandbox, rather than dropping privileges to match the current user identity. =item B<-S USER>, B<--switchto=USER> Switch to the given user inside the sandbox and setup $HOME accordingly. =item B<-l>, B<--shell> Launch an interactive shell on a secondary console device =item B<-V>, B<--version> Display the version number and exit =item B<-v>, B<--verbose> Display verbose progress information =item B<-d>, B<--debug> Display debugging information =item B<-h>, B<--help> Display help information =back =head1 EXAMPLES Run an interactive shell under LXC, replace $HOME with the contents of $HOME/scratch # mkdir $HOME/scratch # echo "hello" > $HOME/scratch/foo # echo "sandbox" > $HOME/scratch/bar # virt-sandbox -c lxc:/// -m host-bind:$HOME=$HOME/scratch -i $HOME/scratch/foo -i $HOME/scratch/bar /bin/sh Convert an OGG file to WAV inside QEMU # virt-sandbox -c qemu:///session -- /usr/bin/oggdec -Q -o - - < somefile.ogg > somefile.wav =head1 SEE ALSO C, C =head1 AUTHORS Daniel P. Berrange =head1 COPYRIGHT Copyright (C) 2011 Daniel P. Berrange Copyright (C) 2011-2012 Red Hat, Inc. =head1 LICENSE virt-sandbox is distributed under the terms of the GNU LGPL v2+. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE =cut */ /* * Local variables: * c-indent-level: 4 * c-basic-offset: 4 * indent-tabs-mode: nil * tab-width: 8 * End: */ libvirt-sandbox-0.5.1+git20160404/build-aux/000077500000000000000000000000001275305543100201235ustar00rootroot00000000000000libvirt-sandbox-0.5.1+git20160404/build-aux/gitlog-to-changelog000077500000000000000000000126451275305543100237130ustar00rootroot00000000000000eval '(exit $?0)' && eval 'exec perl -wS "$0" ${1+"$@"}' & eval 'exec perl -wS "$0" $argv:q' if 0; # Convert git log output to ChangeLog format. my $VERSION = '2009-10-30 13:46'; # UTC # The definition above must lie within the first 8 lines in order # for the Emacs time-stamp write hook (at end) to update it. # If you change this file with Emacs, please let the write hook # do its job. Otherwise, update this string manually. # Copyright (C) 2008-2011 Free Software Foundation, Inc. # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # You should have received a copy of the GNU General Public License # along with this program. If not, see . # Written by Jim Meyering use strict; use warnings; use Getopt::Long; use POSIX qw(strftime); (my $ME = $0) =~ s|.*/||; # use File::Coda; # http://meyering.net/code/Coda/ END { defined fileno STDOUT or return; close STDOUT and return; warn "$ME: failed to close standard output: $!\n"; $? ||= 1; } sub usage ($) { my ($exit_code) = @_; my $STREAM = ($exit_code == 0 ? *STDOUT : *STDERR); if ($exit_code != 0) { print $STREAM "Try `$ME --help' for more information.\n"; } else { print $STREAM < ChangeLog $ME -- -n 5 foo > last-5-commits-to-branch-foo EOF } exit $exit_code; } # If the string $S is a well-behaved file name, simply return it. # If it contains white space, quotes, etc., quote it, and return the new string. sub shell_quote($) { my ($s) = @_; if ($s =~ m![^\w+/.,-]!) { # Convert each single quote to '\'' $s =~ s/\'/\'\\\'\'/g; # Then single quote the string. $s = "'$s'"; } return $s; } sub quoted_cmd(@) { return join (' ', map {shell_quote $_} @_); } { my $since_date = '1970-01-01 UTC'; my $format_string = '%s%n%b%n'; GetOptions ( help => sub { usage 0 }, version => sub { print "$ME version $VERSION\n"; exit }, 'since=s' => \$since_date, 'format=s' => \$format_string, ) or usage 1; my @cmd = (qw (git log --log-size), "--since=$since_date", '--pretty=format:%ct %an <%ae>%n%n'.$format_string, @ARGV); open PIPE, '-|', @cmd or die ("$ME: failed to run `". quoted_cmd (@cmd) ."': $!\n" . "(Is your Git too old? Version 1.5.1 or later is required.)\n"); my $prev_date_line = ''; while (1) { defined (my $in = ) or last; $in =~ /^log size (\d+)$/ or die "$ME:$.: Invalid line (expected log size):\n$in"; my $log_nbytes = $1; my $log; my $n_read = read PIPE, $log, $log_nbytes; $n_read == $log_nbytes or die "$ME:$.: unexpected EOF\n"; my @line = split "\n", $log; my $author_line = shift @line; defined $author_line or die "$ME:$.: unexpected EOF\n"; $author_line =~ /^(\d+) (.*>)$/ or die "$ME:$.: Invalid line " . "(expected date/author/email):\n$author_line\n"; my $date_line = sprintf "%s $2\n", strftime ("%F", localtime ($1)); # If this line would be the same as the previous date/name/email # line, then arrange not to print it. if ($date_line ne $prev_date_line) { $prev_date_line eq '' or print "\n"; print $date_line; } $prev_date_line = $date_line; # Omit "Signed-off-by..." lines. @line = grep !/^Signed-off-by: .*>$/, @line; # If there were any lines if (@line == 0) { warn "$ME: warning: empty commit message:\n $date_line\n"; } else { # Remove leading and trailing blank lines. while ($line[0] =~ /^\s*$/) { shift @line; } while ($line[$#line] =~ /^\s*$/) { pop @line; } # Prefix each non-empty line with a TAB. @line = map { length $_ ? "\t$_" : '' } @line; print "\n", join ("\n", @line), "\n"; } defined ($in = ) or last; $in ne "\n" and die "$ME:$.: unexpected line:\n$in"; } close PIPE or die "$ME: error closing pipe from " . quoted_cmd (@cmd) . "\n"; # FIXME-someday: include $PROCESS_STATUS in the diagnostic } # Local Variables: # mode: perl # indent-tabs-mode: nil # eval: (add-hook 'write-file-hooks 'time-stamp) # time-stamp-start: "my $VERSION = '" # time-stamp-format: "%:y-%02m-%02d %02H:%02M" # time-stamp-time-zone: "UTC" # time-stamp-end: "'; # UTC" # End: libvirt-sandbox-0.5.1+git20160404/build-aux/useless-if-before-free000077500000000000000000000141141275305543100243100ustar00rootroot00000000000000eval '(exit $?0)' && eval 'exec perl -wST "$0" ${1+"$@"}' & eval 'exec perl -wST "$0" $argv:q' if 0; # Detect instances of "if (p) free (p);". # Likewise "if (p != 0)", "if (0 != p)", or with NULL; and with braces. my $VERSION = '2011-04-20 13:43'; # UTC # The definition above must lie within the first 8 lines in order # for the Emacs time-stamp write hook (at end) to update it. # If you change this file with Emacs, please let the write hook # do its job. Otherwise, update this string manually. # Copyright (C) 2008-2011 Free Software Foundation, Inc. # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # You should have received a copy of the GNU General Public License # along with this program. If not, see . # Written by Jim Meyering use strict; use warnings; use Getopt::Long; (my $ME = $0) =~ s|.*/||; # use File::Coda; # http://meyering.net/code/Coda/ END { defined fileno STDOUT or return; close STDOUT and return; warn "$ME: failed to close standard output: $!\n"; $? ||= 1; } sub usage ($) { my ($exit_code) = @_; my $STREAM = ($exit_code == 0 ? *STDOUT : *STDERR); if ($exit_code != 0) { print $STREAM "Try `$ME --help' for more information.\n"; } else { print $STREAM < sub { usage 0 }, version => sub { print "$ME version $VERSION\n"; exit }, list => \$list, 'name=s@' => \@name, ) or usage 1; # Make sure we have the right number of non-option arguments. # Always tell the user why we fail. @ARGV < 1 and (warn "$ME: missing FILE argument\n"), usage EXIT_ERROR; my $or = join '|', @name; my $regexp = qr/(?:$or)/; # Set the input record separator. # Note: this makes it impractical to print line numbers. $/ = '"'; my $found_match = 0; FILE: foreach my $file (@ARGV) { open FH, '<', $file or (warn "$ME: can't open `$file' for reading: $!\n"), $err = EXIT_ERROR, next; while (defined (my $line = )) { while ($line =~ /\b(if\s*\(\s*([^)]+?)(?:\s*!=\s*([^)]+?))?\s*\) # 1 2 3 (?: \s*$regexp\s*\((?:\s*\([^)]+\))?\s*([^)]+)\)\s*;| \s*\{\s*$regexp\s*\((?:\s*\([^)]+\))?\s*([^)]+)\)\s*;\s*\}))/sxg) { my $all = $1; my ($lhs, $rhs) = ($2, $3); my ($free_opnd, $braced_free_opnd) = ($4, $5); my $non_NULL; if (!defined $rhs) { $non_NULL = $lhs } elsif (is_NULL $rhs) { $non_NULL = $lhs } elsif (is_NULL $lhs) { $non_NULL = $rhs } else { next } # Compare the non-NULL part of the "if" expression and the # free'd expression, without regard to white space. $non_NULL =~ tr/ \t//d; my $e2 = defined $free_opnd ? $free_opnd : $braced_free_opnd; $e2 =~ tr/ \t//d; if ($non_NULL eq $e2) { $found_match = 1; $list and (print "$file\0"), next FILE; print "$file: $all\n"; } } } } continue { close FH; } $found_match && $err == EXIT_NO_MATCH and $err = EXIT_MATCH; exit $err; } my $foo = <<'EOF'; # The above is to *find* them. # This adjusts them, removing the unnecessary "if (p)" part. # FIXME: do something like this as an option (doesn't do braces): free=xfree git grep -l -z "$free *(" \ | xargs -0 useless-if-before-free -l --name="$free" \ | xargs -0 perl -0x3b -pi -e \ 's/\bif\s*\(\s*(\S+?)(?:\s*!=\s*(?:0|NULL))?\s*\)\s+('"$free"'\s*\((?:\s*\([^)]+\))?\s*\1\s*\)\s*;)/$2/s' # Use the following to remove redundant uses of kfree inside braces. # Note that -0777 puts perl in slurp-whole-file mode; # but we have plenty of memory, these days... free=kfree git grep -l -z "$free *(" \ | xargs -0 useless-if-before-free -l --name="$free" \ | xargs -0 perl -0777 -pi -e \ 's/\bif\s*\(\s*(\S+?)(?:\s*!=\s*(?:0|NULL))?\s*\)\s*\{\s*('"$free"'\s*\((?:\s*\([^)]+\))?\s*\1\s*\);)\s*\}[^\n]*$/$2/gms' Be careful that the result of the above transformation is valid. If the matched string is followed by "else", then obviously, it won't be. When modifying files, refuse to process anything other than a regular file. EOF ## Local Variables: ## mode: perl ## indent-tabs-mode: nil ## eval: (add-hook 'write-file-hooks 'time-stamp) ## time-stamp-start: "my $VERSION = '" ## time-stamp-format: "%:y-%02m-%02d %02H:%02M" ## time-stamp-time-zone: "UTC" ## time-stamp-end: "'; # UTC" ## End: libvirt-sandbox-0.5.1+git20160404/build-aux/vc-list-files000077500000000000000000000073431275305543100225410ustar00rootroot00000000000000#!/bin/sh # List version-controlled file names. # Print a version string. scriptversion=2011-05-16.22; # UTC # Copyright (C) 2006-2011 Free Software Foundation, Inc. # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # You should have received a copy of the GNU General Public License # along with this program. If not, see . # List the specified version-controlled files. # With no argument, list them all. With a single DIRECTORY argument, # list the version-controlled files in that directory. # If there's an argument, it must be a single, "."-relative directory name. # cvsu is part of the cvsutils package: http://www.red-bean.com/cvsutils/ postprocess= case $1 in --help) cat <. EOF exit ;; --version) year=`echo "$scriptversion" | sed 's/[^0-9].*//'` cat < This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. EOF exit ;; -C) test "$2" = . || postprocess="| sed 's|^|$2/|'" cd "$2" || exit 1 shift; shift ;; esac test $# = 0 && set . for dir do if test -d .git; then test "x$dir" = x. \ && dir= sed_esc= \ || { dir="$dir/"; sed_esc=`echo "$dir"|env sed 's,\([\\/]\),\\\\\1,g'`; } # Ignore git symlinks - either they point into the tree, in which case # we don't need to visit the target twice, or they point somewhere # else (often into a submodule), in which case the content does not # belong to this package. eval exec git ls-tree -r 'HEAD:"$dir"' \ \| sed -n '"s/^100[^ ]*./$sed_esc/p"' $postprocess elif test -d .hg; then eval exec hg locate '"$dir/*"' $postprocess elif test -d .bzr; then test "$postprocess" = '' && postprocess="| sed 's|^\./||'" eval exec bzr ls -R --versioned '"$dir"' $postprocess elif test -d CVS; then test "$postprocess" = '' && postprocess="| sed 's|^\./||'" if test -x build-aux/cvsu; then eval build-aux/cvsu --find --types=AFGM '"$dir"' $postprocess elif (cvsu --help) >/dev/null 2>&1; then eval cvsu --find --types=AFGM '"$dir"' $postprocess else eval awk -F/ \''{ \ if (!$1 && $3 !~ /^-/) { \ f=FILENAME; \ if (f ~ /CVS\/Entries$/) \ f = substr(f, 1, length(f)-11); \ print f $2; \ }}'\'' \ `find "$dir" -name Entries -print` /dev/null' $postprocess fi elif test -d .svn; then eval exec svn list -R '"$dir"' $postprocess else echo "$0: Failed to determine type of version control used in `pwd`" 1>&2 exit 1 fi done # Local variables: # eval: (add-hook 'write-file-hooks 'time-stamp) # time-stamp-start: "scriptversion=" # time-stamp-format: "%:y-%02m-%02d.%02H" # time-stamp-time-zone: "UTC" # time-stamp-end: "; # UTC" # End: libvirt-sandbox-0.5.1+git20160404/cfg.mk000066400000000000000000000113021275305543100173160ustar00rootroot00000000000000# Customize Makefile.maint. -*- makefile -*- # Copyright (C) 2008-2011 Red Hat, Inc. # Copyright (C) 2003-2008 Free Software Foundation, Inc. # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # You should have received a copy of the GNU General Public License # along with this program. If not, see . # Tests not to run as part of "make distcheck". local-checks-to-skip = \ changelog-check \ makefile-check \ makefile_path_separator_check \ patch-check \ sc_GPL_version \ sc_always_defined_macros \ sc_cast_of_alloca_return_value \ sc_cross_check_PATH_usage_in_tests \ sc_dd_max_sym_length \ sc_error_exit_success \ sc_file_system \ sc_immutable_NEWS \ sc_makefile_path_separator_check \ sc_obsolete_symbols \ sc_prohibit_always_true_header_tests \ sc_prohibit_S_IS_definition \ sc_prohibit_atoi_atof \ sc_prohibit_hash_without_use \ sc_prohibit_jm_in_m4 \ sc_prohibit_quote_without_use \ sc_prohibit_quotearg_without_use \ sc_prohibit_stat_st_blocks \ sc_root_tests \ sc_space_tab \ sc_sun_os_names \ sc_system_h_headers \ sc_texinfo_acronym \ sc_tight_scope \ sc_two_space_separator_in_usage \ sc_error_message_uppercase \ sc_program_name \ sc_require_test_exit_idiom \ sc_makefile_check \ sc_useless_cpp_parens # Files that should never cause syntax check failures. VC_LIST_ALWAYS_EXCLUDE_REGEX = \ (^HACKING|\.po|maint.mk)$$ # Functions like free() that are no-ops on NULL arguments. useless_free_options = \ --name=g_free msg_gen_function = msg_gen_function += g_set_error msg_gen_function += g_printerr func_or := $(shell echo $(msg_gen_function)|tr -s ' ' '|') func_re := ($(func_or)) # Look for diagnostics that aren't marked for translation. # This won't find any for which error's format string is on a separate line. # The sed filters eliminate false-positives like these: # _("...: " # "%s", _("no storage vol w..." sc_libvirt_unmarked_diagnostics: @prohibit='\<$(func_re) *\([^"]*"[^"]*[a-z]{3}' \ exclude='_\(' \ halt='found unmarked diagnostic(s)' \ $(_sc_search_regexp) @{ grep -nE '\<$(func_re) *\(.*;$$' $$($(VC_LIST_EXCEPT)); \ grep -A1 -nE '\<$(func_re) *\(.*,$$' $$($(VC_LIST_EXCEPT)); } \ | sed 's/_("\([^\"]\|\\.\)\+"//;s/[ ]"%s"//' \ | grep '[ ]"' && \ { echo '$(ME): found unmarked diagnostic(s)' 1>&2; \ exit 1; } || : # Ensure that no C source file, docs, or rng schema uses TABs for # indentation. Also match *.h.in files, to get libvirt.h.in. Exclude # files in gnulib, since they're imported. space_indent_files=(\.(rng|s?[ch](\.in)?|html.in|py)|(daemon|tools)/.*\.in) sc_TAB_in_indentation: @prohibit='^ * ' \ in_vc_files='$(space_indent_files)$$' \ halt='indent with space, not TAB, in C, sh, html, py, and RNG schemas' \ $(_sc_search_regexp) # G_GNUC_UNUSED should only be applied in implementations, not # header declarations sc_avoid_attribute_unused_in_header: @prohibit='^[^#]*G_GNUC_UNUSED([^:]|$$)' \ in_vc_files='\.h$$' \ halt='use G_GNUC_UNUSED in .c rather than .h files' \ $(_sc_search_regexp) # Enforce recommended preprocessor indentation style. sc_preprocessor_indentation: @if cppi --version >/dev/null 2>&1; then \ $(VC_LIST_EXCEPT) | grep '\.[ch]$$' | xargs cppi -a -c \ || { echo '$(ME): incorrect preprocessor indentation' 1>&2; \ exit 1; }; \ else \ echo '$(ME): skipping test $@: cppi not installed' 1>&2; \ fi sc_copyright_format: @require='Copyright .*Red 'Hat', Inc\.' \ containing='Copyright .*Red 'Hat \ halt='Red Hat copyright is missing Inc.' \ $(_sc_search_regexp) @prohibit='Copyright [^(].*Red 'Hat \ halt='consistently use (C) in Red Hat copyright' \ $(_sc_search_regexp) @prohibit='\' \ halt='spell Red Hat as two words' \ $(_sc_search_regexp) # We don't use this feature of maint.mk. prev_version_file = /dev/null exclude_file_name_regexp--sc_libvirt_unmarked_diagnostics = ^libvirt-sandbox/tests exclude_file_name_regexp--sc_bindtextdomain = ^(libvirt-sandbox/tests)|(libvirt-sandbox/libvirt-sandbox-init-*)|(bin/virt-sandbox.c)|(bin/virt-sandbox-service-util.c) exclude_file_name_regexp--sc_preprocessor_indentation = ^*/*.[ch] libvirt-sandbox-0.5.1+git20160404/configure.ac000066400000000000000000000120411275305543100205150ustar00rootroot00000000000000AC_INIT(libvirt-sandbox, 0.6.1) AC_CONFIG_SRCDIR(libvirt-sandbox/libvirt-sandbox.h) AC_CONFIG_AUX_DIR([build-aux]) AC_CONFIG_HEADERS([config.h]) AC_CONFIG_MACRO_DIR([m4]) dnl Make automake keep quiet about wildcards & other GNUmake-isms AM_INIT_AUTOMAKE([-Wno-portability]) AM_MAINTAINER_MODE([enable]) AC_CANONICAL_HOST AM_SILENT_RULES([yes]) GIO_UNIX_REQUIRED=2.28.0 GOBJECT_REQUIRED=2.32.0 LIBVIRT_REQUIRED=1.0.2 LIBVIRT_GCONFIG_REQUIRED=0.2.1 LIBVIRT_GLIB_REQUIRED=0.2.2 LIBVIRT_GOBJECT_REQUIRED=0.1.7 GOBJECT_INTROSPECTION_REQUIRED=0.10.8 LZMA_REQUIRED=5.0.0 ZLIB_REQUIRED=1.2.0 LIBVIRT_SANDBOX_MAJOR_VERSION=`echo $VERSION | awk -F. '{print $1}'` LIBVIRT_SANDBOX_MINOR_VERSION=`echo $VERSION | awk -F. '{print $2}'` LIBVIRT_SANDBOX_MICRO_VERSION=`echo $VERSION | awk -F. '{print $3}'` LIBVIRT_SANDBOX_VERSION=$LIBVIRT_SANDBOX_MAJOR_VERSION.$LIBVIRT_SANDBOX_MINOR_VERSION.$LIBVIRT_SANDBOX_MICRO_VERSION # In libtool terminology LIBVIRT_VERSION_INFO corresponds # to CURRENT:REVISION:AGE # # CURRENT # The most recent interface number that this library implements. # # REVISION # The implementation number of the CURRENT interface. # # AGE # The difference between the newest and oldest interfaces that this # library implements. # # In other words, the library implements all the interface numbers # in the range from number `CURRENT - AGE' to `CURRENT'. # # Libtool assigns the soname version from `CURRENT - AGE'. We started # out at zero, but for the time being, we're not ABI stable, so we can # let SONUM change. # # We would, like the full libvirt-sandbox version number reflected # in the so version'd symlinks, and this is based on AGE.REVISION # # Until we declare ABI stability, this can be toggled upon release LIBVIRT_SANDBOX_SONUM=5 AGE=`expr $LIBVIRT_SANDBOX_MAJOR_VERSION '*' 1000 + $LIBVIRT_SANDBOX_MINOR_VERSION` REVISION=$LIBVIRT_SANDBOX_MICRO_VERSION CURRENT=`expr $LIBVIRT_SANDBOX_SONUM + $AGE` LIBVIRT_SANDBOX_VERSION_INFO=$CURRENT:$REVISION:$AGE AC_SUBST([LIBVIRT_SANDBOX_MAJOR_VERSION]) AC_SUBST([LIBVIRT_SANDBOX_MINOR_VERSION]) AC_SUBST([LIBVIRT_SANDBOX_MICRO_VERSION]) AC_SUBST([LIBVIRT_SANDBOX_SONUM]) AC_SUBST([LIBVIRT_SANDBOX_VERSION]) AC_SUBST([LIBVIRT_SANDBOX_VERSION_INFO]) AC_SUBST([LIBVIRT_SANDBOX_VERSION_NUMBER]) AC_PROG_CC AM_PROG_CC_C_O AC_LIBTOOL_WIN32_DLL AC_PROG_LIBTOOL AC_CONFIG_LIBOBJ_DIR([libvirt-sandbox]) LIBVIRT_SANDBOX_COMPILE_WARNINGS PKG_CHECK_MODULES(GIO_UNIX, gio-unix-2.0 >= $GIO_UNIX_REQUIRED) PKG_CHECK_MODULES(GOBJECT, gobject-2.0 >= $GOBJECT_REQUIRED) PKG_CHECK_MODULES(LIBVIRT, libvirt >= $LIBVIRT_REQUIRED) PKG_CHECK_MODULES(LIBVIRT_GLIB, libvirt-glib-1.0 >= $LIBVIRT_GOBJECT_REQUIRED) PKG_CHECK_MODULES(LIBVIRT_GOBJECT, libvirt-gobject-1.0 >= $LIBVIRT_GOBJECT_REQUIRED) PKG_CHECK_MODULES(LIBVIRT_GCONFIG, libvirt-gconfig-1.0 >= $LIBVIRT_GCONFIG_REQUIRED) AC_ARG_WITH([zlib], [AS_HELP_STRING([--with-zlib], [add ZLIB support @<:@default=yes@:>@])]) m4_divert_text([DEFAULTS], [with_zlib=yes]) orig_pkg_config="$PKG_CONFIG" PKG_CONFIG="$PKG_CONFIG --static" if test "$with_zlib" = "yes" ; then PKG_CHECK_MODULES(ZLIB, zlib >= $ZLIB_REQUIRED) AC_DEFINE([WITH_ZLIB], [1], [Whether ZLIB support was enabled]) fi AC_ARG_WITH([lzma], [AS_HELP_STRING([--with-lzma], [add LZMA support @<:@default=yes@:>@])]) m4_divert_text([DEFAULTS], [with_lzma=yes]) if test "$with_lzma" = "yes" ; then PKG_CHECK_MODULES(LZMA, liblzma >= $LZMA_REQUIRED) AC_DEFINE([WITH_LZMA], [1], [Whether LZMA support was enabled]) fi PKG_CONFIG="$orig_pkg_config" LIBVIRT_SANDBOX_CAPNG LIBVIRT_SANDBOX_GETTEXT LIBVIRT_SANDBOX_GTK_MISC LIBVIRT_SANDBOX_WIN32 LIBVIRT_SANDBOX_COVERAGE LIBVIRT_SANDBOX_RPCGEN LIBVIRT_SANDBOX_SELINUX LIBVIRT_SANDBOX_STATIC_LIBC dnl search for LDD path AC_PATH_PROG([LDD_PATH], [ldd]) if test -z "$LDD_PATH"; then AC_MSG_ERROR([Failed to find ldd.]) fi AC_DEFINE_UNQUOTED([LDD_PATH], "$LDD_PATH", [path to ldd binary]) GOBJECT_INTROSPECTION_CHECK([$GOBJECT_INTROSPECTION_REQUIRED]) dnl Should be in m4/virt-gettext.m4 but intltoolize is too dnl dumb to find it there IT_PROG_INTLTOOL([0.35.0]) AM_PATH_PYTHON AC_OUTPUT(Makefile libvirt-sandbox/Makefile libvirt-sandbox/tests/Makefile libvirt-sandbox/image/Makefile libvirt-sandbox/image/sources/Makefile bin/Makefile examples/Makefile docs/Makefile docs/libvirt-sandbox/Makefile po/Makefile.in libvirt-sandbox.spec libvirt-sandbox-1.0.pc) AC_MSG_NOTICE([]) AC_MSG_NOTICE([Configuration summary]) AC_MSG_NOTICE([=====================]) AC_MSG_NOTICE([]) AC_MSG_NOTICE([]) AC_MSG_NOTICE([ Libraries:]) AC_MSG_NOTICE([]) if test "$with_lzma" != "no" ; then AC_MSG_NOTICE([ LZMA: $LZMA_CFLAGS $LZMA_LIBS]) else AC_MSG_NOTICE([ LZMA: no]) fi if test "$with_zlib" != "no" ; then AC_MSG_NOTICE([ ZLIB: $ZLIB_CFLAGS $ZLIB_LIBS]) else AC_MSG_NOTICE([ ZLIB: no]) fi AC_MSG_NOTICE([ GOBJECT: $GOBJECT_CFLAGS $GOBJECT_LIBS]) AC_MSG_NOTICE([ LIBVIRT_GOBJECT: $LIBVIRT_GOBJECT_CFLAGS $LIBVIRT_GOBJECT_LIBS]) AC_MSG_NOTICE([]) libvirt-sandbox-0.5.1+git20160404/docs/000077500000000000000000000000001275305543100171615ustar00rootroot00000000000000libvirt-sandbox-0.5.1+git20160404/docs/Makefile.am000066400000000000000000000000331275305543100212110ustar00rootroot00000000000000 SUBDIRS = libvirt-sandbox libvirt-sandbox-0.5.1+git20160404/docs/architecture.txt000066400000000000000000000227771275305543100224230ustar00rootroot00000000000000 Libvirt Sandbox Architecture ============================ This document outlines how the libvirt sandbox architecture operates with different types of virtualization technology. Filesystem usage ================ The general principal behind the "application sandbox" is that the user is running the actual binaries from their primary OS installation. ie, there is no separate "guest OS" installation to manage. This is key to achieving the goal of having zero admin overhead for using virtualization. Thus the foundation of the sandbox is the host filesystem passthrough capabilities of the virtualization technology. There needs to be the ability to pass the entire root filesystem of the host through to the virtual domain in readonly mode. There are then zero or more additional host locations passed through in read-write mode, to be mounted at the specific locations in the virtual domain to which the application will require write access. The host and guest paths for the additional locations need not, and typically will not, be the same. A fairly common configuration for sandboxing an end user application would be to setup a private $HOME and /tmp in the virtual domain. The host filesystem passthrough setup would thus do something like - Host: / -> Guest: / - Host: /home/berrange/tmp/myapp/tmp -> Guest: /tmp - Host: /home/berrange/tmp/myapp/home -> Guest: /home/berrange When backed by an LXC container domain, these mappings are directly expressed in the libvirt configuration, eg The libvirt LXC startup process will take care of actually mounting the filesystem during guest startup. When backed by a QEMU virtual machine, these mappings are done symbolically using the 9p filesystem. The 'init' process in the virtual machine then does an equivalent of mount("sandbox:tmp", "/tmp", "9p" "trans=virtio") to actually mount the passed through filesystem in the guest machine. Boot process ============ The boot process for application sandboxes naturally differs between containers and virtual machine based virtualization hosts. The startup work is thus split between two binaries, a hypervisor specific initializer and a hypervisor agnostic initializer. LXC boot -------- For LXC container domains, the hypervisor specific initializer is the binary /usr/libexec/libvirt-sandbox-init-lxc It is responsible for: - Obtain config variables from the LIBVIRT_LXC_CMDLINE env variable - Put the primary console into rawmode if the host was connected to a TTY - Run the common initializer The LIBVIRT_LXC_CMDDLINE variable was populated from the libvirt XML element. QEMU boot --------- For QEMU virtual machine domains, the hypervisor specific initializer is the binary /usr/libexec/libvirt-sandbox-init-qemu It is responsible for: - Obtain config variables from the /proc/cmdline system file - Loading the virtio 9p filesystem kernel modules - Mounting the root filesystem via 9p - Mounting the additional filesystems via 9p - Mounting misc system filesytems (/sys, /proc, /dev/pts, etc) - Populating /dev device nodes - Put the primary console into rawmode if the host was connected to a TTY - Run the common initializer The /proc/cmdline file was populated from the kernel boot args, which in turn came from the libvirt XML element. Common boot ----------- The common initializer is the binary /usr/libexec/libvirt-sandbox-init-common It is responsible for - Switching to a non-root UID & GID (if requested) - Drop all capabilities & clear bounding set. - Setting basic env variables ($HOME, $USER, etc) - Launching additional services (dbus, xorg, etc) - Decoding the base64 encoded application command line arguments - Launching the sandboxed application - Forwarding I/O between the sandboxed application & host OS Console I/O =========== The sandboxed application ultimately has its stdio connected to the primary console of the virtual machine. This is typically either a serial port (for machine virtualization), or a paravirtualized character device (for container virtualization). On the host, the console is connected to the stdio of whatever process launched the sandbox. The first problem to be overcome here is that EOF on the host console does not automatically propagate to the guest domain console. The second problem is that the primary console is typically operating in a non-raw mode initially, which means that any data sent from the host to the guest is automatically echoed back out. This is not desirable, since the application to be run needs to be in charge of this. Thus it is often necessary to put the guest console into raw mode. Unfortunately with a virtual machine based sandbox, there is no way to tell the kernel to put its console in raw mode from the moment it boots. Thus it is critical to prevent the host from sending any data to the guest, until the console has been switched to raw mode. The final problem is highly desirable to be able to detect failure of the guest side initialization code which runs prior to launch of the sandbox application The solution to all these problems is to not connect the sandboxed application directly to the primary guest console. Instead the application will be connected to either a pair of pipes, or a newly allocated psuedo TTY. The common initializer binary then has the tasks of forwarding I/O between the application and the host process, over the primary console. For host to guest traffic, the '\' character is used to enable escape sequences to be sent. Any literal '\' in the stream is itself escaped as '\\'. Initially the host process starts off in receive mode only. ie it will not attempt to send any data to the virtual guest. If the sandbox successfully starts the application, the magic byte sequence "xoqpuɐs" will be transmitted from the guest to the host. This byte sequence is guaranteed to be the first data sent from the guest to the host in normal circumstances. Thus if the host process receives any other byte sequences it knows that sandbox startup has failed. In this case, further data received from the guest should be written to stderr on the host, otherwise further data will be written to stdout. Assuming the magic byte sequence was received, the host process will now enable transmission of data to the guest. When the host process sees EOF on its stdin, it will send the two byte escape sequence '\9'. Upon receiving this, the guest will close stdin of the sandboxed application, transmit any pending output from the application's stdout/stderr and then shutdown the entire guest. Kernels and initrds =================== For application sandboxes based on virtual machines, a kernel and initrd is required to boot the guest. The goal once again is to run the same kernel in the guest, as currently runs on the host OS. The initrd though, will typically need to be different, since at the time of writing all distro initrd's lack the ability to boot from a 9p based host filesystem. In addition startup performance of the virtual machine startup is absolutely critical. The hardware configured for the virtual machine is well known ahead of time, thus a highly targeted initrd can be built and all hardware probing can be avoided. In fact all that is required is an initrd containing a 9p module and the virtio-net modules (and their dependencies). The initrd for the sandbox can be built from scratch in a fraction of a second, and uses the QEMU specific binary libvirt-sandbox-init-qemu as its 'init' process. This binary is static linked to avoid the need to copy any ELF libraries into the initrd. Overall the initrd is a few 100KB in size. Boot performance ================ For LXC based application sandboxes, startup performance is not an issue, since everything required can start in a fraction of a second. QEMU virtual machine based sandboxes are a trickier proposition to optimize. Several aspects come into play 1. Time for libvirt to start QEMU 2. Time for QEMU to start SeaBIOS 3. Time for SeaBIOS to start the kernel 4. Time for the kernel to start the sandbox init 5. Time for the sandbox init to start the application 6. Time for the kernel to shutdown after the sandbox exits 7. Time for QEMU to exit after the kernel issues ACPI poweroff 8. Time for libvirt to cleanup after QEMU exits. At the time of writing, the overall time required to run '/bin/false' is somewhere of the order of 3-4 seconds. Of this, most of the time is spent in step 3, with SeaBIOS copying the kenrel+initrd into the right place in guest memory. The next heaviest step is 1, due to the inefficiency in libvirt probing QEMU command line arguments. The kernel command line is tuned in an attempt to minimize the time it spends initializing hardware - loglevel=0 - to suppress all extraneous kernel output on the primary console which would get mixed up with application data - quiet - as above - edd=off - stop probing for EDD support which does not exist for QEMU - noreplace-smp - don't attempt to switch SMP alternatives, which wastes many cycles - pci=noearly - minimize time spent initializing the PCI bus - cgroup_disable=memory - don't waste time on unused subsystem Still todo - Disable IDE controller probing (or disable PIIX IDE in QEMU ?) - Disable USB controller probing (or disable PIIX USB in QEMU ?) libvirt-sandbox-0.5.1+git20160404/docs/libvirt-sandbox/000077500000000000000000000000001275305543100222705ustar00rootroot00000000000000libvirt-sandbox-0.5.1+git20160404/docs/libvirt-sandbox/.gitignore000066400000000000000000000007401275305543100242610ustar00rootroot00000000000000Libvirt-sandbox-decl-list.txt Libvirt-sandbox-decl.txt Libvirt-sandbox-overrides.txt Libvirt-sandbox-sections.txt Libvirt-sandbox-undeclared.txt Libvirt-sandbox-undocumented.txt Libvirt-sandbox-unused.txt Libvirt-sandbox.args Libvirt-sandbox.hierarchy Libvirt-sandbox.interfaces Libvirt-sandbox.prerequisites Libvirt-sandbox.signals Libvirt-sandbox.types Libvirt-sandbox-scan.c html-build.stamp html.stamp html/ scan-build.stamp setup-build.stamp sgml-build.stamp sgml.stamp xml/ libvirt-sandbox-0.5.1+git20160404/docs/libvirt-sandbox/Libvirt-sandbox-docs.xml000066400000000000000000000044321275305543100270120ustar00rootroot00000000000000 ]> Libvirt-sandbox Reference Manual Libvirt-sandbox Object Hierarchy API Index libvirt-sandbox-0.5.1+git20160404/docs/libvirt-sandbox/Makefile.am000066400000000000000000000013131275305543100243220ustar00rootroot00000000000000 DOC_MODULE=Libvirt-sandbox DOC_MAIN_SGML_FILE=$(DOC_MODULE)-docs.xml DOC_SOURCE_DIR=$(top_srcdir)/libvirt-sandbox SCANGOBJ_OPTIONS= SCAN_OPTIONS=--rebuild-sections --rebuild-types MKDB_OPTIONS=--sgml-mode --output-format=xml MKTMPL_OPTIONS= MKHTML_OPTIONS= FIXXREF_OPTIONS= HFILE_GLOB=$(top_srcdir)/libvirt-sandbox/*.h CFILE_GLOB=$(top_srcdir)/libvirt-sandbox/*.c IGNORE_HFILES= HTML_IMAGES= content_files= expand_content_files= GTKDOC_CFLAGS= \ $(GIO_UNIX_CFLAGS) \ $(LIBVIRT_GLIB_CFLAGS) \ $(LIBVIRT_GOBJECT_CFLAGS) GTKDOC_LIBS = \ $(GIO_UNIX_LIBS) \ $(LIBVIRT_GLIB_LIBS) \ $(LIBVIRT_GOBJECT_LIBS) \ $(top_builddir)/libvirt-sandbox/libvirt-sandbox-1.0.la include $(top_srcdir)/gtk-doc.make libvirt-sandbox-0.5.1+git20160404/docs/release-naming.txt000066400000000000000000000122041275305543100226100ustar00rootroot00000000000000 Naming concept: sandbox => sand => desert Release names assigned from the following list of deserts. http://en.wikipedia.org/wiki/List_of_deserts Enough names for 60+ releases...then we'll start assigning names of cactus species, of which there are 1000's Africa 0.0.1 Tatti Desert – part of the Sahara located in Algeria 0.0.2 Blue Desert – a desert in Egypt 0.0.3 Kalahari Desert – a desert covering much of Botswana and parts of Namibia and South Africa 0.1.0 Karoo – a semi-desert region in South Africa 0.1.1 Libyan Desert – part of the Sahara located in Libya 0.1.2 Namib Desert – a desert in present day Namibia 0.2.0 Nubian Desert – a desert in present day Sudan 0.2.1 Owami Desert – a desert in Nigeria 0.5.0 Sahara Desert – the world's largest hot desert covering most of Northern Africa, Asia 0.5.1 Cholistan – a desert in Pakistan 0.6.0 Dashti Margo – a desert in SW Afghanistan Gobi – a desert in Mongolia and China Indus Valley Desert – a desert located in Pakistan Kara Kum – a large Central Asian desert Kharan desert – a desert located in Pakistan Kyzyl Kum – a desert in Kazakhstan and Uzbekistan Lop Desert – a desert in China Ordos – a desert in northern China Rub' al Khali – a desert located in Saudi Arabia Taklamakan – a desert located in China Thal Desert – a desert in Pakistan Thar Desert – a desert in Pakistan and India Arabian Desert – a vast desert complex on the Arabian Peninsula comprising the Al-Dahna Desert, Empty Quarter, Nefud Desert and other deserts Dasht-e Kavir – a desert in central Iran Dasht-e Lut – a large salt desert in southeastern Iran Judaean Desert – a desert in eastern Israel and the West Bank Maranjab Desert – a desert in central Iran Negev – a desert located in southern Israel Ramlat al-Sab`atayn – a sandy desert in central & northeastern Yemen, part of the Empty Quarter Sinai Peninsula – a desert located on the Sinai Peninsula in Egypt Wahiba Sands – a desert in Oman Europe Accona Desert – a semi-desert in central Italy Bardenas Reales – a semi-desert in Navarre, Spain (455 km²) Błędowska Desert – a desert located in Lesser Poland Voivodeship, Poland (32 km²) Deliblatska Peščara – a desert located in Vojvodina, Serbia (300 km²) Highlands of Iceland – the interior plateau of Iceland; not a desert by climate, but effectively one because precipitation penetrates the volcanic soil so quickly that the land is infertile Monegros Desert – a semi-desert in Aragón, Spain Oleshky Sands – a desert located in Ukraine near Askania-Nova biosphere reserve (15 km in diameter) Oltenian Sahara – a desert spanning approximately 80,000 hectares or 800 km² in the Romanian historical province of Oltenia[1] Stranja Sahara - a desert in southeastern Bulgaria near the city of Burgas. It is about 80,000 hectares, sometimes estimated to about 850 km². It is near the borders of Turkey and northwestern Greece[2] Tabernas Desert – a desert in Almería, Spain (280 km²) North America Black Rock Desert Central Valley of California (which is divided into the Sacramento Valley in the north, and the San Joaquin Valley in the south) – this area has largely been transformed, due to irrigation canals, to an agricultural area. It is technically a semi-arid climate Chihuahuan Desert Colorado Desert Mojave Desert Pumice Desert, the remains of an ash flow from the big eruption of Mount Mazama[3] Sonoran Desert South America Atacama – a desert in Chile and Peru, the driest place on Earth La Guajira Desert – a desert in northern Colombia and Venezuela Monte Desert – in Argentina, a smaller desert above the Patagonian Desert Patagonian Desert – the largest desert in the Americas, located in Argentina and Chile Sechura Desert – a desert located south of the Piura Region of Peru Australia Central Desert – a central Australian desert Gibson Desert – a central Australian desert Great Sandy Desert – a northwestern Australian desert Great Victoria Desert – the biggest desert in Australia Little Sandy Desert – a western Australian desert Simpson Desert – a central Australian desert Strzelecki Desert – a south-central Australian desert Tanami Desert – a northern Australian desert Zealandia Rangipo Desert – a barren desert-like plateau (with 1.5-2.5 m/yr rainfall) on the North Island Volcanic Plateau in New Zealand Polar regions Antarctica Desert – the largest desert in the world[4] Arctic Desert – the second largest desert in the world Greenland – a large tundra which is also the world's largest island North American Arctic – a large tundra in North America Russian Arctic – a large tundra in Russia libvirt-sandbox-0.5.1+git20160404/docs/testing.txt000066400000000000000000000032201275305543100213740ustar00rootroot00000000000000 Test Plan for libvirt Sandbox ============================= For all tests, repeat with both KVM and LXC, eg export LIBVIRT_DEFAULT_URI=qemu:///session export LIBVIRT_DEFAULT_URI=qemu:///system export LIBVIRT_DEFAULT_URI=lxc:/// 1. Console I/O. a. No I/O, with TTY virt-sandbox /bin/false b. Output only, with TTY virt-sandbox /bin/date c. Input/output, with TTY virt-sandbox /bin/sh d. No I/O, without TTY virt-sandbox /bin/false < /dev/null > /dev/null e. Output only, without TTY virt-sandbox /bin/date > date.txt f. Input/output, without TTY virt-sandbox /bin/cat < src.txt > dst.txt 2. Filesystem config a. Host FS only b. Host FS + /tmp dir c. Host FS + /tmp tempdir d. Host FS + /home dir + /tmp tempdir e. Host FS + /home file f. Host FS + /home block g. Host FS + /mnt file + /home bind + /tmp bind 3. File includes a. Host FS + /tmp dir + copy file /home/tmp/foo into /tmp/foo b. Host FS + /tmp tempdir + copy file /home/tmp/foo into /tmp/foo c. Host FS + /tmp dir + copy dir /home/tmp/bar into /tmp/bar d. Host FS + /tmp tempdir + copy dir /home/tmp/bar into /tmp/bar e. Host FS + /tmp dir + copy filelist /home/tmp/foolist f. Host FS + /tmp tempdir + copy filelist /home/tmp/foolist 4. Environment / security a. Same UID/GID, same $USER, same $HOME, no capabilities b. UID/GID > 0, USER=foo, HOME=/home/foo, no capabilities c. UID/GID == 0, USER=root, HOME=/root, no capabilities d. UID/GID == 0, USER=root, HOME=/root, all capabilities libvirt-sandbox-0.5.1+git20160404/examples/000077500000000000000000000000001275305543100200475ustar00rootroot00000000000000libvirt-sandbox-0.5.1+git20160404/examples/Makefile.am000066400000000000000000000001561275305543100221050ustar00rootroot00000000000000 EXTRA_DIST = \ virt-sandbox.pl \ virt-sandbox.py \ virt-sandbox.js \ virt-sandbox-mkinitrd.py \ $(NULL) libvirt-sandbox-0.5.1+git20160404/examples/README000066400000000000000000000003531275305543100207300ustar00rootroot00000000000000 Sandbox Examples ================ To run the example programs first set export GI_TYPELIB_PATH=/path/to/checkout/libvirt-sandbox: export LD_LIBRARY_PATH=/path/to/checkout/libvirt-sandbox/.libs libvirt-sandbox-0.5.1+git20160404/examples/demo.py000077500000000000000000000021741275305543100213540ustar00rootroot00000000000000#!/usr/bin/python from gi.repository import LibvirtGObject from gi.repository import LibvirtSandbox from gi.repository import GLib from gi.repository import Gtk LibvirtGObject.init_object_check(None) config = LibvirtSandbox.Config.new("sandbox") config.set_tty(True) net = LibvirtSandbox.ConfigNetwork().new() net.set_dhcp(True) config.add_network(net) config.set_command(["/sbin/httpd", "-some", "-arg"]) # Assuming '/tmp/privatestuff' contains a fake /etc for the # guest tmp = LibvirtSandbox.ConfigMount.new("/tmp") # This is a host path tmp.set_root("/tmp/privatestuff") config.add_host_mount(tmp) etc = LibvirtSandbox.ConfigMount.new("/etc") # This is a guest path etc.set_root("/tmp/etc") config.add_bind_mount(etc) #conn=LibvirtGObject.Connection.new("qemu:///session") conn=LibvirtGObject.Connection.new("lxc:///") conn.open(None) context = LibvirtSandbox.Context.new(conn, config) context.start() def closed(obj, error): Gtk.main_quit() console = context.get_console() console.connect("closed", closed) console.attach_stdio() Gtk.main() try: console.detach() except: pass try: context.stop() except: pass libvirt-sandbox-0.5.1+git20160404/examples/shell.py000077500000000000000000000012161275305543100215330ustar00rootroot00000000000000#!/usr/bin/python from gi.repository import LibvirtGObject from gi.repository import LibvirtSandbox from gi.repository import GLib from gi.repository import Gtk LibvirtGObject.init_object_check(None) config = LibvirtSandbox.Config.new("sandbox") config.set_tty(True) #conn=LibvirtGObject.Connection.new("qemu:///session") conn=LibvirtGObject.Connection.new("lxc:///") conn.open(None) context = LibvirtSandbox.Context.new(conn, config) context.attach() def closed(obj, error): Gtk.main_quit() console = context.get_shell_console() console.connect("closed", closed) console.attach_stdio() Gtk.main() try: console.detach() except: pass libvirt-sandbox-0.5.1+git20160404/examples/virt-sandbox-mkinitrd.py000077500000000000000000000005451275305543100246670ustar00rootroot00000000000000#!/usr/bin/python from gi.repository import LibvirtGObject from gi.repository import LibvirtSandbox LibvirtGObject.init_object_check(None) cfg = LibvirtSandbox.ConfigInitrd.new() cfg.set_init("/sbin/busybox") cfg.add_module("virtio-rng.ko") cfg.add_module("virtio_net.ko") bld = LibvirtSandbox.BuilderInitrd.new() bld.construct(cfg, "/tmp/demo.initrd") libvirt-sandbox-0.5.1+git20160404/examples/virt-sandbox.js000077500000000000000000000013051275305543100230270ustar00rootroot00000000000000#!/usr/bin/gjs const LibvirtGObject = imports.gi.LibvirtGObject; const LibvirtSandbox = imports.gi.LibvirtSandbox; const Gtk = imports.gi.Gtk; LibvirtGObject.init_object_check(null, null); var cfg = LibvirtSandbox.ConfigInteractive.new("sandbox"); /* XXX how to set argv & check if stdin is a tty ? */ cfg.set_tty(true); var conn = LibvirtGObject.Connection.new("qemu:///session"); conn.open(null) var ctxt = LibvirtSandbox.ContextInteractive.new(conn, cfg); ctxt.start(); var con = ctxt.get_console() var closed = function(error) { Gtk.main_quit(); } con.connect("closed", closed); con.attach_stdio() Gtk.main() try { con.detach() } catch (err) {} try { ctxt.stop(); } catch (err) {} libvirt-sandbox-0.5.1+git20160404/examples/virt-sandbox.pl000077500000000000000000000020371275305543100230310ustar00rootroot00000000000000#!/usr/bin/perl use strict; use warnings; use Glib::Object::Introspection; Glib::Object::Introspection->setup(basename => 'GLib', version => '2.0', package => 'GLib'); Glib::Object::Introspection->setup(basename => 'Gtk', version => '3.0', package => 'Gtk'); Glib::Object::Introspection->setup(basename => 'LibvirtGObject', version => '1.0', package => 'LibvirtGObject'); Glib::Object::Introspection->setup(basename => 'LibvirtSandbox', version => '1.0', package => 'LibvirtSandbox'); LibvirtGObject::init_object_check(undef); my $cfg = LibvirtSandbox::ConfigInteractive->new("sandbox"); if (int(@ARGV) > 0) { $cfg->set_command(@ARGV); } if (-t STDIN) { $cfg->set_tty(1); } my $conn = LibvirtGObject::Connection->new("qemu:///session"); $conn->open(undef); my $ctxt = LibvirtSandbox::ContextInteractive->new($conn, $cfg); $ctxt->start(); my $con = $ctxt->get_console(); sub closed { Gtk::main_quit(); } $con->connect("closed", \&closed); $con->attach_stdio(); Gtk::main(); eval { $con->detach(); }; eval { $ctxt->stop(); }; libvirt-sandbox-0.5.1+git20160404/examples/virt-sandbox.py000077500000000000000000000013651275305543100230510ustar00rootroot00000000000000#!/usr/bin/python from gi.repository import LibvirtGObject from gi.repository import LibvirtSandbox from gi.repository import GLib from gi.repository import Gtk import sys import os args = sys.argv[1:] LibvirtGObject.init_object_check(None) cfg = LibvirtSandbox.ConfigInteractive.new("sandbox") if len(args) > 0: cfg.set_command(args) if os.isatty(sys.stdin.fileno()): cfg.set_tty(True) conn = LibvirtGObject.Connection.new("qemu:///session") conn.open(None) ctxt = LibvirtSandbox.ContextInteractive.new(conn, cfg) ctxt.start() con = ctxt.get_app_console() def closed(obj, error): Gtk.main_quit() con.connect("closed", closed) con.attach_stdio() Gtk.main() try: con.detach() except: pass try: ctxt.stop() except: pass libvirt-sandbox-0.5.1+git20160404/gtk-doc.make000066400000000000000000000172671275305543100204350ustar00rootroot00000000000000# -*- mode: makefile -*- #################################### # Everything below here is generic # #################################### if GTK_DOC_USE_LIBTOOL GTKDOC_CC = $(LIBTOOL) --tag=CC --mode=compile $(CC) $(INCLUDES) $(GTKDOC_DEPS_CFLAGS) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) GTKDOC_LD = $(LIBTOOL) --tag=CC --mode=link $(CC) $(GTKDOC_DEPS_LIBS) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) GTKDOC_RUN = $(LIBTOOL) --mode=execute else GTKDOC_CC = $(CC) $(INCLUDES) $(GTKDOC_DEPS_CFLAGS) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) GTKDOC_LD = $(CC) $(GTKDOC_DEPS_LIBS) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) GTKDOC_RUN = endif # We set GPATH here; this gives us semantics for GNU make # which are more like other make's VPATH, when it comes to # whether a source that is a target of one rule is then # searched for in VPATH/GPATH. # GPATH = $(srcdir) TARGET_DIR=$(HTML_DIR)/$(DOC_MODULE) SETUP_FILES = \ $(content_files) \ $(DOC_MAIN_SGML_FILE) \ $(DOC_MODULE)-sections.txt \ $(DOC_MODULE)-overrides.txt EXTRA_DIST = \ $(HTML_IMAGES) \ $(SETUP_FILES) DOC_STAMPS=setup-build.stamp scan-build.stamp sgml-build.stamp \ html-build.stamp pdf-build.stamp \ sgml.stamp html.stamp pdf.stamp SCANOBJ_FILES = \ $(DOC_MODULE).args \ $(DOC_MODULE).hierarchy \ $(DOC_MODULE).interfaces \ $(DOC_MODULE).prerequisites \ $(DOC_MODULE).signals REPORT_FILES = \ $(DOC_MODULE)-undocumented.txt \ $(DOC_MODULE)-undeclared.txt \ $(DOC_MODULE)-unused.txt CLEANFILES = $(SCANOBJ_FILES) $(REPORT_FILES) $(DOC_STAMPS) if ENABLE_GTK_DOC if GTK_DOC_BUILD_HTML HTML_BUILD_STAMP=html-build.stamp else HTML_BUILD_STAMP= endif if GTK_DOC_BUILD_PDF PDF_BUILD_STAMP=pdf-build.stamp else PDF_BUILD_STAMP= endif all-local: $(HTML_BUILD_STAMP) $(PDF_BUILD_STAMP) else all-local: endif docs: $(HTML_BUILD_STAMP) $(PDF_BUILD_STAMP) $(REPORT_FILES): sgml-build.stamp #### setup #### setup-build.stamp: -@if test "$(abs_srcdir)" != "$(abs_builddir)" ; then \ echo ' DOC Preparing build'; \ files=`echo $(SETUP_FILES) $(expand_content_files) $(DOC_MODULE).types`; \ if test "x$$files" != "x" ; then \ for file in $$files ; do \ test -f $(abs_srcdir)/$$file && \ cp -pu $(abs_srcdir)/$$file $(abs_builddir)/ || true; \ done; \ fi; \ fi @touch setup-build.stamp #### scan #### scan-build.stamp: $(HFILE_GLOB) $(CFILE_GLOB) @echo ' DOC Scanning header files' @_source_dir='' ; \ for i in $(DOC_SOURCE_DIR) ; do \ _source_dir="$${_source_dir} --source-dir=$$i" ; \ done ; \ gtkdoc-scan --module=$(DOC_MODULE) --ignore-headers="$(IGNORE_HFILES)" $${_source_dir} $(SCAN_OPTIONS) $(EXTRA_HFILES) @if grep -l '^..*$$' $(DOC_MODULE).types > /dev/null 2>&1 ; then \ echo " DOC Introspecting gobjects"; \ scanobj_options=""; \ gtkdoc-scangobj 2>&1 --help | grep >/dev/null "\-\-verbose"; \ if test "$(?)" = "0"; then \ if test "x$(V)" = "x1"; then \ scanobj_options="--verbose"; \ fi; \ fi; \ CC="$(GTKDOC_CC)" LD="$(GTKDOC_LD)" RUN="$(GTKDOC_RUN)" CFLAGS="$(GTKDOC_CFLAGS) $(CFLAGS)" LDFLAGS="$(GTKDOC_LIBS) $(LDFLAGS)" \ gtkdoc-scangobj $(SCANGOBJ_OPTIONS) $$scanobj_options --module=$(DOC_MODULE); \ else \ for i in $(SCANOBJ_FILES) ; do \ test -f $$i || touch $$i ; \ done \ fi @touch scan-build.stamp $(DOC_MODULE)-decl.txt $(SCANOBJ_FILES) $(DOC_MODULE)-sections.txt $(DOC_MODULE)-overrides.txt: scan-build.stamp @true #### xml #### sgml-build.stamp: setup-build.stamp $(DOC_MODULE)-decl.txt $(SCANOBJ_FILES) $(DOC_MODULE)-sections.txt $(DOC_MODULE)-overrides.txt $(expand_content_files) @echo ' DOC Building XML' @_source_dir='' ; \ for i in $(DOC_SOURCE_DIR) ; do \ _source_dir="$${_source_dir} --source-dir=$$i" ; \ done ; \ gtkdoc-mkdb --module=$(DOC_MODULE) --output-format=xml --expand-content-files="$(expand_content_files)" --main-sgml-file=$(DOC_MAIN_SGML_FILE) $${_source_dir} $(MKDB_OPTIONS) @touch sgml-build.stamp sgml.stamp: sgml-build.stamp @true #### html #### html-build.stamp: sgml.stamp $(DOC_MAIN_SGML_FILE) $(content_files) @echo ' DOC Building HTML' @rm -rf html @mkdir html @mkhtml_options=""; \ gtkdoc-mkhtml 2>&1 --help | grep >/dev/null "\-\-verbose"; \ if test "$(?)" = "0"; then \ if test "x$(V)" = "x1"; then \ mkhtml_options="$$mkhtml_options --verbose"; \ fi; \ fi; \ gtkdoc-mkhtml 2>&1 --help | grep >/dev/null "\-\-path"; \ if test "$(?)" = "0"; then \ mkhtml_options="$$mkhtml_options --path=\"$(abs_srcdir)\""; \ fi; \ cd html && gtkdoc-mkhtml $$mkhtml_options $(MKHTML_OPTIONS) $(DOC_MODULE) ../$(DOC_MAIN_SGML_FILE) -@test "x$(HTML_IMAGES)" = "x" || \ for file in $(HTML_IMAGES) ; do \ if test -f $(abs_srcdir)/$$file ; then \ cp $(abs_srcdir)/$$file $(abs_builddir)/html; \ fi; \ if test -f $(abs_builddir)/$$file ; then \ cp $(abs_builddir)/$$file $(abs_builddir)/html; \ fi; \ done; @echo ' DOC Fixing cross-references' @gtkdoc-fixxref --module=$(DOC_MODULE) --module-dir=html --html-dir=$(HTML_DIR) $(FIXXREF_OPTIONS) @touch html-build.stamp #### pdf #### pdf-build.stamp: sgml.stamp $(DOC_MAIN_SGML_FILE) $(content_files) @echo ' DOC Building PDF' @rm -f $(DOC_MODULE).pdf @mkpdf_options=""; \ gtkdoc-mkpdf 2>&1 --help | grep >/dev/null "\-\-verbose"; \ if test "$(?)" = "0"; then \ if test "x$(V)" = "x1"; then \ mkpdf_options="$$mkpdf_options --verbose"; \ fi; \ fi; \ if test "x$(HTML_IMAGES)" != "x"; then \ for img in $(HTML_IMAGES); do \ part=`dirname $$img`; \ echo $$mkpdf_options | grep >/dev/null "\-\-imgdir=$$part "; \ if test $$? != 0; then \ mkpdf_options="$$mkpdf_options --imgdir=$$part"; \ fi; \ done; \ fi; \ gtkdoc-mkpdf --path="$(abs_srcdir)" $$mkpdf_options $(DOC_MODULE) $(DOC_MAIN_SGML_FILE) $(MKPDF_OPTIONS) @touch pdf-build.stamp ############## clean-local: @rm -f *~ *.bak @rm -rf .libs distclean-local: @rm -rf xml html $(REPORT_FILES) $(DOC_MODULE).pdf \ $(DOC_MODULE)-decl-list.txt $(DOC_MODULE)-decl.txt @if test "$(abs_srcdir)" != "$(abs_builddir)" ; then \ rm -f $(SETUP_FILES) $(expand_content_files) $(DOC_MODULE).types; \ fi maintainer-clean-local: clean @rm -rf xml html install-data-local: @installfiles=`echo $(builddir)/html/*`; \ if test "$$installfiles" = '$(builddir)/html/*'; \ then echo 1>&2 'Nothing to install' ; \ else \ if test -n "$(DOC_MODULE_VERSION)"; then \ installdir="$(DESTDIR)$(TARGET_DIR)-$(DOC_MODULE_VERSION)"; \ else \ installdir="$(DESTDIR)$(TARGET_DIR)"; \ fi; \ $(mkinstalldirs) $${installdir} ; \ for i in $$installfiles; do \ echo ' $(INSTALL_DATA) '$$i ; \ $(INSTALL_DATA) $$i $${installdir}; \ done; \ if test -n "$(DOC_MODULE_VERSION)"; then \ mv -f $${installdir}/$(DOC_MODULE).devhelp2 \ $${installdir}/$(DOC_MODULE)-$(DOC_MODULE_VERSION).devhelp2; \ fi; \ $(GTKDOC_REBASE) --relative --dest-dir=$(DESTDIR) --html-dir=$${installdir}; \ fi uninstall-local: @if test -n "$(DOC_MODULE_VERSION)"; then \ installdir="$(DESTDIR)$(TARGET_DIR)-$(DOC_MODULE_VERSION)"; \ else \ installdir="$(DESTDIR)$(TARGET_DIR)"; \ fi; \ rm -rf $${installdir} # # Require gtk-doc when making dist # if ENABLE_GTK_DOC dist-check-gtkdoc: else dist-check-gtkdoc: @echo "*** gtk-doc must be installed and enabled in order to make dist" @false endif dist-hook: dist-check-gtkdoc dist-hook-local @mkdir $(distdir)/html @cp ./html/* $(distdir)/html @-cp ./$(DOC_MODULE).pdf $(distdir)/ @-cp ./$(DOC_MODULE).types $(distdir)/ @-cp ./$(DOC_MODULE)-sections.txt $(distdir)/ @cd $(distdir) && rm -f $(DISTCLEANFILES) @$(GTKDOC_REBASE) --online --relative --html-dir=$(distdir)/html .PHONY : dist-hook-local docs libvirt-sandbox-0.5.1+git20160404/libvirt-sandbox-1.0.pc.in000066400000000000000000000004421275305543100225650ustar00rootroot00000000000000prefix=@prefix@ exec_prefix=@exec_prefix@ libdir=@libdir@ includedir=@includedir@ Name: libvirt-sandbox Version: @VERSION@ Description: libvirt sandbox library Libs: -L${libdir} -lvirt-sandbox-1.0 @LIBVIRT_GOBJECT_LIBS@ Cflags: -I${includedir}/libvirt-sandbox-1.0 @LIBVIRT_GOBJECT_CFLAGS@ libvirt-sandbox-0.5.1+git20160404/libvirt-sandbox.spec.in000066400000000000000000000076531275305543100226340ustar00rootroot00000000000000# -*- rpm-spec -*- %define with_qemu 1 # RHEL does not provide the 9p.ko kernel module # nor the virtio-9p KVM backend driver. %if 0%{?rhel} %define with_qemu 0 %endif %define libvirt_version 1.0.2 # Hardended build breaks autoconf's detection # of -static flag %undefine _hardened_build Name: @PACKAGE@ Version: @VERSION@ Release: 1%{?dist}%{?extra_release} Summary: libvirt application sandbox framework Group: Development/Tools License: LGPLv2+ URL: http://libvirt.org/ Source0: ftp://libvirt.org/libvirt/sandbox/%{name}-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: libvirt-gobject-devel >= 0.2.1 BuildRequires: gobject-introspection-devel BuildRequires: glibc-static BuildRequires: /usr/bin/pod2man BuildRequires: intltool BuildRequires: libselinux-devel BuildRequires: glib2-devel >= 2.32.0 BuildRequires: xz-devel >= 5.0.0, xz-static BuildRequires: zlib-devel >= 1.2.0, zlib-static Requires: rpm-python # For virsh lxc-enter-namespace command Requires: libvirt-client >= %{libvirt_version} Requires: systemd >= 198 Requires: pygobject3-base Requires: libselinux-python Requires: %{name}-libs = %{version}-%{release} Requires: %{_bindir}/virt-builder %package libs Group: Development/Libraries Summary: libvirt application sandbox framework libraries # So we get the full libvirtd daemon, not just client libs %if %{with_qemu} %ifarch %{ix86} x86_64 Requires: libvirt-daemon-kvm >= %{libvirt_version} %else Requires: libvirt-daemon-qemu >= %{libvirt_version} %endif %endif Requires: libvirt-daemon-lxc >= %{libvirt_version} %package devel Group: Development/Libraries Summary: libvirt application sandbox framework development files Requires: %{name}-libs = %{version}-%{release} %description This package provides a command for running applications within a sandbox using libvirt. %description libs This package provides a framework for building application sandboxes using libvirt. %description devel This package provides development header files and libraries for the libvirt sandbox %prep %setup -q %build %configure --enable-introspection %__make %{?_smp_mflags} %install rm -rf $RPM_BUILD_ROOT chmod a-x examples/*.py examples/*.pl examples/*.js %__make install DESTDIR=$RPM_BUILD_ROOT rm -f $RPM_BUILD_ROOT%{_libdir}/libvirt-sandbox-1.0.a rm -f $RPM_BUILD_ROOT%{_libdir}/libvirt-sandbox-1.0.la %find_lang %{name} %clean rm -rf $RPM_BUILD_ROOT %post libs -p /sbin/ldconfig %postun libs -p /sbin/ldconfig %files %defattr(-,root,root,-) %{_datadir}/bash-completion/completions/virt-sandbox-service %config(noreplace) %{_sysconfdir}/cron.daily/virt-sandbox-service.logrotate %dir %{_sysconfdir}/libvirt-sandbox/services %{_bindir}/virt-sandbox %{_bindir}/virt-sandbox-service %{_bindir}/virt-sandbox-image %{_libexecdir}/virt-sandbox-service-util %{python_sitelib}/libvirt_sandbox %{_mandir}/man1/virt-sandbox.1* %{_mandir}/man1/virt-sandbox-service.1* %{_mandir}/man1/virt-sandbox-service-*.1* %files libs -f %{name}.lang %defattr(-,root,root,-) %doc README COPYING AUTHORS ChangeLog NEWS %dir %{_sysconfdir}/libvirt-sandbox %dir %{_sysconfdir}/libvirt-sandbox/scratch %config %{_sysconfdir}/libvirt-sandbox/scratch/README %{_libexecdir}/libvirt-sandbox-init-common %{_libexecdir}/libvirt-sandbox-init-lxc %{_libexecdir}/libvirt-sandbox-init-qemu %{_libdir}/libvirt-sandbox-1.0.so.* %{_libdir}/girepository-1.0/LibvirtSandbox-1.0.typelib %files devel %defattr(-,root,root,-) %doc examples/virt-sandbox.pl %doc examples/virt-sandbox.py %doc examples/virt-sandbox.js %doc examples/virt-sandbox-mkinitrd.py %{_libdir}/libvirt-sandbox-1.0.so %{_libdir}/pkgconfig/libvirt-sandbox-1.0.pc %dir %{_includedir}/libvirt-sandbox-1.0 %dir %{_includedir}/libvirt-sandbox-1.0/libvirt-sandbox %{_includedir}/libvirt-sandbox-1.0/libvirt-sandbox/libvirt-sandbox.h %{_includedir}/libvirt-sandbox-1.0/libvirt-sandbox/libvirt-sandbox-*.h %{_datadir}/gir-1.0/LibvirtSandbox-1.0.gir %{_datadir}/gtk-doc/html/Libvirt-sandbox %changelog libvirt-sandbox-0.5.1+git20160404/libvirt-sandbox/000077500000000000000000000000001275305543100213405ustar00rootroot00000000000000libvirt-sandbox-0.5.1+git20160404/libvirt-sandbox/Makefile.am000066400000000000000000000217701275305543100234030ustar00rootroot00000000000000 EXTRA_DIST = libvirt-sandbox.sym CLEANFILES = SUBDIRS = tests image rundir = $(localstatedir)/run libexec_PROGRAMS = \ libvirt-sandbox-init-common \ libvirt-sandbox-init-qemu \ libvirt-sandbox-init-lxc \ $(NULL) PROTOCOL_GENERATOR = libvirt-sandbox-protocol-generator.pl EXTRA_DIST += $(PROTOCOL_GENERATOR) sandboxconfigdir = $(sysconfdir)/$(PACKAGE)/scratch sandboxconfig_DATA = README lib_LTLIBRARIES = libvirt-sandbox-1.0.la SANDBOX_TEMPLATE_FILES = \ libvirt-sandbox-enum-types.h.template \ libvirt-sandbox-enum-types.c.template \ $(NULL) SANDBOX_GENERATED_ENUM_FILES = \ libvirt-sandbox-enum-types.h \ libvirt-sandbox-enum-types.c \ $(NULL) SANDBOX_GENERATED_RPC_FILES = \ libvirt-sandbox-protocol.h \ libvirt-sandbox-protocol.c \ $(NULL) SANDBOX_PROTOCOL_FILES = \ libvirt-sandbox-protocol.x \ $(NULL) SANDBOX_GENERATED_FILES = \ $(SANDBOX_GENERATED_ENUM_FILES) \ $(SANDBOX_GENERATED_RPC_FILES) \ $(NULL) SANDBOX_RPC_FILES = \ libvirt-sandbox-rpcpacket.c \ libvirt-sandbox-rpcpacket.h \ $(NULL) SANDBOX_CONFIG_HEADER_FILES = \ libvirt-sandbox-config.h \ libvirt-sandbox-config-disk.h \ libvirt-sandbox-config-network.h \ libvirt-sandbox-config-network-address.h \ libvirt-sandbox-config-network-filterref-parameter.h \ libvirt-sandbox-config-network-filterref.h \ libvirt-sandbox-config-network-route.h \ libvirt-sandbox-config-mount.h \ libvirt-sandbox-config-mount-file.h \ libvirt-sandbox-config-mount-host-bind.h \ libvirt-sandbox-config-mount-host-image.h \ libvirt-sandbox-config-mount-guest-bind.h \ libvirt-sandbox-config-mount-ram.h \ libvirt-sandbox-config-initrd.h \ libvirt-sandbox-config-interactive.h \ libvirt-sandbox-config-service.h \ libvirt-sandbox-config-service-systemd.h \ libvirt-sandbox-config-service-generic.h \ $(NULL) SANDBOX_HEADER_FILES = \ libvirt-sandbox.h \ libvirt-sandbox-main.h \ libvirt-sandbox-util.h \ libvirt-sandbox-builder.h \ libvirt-sandbox-builder-initrd.h \ libvirt-sandbox-builder-machine.h \ libvirt-sandbox-builder-container.h \ libvirt-sandbox-console.h \ libvirt-sandbox-console-raw.h \ libvirt-sandbox-console-rpc.h \ libvirt-sandbox-context.h \ libvirt-sandbox-context-interactive.h \ libvirt-sandbox-context-service.h \ $(SANDBOX_CONFIG_HEADER_FILES) \ $(NULL) SANDBOX_CONFIG_SOURCE_FILES = \ libvirt-sandbox-util.c \ libvirt-sandbox-config.c \ libvirt-sandbox-config-disk.c \ libvirt-sandbox-config-network.c \ libvirt-sandbox-config-network-address.c \ libvirt-sandbox-config-network-filterref.c \ libvirt-sandbox-config-network-filterref-parameter.c \ libvirt-sandbox-config-network-route.c \ libvirt-sandbox-config-mount.c \ libvirt-sandbox-config-mount-file.c \ libvirt-sandbox-config-mount-host-bind.c \ libvirt-sandbox-config-mount-host-image.c \ libvirt-sandbox-config-mount-guest-bind.c \ libvirt-sandbox-config-mount-ram.c \ libvirt-sandbox-config-initrd.c \ libvirt-sandbox-config-interactive.c \ libvirt-sandbox-config-service.c \ libvirt-sandbox-config-service-systemd.c \ libvirt-sandbox-config-service-generic.c \ $(NULL) SANDBOX_SOURCE_FILES = \ libvirt-sandbox-main.c \ libvirt-sandbox-builder.c \ libvirt-sandbox-builder-initrd.c \ libvirt-sandbox-builder-machine.c \ libvirt-sandbox-builder-container.c \ libvirt-sandbox-builder-private.h \ libvirt-sandbox-console.c \ libvirt-sandbox-console-raw.c \ libvirt-sandbox-console-rpc.c \ libvirt-sandbox-context.c \ libvirt-sandbox-context-interactive.c \ libvirt-sandbox-context-service.c \ libvirt-sandbox-config-all.h \ $(SANDBOX_CONFIG_SOURCE_FILES) \ $(NULL) libvirt_sandbox_1_0_ladir = $(includedir)/libvirt-sandbox-1.0/libvirt-sandbox libvirt_sandbox_1_0_la_HEADERS = \ $(SANDBOX_HEADER_FILES) libvirt_sandbox_1_0_la_SOURCES = \ $(SANDBOX_SOURCE_FILES) \ $(SANDBOX_RPC_FILES) nodist_libvirt_sandbox_1_0_la_HEADERS = \ libvirt-sandbox-enum-types.h $(NULL) nodist_libvirt_sandbox_1_0_la_SOURCES = \ libvirt-sandbox-enum-types.c \ libvirt-sandbox-protocol.h \ libvirt-sandbox-protocol.c \ $(NULL) libvirt_sandbox_1_0_la_CFLAGS = \ -DBINDIR="\"$(bindir)\"" \ -DDATADIR="\"$(datadir)\"" \ -DLIBVIRT_SANDBOX_BUILD \ -DLIBEXECDIR="\"$(libexecdir)\"" \ -DSANDBOXCONFIGDIR="\"$(sandboxconfigdir)\"" \ -DRUNDIR="\"$(rundir)\"" \ -DSYSCONFDIR="\"$(sysconfdir)\"" \ -DLOCALEDIR="\"$(datadir)/locale"\" \ $(COVERAGE_CFLAGS) \ -I$(top_srcdir) \ -I$(top_builddir) \ $(GIO_UNIX_CFLAGS) \ $(LIBVIRT_GLIB_CFLAGS) \ $(LIBVIRT_GOBJECT_CFLAGS) \ $(SELINUX_CFLAGS) \ $(WARN_CFLAGS) \ $(NULL) libvirt_sandbox_1_0_la_LIBADD = \ $(GIO_UNIX_LIBS) \ $(LIBVIRT_GLIB_LIBS) \ $(LIBVIRT_GOBJECT_LIBS) \ $(SELINUX_LIBS) \ $(CYGWIN_EXTRA_LIBADD) \ $(NULL) libvirt_sandbox_1_0_la_DEPENDENCIES = \ libvirt-sandbox.sym libvirt_sandbox_1_0_la_LDFLAGS = \ $(WARN_CFLAGS) \ $(COVERAGE_CFLAGS:-f%=-Wc,f%) \ $(CYGWIN_EXTRA_LDFLAGS) \ $(MINGW_EXTRA_LDFLAGS) \ -Wl,--version-script=$(srcdir)/libvirt-sandbox.sym \ -version-info $(LIBVIRT_SANDBOX_VERSION_INFO) libvirt_sandbox_init_common_SOURCES = libvirt-sandbox-init-common.c \ $(SANDBOX_GENERATED_RPC_FILES) \ $(SANDBOX_RPC_FILES) \ $(SANDBOX_CONFIG_HEADER_FILES) \ $(SANDBOX_CONFIG_SOURCE_FILES) \ $(NULL) libvirt_sandbox_init_common_CFLAGS = \ -DLIBEXECDIR="\"$(libexecdir)\"" \ -DSANDBOXCONFIGDIR="\"$(sandboxconfigdir)\"" \ -DLOCALEDIR="\"$(datadir)/locale"\" \ -DLIBVIRT_SANDBOX_BUILD \ $(COVERAGE_CFLAGS) \ -I$(top_srcdir) \ -I$(top_builddir) \ $(LIBVIRT_GCONFIG_CFLAGS) \ $(GIO_UNIX_CFLAGS) \ $(CAPNG_CFLAGS) \ $(SELINUX_CFLAGS) \ $(WARN_CFLAGS) \ $(NULL) libvirt_sandbox_init_common_LDFLAGS = \ -lutil \ $(COVERAGE_CFLAGS:-f%=-Wc,f%) \ $(GIO_UNIX_LIBS) \ $(LIBVIRT_GCONFIG_LIBS) \ $(CAPNG_LIBS) \ $(SELINUX_LIBS) \ $(WARN_CFLAGS) \ $(NULL) libvirt_sandbox_init_common_LDADD = \ $(NULL) libvirt_sandbox_init_lxc_SOURCES = libvirt-sandbox-init-lxc.c libvirt_sandbox_init_lxc_CFLAGS = \ -DLIBEXECDIR="\"$(libexecdir)\"" \ -DSANDBOXCONFIGDIR="\"$(sandboxconfigdir)\"" \ -I$(top_srcdir) \ -I$(top_builddir) \ $(WARN_CFLAGS) \ $(NULL) libvirt_sandbox_init_lxc_LDFLAGS = \ -all-static \ $(COVERAGE_CFLAGS:-f%=-Wc,f%) \ $(WARN_CFLAGS) \ $(NULL) libvirt_sandbox_init_qemu_SOURCES = libvirt-sandbox-init-qemu.c libvirt_sandbox_init_qemu_CFLAGS = \ -DLIBEXECDIR="\"$(libexecdir)\"" \ -DSANDBOXCONFIGDIR="\"$(sandboxconfigdir)\"" \ $(ZLIB_CFLAGS) \ $(LZMA_CFLAGS) \ $(WARN_CFLAGS) \ $(NULL) libvirt_sandbox_init_qemu_LDFLAGS = \ -all-static \ $(COVERAGE_CFLAGS:-f%=-Wc,f%) \ $(ZLIB_LIBS) \ $(LZMA_LIBS) \ $(WARN_CFLAGS) \ $(NULL) EXTRA_DIST += $(SANDBOX_TEMPLATE_FILES) $(SANDBOX_PROTOCOL_FILES) BUILT_SOURCES = $(SANDBOX_GENERATED_FILES) CLEANFILES += $(SANDBOX_GENERATED_FILES) libvirt-sandbox-enum-types.h: $(SANDBOX_HEADER_FILES) libvirt-sandbox-enum-types.h.template $(AM_V_GEN) ( $(GLIB_MKENUMS) --template $(srcdir)/libvirt-sandbox-enum-types.h.template $(SANDBOX_HEADER_FILES:%=$(srcdir)/%) ) | \ sed -e "s/G_TYPE_VIR_CONFIG/GVIR_CONFIG_TYPE/" -e "s/g_vir/gvir/" > libvirt-sandbox-enum-types.h libvirt-sandbox-enum-types.c: $(SANDBOX_HEADER_FILES) libvirt-sandbox-enum-types.c.template $(AM_V_GEN) ( $(GLIB_MKENUMS) --template $(srcdir)/libvirt-sandbox-enum-types.c.template $(SANDBOX_HEADER_FILES:%=$(srcdir)/%) ) | \ sed -e "s/G_TYPE_VIR_CONFIG/GVIR_CONFIG_TYPE/" -e "s/g_vir/gvir/" > libvirt-sandbox-enum-types.c libvirt-sandbox-protocol.c: $(srcdir)/$(PROTOCOL_GENERATOR) $(SANDBOX_PROTOCOL_FILES) $(AM_V_GEN)$(PERL) -w $(srcdir)/$(PROTOCOL_GENERATOR) $(RPCGEN) -c $(SANDBOX_PROTOCOL_FILES:%=$(srcdir)/%) $@ libvirt-sandbox-protocol.h: $(srcdir)/$(PROTOCOL_GENERATOR) $(SANDBOX_PROTOCOL_FILES) $(AM_V_GEN)$(PERL) -w $(srcdir)/$(PROTOCOL_GENERATOR) $(RPCGEN) -h $(SANDBOX_PROTOCOL_FILES:%=$(srcdir)/%) $@ -include $(INTROSPECTION_MAKEFILE) INTROSPECTION_GIRS = if HAVE_INTROSPECTION LibvirtSandbox-1.0.gir: libvirt-sandbox-1.0.la LibvirtSandbox_1_0_gir_INCLUDES = LibvirtGObject-1.0 LibvirtSandbox_1_0_gir_PACKAGES = libvirt-gobject-1.0 LibvirtSandbox_1_0_gir_EXPORT_PACKAGES = libvirt-sandbox-1.0 LibvirtSandbox_1_0_gir_LIBS = libvirt-sandbox-1.0.la LibvirtSandbox_1_0_gir_FILES = \ $(srcdir)/libvirt-sandbox.h \ $(SANDBOX_SOURCE_FILES:%=$(srcdir)/%) \ $(SANDBOX_HEADER_FILES:%=$(srcdir)/%) \ $(SANDBOX_GENERATED_ENUM_FILES:%=%) \ $(NULL) LibvirtSandbox_1_0_gir_CFLAGS = $(libvirt_sandbox_1_0_la_CFLAGS) LibvirtSandbox_1_0_gir_SCANNERFLAGS = \ --warn-all \ --identifier-prefix=GVirSandbox \ --symbol-prefix=gvir_sandbox \ --c-include="libvirt-sandbox/libvirt-sandbox.h" \ $(NULL) INTROSPECTION_GIRS += LibvirtSandbox-1.0.gir girdir = $(datadir)/gir-1.0 gir_DATA = LibvirtSandbox-1.0.gir typelibdir = $(libdir)/girepository-1.0 typelib_DATA = LibvirtSandbox-1.0.typelib CLEANFILES += $(gir_DATA) $(typelib_DATA) endif # HAVE_INTROSPECTION libvirt-sandbox-0.5.1+git20160404/libvirt-sandbox/README000066400000000000000000000004211275305543100222150ustar00rootroot00000000000000This directory must not be deleted, not used for storing any important files on the host. This directory is used as the mount point to which the sandbox private configuration is attached. Without this directory being present, it will be impossible to start any sandboxes libvirt-sandbox-0.5.1+git20160404/libvirt-sandbox/image/000077500000000000000000000000001275305543100224225ustar00rootroot00000000000000libvirt-sandbox-0.5.1+git20160404/libvirt-sandbox/image/Makefile.am000066400000000000000000000003561275305543100244620ustar00rootroot00000000000000 SUBDIRS = sources pythonsandboxdir = $(pythondir)/libvirt_sandbox pythonsandbox_DATA = __init__.py pythonimagedir = $(pythondir)/libvirt_sandbox/image pythonimage_DATA = __init__.py cli.py template.py EXTRA_DIST = $(pythonimage_DATA) libvirt-sandbox-0.5.1+git20160404/libvirt-sandbox/image/__init__.py000066400000000000000000000000001275305543100245210ustar00rootroot00000000000000libvirt-sandbox-0.5.1+git20160404/libvirt-sandbox/image/cli.py000066400000000000000000000215631275305543100235520ustar00rootroot00000000000000#!/usr/bin/python -Es # -*- coding: utf-8 -*- # Authors: Daniel P. Berrange # Eren Yagdiran # # Copyright (C) 2013-2015 Red Hat, Inc. # Copyright (C) 2015 Universitat Politècnica de Catalunya. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. # import argparse import gettext import hashlib import json import os import os.path import shutil import sys import urllib2 import subprocess import random import string from libvirt_sandbox.image import template if os.geteuid() == 0: default_template_dir = "/var/lib/libvirt/templates" default_image_dir = "/var/lib/libvirt/images" else: default_template_dir = os.environ['HOME'] + "/.local/share/libvirt/templates" default_image_dir = os.environ['HOME'] + "/.local/share/libvirt/images" debug = False verbose = False gettext.bindtextdomain("libvirt-sandbox", "/usr/share/locale") gettext.textdomain("libvirt-sandbox") try: gettext.install("libvirt-sandbox", localedir="/usr/share/locale", unicode=False, codeset = 'utf-8') except IOError: import __builtin__ __builtin__.__dict__['_'] = unicode def debug(msg): sys.stderr.write(msg) def info(msg): sys.stdout.write(msg) def get_template_dir(args): tmpl = template.Template.from_uri(args.template) return "%s/%s" % (args.template_dir, tmpl.source) def purge(args): tmpl = template.Template.from_uri(args.template) source = tmpl.get_source_impl() source.delete_template(template=tmpl, templatedir=get_template_dir(args)) def prepare(args): tmpl = template.Template.from_uri(args.template) source = tmpl.get_source_impl() source.create_template(template=tmpl, templatedir=get_template_dir(args), connect=args.connect) def run(args): if args.connect is not None: check_connect(args.connect) tmpl = template.Template.from_uri(args.template) source = tmpl.get_source_impl() template_dir = get_template_dir(args) # Create the template image if needed if not source.has_template(tmpl, template_dir): prepare(args) name = args.name if name is None: randomid = ''.join(random.choice(string.lowercase) for i in range(10)) name = tmpl.path[1:] + ":" + randomid diskfile = source.get_disk(template=tmpl, templatedir=template_dir, imagedir=args.image_dir, sandboxname=name) commandToRun = source.get_command(tmpl, template_dir, args.args) if len(commandToRun) == 0: commandToRun = ["/bin/sh"] cmd = ['virt-sandbox', '--name', name] if args.connect is not None: cmd.append("-c") cmd.append(args.connect) params = ['-m','host-image:/=%s,format=qcow2' % diskfile] networkArgs = args.network if networkArgs is not None: params.append('-N') params.append(networkArgs) allEnvs = source.get_env(tmpl, template_dir) envArgs = args.env if envArgs is not None: allEnvs = allEnvs + envArgs for env in allEnvs: envsplit = env.split("=") envlen = len(envsplit) if envlen == 2: params.append("--env") params.append(env) else: pass cmd = cmd + params + ['--'] + commandToRun subprocess.call(cmd) os.unlink(diskfile) source.post_run(tmpl, template_dir, name) def list_cached(args): tmpls = [] if args.source is not None: tmpls.extend(template.Template.get_all(args.source, "%s/%s" % (args.template_dir, args.source))) else: for source in ["docker", "virt-builder"]: tmpls.extend(template.Template.get_all(source, "%s/%s" % (args.template_dir, source))) for tmpl in tmpls: print tmpl def requires_template(parser): parser.add_argument("template", help=_("URI of the template")) def requires_name(parser): parser.add_argument("-n","--name", help=_("Name of the running sandbox")) def requires_debug(parser): parser.add_argument("-d","--debug", default=False, action="store_true", help=_("Run in debug mode")) def check_connect(connectstr): supportedDrivers = ['lxc:///','qemu:///session','qemu:///system'] if not connectstr in supportedDrivers: raise ValueError("URI '%s' is not supported by virt-sandbox-image" % connectstr) return True def requires_connect(parser): parser.add_argument("-c","--connect", help=_("Connect string for libvirt")) def requires_template_dir(parser): global default_template_dir parser.add_argument("-t","--template-dir", default=default_template_dir, help=_("Template directory for saving templates")) def requires_image_dir(parser): global default_image_dir parser.add_argument("-I","--image-dir", default=default_image_dir, help=_("Image directory for saving images")) def gen_command_parser(subparser, name, helptext): parser = subparser.add_parser( name, help=helptext, formatter_class=argparse.RawDescriptionHelpFormatter, epilog=""" Example supported URI formats: docker:///ubuntu?tag=15.04 docker://username:password@index.docker.io/private/image docker://registry.access.redhat.com/rhel6 virt-builder:///fedora-20 """) return parser def gen_purge_args(subparser): parser = gen_command_parser(subparser, "purge", _("Purge cached template")) requires_debug(parser) requires_template(parser) requires_template_dir(parser) parser.set_defaults(func=purge) def gen_prepare_args(subparser): parser = gen_command_parser(subparser, "prepare", _("Prepare local template")) requires_debug(parser) requires_template(parser) requires_connect(parser) requires_template_dir(parser) parser.set_defaults(func=prepare) def gen_run_args(subparser): parser = gen_command_parser(subparser, "run", _("Run an instance of a template")) requires_debug(parser) requires_name(parser) requires_template(parser) requires_connect(parser) requires_template_dir(parser) requires_image_dir(parser) parser.add_argument("args", nargs=argparse.REMAINDER, help=_("command arguments to run")) parser.add_argument("-N","--network", help=_("Network params for running template")) parser.add_argument("-e","--env",action="append", help=_("Environment params for running template")) parser.set_defaults(func=run) def gen_list_args(subparser): parser = gen_command_parser(subparser, "list", _("List locally cached images")) requires_debug(parser) requires_template_dir(parser) parser.add_argument("-s","--source", help=_("Name of the template source")) parser.set_defaults(func=list_cached) def main(): parser = argparse.ArgumentParser(description="Sandbox Container Image Tool") subparser = parser.add_subparsers(help=_("commands")) gen_purge_args(subparser) gen_prepare_args(subparser) gen_run_args(subparser) gen_list_args(subparser) args = parser.parse_args() if args.debug: args.func(args) sys.exit(0) else: try: args.func(args) sys.exit(0) except KeyboardInterrupt, e: sys.exit(0) except ValueError, e: sys.stderr.write("%s: %s\n" % (sys.argv[0], e)) sys.stderr.flush() sys.exit(1) except IOError, e: sys.stderr.write("%s: %s: %s\n" % (sys.argv[0], e.filename, e.reason)) sys.stderr.flush() sys.exit(1) except OSError, e: sys.stderr.write("%s: %s\n" % (sys.argv[0], e)) sys.stderr.flush() sys.exit(1) except Exception, e: print e.message sys.exit(1) libvirt-sandbox-0.5.1+git20160404/libvirt-sandbox/image/sources/000077500000000000000000000000001275305543100241055ustar00rootroot00000000000000libvirt-sandbox-0.5.1+git20160404/libvirt-sandbox/image/sources/Makefile.am000066400000000000000000000002661275305543100261450ustar00rootroot00000000000000 pythonimagedir = $(pythondir)/libvirt_sandbox/image/sources pythonimage_DATA = \ __init__.py \ base.py \ docker.py \ virtbuilder.py \ $(NULL) EXTRA_DIST = $(pythonimage_DATA) libvirt-sandbox-0.5.1+git20160404/libvirt-sandbox/image/sources/__init__.py000066400000000000000000000000001275305543100262040ustar00rootroot00000000000000libvirt-sandbox-0.5.1+git20160404/libvirt-sandbox/image/sources/base.py000066400000000000000000000127631275305543100254020ustar00rootroot00000000000000#!/usr/bin/python # -*- coding: utf-8 -*- # # Copyright (C) 2015 Universitat Politècnica de Catalunya. # Copyright (C) 2015 Red Hat, Inc. # # This library is free software; you can redistribute it and/or # modify it under the terms of the GNU Lesser General Public # License as published by the Free Software Foundation; either # version 2.1 of the License, or (at your option) any later version. # # This library is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU # Lesser General Public License for more details. # # You should have received a copy of the GNU Lesser General Public # License along with this library; if not, write to the Free Software # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA # # Author: Eren Yagdiran from abc import ABCMeta, abstractmethod import subprocess class Source(): '''The Source class defines the base interface for all image provider source implementations. An image provide source is able to download templates from a repository, convert them to a host specific image format and report commands used to invoke them.''' __metaclass__ = ABCMeta def __init__(self): pass @abstractmethod def list_templates(self, templatedir): """ :param templatedir: local directory path in which to store the template Get a list of all templates that are locally cached :returns: a list of libvirt_sandbox.template.Template objects """ pass @abstractmethod def has_template(self, template, templatedir): """ :param template: libvirt_sandbox.template.Template object :param templatedir: local directory path in which to store the template Check if a template has already been created. """ pass @abstractmethod def create_template(self, template, templatedir, connect=None): """ :param template: libvirt_sandbox.template.Template object :param templatedir: local directory path in which to store the template :param connect: libvirt connection URI Create a set of local disk images populated with the content of a template. The images creation process will be isolated inside a sandbox using the requested libvirt connection URI. """ pass @abstractmethod def delete_template(self, template, templatedir): """ :param template: libvirt_sandbox.template.Template object :param templatedir: local directory path from which to delete template Delete all local files associated with the template """ pass @abstractmethod def get_command(self, template, templatedir, userargs): """ :param template: libvirt_sandbox.template.Template object :param templatedir: local directory path in which templates are stored :param userargs: user specified arguments to run Get the command line to invoke in the container. If userargs is specified, then this should override the default args in the image""" pass @abstractmethod def get_disk(self, template, templatedir, imagedir, sandboxname): """ :param template: libvirt_sandbox.template.Template object :param templatedir: local directory path in which to find template :param imagedir: local directory in which to storage disk image Creates an instance private disk image, backed by the content of a template. """ pass @abstractmethod def get_env(self, template, templatedir): """ :param template: libvirt_sandbox.template.Template object :param templatedir: local directory path in which to find template Get the dict of environment variables to set """ pass def post_run(self, template, templatedir, imagename): """ :param template: libvirt_sandbox.template.Template object :param templatedir: local directory path in which to find template :param imagename: name of the image that just stopped running Hook called after the image has been stopped. By default is doesn't do anything, subclasses can override this to do some additional cleanup. """ pass # Utility functions to share between the sources. def format_disk(self,disk,format,connect): cmd = ['virt-sandbox'] if connect is not None: cmd.append("-c") cmd.append(connect) cmd.append("-p") params = ['--disk=file:disk_image=%s,format=%s' %(disk,format), '/sbin/mkfs.ext3', '/dev/disk/by-tag/disk_image'] cmd = cmd + params subprocess.check_call(cmd) def extract_tarball(self, diskfile, format, tarfile, connect): cmd = ['virt-sandbox'] if connect is not None: cmd.append("-c") cmd.append(connect) cmd.append("-p") compression = "" if tarfile.endswith(".gz"): compression = "z" params = ['-m', 'host-image:/mnt=%s,format=%s' % (diskfile, format), '--', '/bin/tar', 'xf%s' % compression, '%s' % tarfile, '-C', '/mnt'] cmd = cmd + params subprocess.check_call(cmd) libvirt-sandbox-0.5.1+git20160404/libvirt-sandbox/image/sources/docker.py000077500000000000000000000545521275305543100257440ustar00rootroot00000000000000#!/usr/bin/python # -*- coding: utf-8 -*- # # Copyright (C) 2015 Universitat Politècnica de Catalunya. # Copyright (C) 2015 Red Hat, Inc. # # This library is free software; you can redistribute it and/or # modify it under the terms of the GNU Lesser General Public # License as published by the Free Software Foundation; either # version 2.1 of the License, or (at your option) any later version. # # This library is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU # Lesser General Public License for more details. # # You should have received a copy of the GNU Lesser General Public # License along with this library; if not, write to the Free Software # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA # # Author: Eren Yagdiran # import urllib2 import sys import json import traceback import os import subprocess import shutil import urlparse import hashlib from abc import ABCMeta, abstractmethod import copy from libvirt_sandbox.image.template import Template from . import base class DockerConfParser(): def __init__(self,jsonfile): with open(jsonfile) as json_file: self.json_data = json.load(json_file) def getCommand(self): return self.json_data['config']['Cmd'] def getEntrypoint(self): return self.json_data['config']['Entrypoint'] def getEnvs(self): lst = self.json_data['config']['Env'] if lst is not None and isinstance(lst,list): return lst else: return [] class DockerImage(): def __init__(self, repo, name, tag=None): self.repo = repo self.name = name self.tag = tag if self.tag is None: self.tag = "latest" if self.repo is None: self.repo = "library" def __repr__(self): return "%s/%s,tag=%s" % (self.repo, self.name, self.tag) @classmethod def from_template(cls, template): bits = template.path[1:].split("/") if len(bits) == 1: return cls(repo=None, name=bits[0], tag=template.params.get("tag")) elif len(bits) == 2: return cls(repo=bits[0], name=bits[1], tag=template.params.get("tag")) else: raise Exception("Expected image name, or repo & image name for path, not '%s'", template.path) class DockerAuth(): __metaclass__ = ABCMeta def __init__(self): pass @abstractmethod def prepare_req(self, req): pass @abstractmethod def process_res(self, res): pass @abstractmethod def process_err(self, err): return False class DockerAuthNop(DockerAuth): def prepare_req(self, req): pass def process_res(self, res): pass def process_err(self, err): return False class DockerAuthBasic(DockerAuth): def __init__(self, username, password): self.username = username self.password = password self.token = None def prepare_req(self, req): if self.username is not None: auth = base64.encodestring( '%s:%s' % (self.username, self.password)).replace('\n', '') req.add_header("Authorization", "Basic %s" % auth) req.add_header("X-Docker-Token", "true") def process_res(self, res): self.token = res.info().getheader('X-Docker-Token') def process_err(self, err): return False class DockerAuthToken(DockerAuth): def __init__(self, token): self.token = token def prepare_req(self, req): req.add_header("Authorization", "Token %s" % self.token) def process_res(self, res): pass def process_err(self, err): return False class DockerAuthBearer(DockerAuth): def __init__(self): self.token = None def prepare_req(self, req): if self.token is not None: req.add_header("Authorization", "Bearer %s" % self.token) def process_res(self, res): pass def process_err(self, err): method = err.headers.get("WWW-Authenticate", None) if method is None: return False if not method.startswith("Bearer "): return False challenge = method[7:] bits = challenge.split(",") attrs = {} for bit in bits: subbit = bit.split("=") attrs[subbit[0]] = subbit[1][1:-1] url = attrs["realm"] del attrs["realm"] if "error" in attrs: del attrs["error"] params = "&".join([ "%s=%s" % (attr, attrs[attr]) for attr in attrs.keys() ]) if params != "": url = url + "?" + params req = urllib2.Request(url=url) req.add_header("Accept", "application/json") res = urllib2.urlopen(req) data = json.loads(res.read()) self.token = data["token"] return True class DockerRegistry(): def __init__(self, uri_base): self.uri_base = list(urlparse.urlparse(uri_base)) self.auth_handler = DockerAuthNop() def set_auth_handler(self, auth_handler): self.auth_handler = auth_handler def supports_v2(self): try: (data, res) = self.get_json("/v2/") ver = res.info().getheader("Docker-Distribution-Api-Version") except urllib2.HTTPError as e: ver = e.headers.get("Docker-Distribution-Api-Version", None) if ver is None: return False return ver.startswith("registry/2") def set_server(self, server): self.uri_base[1] = server @classmethod def from_template(cls, template): protocol = template.protocol hostname = template.hostname port = template.port if protocol is None: protocol = "https" if hostname is None: hostname = "index.docker.io" if port is None: server = hostname else: server = "%s:%s" % (hostname, port) url = urlparse.urlunparse((protocol, server, "", None, None, None)) return cls(url) def get_url(self, path, headers=None): url_bits = copy.copy(self.uri_base) url_bits[2] = path url = urlparse.urlunparse(url_bits) debug("Fetching %s..." % url) req = urllib2.Request(url=url) if headers is not None: for h in headers.keys(): req.add_header(h, headers[h]) self.auth_handler.prepare_req(req) try: res = urllib2.urlopen(req) self.auth_handler.process_res(res) return res except urllib2.HTTPError as e: if e.code == 401: retry = self.auth_handler.process_err(e) if retry: debug("Re-Fetching %s..." % url) self.auth_handler.prepare_req(req) res = urllib2.urlopen(req) self.auth_handler.process_res(res) return res else: debug("Not re-fetching") raise else: raise def save_data(self, path, dest, checksum=None): try: res = self.get_url(path) datalen = res.info().getheader("Content-Length") if datalen is not None: datalen = int(datalen) csum = None if checksum is not None: csum = hashlib.sha256() pattern = [".", "o", "O", "o"] patternIndex = 0 donelen = 0 with open(dest, "w") as f: while 1: buf = res.read(1024*64) if not buf: break if csum is not None: csum.update(buf) f.write(buf) if datalen is not None: donelen = donelen + len(buf) debug("\x1b[s%s (%5d Kb of %5d Kb)\x1b8" % ( pattern[patternIndex], (donelen/1024), (datalen/1024) )) patternIndex = (patternIndex + 1) % 4 debug("\x1b[K") if csum is not None: csumstr = "sha256:" + csum.hexdigest() if csumstr != checksum: debug("FAIL checksum '%s' does not match '%s'" % (csumstr, checksum)) os.remove(dest) raise IOError("Checksum '%s' for data does not match '%s'" % (csumstr, checksum)) debug("OK\n") return res except Exception, e: debug("FAIL %s\n" % str(e)) raise def get_json(self, path): try: headers = {} headers["Accept"] = "application/json" res = self.get_url(path, headers) data = json.loads(res.read()) debug("OK\n") return (data, res) except Exception, e: debug("FAIL %s\n" % str(e)) raise class DockerSource(base.Source): def _check_cert_validate(self): major = sys.version_info.major SSL_WARNING = "SSL certificates couldn't be validated by default. You need to have 2.7.9/3.4.3 or higher" SSL_WARNING +="\nSee https://bugs.python.org/issue22417\n" py2_7_9_hexversion = 34015728 py3_4_3_hexversion = 50594800 if (major == 2 and sys.hexversion < py2_7_9_hexversion) or (major == 3 and sys.hexversion < py3_4_3_hexversion): sys.stderr.write(SSL_WARNING) def _was_downloaded(self, image, templatedir): try: self._get_image_list(image, templatedir) return True except Exception: return False def list_templates(self, templatedir): indexes = [] try: imagedirs = os.listdir(templatedir) except OSError: return [] for imagetagid in imagedirs: indexfile = templatedir + "/" + imagetagid + "/index.json" if os.path.exists(indexfile): with open(indexfile,"r") as f: index = json.load(f) indexes.append(index) return [ Template(source="docker", protocol=None, hostname=None, port=None, username=None, password=None, path="/%s/%s" % (index.get("repo", "library"), index["name"]), params={ "tag": index.get("tag", "latest"), }) for index in indexes] def has_template(self, template, templatedir): try: image = DockerImage.from_template(template) configfile, diskfile = self._get_template_data(image, templatedir) return os.path.exists(diskfile) except Exception: return False def download_template(self, image, template, templatedir): try: createdFiles = [] createdDirs = [] self._download_template_impl(image, template, templatedir, createdFiles, createdDirs) except Exception as e: for f in createdFiles: try: os.remove(f) except: pass for d in createdDirs: try: shutil.rmtree(d) except: pass raise def _download_template_impl(self, image, template, templatedir, createdFiles, createdDirs): self._check_cert_validate() registry = DockerRegistry.from_template(template) registry.set_auth_handler(DockerAuthBearer()) if registry.supports_v2(): self._download_template_impl_v2(registry, image, template, templatedir, createdFiles, createdDirs) else: self._download_template_impl_v1(registry, image, template, templatedir, createdFiles, createdDirs) def _download_template_impl_v1(self, registry, image, template, templatedir, createdFiles, createdDirs): basicauth = DockerAuthBasic(template.username, template.password) registry.set_auth_handler(basicauth) try: (data, res) = registry.get_json("/v1/repositories/%s/%s/images" % ( image.repo, image.name, )) except urllib2.HTTPError, e: raise ValueError(["Image '%s' does not exist" % template]) registryendpoint = res.info().getheader('X-Docker-Endpoints') if basicauth.token is not None: registry.set_auth_handler(DockerAuthToken(basicauth.token)) else: registry.set_auth_handler(DockerAuthNop()) (data, res) = registry.get_json("/v1/repositories/%s/%s/tags" %( image.repo, image.name )) if image.tag not in data: raise ValueError(["Tag '%s' does not exist for image '%s'" % (image.tag, template)]) imagetagid = data[image.tag] (data, res) = registry.get_json("/v1/images/" + imagetagid + "/ancestry") if data[0] != imagetagid: raise ValueError(["Expected first layer id '%s' to match image id '%s'", data[0], imagetagid]) for layerid in data: layerdir = templatedir + "/" + layerid if not os.path.exists(layerdir): os.makedirs(layerdir) createdDirs.append(layerdir) jsonfile = layerdir + "/template.json" datafile = layerdir + "/template.tar.gz" if not os.path.exists(jsonfile) or not os.path.exists(datafile): res = registry.save_data("/v1/images/" + layerid + "/json", jsonfile) createdFiles.append(jsonfile) registry.save_data("/v1/images/" + layerid + "/layer", datafile) createdFiles.append(datafile) index = { "repo": image.repo, "name": image.name, "tag": image.tag, } indexfile = templatedir + "/" + imagetagid + "/index.json" with open(indexfile, "w") as f: f.write(json.dumps(index)) def _download_template_impl_v2(self, registry, image, template, templatedir, createdFiles, createdDirs): (manifest, res) = registry.get_json( "/v2/%s/%s/manifests/%s" % ( image.repo, image.name, image.tag)) layerChecksums = [ layer["blobSum"] for layer in manifest["fsLayers"] ] layers = [ json.loads(entry["v1Compatibility"]) for entry in manifest["history"] ] for i in range(len(layerChecksums)): layerChecksum = layerChecksums[i] config = layers[i] layerdir = templatedir + "/" + config["id"] if not os.path.exists(layerdir): os.makedirs(layerdir) createdDirs.append(layerdir) jsonfile = layerdir + "/template.json" datafile = layerdir + "/template.tar.gz" with open(jsonfile, "w") as fh: fh.write(json.dumps(config)) registry.save_data("/v2/%s/%s/blobs/%s" % ( image.repo, image.name, layerChecksum), datafile, checksum=layerChecksum) index = { "repo": image.repo, "name": image.name, "tag": image.tag, } indexfile = templatedir + "/" + layers[0]["id"] + "/index.json" with open(indexfile, "w") as f: f.write(json.dumps(index)) def create_template(self, template, templatedir, connect=None): image = DockerImage.from_template(template) if not self._was_downloaded(image, templatedir): self.download_template(image, template, templatedir) imagelist = self._get_image_list(image, templatedir) imagelist.reverse() parentImage = None for imagetagid in imagelist: templateImage = templatedir + "/" + imagetagid + "/template.qcow2" cmd = ["qemu-img","create","-f","qcow2"] if parentImage is not None: cmd.append("-o") cmd.append("backing_fmt=qcow2,backing_file=%s" % parentImage) cmd.append(templateImage) if parentImage is None: cmd.append("10G") subprocess.check_call(cmd) if parentImage is None: self.format_disk(templateImage, "qcow2", connect) path = templatedir + "/" + imagetagid + "/template." self.extract_tarball(path + "qcow2", "qcow2", path + "tar.gz", connect) parentImage = templateImage def _get_image_list(self, image, templatedir): imageparent = {} imagenames = {} imagedirs = [] try: imagedirs = os.listdir(templatedir) except OSError: pass for imagetagid in imagedirs: indexfile = templatedir + "/" + imagetagid + "/index.json" if os.path.exists(indexfile): with open(indexfile,"r") as f: index = json.load(f) thisimage = DockerImage(index.get("repo"), index["name"], index.get("tag")) imagenames[str(thisimage)] = imagetagid jsonfile = templatedir + "/" + imagetagid + "/template.json" if os.path.exists(jsonfile): with open(jsonfile,"r") as f: data = json.load(f) parent = data.get("parent",None) if parent: imageparent[imagetagid] = parent if str(image) not in imagenames: raise ValueError(["Image %s does not exist locally" % image]) imagetagid = imagenames[str(image)] imagelist = [] while imagetagid != None: imagelist.append(imagetagid) parent = imageparent.get(imagetagid,None) imagetagid = parent return imagelist def delete_template(self, template, templatedir): image = DockerImage.from_template(template) imageusage = {} imageparent = {} imagenames = {} imagedirs = [] try: imagedirs = os.listdir(templatedir) except OSError: pass for imagetagid in imagedirs: indexfile = templatedir + "/" + imagetagid + "/index.json" if os.path.exists(indexfile): with open(indexfile,"r") as f: index = json.load(f) thisimage = DockerImage(index.get("repo"), index["name"], index.get("tag")) imagenames[str(thisimage)] = imagetagid jsonfile = templatedir + "/" + imagetagid + "/template.json" if os.path.exists(jsonfile): with open(jsonfile,"r") as f: data = json.load(f) parent = data.get("parent",None) if parent: if parent not in imageusage: imageusage[parent] = [] imageusage[parent].append(imagetagid) imageparent[imagetagid] = parent if str(image) not in imagenames: raise ValueError(["Image %s does not exist locally" % image]) imagetagid = imagenames[str(image)] while imagetagid != None: debug("Remove %s\n" % imagetagid) parent = imageparent.get(imagetagid,None) indexfile = templatedir + "/" + imagetagid + "/index.json" if os.path.exists(indexfile): os.remove(indexfile) jsonfile = templatedir + "/" + imagetagid + "/template.json" if os.path.exists(jsonfile): os.remove(jsonfile) datafile = templatedir + "/" + imagetagid + "/template.tar.gz" if os.path.exists(datafile): os.remove(datafile) imagedir = templatedir + "/" + imagetagid shutil.rmtree(imagedir) if parent: if len(imageusage[parent]) != 1: debug("Parent %s is shared\n" % parent) parent = None imagetagid = parent def _get_template_data(self, image, templatedir): imageList = self._get_image_list(image, templatedir) toplayer = imageList[0] diskfile = templatedir + "/" + toplayer + "/template.qcow2" configfile = templatedir + "/" + toplayer + "/template.json" return configfile, diskfile def get_disk(self, template, templatedir, imagedir, sandboxname): image = DockerImage.from_template(template) configfile, diskfile = self._get_template_data(image, templatedir) tempfile = imagedir + "/" + sandboxname + ".qcow2" if not os.path.exists(imagedir): os.makedirs(imagedir) cmd = ["qemu-img","create","-q","-f","qcow2"] cmd.append("-o") cmd.append("backing_fmt=qcow2,backing_file=%s" % diskfile) cmd.append(tempfile) subprocess.call(cmd) return tempfile def get_command(self, template, templatedir, userargs): image = DockerImage.from_template(template) configfile, diskfile = self._get_template_data(image, templatedir) configParser = DockerConfParser(configfile) cmd = configParser.getCommand() entrypoint = configParser.getEntrypoint() if entrypoint is None: entrypoint = [] if cmd is None: cmd = [] if userargs is not None and len(userargs) > 0: return entrypoint + userargs else: return entrypoint + cmd def get_env(self, template, templatedir): image = DockerImage.from_template(template) configfile, diskfile = self._get_template_data(image, templatedir) configParser = DockerConfParser(configfile) return configParser.getEnvs() def debug(msg): sys.stderr.write(msg) libvirt-sandbox-0.5.1+git20160404/libvirt-sandbox/image/sources/virtbuilder.py000077500000000000000000000076321275305543100270250ustar00rootroot00000000000000#!/usr/bin/python # # Copyright (C) 2015 SUSE LLC # # This library is free software; you can redistribute it and/or # modify it under the terms of the GNU Lesser General Public # License as published by the Free Software Foundation; either # version 2.1 of the License, or (at your option) any later version. # # This library is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU # Lesser General Public License for more details. # # You should have received a copy of the GNU Lesser General Public # License along with this library; if not, write to the Free Software # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA # # Author: Cedric Bosdonnat # import os import os.path import subprocess from . import base from libvirt_sandbox.image.template import Template class VirtBuilderSource(base.Source): def _get_template_name(self, template): # We shouldn't have '/' in the names, but let's make sure # nobody can try to alter the folders structure later. return template.path[1:].replace('/', '_') def has_template(self, template, templatedir): imagepath = "%s/%s.qcow2" % (templatedir, template.path) return os.path.exists(imagepath) def create_template(self, template, templatedir, connect=None): if not os.path.exists(templatedir): os.makedirs(templatedir) # Get the image using virt-builder templatename = self._get_template_name(template) imagepath_original = "%s/%s-original.qcow2" % (templatedir, templatename) imagepath = "%s/%s.qcow2" % (templatedir, templatename) cmd = ["virt-builder", templatename, "--no-network", "-o", imagepath_original, "--format", "qcow2"] subprocess.check_call(cmd) try: # We need to convert this image into a single partition one. tarfile = "%s/%s.tar" % (templatedir, templatename) cmd = ["virt-tar-out", "-a", imagepath_original, "/", tarfile] subprocess.check_call(cmd) cmd = ["qemu-img", "create", "-q", "-f", "qcow2", imagepath, "10G"] subprocess.check_call(cmd) self.format_disk(imagepath, "qcow2", connect) self.extract_tarball(imagepath, "qcow2", tarfile, connect) finally: os.unlink(imagepath_original) os.unlink(tarfile) def list_templates(self, templatedir): files = [] try: imagefiles = os.listdir(templatedir) except OSError: return [] for filename in imagefiles: if not filename.endswith(".qcow2"): continue files.append(filename[0:-6]) return [ Template(source="virt-builder", protocol=None, hostname=None, port=None, username=None, password=None, path="/%s" % filename, params={}) for filename in files] def delete_template(self, template, templatedir): os.unlink("%s/%s.qcow2" % (templatedir, self._get_template_name(template))) def get_command(self, template, templatedir, userargs): return userargs def get_disk(self,template, templatedir, imagedir, sandboxname): diskfile = "%s/%s.qcow2" % (templatedir, self._get_template_name(template)) tempfile = imagedir + "/" + sandboxname + ".qcow2" if not os.path.exists(imagedir): os.makedirs(imagedir) cmd = ["qemu-img", "create", "-q", "-f", "qcow2", "-o", "backing_fmt=qcow2,backing_file=%s" % diskfile, tempfile] subprocess.check_call(cmd) return tempfile def get_env(self,template, templatedir): return [] libvirt-sandbox-0.5.1+git20160404/libvirt-sandbox/image/template.py000066400000000000000000000101471275305543100246120ustar00rootroot00000000000000# # -*- coding: utf-8 -*- # Authors: Daniel P. Berrange # # Copyright (C) 2015 Red Hat, Inc. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. # import urlparse import importlib import re class Template(object): def __init__(self, source, protocol, hostname, port, username, password, path, params): """ :param source: template source name :param protocol: network transport protocol or None :param hostname: registry hostname or None :param port: registry port or None :param username: username or None :param password: password or None :param path: template path identifier :param params: template parameters docker:///ubuntu docker+https://index.docker.io/ubuntu?tag=latest virt-builder:///fedora-20 """ self.source = source self.protocol = protocol self.hostname = hostname self.port = port self.username = username self.password = password self.path = path self.params = params if self.params is None: self.params = {} @classmethod def _get_source_impl(klass, source): try: p = re.compile("\W") sourcemod = "".join(p.split(source)) sourcename = "".join([i.capitalize() for i in p.split(source)]) mod = importlib.import_module( "libvirt_sandbox.image.sources." + sourcemod) classname = sourcename + "Source" classimpl = getattr(mod, classname) return classimpl() except Exception as e: print e raise Exception("Invalid source: '%s'" % source) def get_source_impl(self): if self.source == "": raise Exception("Missing scheme in image URI") return self._get_source_impl(self.source) def __repr__(self): if self.protocol is not None: scheme = self.source + "+" + self.protocol else: scheme = self.source if self.hostname: if self.port: netloc = "%s:%d" % (self.hostname, self.port) else: netloc = self.hostname if self.username: if self.password: auth = self.username + ":" + self.password else: auth = self.username netloc = auth + "@" + netloc else: netloc = None query = "&".join([key + "=" + self.params[key] for key in self.params.keys()]) ret = urlparse.urlunparse((scheme, netloc, self.path, None, query, None)) return ret @classmethod def from_uri(klass, uri): o = urlparse.urlparse(uri) idx = o.scheme.find("+") if idx == -1: source = o.scheme protocol = None else: source = o.scheme[0:idx] protocol = o.scheme[idx + 1:] query = {} if o.query is not None and o.query != "": for param in o.query.split("&"): (key, val) = param.split("=") query[key] = val return klass(source, protocol, o.hostname, o.port, o.username, o.password, o.path, query) @classmethod def get_all(klass, source, templatedir): impl = klass._get_source_impl(source) return impl.list_templates(templatedir) libvirt-sandbox-0.5.1+git20160404/libvirt-sandbox/libvirt-sandbox-builder-container.c000066400000000000000000000502331275305543100302220ustar00rootroot00000000000000/* * libvirt-sandbox-builder-container.c: libvirt sandbox configuration * * Copyright (C) 2011 Red Hat, Inc. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. * * This library is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA * * Author: Daniel P. Berrange */ #include #include #include #include "libvirt-sandbox/libvirt-sandbox.h" #include "libvirt-sandbox/libvirt-sandbox-builder-private.h" /** * SECTION: libvirt-sandbox-builder-container * @short_description: Sandbox container construction * @include: libvirt-sandbox/libvirt-sandbox.h * @see_also: #GVirSandboxBuilder, #GVirSandboxBuilderMachine * * Provides an object for creating sandboxes using container virtualization * * The GVirSandboxBuilderContainer object provides a way to builder sandboxes * using OS container virtualization technologies such as LXC. */ #define GVIR_SANDBOX_BUILDER_CONTAINER_GET_PRIVATE(obj) \ (G_TYPE_INSTANCE_GET_PRIVATE((obj), GVIR_SANDBOX_TYPE_BUILDER_CONTAINER, GVirSandboxBuilderContainerPrivate)) struct _GVirSandboxBuilderContainerPrivate { gboolean unused; }; G_DEFINE_TYPE(GVirSandboxBuilderContainer, gvir_sandbox_builder_container, GVIR_SANDBOX_TYPE_BUILDER); enum { PROP_0, }; enum { LAST_SIGNAL }; //static gint signals[LAST_SIGNAL]; #if 0 #define GVIR_SANDBOX_BUILDER_CONTAINER_ERROR gvir_sandbox_builder_container_error_quark() static GQuark gvir_sandbox_builder_container_error_quark(void) { return g_quark_from_static_string("gvir-sandbox-builder-container"); } #endif static void gvir_sandbox_builder_container_get_property(GObject *object, guint prop_id, GValue *value G_GNUC_UNUSED, GParamSpec *pspec) { #if 0 GVirSandboxBuilderContainer *builder = GVIR_SANDBOX_BUILDER_CONTAINER(object); GVirSandboxBuilderContainerPrivate *priv = builder->priv; #endif switch (prop_id) { default: G_OBJECT_WARN_INVALID_PROPERTY_ID(object, prop_id, pspec); } } static void gvir_sandbox_builder_container_set_property(GObject *object, guint prop_id, const GValue *value G_GNUC_UNUSED, GParamSpec *pspec) { #if 0 GVirSandboxBuilderContainer *builder = GVIR_SANDBOX_BUILDER_CONTAINER(object); GVirSandboxBuilderContainerPrivate *priv = builder->priv; #endif switch (prop_id) { default: G_OBJECT_WARN_INVALID_PROPERTY_ID(object, prop_id, pspec); } } static void gvir_sandbox_builder_container_finalize(GObject *object) { #if 0 GVirSandboxBuilderContainer *builder = GVIR_SANDBOX_BUILDER_CONTAINER(object); GVirSandboxBuilderContainerPrivate *priv = builder->priv; #endif G_OBJECT_CLASS(gvir_sandbox_builder_container_parent_class)->finalize(object); } static gchar *gvir_sandbox_builder_container_cmdline(GVirSandboxConfig *config G_GNUC_UNUSED) { GString *str = g_string_new(""); gchar *ret; gchar *tmp; /* Now kernel args */ if (getenv("LIBVIRT_SANDBOX_INIT_DEBUG")) g_string_append(str, "debug"); if ((tmp = getenv("LIBVIRT_SANDBOX_STRACE"))) { g_string_append(str, " strace="); g_string_append(str, tmp); } ret = str->str; g_string_free(str, FALSE); return ret; } static gboolean gvir_sandbox_builder_container_construct_basic(GVirSandboxBuilder *builder, GVirSandboxConfig *config, const gchar *statedir, GVirConfigDomain *domain, GError **error) { gchar **features; if (!GVIR_SANDBOX_BUILDER_CLASS(gvir_sandbox_builder_container_parent_class)-> construct_basic(builder, config, statedir, domain, error)) return FALSE; gvir_config_domain_set_virt_type(domain, GVIR_CONFIG_DOMAIN_VIRT_LXC); features = g_new0(gchar *, 2); features[0] = g_strdup("privnet"); gvir_config_domain_set_features(domain, features); g_strfreev(features); return TRUE; } static gboolean gvir_sandbox_builder_container_construct_os(GVirSandboxBuilder *builder, GVirSandboxConfig *config, const gchar *statedir, GVirConfigDomain *domain, GError **error) { gchar *cmdline = NULL; GVirConfigDomainOs *os; if (!GVIR_SANDBOX_BUILDER_CLASS(gvir_sandbox_builder_container_parent_class)-> construct_os(builder, config, statedir, domain, error)) return FALSE; cmdline = gvir_sandbox_builder_container_cmdline(config); os = gvir_config_domain_os_new(); gvir_config_domain_os_set_os_type(os, GVIR_CONFIG_DOMAIN_OS_TYPE_EXE); gvir_config_domain_os_set_arch(os, gvir_sandbox_config_get_arch(config)); gvir_config_domain_os_set_init(os, SANDBOXCONFIGDIR "/.libs/libvirt-sandbox-init-lxc"); gvir_config_domain_os_set_cmdline(os, cmdline); gvir_config_domain_set_os(domain, os); g_free(cmdline); return TRUE; } static gboolean gvir_sandbox_builder_container_construct_features(GVirSandboxBuilder *builder, GVirSandboxConfig *config, const gchar *statedir, GVirConfigDomain *domain, GError **error) { if (!GVIR_SANDBOX_BUILDER_CLASS(gvir_sandbox_builder_container_parent_class)-> construct_features(builder, config, statedir, domain, error)) return FALSE; return TRUE; } static gboolean gvir_sandbox_builder_container_construct_devices(GVirSandboxBuilder *builder, GVirSandboxConfig *config, const gchar *statedir, GVirConfigDomain *domain, GError **error) { GVirConfigDomainFilesys *fs; GVirConfigDomainInterfaceNetwork *iface; GVirConfigDomainConsole *con; GVirConfigDomainChardevSourcePty *src; GVirConfigDomainDisk *disk; GVirConfigDomainDiskDriver *diskDriver; GList *tmp = NULL, *mounts = NULL, *networks = NULL, *disks = NULL; gchar *configdir = g_strdup_printf("%s/config", statedir); gboolean ret = FALSE; size_t nVirtioDev = 0; if (!GVIR_SANDBOX_BUILDER_CLASS(gvir_sandbox_builder_container_parent_class)-> construct_devices(builder, config, statedir, domain, error)) goto cleanup; tmp = disks = gvir_sandbox_config_get_disks(config); while (tmp) { GVirSandboxConfigDisk *dconfig = GVIR_SANDBOX_CONFIG_DISK(tmp->data); if (GVIR_SANDBOX_IS_CONFIG_DISK(dconfig)) { gchar *device = g_strdup_printf("sd%c", (char)('a' + nVirtioDev++)); disk = gvir_config_domain_disk_new(); diskDriver = gvir_config_domain_disk_driver_new(); gvir_config_domain_disk_set_type(disk, gvir_sandbox_config_disk_get_disk_type(dconfig)); gvir_config_domain_disk_driver_set_format(diskDriver, gvir_sandbox_config_disk_get_format(dconfig)); gvir_config_domain_disk_set_source(disk, gvir_sandbox_config_disk_get_source(dconfig)); gvir_config_domain_disk_set_target_dev(disk, device); gvir_config_domain_disk_set_driver(disk, diskDriver); gvir_config_domain_add_device(domain, GVIR_CONFIG_DOMAIN_DEVICE(disk)); g_object_unref(disk); } tmp = tmp->next; } g_list_foreach(disks, (GFunc)g_object_unref, NULL); g_list_free(disks); if (!gvir_sandbox_config_has_root_mount(config)) { fs = gvir_config_domain_filesys_new(); gvir_config_domain_filesys_set_type(fs, GVIR_CONFIG_DOMAIN_FILESYS_MOUNT); gvir_config_domain_filesys_set_access_type(fs, GVIR_CONFIG_DOMAIN_FILESYS_ACCESS_PASSTHROUGH); gvir_config_domain_filesys_set_source(fs, gvir_sandbox_config_get_root(config)); gvir_config_domain_filesys_set_target(fs, "/"); gvir_config_domain_filesys_set_readonly(fs, TRUE); gvir_config_domain_add_device(domain, GVIR_CONFIG_DOMAIN_DEVICE(fs)); g_object_unref(fs); } fs = gvir_config_domain_filesys_new(); gvir_config_domain_filesys_set_type(fs, GVIR_CONFIG_DOMAIN_FILESYS_MOUNT); gvir_config_domain_filesys_set_access_type(fs, GVIR_CONFIG_DOMAIN_FILESYS_ACCESS_PASSTHROUGH); gvir_config_domain_filesys_set_source(fs, configdir); gvir_config_domain_filesys_set_target(fs, SANDBOXCONFIGDIR); gvir_config_domain_filesys_set_readonly(fs, TRUE); gvir_config_domain_add_device(domain, GVIR_CONFIG_DOMAIN_DEVICE(fs)); g_object_unref(fs); tmp = mounts = gvir_sandbox_config_get_mounts(config); while (tmp) { GVirSandboxConfigMount *mconfig = GVIR_SANDBOX_CONFIG_MOUNT(tmp->data); if (GVIR_SANDBOX_IS_CONFIG_MOUNT_HOST_BIND(mconfig)) { GVirSandboxConfigMountFile *mfile = GVIR_SANDBOX_CONFIG_MOUNT_FILE(mconfig); fs = gvir_config_domain_filesys_new(); gvir_config_domain_filesys_set_type(fs, GVIR_CONFIG_DOMAIN_FILESYS_MOUNT); gvir_config_domain_filesys_set_access_type(fs, GVIR_CONFIG_DOMAIN_FILESYS_ACCESS_PASSTHROUGH); gvir_config_domain_filesys_set_source(fs, gvir_sandbox_config_mount_file_get_source(mfile)); gvir_config_domain_filesys_set_target(fs, gvir_sandbox_config_mount_get_target(mconfig)); gvir_config_domain_add_device(domain, GVIR_CONFIG_DOMAIN_DEVICE(fs)); g_object_unref(fs); } else if (GVIR_SANDBOX_IS_CONFIG_MOUNT_HOST_IMAGE(mconfig)) { GVirSandboxConfigMountFile *mfile = GVIR_SANDBOX_CONFIG_MOUNT_FILE(mconfig); GVirSandboxConfigMountHostImage *mimage = GVIR_SANDBOX_CONFIG_MOUNT_HOST_IMAGE(mconfig); GVirConfigDomainDiskFormat format; GVirConfigDomainFilesysDriverType type = GVIR_CONFIG_DOMAIN_FILESYS_DRIVER_LOOP; fs = gvir_config_domain_filesys_new(); gvir_config_domain_filesys_set_type(fs, GVIR_CONFIG_DOMAIN_FILESYS_FILE); gvir_config_domain_filesys_set_access_type(fs, GVIR_CONFIG_DOMAIN_FILESYS_ACCESS_PASSTHROUGH); gvir_config_domain_filesys_set_source(fs, gvir_sandbox_config_mount_file_get_source(mfile)); gvir_config_domain_filesys_set_target(fs, gvir_sandbox_config_mount_get_target(mconfig)); format = gvir_sandbox_config_mount_host_image_get_format(mimage); if (format != GVIR_CONFIG_DOMAIN_DISK_FORMAT_RAW) type = GVIR_CONFIG_DOMAIN_FILESYS_DRIVER_NBD; gvir_config_domain_filesys_set_driver_type(fs, type); gvir_config_domain_filesys_set_driver_format(fs, format); gvir_config_domain_add_device(domain, GVIR_CONFIG_DOMAIN_DEVICE(fs)); g_object_unref(fs); } else if (GVIR_SANDBOX_IS_CONFIG_MOUNT_GUEST_BIND(mconfig)) { GVirSandboxConfigMountFile *mfile = GVIR_SANDBOX_CONFIG_MOUNT_FILE(mconfig); fs = gvir_config_domain_filesys_new(); gvir_config_domain_filesys_set_type(fs, GVIR_CONFIG_DOMAIN_FILESYS_BIND); gvir_config_domain_filesys_set_access_type(fs, GVIR_CONFIG_DOMAIN_FILESYS_ACCESS_PASSTHROUGH); gvir_config_domain_filesys_set_source(fs, gvir_sandbox_config_mount_file_get_source(mfile)); gvir_config_domain_filesys_set_target(fs, gvir_sandbox_config_mount_get_target(mconfig)); gvir_config_domain_add_device(domain, GVIR_CONFIG_DOMAIN_DEVICE(fs)); g_object_unref(fs); } else if (GVIR_SANDBOX_IS_CONFIG_MOUNT_RAM(mconfig)) { GVirSandboxConfigMountRam *mram = GVIR_SANDBOX_CONFIG_MOUNT_RAM(mconfig); fs = gvir_config_domain_filesys_new(); gvir_config_domain_filesys_set_type(fs, GVIR_CONFIG_DOMAIN_FILESYS_RAM); gvir_config_domain_filesys_set_access_type(fs, GVIR_CONFIG_DOMAIN_FILESYS_ACCESS_PASSTHROUGH); gvir_config_domain_filesys_set_ram_usage(fs, gvir_sandbox_config_mount_ram_get_usage(mram)); gvir_config_domain_filesys_set_target(fs, gvir_sandbox_config_mount_get_target(mconfig)); gvir_config_domain_add_device(domain, GVIR_CONFIG_DOMAIN_DEVICE(fs)); g_object_unref(fs); } tmp = tmp->next; } g_list_foreach(mounts, (GFunc)g_object_unref, NULL); g_list_free(mounts); tmp = networks = gvir_sandbox_config_get_networks(config); while (tmp) { const gchar *source, *mac; GVirSandboxConfigNetwork *network = GVIR_SANDBOX_CONFIG_NETWORK(tmp->data); GVirSandboxConfigNetworkFilterref *filterref; iface = gvir_config_domain_interface_network_new(); source = gvir_sandbox_config_network_get_source(network); if (source) gvir_config_domain_interface_network_set_source(iface, source); else gvir_config_domain_interface_network_set_source(iface, "default"); mac = gvir_sandbox_config_network_get_mac(network); if (mac) gvir_config_domain_interface_set_mac(GVIR_CONFIG_DOMAIN_INTERFACE(iface), mac); gvir_config_domain_add_device(domain, GVIR_CONFIG_DOMAIN_DEVICE(iface)); filterref = gvir_sandbox_config_network_get_filterref(network); if (filterref) { gvir_sandbox_builder_set_filterref(builder, GVIR_CONFIG_DOMAIN_INTERFACE(iface), filterref); } g_object_unref(iface); tmp = tmp->next; } g_list_foreach(networks, (GFunc)g_object_unref, NULL); g_list_free(networks); /* The first console is for debug messages from stdout/err of the guest init/kernel */ src = gvir_config_domain_chardev_source_pty_new(); con = gvir_config_domain_console_new(); gvir_config_domain_chardev_set_source(GVIR_CONFIG_DOMAIN_CHARDEV(con), GVIR_CONFIG_DOMAIN_CHARDEV_SOURCE(src)); gvir_config_domain_add_device(domain, GVIR_CONFIG_DOMAIN_DEVICE(con)); g_object_unref(con); /* Optional second console is for a interactive shell (useful for * troubleshooting stuff */ if (gvir_sandbox_config_get_shell(config)) { src = gvir_config_domain_chardev_source_pty_new(); con = gvir_config_domain_console_new(); gvir_config_domain_chardev_set_source(GVIR_CONFIG_DOMAIN_CHARDEV(con), GVIR_CONFIG_DOMAIN_CHARDEV_SOURCE(src)); gvir_config_domain_add_device(domain, GVIR_CONFIG_DOMAIN_DEVICE(con)); g_object_unref(con); } if (GVIR_SANDBOX_IS_CONFIG_INTERACTIVE(config)) { /* The third console is for stdio of the sandboxed app */ src = gvir_config_domain_chardev_source_pty_new(); con = gvir_config_domain_console_new(); gvir_config_domain_chardev_set_source(GVIR_CONFIG_DOMAIN_CHARDEV(con), GVIR_CONFIG_DOMAIN_CHARDEV_SOURCE(src)); gvir_config_domain_add_device(domain, GVIR_CONFIG_DOMAIN_DEVICE(con)); g_object_unref(con); } ret = TRUE; cleanup: g_free(configdir); return ret; } static const gchar *gvir_sandbox_builder_container_get_disk_prefix(GVirSandboxBuilder *builder, GVirSandboxConfig *config G_GNUC_UNUSED, GVirSandboxConfigDisk *disk G_GNUC_UNUSED) { return "sd"; } static GList *gvir_sandbox_builder_container_get_files_to_copy(GVirSandboxBuilder *builder, GVirSandboxConfig *config G_GNUC_UNUSED) { GList * tocopy = GVIR_SANDBOX_BUILDER_CLASS(gvir_sandbox_builder_container_parent_class)-> get_files_to_copy(builder, config); gchar *file = g_strdup_printf("%s/libvirt-sandbox-init-lxc", LIBEXECDIR); return g_list_append(tocopy, file); } static void gvir_sandbox_builder_container_class_init(GVirSandboxBuilderContainerClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS(klass); GVirSandboxBuilderClass *builder_class = GVIR_SANDBOX_BUILDER_CLASS(klass); object_class->finalize = gvir_sandbox_builder_container_finalize; object_class->get_property = gvir_sandbox_builder_container_get_property; object_class->set_property = gvir_sandbox_builder_container_set_property; builder_class->construct_basic = gvir_sandbox_builder_container_construct_basic; builder_class->construct_os = gvir_sandbox_builder_container_construct_os; builder_class->construct_features = gvir_sandbox_builder_container_construct_features; builder_class->construct_devices = gvir_sandbox_builder_container_construct_devices; builder_class->get_disk_prefix = gvir_sandbox_builder_container_get_disk_prefix; builder_class->get_files_to_copy = gvir_sandbox_builder_container_get_files_to_copy; g_type_class_add_private(klass, sizeof(GVirSandboxBuilderContainerPrivate)); } static void gvir_sandbox_builder_container_init(GVirSandboxBuilderContainer *builder) { builder->priv = GVIR_SANDBOX_BUILDER_CONTAINER_GET_PRIVATE(builder); } /** * gvir_sandbox_builder_container_new: * @connection: (transfer none): the connection * * Create a new pplication sandbox builder for containers * * Returns: (transfer full): a new sandbox builder object */ GVirSandboxBuilderContainer *gvir_sandbox_builder_container_new(GVirConnection *connection) { return GVIR_SANDBOX_BUILDER_CONTAINER(g_object_new(GVIR_SANDBOX_TYPE_BUILDER_CONTAINER, "connection", connection, NULL)); } /* * Local variables: * c-indent-level: 4 * c-basic-offset: 4 * indent-tabs-mode: nil * tab-width: 8 * End: */ libvirt-sandbox-0.5.1+git20160404/libvirt-sandbox/libvirt-sandbox-builder-container.h000066400000000000000000000055601275305543100302320ustar00rootroot00000000000000/* * libvirt-sandbox-builder-container.h: libvirt sandbox builder for virtual containers * * Copyright (C) 2011 Red Hat, Inc. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. * * This library is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA * * Author: Daniel P. Berrange */ #if !defined(__LIBVIRT_SANDBOX_H__) && !defined(LIBVIRT_SANDBOX_BUILD) #error "Only can be included directly." #endif #ifndef __LIBVIRT_SANDBOX_BUILDER_CONTAINER_H__ #define __LIBVIRT_SANDBOX_BUILDER_CONTAINER_H__ G_BEGIN_DECLS #define GVIR_SANDBOX_TYPE_BUILDER_CONTAINER (gvir_sandbox_builder_container_get_type ()) #define GVIR_SANDBOX_BUILDER_CONTAINER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GVIR_SANDBOX_TYPE_BUILDER_CONTAINER, GVirSandboxBuilderContainer)) #define GVIR_SANDBOX_BUILDER_CONTAINER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GVIR_SANDBOX_TYPE_BUILDER_CONTAINER, GVirSandboxBuilderContainerClass)) #define GVIR_SANDBOX_IS_BUILDER_CONTAINER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GVIR_SANDBOX_TYPE_BUILDER_CONTAINER)) #define GVIR_SANDBOX_IS_BUILDER_CONTAINER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GVIR_SANDBOX_TYPE_BUILDER_CONTAINER)) #define GVIR_SANDBOX_BUILDER_CONTAINER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GVIR_SANDBOX_TYPE_BUILDER_CONTAINER, GVirSandboxBuilderContainerClass)) typedef struct _GVirSandboxBuilderContainer GVirSandboxBuilderContainer; typedef struct _GVirSandboxBuilderContainerPrivate GVirSandboxBuilderContainerPrivate; typedef struct _GVirSandboxBuilderContainerClass GVirSandboxBuilderContainerClass; struct _GVirSandboxBuilderContainer { GVirSandboxBuilder parent; GVirSandboxBuilderContainerPrivate *priv; /* Do not add fields to this struct */ }; struct _GVirSandboxBuilderContainerClass { GVirSandboxBuilderClass parent_class; gpointer padding[LIBVIRT_SANDBOX_CLASS_PADDING]; }; GType gvir_sandbox_builder_container_get_type(void); GVirSandboxBuilderContainer *gvir_sandbox_builder_container_new(GVirConnection *connection); G_END_DECLS #endif /* __LIBVIRT_SANDBOX_BUILDER_CONTAINER_H__ */ /* * Local variables: * c-indent-level: 4 * c-basic-offset: 4 * indent-tabs-mode: nil * tab-width: 8 * End: */ libvirt-sandbox-0.5.1+git20160404/libvirt-sandbox/libvirt-sandbox-builder-initrd.c000066400000000000000000000406321275305543100275330ustar00rootroot00000000000000/* * libvirt-sandbox-builder-initrd.c: libvirt sandbox configuration * * Copyright (C) 2011 Red Hat, Inc. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. * * This library is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA * * Author: Daniel P. Berrange */ #include #include #include #include #include #include #include "libvirt-sandbox/libvirt-sandbox.h" /** * SECTION: libvirt-sandbox-builder-initrd * @short_description: Kernel ramdisk construction * @include: libvirt-sandbox/libvirt-sandbox.h * @see_also: #GVirSandboxBuilderMachine, #GVirSandboxConfigInitrd * * Provides an object for constructing kernel ramdisks * * The GVirSandboxBuilderInitrd object provides the support * required to dynically creat minimal footprint kernel * ramdisks for booting virtual machine based sandboxes. */ #define GVIR_SANDBOX_BUILDER_INITRD_GET_PRIVATE(obj) \ (G_TYPE_INSTANCE_GET_PRIVATE((obj), GVIR_SANDBOX_TYPE_BUILDER_INITRD, GVirSandboxBuilderInitrdPrivate)) struct _GVirSandboxBuilderInitrdPrivate { gboolean unused; }; G_DEFINE_TYPE(GVirSandboxBuilderInitrd, gvir_sandbox_builder_initrd, G_TYPE_OBJECT); enum { PROP_0, }; enum { LAST_SIGNAL }; //static gint signals[LAST_SIGNAL]; #define GVIR_SANDBOX_BUILDER_INITRD_ERROR gvir_sandbox_builder_initrd_error_quark() static GQuark gvir_sandbox_builder_initrd_error_quark(void) { return g_quark_from_static_string("gvir-sandbox-builder-initrd"); } static void gvir_sandbox_builder_initrd_get_property(GObject *object, guint prop_id, GValue *value G_GNUC_UNUSED, GParamSpec *pspec) { #if 0 GVirSandboxBuilderInitrd *builder = GVIR_SANDBOX_BUILDER_INITRD(object); GVirSandboxBuilderInitrdPrivate *priv = builder->priv; #endif switch (prop_id) { default: G_OBJECT_WARN_INVALID_PROPERTY_ID(object, prop_id, pspec); } } static void gvir_sandbox_builder_initrd_set_property(GObject *object, guint prop_id, const GValue *value G_GNUC_UNUSED, GParamSpec *pspec) { #if 0 GVirSandboxBuilderInitrd *builder = GVIR_SANDBOX_BUILDER_INITRD(object); GVirSandboxBuilderInitrdPrivate *priv = builder->priv; #endif switch (prop_id) { default: G_OBJECT_WARN_INVALID_PROPERTY_ID(object, prop_id, pspec); } } static void gvir_sandbox_builder_initrd_finalize(GObject *object) { #if 0 GVirSandboxBuilderInitrd *builder = GVIR_SANDBOX_BUILDER_INITRD(object); GVirSandboxBuilderInitrdPrivate *priv = builder->priv; #endif G_OBJECT_CLASS(gvir_sandbox_builder_initrd_parent_class)->finalize(object); } static void gvir_sandbox_builder_initrd_class_init(GVirSandboxBuilderInitrdClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS(klass); object_class->finalize = gvir_sandbox_builder_initrd_finalize; object_class->get_property = gvir_sandbox_builder_initrd_get_property; object_class->set_property = gvir_sandbox_builder_initrd_set_property; g_type_class_add_private(klass, sizeof(GVirSandboxBuilderInitrdPrivate)); } static void gvir_sandbox_builder_initrd_init(GVirSandboxBuilderInitrd *builder) { builder->priv = GVIR_SANDBOX_BUILDER_INITRD_GET_PRIVATE(builder); } /** * gvir_sandbox_builder_initrd_new: * * Create a new initrd builder * * Returns: (transfer full): a new sandbox builder object */ GVirSandboxBuilderInitrd *gvir_sandbox_builder_initrd_new(void) { return GVIR_SANDBOX_BUILDER_INITRD(g_object_new(GVIR_SANDBOX_TYPE_BUILDER_INITRD, NULL)); } static gchar *gvir_sandbox_builder_initrd_create_tempdir(GError **error) { gchar *tmpl = NULL; gchar *dir = NULL; const gchar *tmpdir = getenv("TEMPDIR"); if (!tmpdir) tmpdir = "/tmp"; if (!(tmpl = g_strdup_printf("%s/libvirt-sandbox-XXXXXX", tmpdir))) goto cleanup; dir = mkdtemp(tmpl); if (!dir) { g_set_error(error, GVIR_SANDBOX_BUILDER_INITRD_ERROR, errno, _("Unable to create temporary directory %s: %s"), tmpl, strerror(errno)); goto cleanup; } cleanup: return dir; } static gboolean gvir_sandbox_builder_initrd_copy_file(const gchar *srcpath, const gchar *tgtdir, const gchar *tgtname, GError **error) { gchar *tgtpath = g_strdup_printf("%s/%s", tgtdir, tgtname); GFile *tgt = g_file_new_for_path(tgtpath); GFile *src = g_file_new_for_path(srcpath); gboolean ret = FALSE; g_free(tgtpath); if (!g_file_copy(src, tgt, 0, NULL, NULL, NULL, error)) goto cleanup; ret = TRUE; cleanup: g_object_unref(tgt); g_object_unref(src); return ret; } #define FIND_USING_GIO #ifdef FIND_USING_GIO static GList *gvir_sandbox_builder_initrd_find_files(GList *modnames, GFile *dir, GError **error) { GFileEnumerator *children; GFileInfo *childinfo; GList *modfiles = NULL; if (!g_file_query_exists(dir, NULL)) { g_set_error(error, GVIR_SANDBOX_BUILDER_INITRD_ERROR, 0, _("Kernel module dir %s does not exist"), g_file_get_path(dir)); return NULL; } if (!(children = g_file_enumerate_children(dir, "standard::name,standard::type", G_FILE_QUERY_INFO_NONE, NULL, error))) return NULL; while ((childinfo = g_file_enumerator_next_file(children, NULL, error)) != NULL) { const gchar *thisname = g_file_info_get_name(childinfo); GFile *child = g_file_get_child(dir, thisname); if (strstr(thisname, ".ko")) { GList *tmp = modnames; while (tmp) { if (g_str_has_prefix(thisname, tmp->data)) { modfiles = g_list_append(modfiles, child); child = NULL; } tmp = tmp->next; } } else if (g_file_info_get_file_type(childinfo) == G_FILE_TYPE_DIRECTORY) { GList *newmodfiles = gvir_sandbox_builder_initrd_find_files(modnames, child, error); GList *tmp = newmodfiles; while (tmp) { modfiles = g_list_append(modfiles, tmp->data); tmp = tmp->next; } g_list_free(newmodfiles); if (*error) goto cleanup; } if (child) g_object_unref(child); g_object_unref(childinfo); } cleanup: if (*error) { g_list_foreach(modfiles, (GFunc)g_object_unref, NULL); g_list_free(modfiles); modfiles = NULL; } g_object_unref(children); return modfiles; } #else static GList *gvir_sandbox_builder_initrd_find_files(GList *modnames, GFile *dir, GError **error) { DIR *dh = opendir(g_file_get_path(dir)); if (!dh) { g_set_error(error, GVIR_SANDBOX_BUILDER_INITRD_ERROR, 0, _("Unable to read entries in %s: %s"), g_file_get_path(dir), strerror(errno)); return NULL; } struct dirent *de; GList *modfiles = NULL; while ((de = readdir(dh)) != NULL) { gchar *childpath; GFile *child; if (de->d_name[0] == '.') continue; childpath = g_strdup_printf("%s/%s", g_file_get_path(dir), de->d_name); child = g_file_new_for_path(childpath); g_free(childpath); if (strstr(de->d_name, ".ko")) { GList *tmp = modnames; while (tmp) { if (g_str_has_prefix(de->d_name, tmp->data)) { modfiles = g_list_append(modfiles, child); child = NULL; } tmp = tmp->next; } } else { struct stat sb; if (stat(g_file_get_path(child), &sb) < 0) { g_set_error(error, GVIR_SANDBOX_BUILDER_INITRD_ERROR, 0, _("Unable to access %s: %s"), g_file_get_path(child) , strerror(errno)); g_object_unref(child); goto cleanup; } if (S_ISDIR(sb.st_mode)) { GList *newmodfiles = gvir_sandbox_builder_initrd_find_files(modnames, child, error); GList *tmp = newmodfiles; while (tmp) { modfiles = g_list_append(modfiles, tmp->data); tmp = tmp->next; } g_list_free(newmodfiles); if (*error) goto cleanup; } } if (child) g_object_unref(child); } cleanup: if (*error) { g_list_foreach(modfiles, (GFunc)g_object_unref, NULL); g_list_free(modfiles); modfiles = NULL; } closedir(dh); return modfiles; } #endif static GList *gvir_sandbox_builder_initrd_find_modules(GList *modnames, GVirSandboxConfigInitrd *config, GError **error) { gchar *moddirpath = g_strdup_printf("%s", gvir_sandbox_config_initrd_get_kmoddir(config)); GFile *moddir = g_file_new_for_path(moddirpath); GList *modfiles = gvir_sandbox_builder_initrd_find_files(modnames, moddir, error); g_free(moddirpath); g_object_unref(moddir); return modfiles; } static gboolean gvir_sandbox_builder_initrd_populate_tmpdir(const gchar *tmpdir, GVirSandboxConfigInitrd *config, GError **error) { gboolean ret = FALSE; GList *modnames = NULL; GList *modfiles = NULL; GList *tmp; GFile *modlist = NULL; gchar *modlistpath = NULL; GOutputStream *modlistos = NULL; if (!gvir_sandbox_builder_initrd_copy_file( gvir_sandbox_config_initrd_get_init(config), tmpdir, "init", error)) return FALSE; modnames = gvir_sandbox_config_initrd_get_modules(config); modfiles = gvir_sandbox_builder_initrd_find_modules(modnames, config, error); if (*error) goto cleanup; tmp = modfiles; while (tmp) { const gchar *basename = g_file_get_basename(tmp->data); gchar *tgt = g_strdup_printf("%s/%s", tmpdir, basename); GFile *file = g_file_new_for_path(tgt); g_free(tgt); if (!g_file_copy(tmp->data, file, 0, NULL, NULL, NULL, error)) { g_object_unref(file); goto cleanup; } g_object_unref(file); tmp = tmp->next; } modlistpath = g_strdup_printf("%s/modules", tmpdir); modlist = g_file_new_for_path(modlistpath); if (!(modlistos = G_OUTPUT_STREAM(g_file_create(modlist, G_FILE_CREATE_NONE, NULL, error)))) goto cleanup; tmp = modnames; while (tmp) { GList *files = modfiles; while (files) { const gchar *basename = g_file_get_basename(files->data); if (g_str_has_prefix(basename, tmp->data)) { if (!g_output_stream_write_all(modlistos, basename, strlen(basename), NULL, NULL, error)) goto cleanup; if (!g_output_stream_write_all(modlistos, "\n", 1, NULL, NULL, error)) goto cleanup; break; } files = files->next; } tmp = tmp->next; } if (!g_output_stream_close(modlistos, NULL, error)) goto cleanup; ret = TRUE; cleanup: g_list_foreach(modfiles, (GFunc)g_object_unref, NULL); g_list_free(modfiles); g_list_free(modnames); g_free(modlistpath); if (modlist) g_object_unref(modlist); if (modlistos) g_object_unref(modlistos); return ret; } static gboolean gvir_sandbox_builder_initrd_create_initrd(const gchar *tmpdir, const gchar *outputfile, GError **error) { gboolean ret = FALSE; gchar *src = g_shell_quote(tmpdir); gchar *tgt = g_shell_quote(outputfile); gchar *cmd = g_strdup_printf( "/bin/sh -c \"(cd %s && ( find | cpio --quiet -o -H newc | gzip -9 ) ) > %s\"", src, tgt); if (!g_spawn_command_line_sync(cmd, NULL, NULL, NULL, error)) goto cleanup; ret = TRUE; cleanup: g_free(src); g_free(tgt); g_free(cmd); return ret; } static gboolean gvir_sandbox_builder_initrd_remove_tmpdir(const gchar *tmpdir, GError **error) { GFile *dir = g_file_new_for_path(tmpdir); GFileEnumerator *children = g_file_enumerate_children(dir, "standard::name", G_FILE_QUERY_INFO_NONE, NULL, error); GFileInfo *childinfo; gboolean ret = FALSE; if (!children) goto cleanup; while ((childinfo = g_file_enumerator_next_file(children, NULL, error)) != NULL) { GFile *file = g_file_get_child(dir, g_file_info_get_name(childinfo)); g_file_delete(file, NULL, error && !*error ? error : NULL); g_object_unref(childinfo); } if (error && *error) goto cleanup; ret = TRUE; cleanup: g_file_delete(dir, NULL, error && !*error ? error : NULL); g_object_unref(dir); g_object_unref(children); return ret; } gboolean gvir_sandbox_builder_initrd_construct(GVirSandboxBuilderInitrd *builder G_GNUC_UNUSED, GVirSandboxConfigInitrd *config, gchar *outputfile, GError **error) { gchar *tmpdir = NULL; gboolean ret = FALSE; GFile *tgt = g_file_new_for_path(outputfile); mode_t mask; mask = umask(0077); if (!(tmpdir = gvir_sandbox_builder_initrd_create_tempdir(error))) goto cleanup; if (!gvir_sandbox_builder_initrd_populate_tmpdir(tmpdir, config, error)) goto cleanup; if (!gvir_sandbox_builder_initrd_create_initrd(tmpdir, outputfile, error)) goto cleanup; ret = TRUE; cleanup: if (tmpdir && !gvir_sandbox_builder_initrd_remove_tmpdir(tmpdir, ret ? error : NULL)) ret = FALSE; if (!ret && tgt) g_file_delete(tgt, NULL, NULL); umask(mask); return ret; } /* * Local variables: * c-indent-level: 4 * c-basic-offset: 4 * indent-tabs-mode: nil * tab-width: 8 * End: */ libvirt-sandbox-0.5.1+git20160404/libvirt-sandbox/libvirt-sandbox-builder-initrd.h000066400000000000000000000060111275305543100275310ustar00rootroot00000000000000/* * libvirt-sandbox-builder-initrd.h: libvirt sandbox builder for virtual initrds * * Copyright (C) 2011 Red Hat, Inc. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. * * This library is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA * * Author: Daniel P. Berrange */ #if !defined(__LIBVIRT_SANDBOX_H__) && !defined(LIBVIRT_SANDBOX_BUILD) #error "Only can be included directly." #endif #ifndef __LIBVIRT_SANDBOX_BUILDER_INITRD_H__ #define __LIBVIRT_SANDBOX_BUILDER_INITRD_H__ G_BEGIN_DECLS #define GVIR_SANDBOX_TYPE_BUILDER_INITRD (gvir_sandbox_builder_initrd_get_type ()) #define GVIR_SANDBOX_BUILDER_INITRD(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GVIR_SANDBOX_TYPE_BUILDER_INITRD, GVirSandboxBuilderInitrd)) #define GVIR_SANDBOX_BUILDER_INITRD_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GVIR_SANDBOX_TYPE_BUILDER_INITRD, GVirSandboxBuilderInitrdClass)) #define GVIR_SANDBOX_IS_BUILDER_INITRD(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GVIR_SANDBOX_TYPE_BUILDER_INITRD)) #define GVIR_SANDBOX_IS_BUILDER_INITRD_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GVIR_SANDBOX_TYPE_BUILDER_INITRD)) #define GVIR_SANDBOX_BUILDER_INITRD_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GVIR_SANDBOX_TYPE_BUILDER_INITRD, GVirSandboxBuilderInitrdClass)) typedef struct _GVirSandboxBuilderInitrd GVirSandboxBuilderInitrd; typedef struct _GVirSandboxBuilderInitrdPrivate GVirSandboxBuilderInitrdPrivate; typedef struct _GVirSandboxBuilderInitrdClass GVirSandboxBuilderInitrdClass; struct _GVirSandboxBuilderInitrd { GObject parent; GVirSandboxBuilderInitrdPrivate *priv; /* Do not add fields to this struct */ }; struct _GVirSandboxBuilderInitrdClass { GObjectClass parent_class; gpointer padding[LIBVIRT_SANDBOX_CLASS_PADDING]; }; GType gvir_sandbox_builder_initrd_get_type(void); GVirSandboxBuilderInitrd *gvir_sandbox_builder_initrd_new(void); gboolean gvir_sandbox_builder_initrd_construct(GVirSandboxBuilderInitrd *builder, GVirSandboxConfigInitrd *config, gchar *outputfile, GError **error); G_END_DECLS #endif /* __LIBVIRT_SANDBOX_BUILDER_INITRD_H__ */ /* * Local variables: * c-indent-level: 4 * c-basic-offset: 4 * indent-tabs-mode: nil * tab-width: 8 * End: */ libvirt-sandbox-0.5.1+git20160404/libvirt-sandbox/libvirt-sandbox-builder-machine.c000066400000000000000000000760551275305543100276560ustar00rootroot00000000000000/* * libvirt-sandbox-builder-machine.c: libvirt sandbox configuration * * Copyright (C) 2011 Red Hat, Inc. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. * * This library is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA * * Author: Daniel P. Berrange */ #include #include #include #include #include #include "libvirt-sandbox/libvirt-sandbox.h" #include "libvirt-sandbox/libvirt-sandbox-builder-private.h" /** * SECTION: libvirt-sandbox-builder-machine * @short_description: Sandbox virtual machine construction * @include: libvirt-sandbox/libvirt-sandbox.h * @see_also: #GVirSandboxBuilder, #GVirSandboxBuilderMachine * * Provides an object for creating sandboxes using machine virtualization * * The GVirSandboxBuilderContainer object provides a way to builder sandboxes * using full machine virtualization technologies such as KVM. */ #define GVIR_SANDBOX_BUILDER_MACHINE_GET_PRIVATE(obj) \ (G_TYPE_INSTANCE_GET_PRIVATE((obj), GVIR_SANDBOX_TYPE_BUILDER_MACHINE, GVirSandboxBuilderMachinePrivate)) struct _GVirSandboxBuilderMachinePrivate { gboolean unused; }; G_DEFINE_TYPE(GVirSandboxBuilderMachine, gvir_sandbox_builder_machine, GVIR_SANDBOX_TYPE_BUILDER); enum { PROP_0, }; enum { LAST_SIGNAL }; //static gint signals[LAST_SIGNAL]; #define GVIR_SANDBOX_BUILDER_MACHINE_ERROR gvir_sandbox_builder_machine_error_quark() static GQuark gvir_sandbox_builder_machine_error_quark(void) { return g_quark_from_static_string("gvir-sandbox-builder-machine"); } static void gvir_sandbox_builder_machine_get_property(GObject *object, guint prop_id, GValue *value G_GNUC_UNUSED, GParamSpec *pspec) { #if 0 GVirSandboxBuilderMachine *builder = GVIR_SANDBOX_BUILDER_MACHINE(object); GVirSandboxBuilderMachinePrivate *priv = builder->priv; #endif switch (prop_id) { default: G_OBJECT_WARN_INVALID_PROPERTY_ID(object, prop_id, pspec); } } static void gvir_sandbox_builder_machine_set_property(GObject *object, guint prop_id, const GValue *value G_GNUC_UNUSED, GParamSpec *pspec) { #if 0 GVirSandboxBuilderMachine *builder = GVIR_SANDBOX_BUILDER_MACHINE(object); GVirSandboxBuilderMachinePrivate *priv = builder->priv; #endif switch (prop_id) { default: G_OBJECT_WARN_INVALID_PROPERTY_ID(object, prop_id, pspec); } } static void gvir_sandbox_builder_machine_finalize(GObject *object) { #if 0 GVirSandboxBuilderMachine *builder = GVIR_SANDBOX_BUILDER_MACHINE(object); GVirSandboxBuilderMachinePrivate *priv = builder->priv; #endif G_OBJECT_CLASS(gvir_sandbox_builder_machine_parent_class)->finalize(object); } static gchar *gvir_sandbox_builder_machine_get_kernrelease(GVirSandboxConfig *config) { struct utsname uts; const gchar *kver = gvir_sandbox_config_get_kernrelease(config); if (kver) return g_strdup(kver); uname(&uts); return g_strdup(uts.release); } static gchar *gvir_sandbox_builder_machine_get_kernpath(GVirSandboxConfig *config) { const gchar *kernpath = gvir_sandbox_config_get_kernpath(config); gchar *kver; gchar *ret; if (kernpath) return g_strdup(kernpath); kver = gvir_sandbox_builder_machine_get_kernrelease(config); ret = g_strdup_printf("/boot/vmlinuz-%s", kver); g_free(kver); return ret; } static gchar *gvir_sandbox_builder_machine_mkinitrd(GVirSandboxConfig *config, const char *statedir, GError **error) { GVirSandboxConfigInitrd *initrd = gvir_sandbox_config_initrd_new(); GVirSandboxBuilderInitrd *builder = gvir_sandbox_builder_initrd_new(); gchar *targetfile = g_strdup_printf("%s/initrd.img", statedir); gchar *kver = gvir_sandbox_builder_machine_get_kernrelease(config); const gchar *kmodpath = gvir_sandbox_config_get_kmodpath(config); if (!kmodpath) kmodpath = "/lib/modules"; gvir_sandbox_config_initrd_set_kver(initrd, kver); gchar *kmoddir = g_strdup_printf("%s/%s/kernel", kmodpath, kver); gvir_sandbox_config_initrd_set_kmoddir(initrd, kmoddir); gvir_sandbox_config_initrd_set_init(initrd, LIBEXECDIR "/libvirt-sandbox-init-qemu"); gvir_sandbox_config_initrd_add_module(initrd, "fscache.ko"); gvir_sandbox_config_initrd_add_module(initrd, "virtio.ko"); gvir_sandbox_config_initrd_add_module(initrd, "virtio_ring.ko"); gvir_sandbox_config_initrd_add_module(initrd, "virtio_pci.ko"); gvir_sandbox_config_initrd_add_module(initrd, "9pnet.ko"); gvir_sandbox_config_initrd_add_module(initrd, "9p.ko"); gvir_sandbox_config_initrd_add_module(initrd, "9pnet_virtio.ko"); if (gvir_sandbox_config_has_networks(config)) gvir_sandbox_config_initrd_add_module(initrd, "virtio_net.ko"); if (gvir_sandbox_config_has_mounts_with_type(config, GVIR_SANDBOX_TYPE_CONFIG_MOUNT_HOST_IMAGE) || gvir_sandbox_config_has_disks(config)) gvir_sandbox_config_initrd_add_module(initrd, "virtio_blk.ko"); gvir_sandbox_config_initrd_add_module(initrd, "virtio_console.ko"); #if 0 gvir_sandbox_config_initrd_add_module(initrd, "virtio_balloon.ko"); #endif /* For dhclient to work */ gvir_sandbox_config_initrd_add_module(initrd, "af_packet.ko"); /* In case ext4 is built as a module, include it and its deps * for the root mount */ gvir_sandbox_config_initrd_add_module(initrd, "mbcache.ko"); gvir_sandbox_config_initrd_add_module(initrd, "jbd2.ko"); gvir_sandbox_config_initrd_add_module(initrd, "crc16.ko"); gvir_sandbox_config_initrd_add_module(initrd, "ext4.ko"); if (!gvir_sandbox_builder_initrd_construct(builder, initrd, targetfile, error)) goto cleanup; cleanup: if (*error) { g_free(targetfile); targetfile = NULL; } g_free(kmoddir); g_free(kver); g_object_unref(initrd); g_object_unref(builder); return targetfile; } static gchar *gvir_sandbox_builder_machine_copykern(GVirSandboxConfig *config, const char *statedir, GError **error) { gchar *target = g_strdup_printf("%s/vmlinuz", statedir); gchar *source = gvir_sandbox_builder_machine_get_kernpath(config); gboolean ret = FALSE; GFile *tfile = g_file_new_for_path(target); GFile *sfile = g_file_new_for_path(source); if (!g_file_copy(sfile, tfile, G_FILE_COPY_NONE, NULL, NULL, NULL, error)) goto cleanup; ret = TRUE; cleanup: g_free(source); if (!ret) { g_free(target); target = NULL; } g_object_unref(sfile); g_object_unref(tfile); return target; } static gchar *gvir_sandbox_builder_machine_cmdline(GVirSandboxConfig *config G_GNUC_UNUSED) { GString *str = g_string_new(""); gchar *ret; gchar *tmp; /* Now kernel args */ g_string_append(str, " console=ttyS0"); if (getenv("LIBVIRT_SANDBOX_INIT_DEBUG")) g_string_append(str, " debug loglevel=10 earlyprintk=ttyS0"); else g_string_append(str, " quiet loglevel=0"); if ((tmp = getenv("LIBVIRT_SANDBOX_STRACE"))) { g_string_append(str, " strace="); g_string_append(str, tmp); } /* These make boot a little bit faster */ g_string_append(str, " edd=off"); g_string_append(str, " printk.time=1"); g_string_append(str, " noreplace-smp"); g_string_append(str, " cgroup_disable=memory"); g_string_append(str, " pci=noearly"); /* Running QEMU inside KVM makes APIC unreliable */ g_string_append(str, " noapic"); /* Reboot immediately on panic */ g_string_append(str, " panic=-1"); /* Disable SELinux, since the program we're about to run * is likely to be unconfined anyway */ /* XXX re-visit this to see if we can use it with * service based sandboxes */ g_string_append(str, " selinux=0"); ret = str->str; g_string_free(str, FALSE); return ret; } static gboolean gvir_sandbox_builder_machine_write_mount_cfg(GVirSandboxConfig *config, const gchar *statedir, GError **error) { gchar *mntfile = g_strdup_printf("%s/config/mounts.cfg", statedir); GFile *file = g_file_new_for_path(mntfile); GFileOutputStream *fos = g_file_replace(file, NULL, FALSE, G_FILE_CREATE_REPLACE_DESTINATION, NULL, error); gboolean ret = FALSE; GList *mounts = gvir_sandbox_config_get_mounts(config); GList *disks = gvir_sandbox_config_get_disks(config); GList *tmp = NULL; size_t nHostBind = 0; guint nVirtioDev = g_list_length(disks); if (!fos) goto cleanup; tmp = mounts; while (tmp) { GVirSandboxConfigMount *mconfig = GVIR_SANDBOX_CONFIG_MOUNT(tmp->data); const gchar *fstype; gchar *source; gchar *options; const gchar *target; gchar *line; if (GVIR_SANDBOX_IS_CONFIG_MOUNT_HOST_BIND(mconfig)) { source = g_strdup_printf("sandbox:mount%zu", nHostBind++); fstype = "9p"; options = g_strdup("trans=virtio,version=9p2000.u"); } else if (GVIR_SANDBOX_IS_CONFIG_MOUNT_HOST_IMAGE(mconfig)) { source = g_strdup_printf("/dev/vd%c", (char)('a' + nVirtioDev++)); fstype = "ext4"; options = g_strdup(""); } else if (GVIR_SANDBOX_IS_CONFIG_MOUNT_GUEST_BIND(mconfig)) { GVirSandboxConfigMountFile *mfile = GVIR_SANDBOX_CONFIG_MOUNT_FILE(mconfig); source = g_strdup(gvir_sandbox_config_mount_file_get_source(mfile)); fstype = ""; options = g_strdup(""); } else if (GVIR_SANDBOX_IS_CONFIG_MOUNT_RAM(mconfig)) { GVirSandboxConfigMountRam *mram = GVIR_SANDBOX_CONFIG_MOUNT_RAM(mconfig); source = g_strdup("tmpfs"); fstype = "tmpfs"; options = g_strdup_printf("size=%" G_GUINT64_FORMAT "k", gvir_sandbox_config_mount_ram_get_usage(mram)/1024); } else { g_assert_not_reached(); } target = gvir_sandbox_config_mount_get_target(mconfig); line = g_strdup_printf("%s\t%s\t%s\t%s\n", source, target, fstype, options); g_free(source); g_free(options); if (!g_output_stream_write_all(G_OUTPUT_STREAM(fos), line, strlen(line), NULL, NULL, error)) { g_free(line); goto cleanup; } g_free(line); tmp = tmp->next; } if (!g_output_stream_close(G_OUTPUT_STREAM(fos), NULL, error)) goto cleanup; #if 0 gvir_sandbox_cleaner_add_rmfile_post_stop(cleaner, mntfile); #endif ret = TRUE; cleanup: g_list_foreach(mounts, (GFunc)g_object_unref, NULL); g_list_free(mounts); g_list_free(disks); if (fos) g_object_unref(fos); if (!ret) g_file_delete(file, NULL, NULL); g_object_unref(file); g_free(mntfile); return ret; } static gboolean gvir_sandbox_builder_machine_construct_domain(GVirSandboxBuilder *builder, GVirSandboxConfig *config, const gchar *statedir, GVirConfigDomain *domain, GError **error) { if (!gvir_sandbox_builder_machine_write_mount_cfg(config, statedir, error)) return FALSE; if (!GVIR_SANDBOX_BUILDER_CLASS(gvir_sandbox_builder_machine_parent_class)-> construct_domain(builder, config, statedir, domain, error)) return FALSE; return TRUE; } static gboolean gvir_sandbox_builder_machine_construct_basic(GVirSandboxBuilder *builder, GVirSandboxConfig *config, const gchar *statedir, GVirConfigDomain *domain, GError **error) { if (!GVIR_SANDBOX_BUILDER_CLASS(gvir_sandbox_builder_machine_parent_class)-> construct_basic(builder, config, statedir, domain, error)) return FALSE; if (access("/dev/kvm", W_OK) == 0) gvir_config_domain_set_virt_type(domain, GVIR_CONFIG_DOMAIN_VIRT_KVM); else gvir_config_domain_set_virt_type(domain, GVIR_CONFIG_DOMAIN_VIRT_QEMU); gvir_config_domain_set_lifecycle(domain, GVIR_CONFIG_DOMAIN_LIFECYCLE_ON_POWEROFF, GVIR_CONFIG_DOMAIN_LIFECYCLE_DESTROY); gvir_config_domain_set_lifecycle(domain, GVIR_CONFIG_DOMAIN_LIFECYCLE_ON_REBOOT, GVIR_CONFIG_DOMAIN_LIFECYCLE_DESTROY); gvir_config_domain_set_lifecycle(domain, GVIR_CONFIG_DOMAIN_LIFECYCLE_ON_CRASH, GVIR_CONFIG_DOMAIN_LIFECYCLE_DESTROY); return TRUE; } static gboolean gvir_sandbox_builder_machine_construct_os(GVirSandboxBuilder *builder, GVirSandboxConfig *config, const gchar *statedir, GVirConfigDomain *domain, GError **error) { gchar *kernel = NULL; gchar *initrd = NULL; gchar *cmdline = NULL; GFile *kfile = NULL; GVirConfigDomainOs *os; gboolean ret = FALSE; if (!GVIR_SANDBOX_BUILDER_CLASS(gvir_sandbox_builder_machine_parent_class)-> construct_os(builder, config, statedir, domain, error)) return FALSE; if (!(initrd = gvir_sandbox_builder_machine_mkinitrd(config, statedir, error))) return FALSE; if (!(kernel = gvir_sandbox_builder_machine_copykern(config, statedir, error))) { g_free(initrd); return FALSE; } cmdline = gvir_sandbox_builder_machine_cmdline(config); kfile = g_file_new_for_path(kernel); if (!g_file_query_exists(kfile, NULL)) { g_set_error(error, GVIR_SANDBOX_BUILDER_MACHINE_ERROR, 0, _("Kernel image %s does not exist"), kernel); goto cleanup; } os = gvir_config_domain_os_new(); gvir_config_domain_os_set_os_type(os, GVIR_CONFIG_DOMAIN_OS_TYPE_HVM); gvir_config_domain_os_set_arch(os, gvir_sandbox_config_get_arch(config)); gvir_config_domain_os_set_kernel(os, kernel); gvir_config_domain_os_set_ramdisk(os, initrd); gvir_config_domain_os_set_cmdline(os, cmdline); gvir_config_domain_set_os(domain, os); ret = TRUE; cleanup: g_free(kernel); g_free(cmdline); g_free(initrd); g_object_unref(kfile); return ret; } static gboolean gvir_sandbox_builder_machine_construct_features(GVirSandboxBuilder *builder, GVirSandboxConfig *config, const gchar *statedir, GVirConfigDomain *domain, GError **error) { gchar **features; if (!GVIR_SANDBOX_BUILDER_CLASS(gvir_sandbox_builder_machine_parent_class)-> construct_features(builder, config, statedir, domain, error)) return FALSE; features = g_new0(gchar *, 2); features[0] = g_strdup("acpi"); gvir_config_domain_set_features(domain, features); g_strfreev(features); return TRUE; } static gboolean gvir_sandbox_builder_machine_construct_devices(GVirSandboxBuilder *builder, GVirSandboxConfig *config, const gchar *statedir, GVirConfigDomain *domain, GError **error) { GVirConfigDomainFilesys *fs; GVirConfigDomainDisk *disk; GVirConfigDomainDiskDriver *diskDriver; GVirConfigDomainInterface *iface; GVirConfigDomainMemballoon *ball; GVirConfigDomainConsole *con; GVirConfigDomainSerial *ser; GVirConfigDomainChardevSourcePty *src; GList *tmp = NULL, *mounts = NULL, *networks = NULL, *disks = NULL; size_t nHostBind = 0; size_t nVirtioDev = 0; gchar *configdir = g_strdup_printf("%s/config", statedir); gboolean ret = FALSE; if (!GVIR_SANDBOX_BUILDER_CLASS(gvir_sandbox_builder_machine_parent_class)-> construct_devices(builder, config, statedir, domain, error)) goto cleanup; if (!gvir_sandbox_config_has_root_mount(config)) { fs = gvir_config_domain_filesys_new(); gvir_config_domain_filesys_set_type(fs, GVIR_CONFIG_DOMAIN_FILESYS_MOUNT); gvir_config_domain_filesys_set_access_type(fs, GVIR_CONFIG_DOMAIN_FILESYS_ACCESS_SQUASH); gvir_config_domain_filesys_set_source(fs, gvir_sandbox_config_get_root(config)); gvir_config_domain_filesys_set_target(fs, "sandbox:root"); gvir_config_domain_filesys_set_readonly(fs, TRUE); gvir_config_domain_add_device(domain, GVIR_CONFIG_DOMAIN_DEVICE(fs)); g_object_unref(fs); } fs = gvir_config_domain_filesys_new(); gvir_config_domain_filesys_set_type(fs, GVIR_CONFIG_DOMAIN_FILESYS_MOUNT); gvir_config_domain_filesys_set_access_type(fs, GVIR_CONFIG_DOMAIN_FILESYS_ACCESS_SQUASH); gvir_config_domain_filesys_set_source(fs, configdir); gvir_config_domain_filesys_set_target(fs, "sandbox:config"); gvir_config_domain_filesys_set_readonly(fs, TRUE); gvir_config_domain_add_device(domain, GVIR_CONFIG_DOMAIN_DEVICE(fs)); g_object_unref(fs); tmp = disks = gvir_sandbox_config_get_disks(config); while (tmp) { GVirSandboxConfigDisk *dconfig = GVIR_SANDBOX_CONFIG_DISK(tmp->data); if (GVIR_SANDBOX_IS_CONFIG_DISK(dconfig)) { gchar *device = g_strdup_printf("vd%c", (char)('a' + nVirtioDev++)); disk = gvir_config_domain_disk_new(); diskDriver = gvir_config_domain_disk_driver_new(); gvir_config_domain_disk_set_type(disk, gvir_sandbox_config_disk_get_disk_type(dconfig)); gvir_config_domain_disk_driver_set_format(diskDriver, gvir_sandbox_config_disk_get_format(dconfig)); gvir_config_domain_disk_set_source(disk, gvir_sandbox_config_disk_get_source(dconfig)); gvir_config_domain_disk_set_target_bus(disk, GVIR_CONFIG_DOMAIN_DISK_BUS_VIRTIO); gvir_config_domain_disk_set_target_dev(disk, device); gvir_config_domain_disk_set_driver(disk, diskDriver); gvir_config_domain_add_device(domain, GVIR_CONFIG_DOMAIN_DEVICE(disk)); g_object_unref(disk); g_free(device); } tmp = tmp->next; } g_list_foreach(disks, (GFunc)g_object_unref, NULL); g_list_free(disks); tmp = mounts = gvir_sandbox_config_get_mounts(config); while (tmp) { GVirSandboxConfigMount *mconfig = GVIR_SANDBOX_CONFIG_MOUNT(tmp->data); if (GVIR_SANDBOX_IS_CONFIG_MOUNT_HOST_BIND(mconfig)) { GVirSandboxConfigMountFile *mfile = GVIR_SANDBOX_CONFIG_MOUNT_FILE(mconfig); gchar *target = g_strdup_printf("sandbox:mount%zu", nHostBind++); fs = gvir_config_domain_filesys_new(); gvir_config_domain_filesys_set_type(fs, GVIR_CONFIG_DOMAIN_FILESYS_MOUNT); gvir_config_domain_filesys_set_access_type(fs, GVIR_CONFIG_DOMAIN_FILESYS_ACCESS_PASSTHROUGH); gvir_config_domain_filesys_set_source(fs, gvir_sandbox_config_mount_file_get_source(mfile)); gvir_config_domain_filesys_set_target(fs, target); gvir_config_domain_add_device(domain, GVIR_CONFIG_DOMAIN_DEVICE(fs)); g_object_unref(fs); g_free(target); } else if (GVIR_SANDBOX_IS_CONFIG_MOUNT_HOST_IMAGE(mconfig)) { GVirSandboxConfigMountFile *mfile = GVIR_SANDBOX_CONFIG_MOUNT_FILE(mconfig); GVirSandboxConfigMountHostImage *mimage = GVIR_SANDBOX_CONFIG_MOUNT_HOST_IMAGE(mconfig); GVirConfigDomainDiskFormat format; gchar *target = g_strdup_printf("vd%c", (char)('a' + nVirtioDev++)); disk = gvir_config_domain_disk_new(); gvir_config_domain_disk_set_type(disk, GVIR_CONFIG_DOMAIN_DISK_FILE); gvir_config_domain_disk_set_source(disk, gvir_sandbox_config_mount_file_get_source(mfile)); gvir_config_domain_disk_set_target_dev(disk, target); diskDriver = gvir_config_domain_disk_driver_new(); format = gvir_sandbox_config_mount_host_image_get_format(mimage); gvir_config_domain_disk_driver_set_format(diskDriver, format); gvir_config_domain_disk_set_driver(disk, diskDriver); gvir_config_domain_add_device(domain, GVIR_CONFIG_DOMAIN_DEVICE(disk)); g_object_unref(diskDriver); g_object_unref(disk); g_free(target); } tmp = tmp->next; } g_list_foreach(mounts, (GFunc)g_object_unref, NULL); g_list_free(mounts); tmp = networks = gvir_sandbox_config_get_networks(config); while (tmp) { const gchar *source, *mac; GVirSandboxConfigNetwork *network = GVIR_SANDBOX_CONFIG_NETWORK(tmp->data); GVirSandboxConfigNetworkFilterref *filterref; source = gvir_sandbox_config_network_get_source(network); if (source) { iface = GVIR_CONFIG_DOMAIN_INTERFACE(gvir_config_domain_interface_network_new()); gvir_config_domain_interface_network_set_source( GVIR_CONFIG_DOMAIN_INTERFACE_NETWORK(iface), source); } else { iface = GVIR_CONFIG_DOMAIN_INTERFACE(gvir_config_domain_interface_user_new()); } mac = gvir_sandbox_config_network_get_mac(network); if (mac) gvir_config_domain_interface_set_mac(iface, mac); gvir_config_domain_interface_set_model(iface, "virtio"); filterref = gvir_sandbox_config_network_get_filterref(network); if (filterref) { gvir_sandbox_builder_set_filterref(builder, iface, filterref); } gvir_config_domain_add_device(domain, GVIR_CONFIG_DOMAIN_DEVICE(iface)); g_object_unref(iface); tmp = tmp->next; } g_list_foreach(networks, (GFunc)g_object_unref, NULL); g_list_free(networks); ball = gvir_config_domain_memballoon_new(); gvir_config_domain_memballoon_set_model(ball, GVIR_CONFIG_DOMAIN_MEMBALLOON_MODEL_NONE); gvir_config_domain_add_device(domain, GVIR_CONFIG_DOMAIN_DEVICE(ball)); g_object_unref(ball); /* The first serial is for stdio of the sandboxed app */ src = gvir_config_domain_chardev_source_pty_new(); con = gvir_config_domain_console_new(); gvir_config_domain_console_set_target_type(GVIR_CONFIG_DOMAIN_CONSOLE(con), GVIR_CONFIG_DOMAIN_CONSOLE_TARGET_SERIAL); gvir_config_domain_chardev_set_source(GVIR_CONFIG_DOMAIN_CHARDEV(con), GVIR_CONFIG_DOMAIN_CHARDEV_SOURCE(src)); gvir_config_domain_add_device(domain, GVIR_CONFIG_DOMAIN_DEVICE(con)); g_object_unref(con); src = gvir_config_domain_chardev_source_pty_new(); ser = gvir_config_domain_serial_new(); gvir_config_domain_chardev_set_source(GVIR_CONFIG_DOMAIN_CHARDEV(ser), GVIR_CONFIG_DOMAIN_CHARDEV_SOURCE(src)); gvir_config_domain_add_device(domain, GVIR_CONFIG_DOMAIN_DEVICE(ser)); g_object_unref(ser); /* Optional second serial is for a interactive shell (useful for * troubleshooting stuff */ if (gvir_sandbox_config_get_shell(config)) { src = gvir_config_domain_chardev_source_pty_new(); ser = gvir_config_domain_serial_new(); gvir_config_domain_chardev_set_source(GVIR_CONFIG_DOMAIN_CHARDEV(ser), GVIR_CONFIG_DOMAIN_CHARDEV_SOURCE(src)); gvir_config_domain_add_device(domain, GVIR_CONFIG_DOMAIN_DEVICE(ser)); g_object_unref(ser); } if (GVIR_SANDBOX_IS_CONFIG_INTERACTIVE(config)) { src = gvir_config_domain_chardev_source_pty_new(); con = gvir_config_domain_console_new(); gvir_config_domain_console_set_target_type(GVIR_CONFIG_DOMAIN_CONSOLE(con), GVIR_CONFIG_DOMAIN_CONSOLE_TARGET_VIRTIO); gvir_config_domain_chardev_set_source(GVIR_CONFIG_DOMAIN_CHARDEV(con), GVIR_CONFIG_DOMAIN_CHARDEV_SOURCE(src)); gvir_config_domain_add_device(domain, GVIR_CONFIG_DOMAIN_DEVICE(con)); g_object_unref(con); } ret = TRUE; cleanup: g_free(configdir); return ret; } static gboolean gvir_sandbox_builder_machine_clean_post_start(GVirSandboxBuilder *builder, GVirSandboxConfig *config, const gchar *statedir, GError **error) { gchar *initrd = g_strdup_printf("%s/initrd.img", statedir); gchar *kernel = g_strdup_printf("%s/vmlinuz", statedir); gboolean ret = TRUE; if (unlink(initrd) < 0 && errno != ENOENT) ret = FALSE; if (unlink(kernel) < 0 && errno != ENOENT) ret = FALSE; g_free(initrd); g_free(kernel); return ret; } static gboolean gvir_sandbox_builder_machine_clean_post_stop(GVirSandboxBuilder *builder, GVirSandboxConfig *config, const gchar *statedir, GError **error) { gchar *mntfile = g_strdup_printf("%s/config/mounts.cfg", statedir); gboolean ret = TRUE; if (unlink(mntfile) < 0 && errno != ENOENT) ret = FALSE; g_free(mntfile); return ret; } static const gchar *gvir_sandbox_builder_machine_get_disk_prefix(GVirSandboxBuilder *builder, GVirSandboxConfig *config G_GNUC_UNUSED, GVirSandboxConfigDisk *disk G_GNUC_UNUSED) { return "vd"; } static void gvir_sandbox_builder_machine_class_init(GVirSandboxBuilderMachineClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS(klass); GVirSandboxBuilderClass *builder_class = GVIR_SANDBOX_BUILDER_CLASS(klass); object_class->finalize = gvir_sandbox_builder_machine_finalize; object_class->get_property = gvir_sandbox_builder_machine_get_property; object_class->set_property = gvir_sandbox_builder_machine_set_property; builder_class->construct_domain = gvir_sandbox_builder_machine_construct_domain; builder_class->construct_basic = gvir_sandbox_builder_machine_construct_basic; builder_class->construct_os = gvir_sandbox_builder_machine_construct_os; builder_class->construct_features = gvir_sandbox_builder_machine_construct_features; builder_class->construct_devices = gvir_sandbox_builder_machine_construct_devices; builder_class->clean_post_start = gvir_sandbox_builder_machine_clean_post_start; builder_class->clean_post_stop = gvir_sandbox_builder_machine_clean_post_stop; builder_class->get_disk_prefix = gvir_sandbox_builder_machine_get_disk_prefix; g_type_class_add_private(klass, sizeof(GVirSandboxBuilderMachinePrivate)); } static void gvir_sandbox_builder_machine_init(GVirSandboxBuilderMachine *builder) { builder->priv = GVIR_SANDBOX_BUILDER_MACHINE_GET_PRIVATE(builder); } /** * gvir_sandbox_builder_machine_new: * @connection: (transfer none): the connection * * Create a new application sandbox builder for virtual machines * * Returns: (transfer full): a new sandbox builder object */ GVirSandboxBuilderMachine *gvir_sandbox_builder_machine_new(GVirConnection *connection) { return GVIR_SANDBOX_BUILDER_MACHINE(g_object_new(GVIR_SANDBOX_TYPE_BUILDER_MACHINE, "connection", connection, NULL)); } /* * Local variables: * c-indent-level: 4 * c-basic-offset: 4 * indent-tabs-mode: nil * tab-width: 8 * End: */ libvirt-sandbox-0.5.1+git20160404/libvirt-sandbox/libvirt-sandbox-builder-machine.h000066400000000000000000000054601275305543100276530ustar00rootroot00000000000000/* * libvirt-sandbox-builder-machine.h: libvirt sandbox builder for virtual machines * * Copyright (C) 2011 Red Hat, Inc. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. * * This library is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA * * Author: Daniel P. Berrange */ #if !defined(__LIBVIRT_SANDBOX_H__) && !defined(LIBVIRT_SANDBOX_BUILD) #error "Only can be included directly." #endif #ifndef __LIBVIRT_SANDBOX_BUILDER_MACHINE_H__ #define __LIBVIRT_SANDBOX_BUILDER_MACHINE_H__ G_BEGIN_DECLS #define GVIR_SANDBOX_TYPE_BUILDER_MACHINE (gvir_sandbox_builder_machine_get_type ()) #define GVIR_SANDBOX_BUILDER_MACHINE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GVIR_SANDBOX_TYPE_BUILDER_MACHINE, GVirSandboxBuilderMachine)) #define GVIR_SANDBOX_BUILDER_MACHINE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GVIR_SANDBOX_TYPE_BUILDER_MACHINE, GVirSandboxBuilderMachineClass)) #define GVIR_SANDBOX_IS_BUILDER_MACHINE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GVIR_SANDBOX_TYPE_BUILDER_MACHINE)) #define GVIR_SANDBOX_IS_BUILDER_MACHINE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GVIR_SANDBOX_TYPE_BUILDER_MACHINE)) #define GVIR_SANDBOX_BUILDER_MACHINE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GVIR_SANDBOX_TYPE_BUILDER_MACHINE, GVirSandboxBuilderMachineClass)) typedef struct _GVirSandboxBuilderMachine GVirSandboxBuilderMachine; typedef struct _GVirSandboxBuilderMachinePrivate GVirSandboxBuilderMachinePrivate; typedef struct _GVirSandboxBuilderMachineClass GVirSandboxBuilderMachineClass; struct _GVirSandboxBuilderMachine { GVirSandboxBuilder parent; GVirSandboxBuilderMachinePrivate *priv; /* Do not add fields to this struct */ }; struct _GVirSandboxBuilderMachineClass { GVirSandboxBuilderClass parent_class; gpointer padding[LIBVIRT_SANDBOX_CLASS_PADDING]; }; GType gvir_sandbox_builder_machine_get_type(void); GVirSandboxBuilderMachine *gvir_sandbox_builder_machine_new(GVirConnection *connection); G_END_DECLS #endif /* __LIBVIRT_SANDBOX_BUILDER_MACHINE_H__ */ /* * Local variables: * c-indent-level: 4 * c-basic-offset: 4 * indent-tabs-mode: nil * tab-width: 8 * End: */ libvirt-sandbox-0.5.1+git20160404/libvirt-sandbox/libvirt-sandbox-builder-private.h000066400000000000000000000026721275305543100277230ustar00rootroot00000000000000/* * libvirt-sandbox-builder-private.h: libvirt sandbox builder * * Copyright (C) 2014 Red Hat, Inc. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. * * This library is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA * * Author: Christophe Fergeau */ #if !defined(__LIBVIRT_SANDBOX_H__) && !defined(LIBVIRT_SANDBOX_BUILD) #error "Only can be included directly." #endif #ifndef __LIBVIRT_SANDBOX_BUILDER_PRIVATE_H__ #define __LIBVIRT_SANDBOX_BUILDER_PRIVATE_H__ G_BEGIN_DECLS void gvir_sandbox_builder_set_filterref(GVirSandboxBuilder *builder, GVirConfigDomainInterface *iface, GVirSandboxConfigNetworkFilterref *filterref); G_END_DECLS #endif /* __LIBVIRT_SANDBOX_BUILDER_PRIVATE_H__ */ libvirt-sandbox-0.5.1+git20160404/libvirt-sandbox/libvirt-sandbox-builder.c000066400000000000000000000753551275305543100262560ustar00rootroot00000000000000/* * libvirt-sandbox-builder.c: libvirt sandbox builder * * Copyright (C) 2011 Red Hat, Inc. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. * * This library is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA * * Author: Daniel P. Berrange */ #include #include #include #include "libvirt-sandbox/libvirt-sandbox.h" #include "libvirt-sandbox/libvirt-sandbox-builder-private.h" /** * SECTION: libvirt-sandbox-builder * @short_description: Sandbox construction base class * @include: libvirt-sandbox/libvirt-sandbox.h * @see_also: #GVirSandboxBuilderContainer #GVirSandboxBuilderMachine * * Provides a base class for constructing sandboxes * * The GVirSandboxBuilder objects provides the basic framework for creating * #GVirDomain instances from #GVirSandboxConfig instances. */ #define GVIR_SANDBOX_BUILDER_GET_PRIVATE(obj) \ (G_TYPE_INSTANCE_GET_PRIVATE((obj), GVIR_SANDBOX_TYPE_BUILDER, GVirSandboxBuilderPrivate)) struct _GVirSandboxBuilderPrivate { GVirConnection *connection; }; G_DEFINE_ABSTRACT_TYPE(GVirSandboxBuilder, gvir_sandbox_builder, G_TYPE_OBJECT); enum { PROP_0, PROP_CONNECTION, }; enum { LAST_SIGNAL }; //static gint signals[LAST_SIGNAL]; #define GVIR_SANDBOX_BUILDER_ERROR gvir_sandbox_builder_error_quark() static GQuark gvir_sandbox_builder_error_quark(void) { return g_quark_from_static_string("gvir-sandbox-builder"); } static gboolean gvir_sandbox_builder_construct_domain(GVirSandboxBuilder *builder, GVirSandboxConfig *config, const gchar *statedir, GVirConfigDomain *domain, GError **error); static gboolean gvir_sandbox_builder_construct_basic(GVirSandboxBuilder *builder, GVirSandboxConfig *config, const gchar *statedir, GVirConfigDomain *domain, GError **error); static gboolean gvir_sandbox_builder_construct_os(GVirSandboxBuilder *builder, GVirSandboxConfig *config, const gchar *statedir, GVirConfigDomain *domain, GError **error); static gboolean gvir_sandbox_builder_construct_features(GVirSandboxBuilder *builder, GVirSandboxConfig *config, const gchar *statedir, GVirConfigDomain *domain, GError **error); static gboolean gvir_sandbox_builder_construct_devices(GVirSandboxBuilder *builder, GVirSandboxConfig *config, const gchar *statedir, GVirConfigDomain *domain, GError **error); static gboolean gvir_sandbox_builder_construct_security(GVirSandboxBuilder *builder, GVirSandboxConfig *config, const gchar *statedir, GVirConfigDomain *domain, GError **error); static gboolean gvir_sandbox_builder_clean_post_start_default(GVirSandboxBuilder *builder, GVirSandboxConfig *config, const gchar *statedir, GError **error); static gboolean gvir_sandbox_builder_clean_post_stop_default(GVirSandboxBuilder *builder, GVirSandboxConfig *config, const gchar *statedir, GError **error); static GList *gvir_sandbox_builder_get_files_to_copy(GVirSandboxBuilder *builder, GVirSandboxConfig *config); static void gvir_sandbox_builder_get_property(GObject *object, guint prop_id, GValue *value, GParamSpec *pspec) { GVirSandboxBuilder *ctxt = GVIR_SANDBOX_BUILDER(object); GVirSandboxBuilderPrivate *priv = ctxt->priv; switch (prop_id) { case PROP_CONNECTION: g_value_set_object(value, priv->connection); break; default: G_OBJECT_WARN_INVALID_PROPERTY_ID(object, prop_id, pspec); } } static void gvir_sandbox_builder_set_property(GObject *object, guint prop_id, const GValue *value, GParamSpec *pspec) { GVirSandboxBuilder *ctxt = GVIR_SANDBOX_BUILDER(object); GVirSandboxBuilderPrivate *priv = ctxt->priv; switch (prop_id) { case PROP_CONNECTION: if (priv->connection) g_object_unref(priv->connection); priv->connection = g_value_dup_object(value); break; default: G_OBJECT_WARN_INVALID_PROPERTY_ID(object, prop_id, pspec); } } static void gvir_sandbox_builder_finalize(GObject *object) { GVirSandboxBuilder *ctxt = GVIR_SANDBOX_BUILDER(object); GVirSandboxBuilderPrivate *priv = ctxt->priv; if (priv->connection) g_object_unref(priv->connection); G_OBJECT_CLASS(gvir_sandbox_builder_parent_class)->finalize(object); } static void gvir_sandbox_builder_class_init(GVirSandboxBuilderClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS(klass); object_class->finalize = gvir_sandbox_builder_finalize; object_class->get_property = gvir_sandbox_builder_get_property; object_class->set_property = gvir_sandbox_builder_set_property; klass->construct_domain = gvir_sandbox_builder_construct_domain; klass->construct_basic = gvir_sandbox_builder_construct_basic; klass->construct_os = gvir_sandbox_builder_construct_os; klass->construct_features = gvir_sandbox_builder_construct_features; klass->construct_devices = gvir_sandbox_builder_construct_devices; klass->construct_security = gvir_sandbox_builder_construct_security; klass->clean_post_start = gvir_sandbox_builder_clean_post_start_default; klass->clean_post_stop = gvir_sandbox_builder_clean_post_stop_default; klass->get_files_to_copy = gvir_sandbox_builder_get_files_to_copy; g_object_class_install_property(object_class, PROP_CONNECTION, g_param_spec_object("connection", "Connection", "The sandbox connection", GVIR_TYPE_CONNECTION, G_PARAM_READABLE | G_PARAM_WRITABLE | G_PARAM_CONSTRUCT_ONLY | G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB)); g_type_class_add_private(klass, sizeof(GVirSandboxBuilderPrivate)); } static void gvir_sandbox_builder_init(GVirSandboxBuilder *ctxt) { ctxt->priv = GVIR_SANDBOX_BUILDER_GET_PRIVATE(ctxt); } /** * gvir_sandbox_builder_for_connection: * @connection: (transfer none): the connection to host the sandbox * @error: (out): the error * * Find and instantiate a suitable builder for sandboxes to be hosted * under the @connection. * * Returns: (transfer full): a new builder or NULL */ GVirSandboxBuilder *gvir_sandbox_builder_for_connection(GVirConnection *connection, GError **error) { const gchar *uri = gvir_connection_get_uri(connection); GVirSandboxBuilder *builder = NULL; if (g_str_equal(uri, "lxc:///")) { builder = GVIR_SANDBOX_BUILDER(gvir_sandbox_builder_container_new(connection)); } else if (g_str_equal(uri, "qemu:///session") || g_str_equal(uri, "qemu:///system")) { builder = GVIR_SANDBOX_BUILDER(gvir_sandbox_builder_machine_new(connection)); } if (!builder) *error = g_error_new(GVIR_SANDBOX_BUILDER_ERROR, 0, "No builder available for URI %s", uri); return builder; } /** * gvir_sandbox_builder_get_connection: * @builder: (transfer none): the sandbox builder * * Retrieves the sandbox connection * * Returns: (transfer full): the current connection */ GVirConnection *gvir_sandbox_builder_get_connection(GVirSandboxBuilder *builder) { GVirSandboxBuilderPrivate *priv = builder->priv; g_object_ref(priv->connection); return priv->connection; } static gboolean gvir_sandbox_builder_copy_file(const char *path, const char *libsdir, const char *newname, GError **error) { gchar *name = g_path_get_basename(path); gchar *target = g_build_filename(libsdir, newname ? newname : name, NULL); GFile *srcFile = g_file_new_for_path(path); GFile *tgtFile = g_file_new_for_path(target); gboolean result = FALSE; if (!g_file_query_exists(tgtFile, NULL) && !g_file_copy(srcFile, tgtFile, 0, NULL, NULL, NULL, error)) goto cleanup; result = TRUE; cleanup: g_object_unref(tgtFile); g_object_unref(srcFile); g_free(target); g_free(name); return result; } static gboolean gvir_sandbox_builder_copy_program(const char *program, const char *dest, GError **error) { gchar *out = NULL; gchar *line, *tmp; const gchar *argv[] = {LDD_PATH, program, NULL}; gboolean result = FALSE; if (!gvir_sandbox_builder_copy_file(program, dest, NULL, error)) goto cleanup; /* Get all the dependencies to be hard linked */ if (!g_spawn_sync(NULL, (gchar **)argv, NULL, 0, NULL, NULL, &out, NULL, NULL, error)) goto cleanup; /* Loop over the output lines to get the path to the libraries to copy */ line = out; while ((tmp = strchr(line, '\n'))) { gchar *start, *end; *tmp = '\0'; /* Search the line for the library path */ start = strstr(line, "/"); end = strstr(line, " ("); if (start && end) { const gchar *newname = NULL; *end = '\0'; /* There are countless different naming schemes for * the ld-linux.so library across architectures. Pretty * much the only thing in common is they start with * the two letters 'ld'. The LDD program prints it * out differently too - it doesn't include " => " * as this library is special - its actually a static * linked executable not a library. * * To make life easier for libvirt-sandbox-init-{qemu,lxc} * we just call the file 'ld.so' when we copy it into our * scratch dir, no matter what it was called on the host. */ if (!strstr(line, " => ") && strstr(start, "/ld")) { newname = "ld.so"; } if (!gvir_sandbox_builder_copy_file(start, dest, newname, error)) goto cleanup; } line = tmp + 1; } result = TRUE; cleanup: g_free(out); return result; } static gboolean gvir_sandbox_builder_copy_init(GVirSandboxBuilder *builder, GVirSandboxConfig *config, const gchar *statedir, GError **error) { gchar *libsdir; GVirSandboxBuilderClass *klass = GVIR_SANDBOX_BUILDER_GET_CLASS(builder); GList *tocopy = NULL, *tmp = NULL; gboolean result = FALSE; libsdir = g_build_filename(statedir, "config", ".libs", NULL); g_mkdir_with_parents(libsdir, 0755); tmp = tocopy = klass->get_files_to_copy(builder, config); while (tmp) { if (!gvir_sandbox_builder_copy_program(tmp->data, libsdir, error)) goto cleanup; tmp = tmp->next; } result = TRUE; cleanup: g_free(libsdir); g_list_free_full(tocopy, g_free); return result; } static gboolean gvir_sandbox_builder_construct_domain(GVirSandboxBuilder *builder, GVirSandboxConfig *config, const gchar *statedir, GVirConfigDomain *domain, GError **error) { GVirSandboxBuilderClass *klass = GVIR_SANDBOX_BUILDER_GET_CLASS(builder); if (!gvir_sandbox_builder_copy_init(builder, config, statedir, error)) return FALSE; if (!(klass->construct_basic(builder, config, statedir, domain, error))) return FALSE; if (!(klass->construct_os(builder, config, statedir, domain, error))) return FALSE; if (!(klass->construct_features(builder, config, statedir, domain, error))) return FALSE; if (!(klass->construct_devices(builder, config, statedir, domain, error))) return FALSE; if (!(klass->construct_security(builder, config, statedir, domain, error))) return FALSE; return TRUE; } static gboolean gvir_sandbox_builder_construct_basic(GVirSandboxBuilder *builder G_GNUC_UNUSED, GVirSandboxConfig *config, const gchar *statedir G_GNUC_UNUSED, GVirConfigDomain *domain, GError **error G_GNUC_UNUSED) { gvir_config_domain_set_name(domain, gvir_sandbox_config_get_name(config)); #if 0 /* Missing API in libvirt-gconfig */ gvir_config_domain_set_uuid(domain, gvir_sandbox_config_get_uuid(config)); #endif /* XXX configurable */ gvir_config_domain_set_memory(domain, 1024*512); return TRUE; } static gboolean gvir_sandbox_builder_construct_os(GVirSandboxBuilder *builder G_GNUC_UNUSED, GVirSandboxConfig *config G_GNUC_UNUSED, const gchar *statedir G_GNUC_UNUSED, GVirConfigDomain *domain G_GNUC_UNUSED, GError **error G_GNUC_UNUSED) { return TRUE; } static gboolean gvir_sandbox_builder_construct_features(GVirSandboxBuilder *builder G_GNUC_UNUSED, GVirSandboxConfig *config G_GNUC_UNUSED, const gchar *statedir G_GNUC_UNUSED, GVirConfigDomain *domain G_GNUC_UNUSED, GError **error G_GNUC_UNUSED) { return TRUE; } static gboolean gvir_sandbox_builder_construct_disk_cfg(GVirSandboxBuilder *builder, GVirSandboxConfig *config, const gchar *statedir, GError **error) { GVirSandboxBuilderClass *klass = GVIR_SANDBOX_BUILDER_GET_CLASS(builder); guint nVirtioDev = 0; gchar *dskfile = g_strdup_printf("%s/config/disks.cfg", statedir); GFile *file = g_file_new_for_path(dskfile); GFileOutputStream *fos = g_file_replace(file, NULL, FALSE, G_FILE_CREATE_REPLACE_DESTINATION, NULL, error); gboolean ret = FALSE; GList *disks = gvir_sandbox_config_get_disks(config); GList *tmp = NULL; const gchar *tag; if (!fos) goto cleanup; tmp = disks; while (tmp) { GVirSandboxConfigDisk *mconfig = GVIR_SANDBOX_CONFIG_DISK(tmp->data); const gchar *prefix = klass->get_disk_prefix(builder, config, mconfig); gchar *device = g_strdup_printf("/dev/%s%c", prefix, (char)('a' + (nVirtioDev)++)); gchar *line; tag = gvir_sandbox_config_disk_get_tag(mconfig); line = g_strdup_printf("%s\t%s\n", tag, device); g_free(device); if (!g_output_stream_write_all(G_OUTPUT_STREAM(fos), line, strlen(line), NULL, NULL, error)) { g_free(line); goto cleanup; } g_free(line); tmp = tmp->next; } if (!g_output_stream_close(G_OUTPUT_STREAM(fos), NULL, error)) goto cleanup; ret = TRUE; cleanup: g_list_foreach(disks, (GFunc)g_object_unref, NULL); g_list_free(disks); if (fos) g_object_unref(fos); if (!ret) g_file_delete(file, NULL, NULL); g_object_unref(file); g_free(dskfile); return ret; } static gboolean gvir_sandbox_builder_construct_devices(GVirSandboxBuilder *builder, GVirSandboxConfig *config, const gchar *statedir, GVirConfigDomain *domain, GError **error) { return gvir_sandbox_builder_construct_disk_cfg(builder, config, statedir,error); } static gboolean gvir_sandbox_builder_construct_security_selinux (GVirSandboxBuilder *builder, GVirSandboxConfig *config, GVirConfigDomain *domain, GError **error) { GVirConfigDomainSeclabel *sec = gvir_config_domain_seclabel_new(); const char *label = gvir_sandbox_config_get_security_label(config); gvir_config_domain_seclabel_set_model(sec, "selinux"); if (gvir_sandbox_config_get_security_dynamic(config)) { gvir_config_domain_seclabel_set_type(sec, GVIR_CONFIG_DOMAIN_SECLABEL_DYNAMIC); if (label) gvir_config_domain_seclabel_set_baselabel(sec, label); else if (gvir_config_domain_get_virt_type(domain) == GVIR_CONFIG_DOMAIN_VIRT_LXC) gvir_config_domain_seclabel_set_baselabel(sec, "system_u:system_r:svirt_lxc_net_t:s0"); else if (gvir_config_domain_get_virt_type(domain) == GVIR_CONFIG_DOMAIN_VIRT_QEMU) gvir_config_domain_seclabel_set_baselabel(sec, "system_u:system_r:svirt_tcg_t:s0"); else if (gvir_config_domain_get_virt_type(domain) == GVIR_CONFIG_DOMAIN_VIRT_KVM) gvir_config_domain_seclabel_set_baselabel(sec, "system_u:system_r:svirt_t:s0"); } else { gvir_config_domain_seclabel_set_type(sec, GVIR_CONFIG_DOMAIN_SECLABEL_STATIC); if (label) gvir_config_domain_seclabel_set_label(sec, label); } gvir_config_domain_set_seclabel(domain, sec); g_object_unref(sec); return TRUE; } static gboolean gvir_sandbox_builder_construct_security_apparmor(GVirSandboxBuilder *builder, GVirSandboxConfig *config, GVirConfigDomain *domain, GError **error) { GVirConfigDomainSeclabel *sec = gvir_config_domain_seclabel_new(); const char *label = gvir_sandbox_config_get_security_label(config); gvir_config_domain_seclabel_set_model(sec, "apparmor"); if (gvir_sandbox_config_get_security_dynamic(config)) { gvir_config_domain_seclabel_set_type(sec, GVIR_CONFIG_DOMAIN_SECLABEL_DYNAMIC); } else { gvir_config_domain_seclabel_set_type(sec, GVIR_CONFIG_DOMAIN_SECLABEL_STATIC); if (label) gvir_config_domain_seclabel_set_label(sec, label); } gvir_config_domain_set_seclabel(domain, sec); g_object_unref(sec); return TRUE; } static gboolean gvir_sandbox_builder_construct_security(GVirSandboxBuilder *builder, GVirSandboxConfig *config, const gchar *statedir G_GNUC_UNUSED, GVirConfigDomain *domain, GError **error) { GVirConnection *connection = gvir_sandbox_builder_get_connection(builder); GVirConfigCapabilities *configCapabilities; GVirConfigCapabilitiesHost *hostCapabilities; GList *secmodels, *iter; gboolean supportsSelinux = FALSE; gboolean supportsAppArmor = FALSE; /* What security models are available on the host? */ if (!(configCapabilities = gvir_connection_get_capabilities(connection, error))) { g_object_unref(connection); return FALSE; } hostCapabilities = gvir_config_capabilities_get_host(configCapabilities); secmodels = gvir_config_capabilities_host_get_secmodels(hostCapabilities); for (iter = secmodels; iter != NULL; iter = iter->next) { if (g_str_equal(gvir_config_capabilities_host_secmodel_get_model( GVIR_CONFIG_CAPABILITIES_HOST_SECMODEL(iter->data)), "selinux")) supportsSelinux = TRUE; if (g_str_equal(gvir_config_capabilities_host_secmodel_get_model( GVIR_CONFIG_CAPABILITIES_HOST_SECMODEL(iter->data)), "apparmor")) supportsAppArmor = TRUE; g_object_unref(iter->data); } g_list_free(secmodels); g_object_unref(hostCapabilities); g_object_unref(configCapabilities); g_object_unref(connection); if (supportsSelinux) return gvir_sandbox_builder_construct_security_selinux(builder, config, domain, error); else if (supportsAppArmor) return gvir_sandbox_builder_construct_security_apparmor(builder, config, domain, error); return TRUE; } static gboolean gvir_sandbox_builder_clean_post_start_default(GVirSandboxBuilder *builder G_GNUC_UNUSED, GVirSandboxConfig *config G_GNUC_UNUSED, const gchar *statedir G_GNUC_UNUSED, GError **error G_GNUC_UNUSED) { return TRUE; } static gboolean gvir_sandbox_builder_clean_post_stop_default(GVirSandboxBuilder *builder G_GNUC_UNUSED, GVirSandboxConfig *config G_GNUC_UNUSED, const gchar *statedir G_GNUC_UNUSED, GError **error G_GNUC_UNUSED) { return TRUE; } static GList *gvir_sandbox_builder_get_files_to_copy(GVirSandboxBuilder *builder, GVirSandboxConfig *config G_GNUC_UNUSED) { GList *tocopy = NULL; gchar *file = g_strdup_printf("%s/libvirt-sandbox-init-common", LIBEXECDIR); return g_list_append(tocopy, file); } /** * gvir_sandbox_builder_construct: * @builder: (transfer none): the sandbox builder * @config: (transfer none): the sandbox configuration * @error: (out): the error location * * Create a domain configuration from the sandbox configuration * * Returns: (transfer full): the newly built domain configuration */ GVirConfigDomain *gvir_sandbox_builder_construct(GVirSandboxBuilder *builder, GVirSandboxConfig *config, const gchar *statedir, GError **error) { GVirConfigDomain *domain = gvir_config_domain_new(); GVirSandboxBuilderClass *klass = GVIR_SANDBOX_BUILDER_GET_CLASS(builder); if (!(klass->construct_domain(builder, config, statedir, domain, error))) { g_object_unref(domain); return NULL; } return domain; } /** * gvir_sandbox_builder_clean_post_start: * @builder: (transfer none): the sandbox builder * @config: (transfer none): the sandbox configuration * @error: (out): the error location * * Cleanup temporary files which are not required once the sandbox * has been started. * * Returns: TRUE on success, FALSE on error */ gboolean gvir_sandbox_builder_clean_post_start(GVirSandboxBuilder *builder, GVirSandboxConfig *config, const gchar *statedir, GError **error) { GVirSandboxBuilderClass *klass = GVIR_SANDBOX_BUILDER_GET_CLASS(builder); return klass->clean_post_start(builder, config, statedir, error); } /** * gvir_sandbox_builder_clean_post_stop: * @builder: (transfer none): the sandbox builder * @config: (transfer none): the sandbox configuration * @error: (out): the error location * * Cleanup temporary files which are not required once the sandbox * has been started. * * Returns: TRUE on success, FALSE on error */ gboolean gvir_sandbox_builder_clean_post_stop(GVirSandboxBuilder *builder, GVirSandboxConfig *config, const gchar *statedir, GError **error) { GVirSandboxBuilderClass *klass = GVIR_SANDBOX_BUILDER_GET_CLASS(builder); gchar *libsdir = g_build_filename(statedir, "config", ".libs", NULL); GFile *libsFile = g_file_new_for_path(libsdir); GFileEnumerator *enumerator = NULL; GFileInfo *info = NULL; GFile *child = NULL; gchar *dskfile = g_build_filename(statedir, "config", "disks.cfg", NULL); gboolean ret = TRUE; ret = klass->clean_post_stop(builder, config, statedir, error); if (unlink(dskfile) < 0 && errno != ENOENT) ret = FALSE; if ((enumerator = g_file_enumerate_children(libsFile, "*", G_FILE_QUERY_INFO_NONE, NULL, error))) { while ((info = g_file_enumerator_next_file(enumerator, NULL, error))) { child = g_file_enumerator_get_child(enumerator, info); if (!g_file_delete(child, NULL, error)) ret = FALSE; g_object_unref(child); child = NULL; g_object_unref(info); info = NULL; } if (!g_file_enumerator_close(enumerator, NULL, error)) ret = FALSE; } else { if ((*error)->code != G_IO_ERROR_NOT_FOUND) { ret = FALSE; goto cleanup; } g_clear_error(error); } if (!g_file_delete(libsFile, NULL, error) && (*error)->code != G_IO_ERROR_NOT_FOUND) ret = FALSE; cleanup: if (enumerator) g_object_unref(enumerator); g_object_unref(libsFile); g_free(libsdir); g_free(dskfile); return ret; } void gvir_sandbox_builder_set_filterref(GVirSandboxBuilder *builder, GVirConfigDomainInterface *iface, GVirSandboxConfigNetworkFilterref *filterref) { GVirConfigDomainInterfaceFilterref *glib_fref; GList *param_iter, *parameters; const gchar *fref_name = gvir_sandbox_config_network_filterref_get_name(filterref); glib_fref = gvir_config_domain_interface_filterref_new(); gvir_config_domain_interface_filterref_set_name(glib_fref, fref_name); param_iter = parameters = gvir_sandbox_config_network_filterref_get_parameters(filterref); while (param_iter) { const gchar *name; const gchar *value; GVirSandboxConfigNetworkFilterrefParameter *param = GVIR_SANDBOX_CONFIG_NETWORK_FILTERREF_PARAMETER(param_iter->data); GVirConfigDomainInterfaceFilterrefParameter *glib_param; name = gvir_sandbox_config_network_filterref_parameter_get_name(param); value = gvir_sandbox_config_network_filterref_parameter_get_value(param); glib_param = gvir_config_domain_interface_filterref_parameter_new(); gvir_config_domain_interface_filterref_parameter_set_name(glib_param, name); gvir_config_domain_interface_filterref_parameter_set_value(glib_param, value); gvir_config_domain_interface_filterref_add_parameter(glib_fref, glib_param); g_object_unref(glib_param); param_iter = param_iter->next; } g_list_foreach(parameters, (GFunc)g_object_unref, NULL); g_list_free(parameters); gvir_config_domain_interface_set_filterref(iface, glib_fref); g_object_unref(glib_fref); } /* * Local variables: * c-indent-level: 4 * c-basic-offset: 4 * indent-tabs-mode: nil * tab-width: 8 * End: */ libvirt-sandbox-0.5.1+git20160404/libvirt-sandbox/libvirt-sandbox-builder.h000066400000000000000000000140561275305543100262520ustar00rootroot00000000000000/* * libvirt-sandbox-builder.h: libvirt sandbox builder * * Copyright (C) 2011 Red Hat, Inc. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. * * This library is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA * * Author: Daniel P. Berrange */ #if !defined(__LIBVIRT_SANDBOX_H__) && !defined(LIBVIRT_SANDBOX_BUILD) #error "Only can be included directly." #endif #ifndef __LIBVIRT_SANDBOX_BUILDER_H__ #define __LIBVIRT_SANDBOX_BUILDER_H__ G_BEGIN_DECLS #define GVIR_SANDBOX_TYPE_BUILDER (gvir_sandbox_builder_get_type ()) #define GVIR_SANDBOX_BUILDER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GVIR_SANDBOX_TYPE_BUILDER, GVirSandboxBuilder)) #define GVIR_SANDBOX_BUILDER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GVIR_SANDBOX_TYPE_BUILDER, GVirSandboxBuilderClass)) #define GVIR_SANDBOX_IS_BUILDER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GVIR_SANDBOX_TYPE_BUILDER)) #define GVIR_SANDBOX_IS_BUILDER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GVIR_SANDBOX_TYPE_BUILDER)) #define GVIR_SANDBOX_BUILDER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GVIR_SANDBOX_TYPE_BUILDER, GVirSandboxBuilderClass)) #define GVIR_SANDBOX_TYPE_BUILDER_HANDLE (gvir_sandbox_builder_handle_get_type ()) typedef struct _GVirSandboxBuilder GVirSandboxBuilder; typedef struct _GVirSandboxBuilderPrivate GVirSandboxBuilderPrivate; typedef struct _GVirSandboxBuilderClass GVirSandboxBuilderClass; struct _GVirSandboxBuilder { GObject parent; GVirSandboxBuilderPrivate *priv; /* Do not add fields to this struct */ }; struct _GVirSandboxBuilderClass { GObjectClass parent_class; gboolean (*construct_basic)(GVirSandboxBuilder *builder, GVirSandboxConfig *config, const gchar *statedir, GVirConfigDomain *domain, GError **error); gboolean (*construct_os)(GVirSandboxBuilder *builder, GVirSandboxConfig *config, const gchar *statedir, GVirConfigDomain *domain, GError **error); gboolean (*construct_features)(GVirSandboxBuilder *builder, GVirSandboxConfig *config, const gchar *statedir, GVirConfigDomain *domain, GError **error); gboolean (*construct_devices)(GVirSandboxBuilder *builder, GVirSandboxConfig *config, const gchar *statedir, GVirConfigDomain *domain, GError **error); gboolean (*construct_security)(GVirSandboxBuilder *builder, GVirSandboxConfig *config, const gchar *statedir, GVirConfigDomain *domain, GError **error); gboolean (*construct_domain)(GVirSandboxBuilder *builder, GVirSandboxConfig *config, const gchar *statedir, GVirConfigDomain *domain, GError **error); gboolean (*clean_post_start)(GVirSandboxBuilder *builder, GVirSandboxConfig *config, const gchar *statedir, GError **error); gboolean (*clean_post_stop)(GVirSandboxBuilder *builder, GVirSandboxConfig *config, const gchar *statedir, GError **error); const gchar *(*get_disk_prefix)(GVirSandboxBuilder *builder, GVirSandboxConfig *config, GVirSandboxConfigDisk *disk); GList *(*get_files_to_copy)(GVirSandboxBuilder *builder, GVirSandboxConfig *config); gpointer padding[LIBVIRT_SANDBOX_CLASS_PADDING]; }; GType gvir_sandbox_builder_get_type(void); GVirSandboxBuilder *gvir_sandbox_builder_for_connection(GVirConnection *connection, GError **error); GVirConnection *gvir_sandbox_builder_get_connection(GVirSandboxBuilder *builder); GVirConfigDomain *gvir_sandbox_builder_construct(GVirSandboxBuilder *builder, GVirSandboxConfig *config, const gchar *statedir, GError **error); gboolean gvir_sandbox_builder_clean_post_start(GVirSandboxBuilder *builder, GVirSandboxConfig *config, const gchar *statedir, GError **error); gboolean gvir_sandbox_builder_clean_post_stop(GVirSandboxBuilder *builder, GVirSandboxConfig *config, const gchar *statedir, GError **error); G_END_DECLS #endif /* __LIBVIRT_SANDBOX_BUILDER_H__ */ /* * Local variables: * c-indent-level: 4 * c-basic-offset: 4 * indent-tabs-mode: nil * tab-width: 8 * End: */ libvirt-sandbox-0.5.1+git20160404/libvirt-sandbox/libvirt-sandbox-config-all.h000066400000000000000000000047231275305543100266370ustar00rootroot00000000000000/* * libvirt-sandbox.h: libvirt sandbox integration [ * * Copyright (C) 2010 Red Hat, Inc. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. * * This library is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA * * Author: Daniel P. Berrange */ #ifndef __LIBVIRT_SANDBOX_CONFIG_ALL_H__ #define __LIBVIRT_SANDBOX_CONFIG_ALL_H__ /* External include */ #include #include #include #include /* Local includes */ #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #endif /* __LIBVIRT_SANDBOX_CONFIG_ALL_H__ */ /* * Local variables: * c-indent-level: 4 * c-basic-offset: 4 * indent-tabs-mode: nil * tab-width: 8 * End: */ libvirt-sandbox-0.5.1+git20160404/libvirt-sandbox/libvirt-sandbox-config-disk.c000066400000000000000000000227351275305543100270170ustar00rootroot00000000000000/* * libvirt-sandbox-config-disk.c: libvirt sandbox configuration * * Copyright (C) 2015 Universitat Politècnica de Catalunya. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. * * This library is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA * * Author: Eren Yagdiran */ #include #include #include "libvirt-sandbox/libvirt-sandbox-config-all.h" /** * SECTION: libvirt-sandbox-config-disk * @short_description: Disk attachment configuration details * @include: libvirt-sandbox/libvirt-sandbox.h * @see_aloso: #GVirSandboxConfig * * Provides an object to store information about a disk attachment in the sandbox * */ #define GVIR_SANDBOX_CONFIG_DISK_GET_PRIVATE(obj) \ (G_TYPE_INSTANCE_GET_PRIVATE((obj), GVIR_SANDBOX_TYPE_CONFIG_DISK, GVirSandboxConfigDiskPrivate)) struct _GVirSandboxConfigDiskPrivate { GVirConfigDomainDiskType type; gchar *tag; gchar *source; GVirConfigDomainDiskFormat format; }; G_DEFINE_TYPE(GVirSandboxConfigDisk, gvir_sandbox_config_disk, G_TYPE_OBJECT); enum { PROP_0, PROP_TYPE, PROP_TAG, PROP_SOURCE, PROP_FORMAT }; enum { LAST_SIGNAL }; static void gvir_sandbox_config_disk_get_property(GObject *object, guint prop_id, GValue *value, GParamSpec *pspec) { GVirSandboxConfigDisk *config = GVIR_SANDBOX_CONFIG_DISK(object); GVirSandboxConfigDiskPrivate *priv = config->priv; switch (prop_id) { case PROP_TAG: g_value_set_string(value, priv->tag); break; case PROP_SOURCE: g_value_set_string(value, priv->source); break; case PROP_TYPE: g_value_set_enum(value, priv->type); break; case PROP_FORMAT: g_value_set_enum(value, priv->format); break; default: G_OBJECT_WARN_INVALID_PROPERTY_ID(object, prop_id, pspec); } } static void gvir_sandbox_config_disk_set_property(GObject *object, guint prop_id, const GValue *value, GParamSpec *pspec) { GVirSandboxConfigDisk *config = GVIR_SANDBOX_CONFIG_DISK(object); GVirSandboxConfigDiskPrivate *priv = config->priv; switch (prop_id) { case PROP_TAG: g_free(priv->tag); priv->tag = g_value_dup_string(value); break; case PROP_SOURCE: g_free(priv->source); priv->source = g_value_dup_string(value); break; case PROP_TYPE: priv->type = g_value_get_enum(value); break; case PROP_FORMAT: priv->format = g_value_get_enum(value); break; default: G_OBJECT_WARN_INVALID_PROPERTY_ID(object, prop_id, pspec); } } static void gvir_sandbox_config_disk_finalize(GObject *object) { GVirSandboxConfigDisk *config = GVIR_SANDBOX_CONFIG_DISK(object); GVirSandboxConfigDiskPrivate *priv = config->priv; g_free(priv->tag); g_free(priv->source); G_OBJECT_CLASS(gvir_sandbox_config_disk_parent_class)->finalize(object); } static void gvir_sandbox_config_disk_class_init(GVirSandboxConfigDiskClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS(klass); object_class->finalize = gvir_sandbox_config_disk_finalize; object_class->get_property = gvir_sandbox_config_disk_get_property; object_class->set_property = gvir_sandbox_config_disk_set_property; g_object_class_install_property(object_class, PROP_TAG, g_param_spec_string("tag", "Tag", "The sandbox tag property", NULL, G_PARAM_READABLE | G_PARAM_WRITABLE | G_PARAM_CONSTRUCT_ONLY | G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB)); g_object_class_install_property(object_class, PROP_SOURCE, g_param_spec_string("source", "Source", "The sandbox source directory", NULL, G_PARAM_READABLE | G_PARAM_WRITABLE | G_PARAM_CONSTRUCT_ONLY | G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB)); g_object_class_install_property(object_class, PROP_TYPE, g_param_spec_enum("type", "Disk type", "The sandbox disk type", GVIR_CONFIG_TYPE_DOMAIN_DISK_TYPE, GVIR_CONFIG_DOMAIN_DISK_FILE, G_PARAM_READABLE | G_PARAM_WRITABLE | G_PARAM_CONSTRUCT_ONLY | G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB)); g_object_class_install_property(object_class, PROP_FORMAT, g_param_spec_enum("format", "Disk format", "The sandbox disk format", GVIR_CONFIG_TYPE_DOMAIN_DISK_FORMAT, GVIR_CONFIG_DOMAIN_DISK_FORMAT_RAW, G_PARAM_READABLE | G_PARAM_WRITABLE | G_PARAM_CONSTRUCT_ONLY | G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB)); g_type_class_add_private(klass, sizeof(GVirSandboxConfigDiskPrivate)); } static void gvir_sandbox_config_disk_init(GVirSandboxConfigDisk *config) { config->priv = GVIR_SANDBOX_CONFIG_DISK_GET_PRIVATE(config); } /** * gvir_sandbox_config_disk_get_disk_type: * @config: (transfer none): the sandbox disk config * * Retrieves the type property for the custom disk * * Returns: (transfer none): the type property of disk */ GVirConfigDomainDiskType gvir_sandbox_config_disk_get_disk_type(GVirSandboxConfigDisk *config) { GVirSandboxConfigDiskPrivate *priv = config->priv; return priv->type; } /** * gvir_sandbox_config_disk_get_format: * @config: (transfer none): the sandbox disk config * * Retrieves the format property for the custom disk * * Returns: (transfer none): the format property of disk */ GVirConfigDomainDiskFormat gvir_sandbox_config_disk_get_format(GVirSandboxConfigDisk *config) { GVirSandboxConfigDiskPrivate *priv = config->priv; return priv->format; } /** * gvir_sandbox_config_disk_get_tag: * @config: (transfer none): the sandbox disk config * * Retrieves the tag property for the custom disk * * Returns: (transfer none): the tag property path */ const gchar *gvir_sandbox_config_disk_get_tag(GVirSandboxConfigDisk *config) { GVirSandboxConfigDiskPrivate *priv = config->priv; return priv->tag; } /** * gvir_sandbox_config_disk_get_source: * @config: (transfer none): the sandbox disk config * * Retrieves the source property for the custom disk * * Returns: (transfer none): the source property */ const gchar *gvir_sandbox_config_disk_get_source(GVirSandboxConfigDisk *config) { GVirSandboxConfigDiskPrivate *priv = config->priv; return priv->source; } /* * Local variables: * c-indent-level: 4 * c-basic-offset: 4 * indent-tabs-mode: nil * tab-width: 8 * End: */ libvirt-sandbox-0.5.1+git20160404/libvirt-sandbox/libvirt-sandbox-config-disk.h000066400000000000000000000060351275305543100270170ustar00rootroot00000000000000/* * libvirt-sandbox-config-diskaccess.h: libvirt sandbox configuration * * Copyright (C) 2015 Universitat Politècnica de Catalunya. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. * * This library is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA * * Author: Eren Yagdiran */ #if !defined(__LIBVIRT_SANDBOX_H__) && !defined(LIBVIRT_SANDBOX_BUILD) #error "Only can be included directly." #endif #ifndef __LIBVIRT_SANDBOX_CONFIG_DISK_H__ #define __LIBVIRT_SANDBOX_CONFIG_DISK_H__ G_BEGIN_DECLS #define GVIR_SANDBOX_TYPE_CONFIG_DISK (gvir_sandbox_config_disk_get_type ()) #define GVIR_SANDBOX_CONFIG_DISK(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GVIR_SANDBOX_TYPE_CONFIG_DISK, GVirSandboxConfigDisk)) #define GVIR_SANDBOX_CONFIG_DISK_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GVIR_SANDBOX_TYPE_CONFIG_DISK, GVirSandboxConfigDiskClass)) #define GVIR_SANDBOX_IS_CONFIG_DISK(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GVIR_SANDBOX_TYPE_CONFIG_DISK)) #define GVIR_SANDBOX_IS_CONFIG_DISK_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GVIR_SANDBOX_TYPE_CONFIG_DISK)) #define GVIR_SANDBOX_CONFIG_DISK_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GVIR_SANDBOX_TYPE_CONFIG_DISK, GVirSandboxConfigDiskClass)) #define GVIR_SANDBOX_TYPE_CONFIG_DISK_HANDLE (gvir_sandbox_config_disk_handle_get_type ()) typedef struct _GVirSandboxConfigDisk GVirSandboxConfigDisk; typedef struct _GVirSandboxConfigDiskPrivate GVirSandboxConfigDiskPrivate; typedef struct _GVirSandboxConfigDiskClass GVirSandboxConfigDiskClass; struct _GVirSandboxConfigDisk { GObject parent; GVirSandboxConfigDiskPrivate *priv; /* Do not add fields to this struct */ }; struct _GVirSandboxConfigDiskClass { GObjectClass parent_class; gpointer padding[LIBVIRT_SANDBOX_CLASS_PADDING]; }; GType gvir_sandbox_config_disk_get_type(void); const gchar *gvir_sandbox_config_disk_get_tag(GVirSandboxConfigDisk *config); const gchar *gvir_sandbox_config_disk_get_source(GVirSandboxConfigDisk *config); GVirConfigDomainDiskType gvir_sandbox_config_disk_get_disk_type(GVirSandboxConfigDisk *config); GVirConfigDomainDiskFormat gvir_sandbox_config_disk_get_format(GVirSandboxConfigDisk *config); G_END_DECLS #endif /* __LIBVIRT_SANDBOX_CONFIG_DISK_H__ */ /* * Local variables: * c-indent-level: 4 * c-basic-offset: 4 * indent-tabs-mode: nil * tab-width: 8 * End: */ libvirt-sandbox-0.5.1+git20160404/libvirt-sandbox/libvirt-sandbox-config-initrd.c000066400000000000000000000253041275305543100273510ustar00rootroot00000000000000/* * libvirt-sandbox-config-initrd.c: libvirt sandbox configuration * * Copyright (C) 2011 Red Hat, Inc. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. * * This library is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA * * Author: Daniel P. Berrange */ #include #include #include "libvirt-sandbox/libvirt-sandbox-config-all.h" /** * SECTION: libvirt-sandbox-config-initrd * @short_description: Kernel ramdisk configuration details * @include: libvirt-sandbox/libvirt-sandbox.h * * Provides an object to store information about a kernel ramdisk * * The GVirSandboxConfigInitrd object stores the information required * to build a kernel ramdisk to use when booting a virtual machine * as a sandbox. */ #define GVIR_SANDBOX_CONFIG_INITRD_GET_PRIVATE(obj) \ (G_TYPE_INSTANCE_GET_PRIVATE((obj), GVIR_SANDBOX_TYPE_CONFIG_INITRD, GVirSandboxConfigInitrdPrivate)) struct _GVirSandboxConfigInitrdPrivate { gchar *kver; gchar *init; gchar *kmoddir; GList *modules; }; G_DEFINE_TYPE(GVirSandboxConfigInitrd, gvir_sandbox_config_initrd, G_TYPE_OBJECT); enum { PROP_0, PROP_KVER, PROP_KMODDIR, PROP_INIT, }; enum { LAST_SIGNAL }; //static gint signals[LAST_SIGNAL]; static void gvir_sandbox_config_initrd_get_property(GObject *object, guint prop_id, GValue *value, GParamSpec *pspec) { GVirSandboxConfigInitrd *config = GVIR_SANDBOX_CONFIG_INITRD(object); GVirSandboxConfigInitrdPrivate *priv = config->priv; switch (prop_id) { case PROP_KVER: g_value_set_string(value, priv->kver); break; case PROP_KMODDIR: g_value_set_string(value, priv->kmoddir); break; case PROP_INIT: g_value_set_string(value, priv->init); break; default: G_OBJECT_WARN_INVALID_PROPERTY_ID(object, prop_id, pspec); } } static void gvir_sandbox_config_initrd_set_property(GObject *object, guint prop_id, const GValue *value, GParamSpec *pspec) { GVirSandboxConfigInitrd *config = GVIR_SANDBOX_CONFIG_INITRD(object); GVirSandboxConfigInitrdPrivate *priv = config->priv; switch (prop_id) { case PROP_KVER: g_free(priv->kver); priv->kver = g_value_dup_string(value); break; case PROP_KMODDIR: g_free(priv->kmoddir); priv->kmoddir = g_value_dup_string(value); break; case PROP_INIT: g_free(priv->init); priv->init = g_value_dup_string(value); break; default: G_OBJECT_WARN_INVALID_PROPERTY_ID(object, prop_id, pspec); } } static void gvir_sandbox_config_initrd_finalize(GObject *object) { GVirSandboxConfigInitrd *config = GVIR_SANDBOX_CONFIG_INITRD(object); GVirSandboxConfigInitrdPrivate *priv = config->priv; g_free(priv->init); G_OBJECT_CLASS(gvir_sandbox_config_initrd_parent_class)->finalize(object); } static void gvir_sandbox_config_initrd_class_init(GVirSandboxConfigInitrdClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS(klass); object_class->finalize = gvir_sandbox_config_initrd_finalize; object_class->get_property = gvir_sandbox_config_initrd_get_property; object_class->set_property = gvir_sandbox_config_initrd_set_property; g_object_class_install_property(object_class, PROP_KVER, g_param_spec_string("kver", "Kernel version", "The host kernel version", NULL, G_PARAM_READABLE | G_PARAM_WRITABLE | G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB)); g_object_class_install_property(object_class, PROP_KMODDIR, g_param_spec_string("kmoddir", "Kmoddir", "Kernel modules directory", NULL, G_PARAM_READABLE | G_PARAM_WRITABLE | G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB)); g_object_class_install_property(object_class, PROP_INIT, g_param_spec_string("init", "Init", "The host init path", NULL, G_PARAM_READABLE | G_PARAM_WRITABLE | G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB)); g_type_class_add_private(klass, sizeof(GVirSandboxConfigInitrdPrivate)); } static void gvir_sandbox_config_initrd_init(GVirSandboxConfigInitrd *config) { GVirSandboxConfigInitrdPrivate *priv = config->priv; priv = config->priv = GVIR_SANDBOX_CONFIG_INITRD_GET_PRIVATE(config); priv->init = g_strdup(LIBEXECDIR "/libvirt-sandbox-init-qemu"); } /** * gvir_sandbox_config_initrd_new: * * Create a new initrd config * * Returns: (transfer full): a new sandbox initrd object */ GVirSandboxConfigInitrd *gvir_sandbox_config_initrd_new(void) { return GVIR_SANDBOX_CONFIG_INITRD(g_object_new(GVIR_SANDBOX_TYPE_CONFIG_INITRD, NULL)); } /** * gvir_sandbox_config_initrd_set_kver: * @config: (transfer none): the sandbox initrd config * @version: (transfer none): the kernel version * * Sets the host kernel version to use for populating the initrd with modules. * This defaults to the currently running kernel version */ void gvir_sandbox_config_initrd_set_kver(GVirSandboxConfigInitrd *config, const gchar *version) { GVirSandboxConfigInitrdPrivate *priv = config->priv; g_free(priv->kver); priv->kver = g_strdup(version); } /** * gvir_sandbox_config_initrd_get_kver: * @config: (transfer none): the sandbox initrd config * * Retrieves the path of the kver binary * * Returns: (transfer none): the kver binary path */ const gchar *gvir_sandbox_config_initrd_get_kver(GVirSandboxConfigInitrd *config) { GVirSandboxConfigInitrdPrivate *priv = config->priv; return priv->kver; } /** * gvir_sandbox_config_initrd_set_kmoddir: * @config: (transfer none): the sandbox initrd config * @kmoddir: (transfer none): the full path to the kernel modules directory * * Sets the full path to where the kernel modules will be looked up */ void gvir_sandbox_config_initrd_set_kmoddir(GVirSandboxConfigInitrd *config, const gchar *kmoddir) { GVirSandboxConfigInitrdPrivate *priv = config->priv; g_free(priv->kmoddir); priv->kmoddir = g_strdup(kmoddir); } /** * gvir_sandbox_config_initrd_get_kmoddir: * @config: (transfer none): the full path to the kernel modules directory * * Retrieves the current kernel modules directory * * Returns: (transfer none): the full path to the kernel modules directory */ const gchar *gvir_sandbox_config_initrd_get_kmoddir(GVirSandboxConfigInitrd *config) { GVirSandboxConfigInitrdPrivate *priv = config->priv; return priv->kmoddir; } /** * gvir_sandbox_config_initrd_set_init: * @config: (transfer none): the sandbox initrd config * @hostpath: (transfer none): the init binary path * * Sets the host binary to be used as the init program inside * the initrd. This defaults to /usr/bin/libvirt-sandbox-init-qemu */ void gvir_sandbox_config_initrd_set_init(GVirSandboxConfigInitrd *config, const gchar *hostpath) { GVirSandboxConfigInitrdPrivate *priv = config->priv; g_free(priv->init); priv->init = g_strdup(hostpath); } /** * gvir_sandbox_config_initrd_get_init: * @config: (transfer none): the sandbox initrd config * * Retrieves the path of the init binary * * Returns: (transfer none): the init binary path */ const gchar *gvir_sandbox_config_initrd_get_init(GVirSandboxConfigInitrd *config) { GVirSandboxConfigInitrdPrivate *priv = config->priv; return priv->init; } /** * gvir_sandbox_config_initrd_add_module: * @config: (transfer none): the sandbox initrd config * @modname: (transfer none): the kernel module name * * Request that the kernel module @modname is included in the initrd, * along with any depedent modules */ void gvir_sandbox_config_initrd_add_module(GVirSandboxConfigInitrd *config, const gchar *modname) { GVirSandboxConfigInitrdPrivate *priv = config->priv; priv->modules = g_list_append(priv->modules, g_strdup(modname)); } /** * gvir_sandbox_config_initrd_get_modules: * @config: (transfer none): the sandbox initrd config * * Retrieves the list of all modules * * Returns: (transfer container)(element-type utf8): the module names */ GList *gvir_sandbox_config_initrd_get_modules(GVirSandboxConfigInitrd *config) { GVirSandboxConfigInitrdPrivate *priv = config->priv; return g_list_copy(priv->modules); } /* * Local variables: * c-indent-level: 4 * c-basic-offset: 4 * indent-tabs-mode: nil * tab-width: 8 * End: */ libvirt-sandbox-0.5.1+git20160404/libvirt-sandbox/libvirt-sandbox-config-initrd.h000066400000000000000000000067661275305543100273710ustar00rootroot00000000000000/* * libvirt-sandbox-config-initrd.h: libvirt sandbox configuration * * Copyright (C) 2011 Red Hat, Inc. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. * * This library is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA * * Author: Daniel P. Berrange */ #if !defined(__LIBVIRT_SANDBOX_H__) && !defined(LIBVIRT_SANDBOX_BUILD) #error "Only can be included directly." #endif #ifndef __LIBVIRT_SANDBOX_CONFIG_INITRD_H__ #define __LIBVIRT_SANDBOX_CONFIG_INITRD_H__ G_BEGIN_DECLS #define GVIR_SANDBOX_TYPE_CONFIG_INITRD (gvir_sandbox_config_initrd_get_type ()) #define GVIR_SANDBOX_CONFIG_INITRD(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GVIR_SANDBOX_TYPE_CONFIG_INITRD, GVirSandboxConfigInitrd)) #define GVIR_SANDBOX_CONFIG_INITRD_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GVIR_SANDBOX_TYPE_CONFIG_INITRD, GVirSandboxConfigInitrdClass)) #define GVIR_SANDBOX_IS_CONFIG_INITRD(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GVIR_SANDBOX_TYPE_CONFIG_INITRD)) #define GVIR_SANDBOX_IS_CONFIG_INITRD_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GVIR_SANDBOX_TYPE_CONFIG_INITRD)) #define GVIR_SANDBOX_CONFIG_INITRD_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GVIR_SANDBOX_TYPE_CONFIG_INITRD, GVirSandboxConfigInitrdClass)) #define GVIR_SANDBOX_TYPE_CONFIG_INITRD_HANDLE (gvir_sandbox_config_initrd_handle_get_type ()) typedef struct _GVirSandboxConfigInitrd GVirSandboxConfigInitrd; typedef struct _GVirSandboxConfigInitrdPrivate GVirSandboxConfigInitrdPrivate; typedef struct _GVirSandboxConfigInitrdClass GVirSandboxConfigInitrdClass; struct _GVirSandboxConfigInitrd { GObject parent; GVirSandboxConfigInitrdPrivate *priv; /* Do not add fields to this struct */ }; struct _GVirSandboxConfigInitrdClass { GObjectClass parent_class; gpointer padding[LIBVIRT_SANDBOX_CLASS_PADDING]; }; GType gvir_sandbox_config_initrd_get_type(void); GVirSandboxConfigInitrd *gvir_sandbox_config_initrd_new(void); void gvir_sandbox_config_initrd_set_kver(GVirSandboxConfigInitrd *config, const gchar *version); const gchar *gvir_sandbox_config_initrd_get_kver(GVirSandboxConfigInitrd *config); void gvir_sandbox_config_initrd_set_kmoddir(GVirSandboxConfigInitrd *config, const gchar *kmoddir); const gchar *gvir_sandbox_config_initrd_get_kmoddir(GVirSandboxConfigInitrd *config); void gvir_sandbox_config_initrd_set_init(GVirSandboxConfigInitrd *config, const gchar *hostpath); const gchar *gvir_sandbox_config_initrd_get_init(GVirSandboxConfigInitrd *config); void gvir_sandbox_config_initrd_add_module(GVirSandboxConfigInitrd *config, const gchar *modname); GList *gvir_sandbox_config_initrd_get_modules(GVirSandboxConfigInitrd *config); G_END_DECLS #endif /* __LIBVIRT_SANDBOX_CONFIG_INITRD_H__ */ /* * Local variables: * c-indent-level: 4 * c-basic-offset: 4 * indent-tabs-mode: nil * tab-width: 8 * End: */ libvirt-sandbox-0.5.1+git20160404/libvirt-sandbox/libvirt-sandbox-config-interactive.c000066400000000000000000000235431275305543100304000ustar00rootroot00000000000000/* * libvirt-sandbox-config-interactive.c: libvirt sandbox configuration * * Copyright (C) 2011 Red Hat, Inc. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. * * This library is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA * * Author: Daniel P. Berrange */ #include #include #include "libvirt-sandbox/libvirt-sandbox-config-all.h" /** * SECTION: libvirt-sandbox-config-interactive * @short_description: Interactive sandbox configuration details * @include: libvirt-sandbox/libvirt-sandbox.h * @see_also: #GVirSandboxConfigInteractive * * Provides an object to store configuration details for a interactive config * * The GVirSandboxConfigInteractive object extends #GVirSandboxConfig to store * the extra information required to setup a _interactive desktop application * sandbox. */ #define GVIR_SANDBOX_CONFIG_INTERACTIVE_GET_PRIVATE(obj) \ (G_TYPE_INSTANCE_GET_PRIVATE((obj), GVIR_SANDBOX_TYPE_CONFIG_INTERACTIVE, GVirSandboxConfigInteractivePrivate)) struct _GVirSandboxConfigInteractivePrivate { gboolean tty; gchar **command; }; G_DEFINE_TYPE(GVirSandboxConfigInteractive, gvir_sandbox_config_interactive, GVIR_SANDBOX_TYPE_CONFIG); static gchar **gvir_sandbox_config_interactive_get_command(GVirSandboxConfig *config); enum { PROP_0, PROP_TTY, }; enum { LAST_SIGNAL }; //static gint signals[LAST_SIGNAL]; static void gvir_sandbox_config_interactive_get_property(GObject *object, guint prop_id, GValue *value, GParamSpec *pspec) { GVirSandboxConfigInteractive *config = GVIR_SANDBOX_CONFIG_INTERACTIVE(object); GVirSandboxConfigInteractivePrivate *priv = config->priv; switch (prop_id) { case PROP_TTY: g_value_set_boolean(value, priv->tty); break; default: G_OBJECT_WARN_INVALID_PROPERTY_ID(object, prop_id, pspec); } } static void gvir_sandbox_config_interactive_set_property(GObject *object, guint prop_id, const GValue *value, GParamSpec *pspec) { GVirSandboxConfigInteractive *config = GVIR_SANDBOX_CONFIG_INTERACTIVE(object); GVirSandboxConfigInteractivePrivate *priv = config->priv; switch (prop_id) { case PROP_TTY: priv->tty = g_value_get_boolean(value); break; default: G_OBJECT_WARN_INVALID_PROPERTY_ID(object, prop_id, pspec); } } static gboolean gvir_sandbox_config_interactive_load_config(GVirSandboxConfig *config, GKeyFile *file, GError **error) { GVirSandboxConfigInteractivePrivate *priv = GVIR_SANDBOX_CONFIG_INTERACTIVE(config)->priv; gboolean ret = FALSE; size_t i; gchar *str; gboolean b; GError *e = NULL; gchar **argv = g_new0(gchar *, 1); gsize argc = 0; argv[0] = NULL; if (!GVIR_SANDBOX_CONFIG_CLASS(gvir_sandbox_config_interactive_parent_class) ->load_config(config, file, error)) goto cleanup; b = g_key_file_get_boolean(file, "interactive", "tty", &e); if (e) { g_error_free(e); e = NULL; } else { priv->tty = b; } for (i = 0 ; i < 1024 ; i++) { gchar *key = g_strdup_printf("argv.%zu", i); if ((str = g_key_file_get_string(file, "command", key, &e)) == NULL) { if (e->code == G_KEY_FILE_ERROR_KEY_NOT_FOUND) { g_error_free(e); e = NULL; break; } g_propagate_error(error, e); goto cleanup; } argv = g_renew(char *, argv, argc+2); argv[argc++] = str; argv[argc] = NULL; } g_strfreev(priv->command); priv->command = argv; argv = NULL; ret = TRUE; cleanup: if (argv) g_strfreev(argv); return ret; } static void gvir_sandbox_config_interactive_save_config(GVirSandboxConfig *config, GKeyFile *file) { GVirSandboxConfigInteractivePrivate *priv = GVIR_SANDBOX_CONFIG_INTERACTIVE(config)->priv; size_t i, argc; GVIR_SANDBOX_CONFIG_CLASS(gvir_sandbox_config_interactive_parent_class) ->save_config(config, file); g_key_file_set_boolean(file, "interactive", "tty", priv->tty); argc = g_strv_length(priv->command); for (i = 0 ; i < argc ; i++) { gchar *key = g_strdup_printf("argv.%zu", i); g_key_file_set_string(file, "command", key, priv->command[i]); g_free(key); } } static void gvir_sandbox_config_interactive_finalize(GObject *object) { GVirSandboxConfigInteractive *config = GVIR_SANDBOX_CONFIG_INTERACTIVE(object); GVirSandboxConfigInteractivePrivate *priv = config->priv; g_strfreev(priv->command); G_OBJECT_CLASS(gvir_sandbox_config_interactive_parent_class)->finalize(object); } static void gvir_sandbox_config_interactive_class_init(GVirSandboxConfigInteractiveClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS(klass); GVirSandboxConfigClass *config_class = GVIR_SANDBOX_CONFIG_CLASS(klass); object_class->finalize = gvir_sandbox_config_interactive_finalize; object_class->get_property = gvir_sandbox_config_interactive_get_property; object_class->set_property = gvir_sandbox_config_interactive_set_property; config_class->load_config = gvir_sandbox_config_interactive_load_config; config_class->save_config = gvir_sandbox_config_interactive_save_config; config_class->get_command = gvir_sandbox_config_interactive_get_command; g_object_class_install_property(object_class, PROP_TTY, g_param_spec_string("tty", "TTY", "TTY", FALSE, G_PARAM_READABLE | G_PARAM_WRITABLE | G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB)); g_type_class_add_private(klass, sizeof(GVirSandboxConfigInteractivePrivate)); } static void gvir_sandbox_config_interactive_init(GVirSandboxConfigInteractive *config) { GVirSandboxConfigInteractivePrivate *priv; priv = config->priv = GVIR_SANDBOX_CONFIG_INTERACTIVE_GET_PRIVATE(config); priv->command = g_new0(gchar *, 2); priv->command[0] = g_strdup("/bin/sh"); priv->command[1] = NULL; } /** * gvir_sandbox_config_interactive_new: * @name: the sandbox name * * Create a new interactive application sandbox configuration * * Returns: (transfer full): a new interactive sandbox config object */ GVirSandboxConfigInteractive *gvir_sandbox_config_interactive_new(const gchar *name) { return GVIR_SANDBOX_CONFIG_INTERACTIVE(g_object_new(GVIR_SANDBOX_TYPE_CONFIG_INTERACTIVE, "name", name, NULL)); } /** * gvir_sandbox_config_interactive_set_tty: * @config: (transfer none): the sandbox config * @tty: true if the container should have a tty * * Set whether the container console should have a interactive tty. */ void gvir_sandbox_config_interactive_set_tty(GVirSandboxConfigInteractive *config, gboolean tty) { GVirSandboxConfigInteractivePrivate *priv = config->priv; priv->tty = tty; } /** * gvir_sandbox_config_interactive_get_tty: * @config: (transfer none): the sandbox config * * Retrieves the sandbox tty flag * * Returns: the tty flag */ gboolean gvir_sandbox_config_interactive_get_tty(GVirSandboxConfigInteractive *config) { GVirSandboxConfigInteractivePrivate *priv = config->priv; return priv->tty; } /** * gvir_sandbox_config_interactive_set_command: * @config: (transfer none): the sandbox config * @argv: (transfer none)(array zero-terminated=1): the command path and arguments * * Set the path of the command to be run and its arguments. The @argv should * be a NULL terminated list */ void gvir_sandbox_config_interactive_set_command(GVirSandboxConfigInteractive *config, gchar **argv) { GVirSandboxConfigInteractivePrivate *priv = config->priv; guint len = g_strv_length(argv); size_t i; g_strfreev(priv->command); priv->command = g_new0(gchar *, len + 1); for (i = 0 ; i < len ; i++) priv->command[i] = g_strdup(argv[i]); priv->command[len] = NULL; } static gchar **gvir_sandbox_config_interactive_get_command(GVirSandboxConfig *config) { GVirSandboxConfigInteractive *iconfig = GVIR_SANDBOX_CONFIG_INTERACTIVE(config); GVirSandboxConfigInteractivePrivate *priv = iconfig->priv; return g_strdupv(priv->command); } /* * Local variables: * c-indent-level: 4 * c-basic-offset: 4 * indent-tabs-mode: nil * tab-width: 8 * End: */ libvirt-sandbox-0.5.1+git20160404/libvirt-sandbox/libvirt-sandbox-config-interactive.h000066400000000000000000000062261275305543100304040ustar00rootroot00000000000000/* * libvirt-sandbox-config-interactive.h: libvirt sandbox configuration * * Copyright (C) 2011 Red Hat, Inc. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. * * This library is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA * * Author: Daniel P. Berrange */ #if !defined(__LIBVIRT_SANDBOX_H__) && !defined(LIBVIRT_SANDBOX_BUILD) #error "Only can be included directly." #endif #ifndef __LIBVIRT_SANDBOX_CONFIG_INTERACTIVE_H__ #define __LIBVIRT_SANDBOX_CONFIG_INTERACTIVE_H__ G_BEGIN_DECLS #define GVIR_SANDBOX_TYPE_CONFIG_INTERACTIVE (gvir_sandbox_config_interactive_get_type ()) #define GVIR_SANDBOX_CONFIG_INTERACTIVE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GVIR_SANDBOX_TYPE_CONFIG_INTERACTIVE, GVirSandboxConfigInteractive)) #define GVIR_SANDBOX_CONFIG_INTERACTIVE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GVIR_SANDBOX_TYPE_CONFIG_INTERACTIVE, GVirSandboxConfigInteractiveClass)) #define GVIR_SANDBOX_IS_CONFIG_INTERACTIVE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GVIR_SANDBOX_TYPE_CONFIG_INTERACTIVE)) #define GVIR_SANDBOX_IS_CONFIG_INTERACTIVE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GVIR_SANDBOX_TYPE_CONFIG_INTERACTIVE)) #define GVIR_SANDBOX_CONFIG_INTERACTIVE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GVIR_SANDBOX_TYPE_CONFIG_INTERACTIVE, GVirSandboxConfigInteractiveClass)) typedef struct _GVirSandboxConfigInteractive GVirSandboxConfigInteractive; typedef struct _GVirSandboxConfigInteractivePrivate GVirSandboxConfigInteractivePrivate; typedef struct _GVirSandboxConfigInteractiveClass GVirSandboxConfigInteractiveClass; struct _GVirSandboxConfigInteractive { GVirSandboxConfig parent; GVirSandboxConfigInteractivePrivate *priv; /* Do not add fields to this struct */ }; struct _GVirSandboxConfigInteractiveClass { GVirSandboxConfigClass parent_class; gpointer padding[LIBVIRT_SANDBOX_CLASS_PADDING]; }; GType gvir_sandbox_config_interactive_get_type(void); GVirSandboxConfigInteractive *gvir_sandbox_config_interactive_new(const gchar *name); void gvir_sandbox_config_interactive_set_tty(GVirSandboxConfigInteractive *config, gboolean tty); gboolean gvir_sandbox_config_interactive_get_tty(GVirSandboxConfigInteractive *config); void gvir_sandbox_config_interactive_set_command(GVirSandboxConfigInteractive *config, gchar **argv); G_END_DECLS #endif /* __LIBVIRT_SANDBOX_CONFIG_INTERACTIVE_H__ */ /* * Local variables: * c-indent-level: 4 * c-basic-offset: 4 * indent-tabs-mode: nil * tab-width: 8 * End: */ libvirt-sandbox-0.5.1+git20160404/libvirt-sandbox/libvirt-sandbox-config-mount-file.c000066400000000000000000000140241275305543100301340ustar00rootroot00000000000000/* * libvirt-sandbox-config-mount-file.c: libvirt sandbox configuration * * Copyright (C) 2011-2012 Red Hat, Inc. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. * * This library is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA * * Author: Daniel P. Berrange */ #include #include #include "libvirt-sandbox/libvirt-sandbox-config-all.h" /** * SECTION: libvirt-sandbox-config-mount-file * @short_description: Filesystem attachment configuration details * @include: libvirt-sandbox/libvirt-sandbox.h * @see_aloso: #GVirSandboxConfig * * Provides an object to store information about a filesystem attachment in the sandbox * * The GVirSandboxConfigMount object stores information required to attach * a host filesystem to the application sandbox. The sandbox starts off with * a complete view of the host filesystem. This object allows a specific * area of the host filesystem to be hidden and replaced with alternate * content. */ #define GVIR_SANDBOX_CONFIG_MOUNT_FILE_GET_PRIVATE(obj) \ (G_TYPE_INSTANCE_GET_PRIVATE((obj), GVIR_SANDBOX_TYPE_CONFIG_MOUNT_FILE, GVirSandboxConfigMountFilePrivate)) struct _GVirSandboxConfigMountFilePrivate { gchar *source; }; G_DEFINE_ABSTRACT_TYPE(GVirSandboxConfigMountFile, gvir_sandbox_config_mount_file, GVIR_SANDBOX_TYPE_CONFIG_MOUNT); enum { PROP_0, PROP_SOURCE, }; enum { LAST_SIGNAL }; //static gint signals[LAST_SIGNAL]; static void gvir_sandbox_config_mount_file_get_property(GObject *object, guint prop_id, GValue *value, GParamSpec *pspec) { GVirSandboxConfigMountFile *config = GVIR_SANDBOX_CONFIG_MOUNT_FILE(object); GVirSandboxConfigMountFilePrivate *priv = config->priv; switch (prop_id) { case PROP_SOURCE: g_value_set_string(value, priv->source); break; default: G_OBJECT_WARN_INVALID_PROPERTY_ID(object, prop_id, pspec); } } static void gvir_sandbox_config_mount_file_set_property(GObject *object, guint prop_id, const GValue *value, GParamSpec *pspec) { GVirSandboxConfigMountFile *config = GVIR_SANDBOX_CONFIG_MOUNT_FILE(object); GVirSandboxConfigMountFilePrivate *priv = config->priv; switch (prop_id) { case PROP_SOURCE: g_free(priv->source); priv->source = g_value_dup_string(value); break; default: G_OBJECT_WARN_INVALID_PROPERTY_ID(object, prop_id, pspec); } } static void gvir_sandbox_config_mount_file_finalize(GObject *object) { GVirSandboxConfigMountFile *config = GVIR_SANDBOX_CONFIG_MOUNT_FILE(object); GVirSandboxConfigMountFilePrivate *priv = config->priv; g_free(priv->source); G_OBJECT_CLASS(gvir_sandbox_config_mount_file_parent_class)->finalize(object); } static void gvir_sandbox_config_mount_file_class_init(GVirSandboxConfigMountFileClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS(klass); object_class->finalize = gvir_sandbox_config_mount_file_finalize; object_class->get_property = gvir_sandbox_config_mount_file_get_property; object_class->set_property = gvir_sandbox_config_mount_file_set_property; g_object_class_install_property(object_class, PROP_SOURCE, g_param_spec_string("source", "Source", "The source directory", NULL, G_PARAM_READABLE | G_PARAM_WRITABLE | G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB)); g_type_class_add_private(klass, sizeof(GVirSandboxConfigMountFilePrivate)); } static void gvir_sandbox_config_mount_file_init(GVirSandboxConfigMountFile *config) { config->priv = GVIR_SANDBOX_CONFIG_MOUNT_FILE_GET_PRIVATE(config); } /** * gvir_sandbox_config_mount_file_set_source: * @config: (transfer none): the sandbox mount config * @source: (transfer none): the host directory * * Sets the directory to map to the custom mount. If no * directory is specified, an empty temporary directory will * be created */ void gvir_sandbox_config_mount_file_set_source(GVirSandboxConfigMountFile *config, const gchar *source) { GVirSandboxConfigMountFilePrivate *priv = config->priv; g_free(priv->source); priv->source = g_strdup(source); } /** * gvir_sandbox_config_mount_file_get_source: * @config: (transfer none): the sandbox mount config * * Retrieves the directory mapped to the mount (if any) * * Returns: (transfer none): the source directory */ const gchar *gvir_sandbox_config_mount_file_get_source(GVirSandboxConfigMountFile *config) { GVirSandboxConfigMountFilePrivate *priv = config->priv; return priv->source; } /* * Local variables: * c-indent-level: 4 * c-basic-offset: 4 * indent-tabs-mode: nil * tab-width: 8 * End: */ libvirt-sandbox-0.5.1+git20160404/libvirt-sandbox/libvirt-sandbox-config-mount-file.h000066400000000000000000000057101275305543100301430ustar00rootroot00000000000000/* * libvirt-sandbox-config-mount-file.h: libvirt sandbox configuration * * Copyright (C) 2011-2012 Red Hat, Inc. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. * * This library is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA * * Author: Daniel P. Berrange */ #if !defined(__LIBVIRT_SANDBOX_H__) && !defined(LIBVIRT_SANDBOX_BUILD) #error "Only can be included directly." #endif #ifndef __LIBVIRT_SANDBOX_CONFIG_MOUNT_FILE_H__ #define __LIBVIRT_SANDBOX_CONFIG_MOUNT_FILE_H__ G_BEGIN_DECLS #define GVIR_SANDBOX_TYPE_CONFIG_MOUNT_FILE (gvir_sandbox_config_mount_file_get_type ()) #define GVIR_SANDBOX_CONFIG_MOUNT_FILE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GVIR_SANDBOX_TYPE_CONFIG_MOUNT_FILE, GVirSandboxConfigMountFile)) #define GVIR_SANDBOX_CONFIG_MOUNT_FILE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GVIR_SANDBOX_TYPE_CONFIG_MOUNT_FILE, GVirSandboxConfigMountFileClass)) #define GVIR_SANDBOX_IS_CONFIG_MOUNT_FILE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GVIR_SANDBOX_TYPE_CONFIG_MOUNT_FILE)) #define GVIR_SANDBOX_IS_CONFIG_MOUNT_FILE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GVIR_SANDBOX_TYPE_CONFIG_MOUNT_FILE)) #define GVIR_SANDBOX_CONFIG_MOUNT_FILE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GVIR_SANDBOX_TYPE_CONFIG_MOUNT_FILE, GVirSandboxConfigMountFileClass)) typedef struct _GVirSandboxConfigMountFile GVirSandboxConfigMountFile; typedef struct _GVirSandboxConfigMountFilePrivate GVirSandboxConfigMountFilePrivate; typedef struct _GVirSandboxConfigMountFileClass GVirSandboxConfigMountFileClass; struct _GVirSandboxConfigMountFile { GVirSandboxConfigMount parent; GVirSandboxConfigMountFilePrivate *priv; /* Do not add fields to this struct */ }; struct _GVirSandboxConfigMountFileClass { GVirSandboxConfigMountClass parent_class; gpointer padding[LIBVIRT_SANDBOX_CLASS_PADDING]; }; GType gvir_sandbox_config_mount_file_get_type(void); void gvir_sandbox_config_mount_file_set_source(GVirSandboxConfigMountFile *config, const gchar *source); const gchar *gvir_sandbox_config_mount_file_get_source(GVirSandboxConfigMountFile *config); G_END_DECLS #endif /* __LIBVIRT_SANDBOX_CONFIG_MOUNT_FILE_H__ */ /* * Local variables: * c-indent-level: 4 * c-basic-offset: 4 * indent-tabs-mode: nil * tab-width: 8 * End: */ libvirt-sandbox-0.5.1+git20160404/libvirt-sandbox/libvirt-sandbox-config-mount-guest-bind.c000066400000000000000000000063421275305543100312620ustar00rootroot00000000000000/* * libvirt-sandbox-config-mount-guest-bind.c: libvirt sandbox configuration * * Copyright (C) 2011-2012 Red Hat, Inc. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. * * This library is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA * * Author: Daniel P. Berrange */ #include #include #include "libvirt-sandbox/libvirt-sandbox-config-all.h" /** * SECTION: libvirt-sandbox-config-mount-guest-bind * @short_description: Bindsystem attachment configuration details * @include: libvirt-sandbox/libvirt-sandbox.h * @see_aloso: #GVirSandboxConfig * * Provides an object to store information about a bindsystem attachment in the sandbox * * The GVirSandboxConfigMount object stores information required to attach * a guest bindsystem to the application sandbox. The sandbox starts off with * a complete view of the guest bindsystem. This object allows a specific * area of the guest bindsystem to be hidden and replaced with alternate * content. */ #define GVIR_SANDBOX_CONFIG_MOUNT_GUEST_BIND_GET_PRIVATE(obj) \ (G_TYPE_INSTANCE_GET_PRIVATE((obj), GVIR_SANDBOX_TYPE_CONFIG_MOUNT_GUEST_BIND, GVirSandboxConfigMountGuestBindPrivate)) struct _GVirSandboxConfigMountGuestBindPrivate { gboolean unused; }; G_DEFINE_TYPE(GVirSandboxConfigMountGuestBind, gvir_sandbox_config_mount_guest_bind, GVIR_SANDBOX_TYPE_CONFIG_MOUNT_FILE); static void gvir_sandbox_config_mount_guest_bind_class_init(GVirSandboxConfigMountGuestBindClass *klass) { g_type_class_add_private(klass, sizeof(GVirSandboxConfigMountGuestBindPrivate)); } static void gvir_sandbox_config_mount_guest_bind_init(GVirSandboxConfigMountGuestBind *config) { config->priv = GVIR_SANDBOX_CONFIG_MOUNT_GUEST_BIND_GET_PRIVATE(config); } /** * gvir_sandbox_config_mount_guest_bind_new: * @targetdir: (transfer none): the target directory * * Create a new custom mount mapped to the directory @targetdir * * Returns: (transfer full): a new sandbox mount object */ GVirSandboxConfigMountGuestBind *gvir_sandbox_config_mount_guest_bind_new(const gchar *source, const gchar *targetdir) { return GVIR_SANDBOX_CONFIG_MOUNT_GUEST_BIND(g_object_new(GVIR_SANDBOX_TYPE_CONFIG_MOUNT_GUEST_BIND, "source", source, "target", targetdir, NULL)); } /* * Local variables: * c-indent-level: 4 * c-basic-offset: 4 * indent-tabs-mode: nil * tab-width: 8 * End: */ libvirt-sandbox-0.5.1+git20160404/libvirt-sandbox/libvirt-sandbox-config-mount-guest-bind.h000066400000000000000000000061571275305543100312730ustar00rootroot00000000000000/* * libvirt-sandbox-config-mount-guest-bind.h: libvirt sandbox configuration * * Copyright (C) 2011-2012 Red Hat, Inc. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. * * This library is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA * * Author: Daniel P. Berrange */ #if !defined(__LIBVIRT_SANDBOX_H__) && !defined(LIBVIRT_SANDBOX_BUILD) #error "Only can be included directly." #endif #ifndef __LIBVIRT_SANDBOX_CONFIG_MOUNT_GUEST_BIND_H__ #define __LIBVIRT_SANDBOX_CONFIG_MOUNT_GUEST_BIND_H__ G_BEGIN_DECLS #define GVIR_SANDBOX_TYPE_CONFIG_MOUNT_GUEST_BIND (gvir_sandbox_config_mount_guest_bind_get_type ()) #define GVIR_SANDBOX_CONFIG_MOUNT_GUEST_BIND(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GVIR_SANDBOX_TYPE_CONFIG_MOUNT_GUEST_BIND, GVirSandboxConfigMountGuestBind)) #define GVIR_SANDBOX_CONFIG_MOUNT_GUEST_BIND_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GVIR_SANDBOX_TYPE_CONFIG_MOUNT_GUEST_BIND, GVirSandboxConfigMountGuestBindClass)) #define GVIR_SANDBOX_IS_CONFIG_MOUNT_GUEST_BIND(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GVIR_SANDBOX_TYPE_CONFIG_MOUNT_GUEST_BIND)) #define GVIR_SANDBOX_IS_CONFIG_MOUNT_GUEST_BIND_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GVIR_SANDBOX_TYPE_CONFIG_MOUNT_GUEST_BIND)) #define GVIR_SANDBOX_CONFIG_MOUNT_GUEST_BIND_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GVIR_SANDBOX_TYPE_CONFIG_MOUNT_GUEST_BIND, GVirSandboxConfigMountGuestBindClass)) typedef struct _GVirSandboxConfigMountGuestBind GVirSandboxConfigMountGuestBind; typedef struct _GVirSandboxConfigMountGuestBindPrivate GVirSandboxConfigMountGuestBindPrivate; typedef struct _GVirSandboxConfigMountGuestBindClass GVirSandboxConfigMountGuestBindClass; struct _GVirSandboxConfigMountGuestBind { GVirSandboxConfigMountFile parent; GVirSandboxConfigMountGuestBindPrivate *priv; /* Do not add fields to this struct */ }; struct _GVirSandboxConfigMountGuestBindClass { GVirSandboxConfigMountFileClass parent_class; gpointer padding[LIBVIRT_SANDBOX_CLASS_PADDING]; }; GType gvir_sandbox_config_mount_guest_bind_get_type(void); GVirSandboxConfigMountGuestBind *gvir_sandbox_config_mount_guest_bind_new(const gchar *source, const gchar *targetdir); G_END_DECLS #endif /* __LIBVIRT_SANDBOX_CONFIG_MOUNT_GUEST_BIND_H__ */ /* * Local variables: * c-indent-level: 4 * c-basic-offset: 4 * indent-tabs-mode: nil * tab-width: 8 * End: */ libvirt-sandbox-0.5.1+git20160404/libvirt-sandbox/libvirt-sandbox-config-mount-host-bind.c000066400000000000000000000063101275305543100311030ustar00rootroot00000000000000/* * libvirt-sandbox-config-mount-host-bind.c: libvirt sandbox configuration * * Copyright (C) 2011-2012 Red Hat, Inc. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. * * This library is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA * * Author: Daniel P. Berrange */ #include #include #include "libvirt-sandbox/libvirt-sandbox-config-all.h" /** * SECTION: libvirt-sandbox-config-mount-host-bind * @short_description: Bindsystem attachment configuration details * @include: libvirt-sandbox/libvirt-sandbox.h * @see_aloso: #GVirSandboxConfig * * Provides an object to store information about a bindsystem attachment in the sandbox * * The GVirSandboxConfigMount object stores information required to attach * a host bindsystem to the application sandbox. The sandbox starts off with * a complete view of the host bindsystem. This object allows a specific * area of the host bindsystem to be hidden and replaced with alternate * content. */ #define GVIR_SANDBOX_CONFIG_MOUNT_HOST_BIND_GET_PRIVATE(obj) \ (G_TYPE_INSTANCE_GET_PRIVATE((obj), GVIR_SANDBOX_TYPE_CONFIG_MOUNT_HOST_BIND, GVirSandboxConfigMountHostBindPrivate)) struct _GVirSandboxConfigMountHostBindPrivate { gboolean unused; }; G_DEFINE_TYPE(GVirSandboxConfigMountHostBind, gvir_sandbox_config_mount_host_bind, GVIR_SANDBOX_TYPE_CONFIG_MOUNT_FILE); static void gvir_sandbox_config_mount_host_bind_class_init(GVirSandboxConfigMountHostBindClass *klass) { g_type_class_add_private(klass, sizeof(GVirSandboxConfigMountHostBindPrivate)); } static void gvir_sandbox_config_mount_host_bind_init(GVirSandboxConfigMountHostBind *config) { config->priv = GVIR_SANDBOX_CONFIG_MOUNT_HOST_BIND_GET_PRIVATE(config); } /** * gvir_sandbox_config_mount_host_bind_new: * @targetdir: (transfer none): the target directory * * Create a new custom mount mapped to the directory @targetdir * * Returns: (transfer full): a new sandbox mount object */ GVirSandboxConfigMountHostBind *gvir_sandbox_config_mount_host_bind_new(const gchar *source, const gchar *targetdir) { return GVIR_SANDBOX_CONFIG_MOUNT_HOST_BIND(g_object_new(GVIR_SANDBOX_TYPE_CONFIG_MOUNT_HOST_BIND, "source", source, "target", targetdir, NULL)); } /* * Local variables: * c-indent-level: 4 * c-basic-offset: 4 * indent-tabs-mode: nil * tab-width: 8 * End: */ libvirt-sandbox-0.5.1+git20160404/libvirt-sandbox/libvirt-sandbox-config-mount-host-bind.h000066400000000000000000000061161275305543100311140ustar00rootroot00000000000000/* * libvirt-sandbox-config-mount-host-bind.h: libvirt sandbox configuration * * Copyright (C) 2011-2012 Red Hat, Inc. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. * * This library is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA * * Author: Daniel P. Berrange */ #if !defined(__LIBVIRT_SANDBOX_H__) && !defined(LIBVIRT_SANDBOX_BUILD) #error "Only can be included directly." #endif #ifndef __LIBVIRT_SANDBOX_CONFIG_MOUNT_HOST_BIND_H__ #define __LIBVIRT_SANDBOX_CONFIG_MOUNT_HOST_BIND_H__ G_BEGIN_DECLS #define GVIR_SANDBOX_TYPE_CONFIG_MOUNT_HOST_BIND (gvir_sandbox_config_mount_host_bind_get_type ()) #define GVIR_SANDBOX_CONFIG_MOUNT_HOST_BIND(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GVIR_SANDBOX_TYPE_CONFIG_MOUNT_HOST_BIND, GVirSandboxConfigMountHostBind)) #define GVIR_SANDBOX_CONFIG_MOUNT_HOST_BIND_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GVIR_SANDBOX_TYPE_CONFIG_MOUNT_HOST_BIND, GVirSandboxConfigMountHostBindClass)) #define GVIR_SANDBOX_IS_CONFIG_MOUNT_HOST_BIND(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GVIR_SANDBOX_TYPE_CONFIG_MOUNT_HOST_BIND)) #define GVIR_SANDBOX_IS_CONFIG_MOUNT_HOST_BIND_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GVIR_SANDBOX_TYPE_CONFIG_MOUNT_HOST_BIND)) #define GVIR_SANDBOX_CONFIG_MOUNT_HOST_BIND_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GVIR_SANDBOX_TYPE_CONFIG_MOUNT_HOST_BIND, GVirSandboxConfigMountHostBindClass)) typedef struct _GVirSandboxConfigMountHostBind GVirSandboxConfigMountHostBind; typedef struct _GVirSandboxConfigMountHostBindPrivate GVirSandboxConfigMountHostBindPrivate; typedef struct _GVirSandboxConfigMountHostBindClass GVirSandboxConfigMountHostBindClass; struct _GVirSandboxConfigMountHostBind { GVirSandboxConfigMountFile parent; GVirSandboxConfigMountHostBindPrivate *priv; /* Do not add fields to this struct */ }; struct _GVirSandboxConfigMountHostBindClass { GVirSandboxConfigMountFileClass parent_class; gpointer padding[LIBVIRT_SANDBOX_CLASS_PADDING]; }; GType gvir_sandbox_config_mount_host_bind_get_type(void); GVirSandboxConfigMountHostBind *gvir_sandbox_config_mount_host_bind_new(const gchar *source, const gchar *targetdir); G_END_DECLS #endif /* __LIBVIRT_SANDBOX_CONFIG_MOUNT_HOST_BIND_H__ */ /* * Local variables: * c-indent-level: 4 * c-basic-offset: 4 * indent-tabs-mode: nil * tab-width: 8 * End: */ libvirt-sandbox-0.5.1+git20160404/libvirt-sandbox/libvirt-sandbox-config-mount-host-image.c000066400000000000000000000150371275305543100312570ustar00rootroot00000000000000/* * libvirt-sandbox-config-mount-host-image.c: libvirt sandbox configuration * * Copyright (C) 2011-2012 Red Hat, Inc. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. * * This library is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA * * Author: Daniel P. Berrange */ #include #include #include "libvirt-sandbox/libvirt-sandbox-config-all.h" /** * SECTION: libvirt-sandbox-config-mount-image * @short_description: Imagesystem attachment configuration details * @include: libvirt-sandbox/libvirt-sandbox.h * @see_aloso: #GVirSandboxConfig * * Provides an object to store information about a imagesystem attachment in the sandbox * * The GVirSandboxConfigMount object stores information required to attach * a host imagesystem to the application sandbox. The sandbox starts off with * a complete view of the host imagesystem. This object allows a specific * area of the host imagesystem to be hidden and replaced with alternate * content. */ #define GVIR_SANDBOX_CONFIG_MOUNT_HOST_IMAGE_GET_PRIVATE(obj) \ (G_TYPE_INSTANCE_GET_PRIVATE((obj), GVIR_SANDBOX_TYPE_CONFIG_MOUNT_HOST_IMAGE, GVirSandboxConfigMountHostImagePrivate)) struct _GVirSandboxConfigMountHostImagePrivate { GVirConfigDomainDiskFormat format; }; G_DEFINE_TYPE(GVirSandboxConfigMountHostImage, gvir_sandbox_config_mount_host_image, GVIR_SANDBOX_TYPE_CONFIG_MOUNT_FILE); enum { PROP_0, PROP_FORMAT, }; enum { LAST_SIGNAL }; //static gint signals[LAST_SIGNAL]; static void gvir_sandbox_config_mount_host_image_get_property(GObject *object, guint prop_id, GValue *value, GParamSpec *pspec) { GVirSandboxConfigMountHostImage *config = GVIR_SANDBOX_CONFIG_MOUNT_HOST_IMAGE(object); GVirSandboxConfigMountHostImagePrivate *priv = config->priv; switch (prop_id) { case PROP_FORMAT: g_value_set_enum(value, priv->format); break; default: G_OBJECT_WARN_INVALID_PROPERTY_ID(object, prop_id, pspec); } } static void gvir_sandbox_config_mount_host_image_set_property(GObject *object, guint prop_id, const GValue *value, GParamSpec *pspec) { GVirSandboxConfigMountHostImage *config = GVIR_SANDBOX_CONFIG_MOUNT_HOST_IMAGE(object); GVirSandboxConfigMountHostImagePrivate *priv = config->priv; switch (prop_id) { case PROP_FORMAT: priv->format = g_value_get_enum(value); break; default: G_OBJECT_WARN_INVALID_PROPERTY_ID(object, prop_id, pspec); } } static void gvir_sandbox_config_mount_host_image_class_init(GVirSandboxConfigMountHostImageClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS(klass); object_class->get_property = gvir_sandbox_config_mount_host_image_get_property; object_class->set_property = gvir_sandbox_config_mount_host_image_set_property; g_object_class_install_property(object_class, PROP_FORMAT, g_param_spec_enum("format", "Disk format", "The disk format", GVIR_CONFIG_TYPE_DOMAIN_DISK_FORMAT, GVIR_CONFIG_DOMAIN_DISK_FORMAT_RAW, G_PARAM_READABLE | G_PARAM_WRITABLE | G_PARAM_CONSTRUCT_ONLY | G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB)); g_type_class_add_private(klass, sizeof(GVirSandboxConfigMountHostImagePrivate)); } static void gvir_sandbox_config_mount_host_image_init(GVirSandboxConfigMountHostImage *config) { GVirSandboxConfigMountHostImagePrivate *priv = config->priv; priv = config->priv = GVIR_SANDBOX_CONFIG_MOUNT_HOST_IMAGE_GET_PRIVATE(config); priv->format = GVIR_CONFIG_DOMAIN_DISK_FORMAT_RAW; } /** * gvir_sandbox_config_mount_host_image_new: * @targetdir: (transfer none): the target directory * * Create a new custom mount mapped to the directory @targetdir * * Returns: (transfer full): a new sandbox mount object */ GVirSandboxConfigMountHostImage *gvir_sandbox_config_mount_host_image_new(const gchar *source, const gchar *targetdir, GVirConfigDomainDiskFormat format) { return GVIR_SANDBOX_CONFIG_MOUNT_HOST_IMAGE(g_object_new(GVIR_SANDBOX_TYPE_CONFIG_MOUNT_HOST_IMAGE, "source", source, "target", targetdir, "format", format, NULL)); } /** * gvir_sandbox_config_mount_host_image_get_format: * @config: (transfer none): the sandbox mount config * * Retrieves the image format of the host-image filesystem. * * Returns: (transfer none): the imave format */ GVirConfigDomainDiskFormat gvir_sandbox_config_mount_host_image_get_format(GVirSandboxConfigMountHostImage *config) { GVirSandboxConfigMountHostImagePrivate *priv = config->priv; return priv->format; } /* * Local variables: * c-indent-level: 4 * c-basic-offset: 4 * indent-tabs-mode: nil * tab-width: 8 * End: */ libvirt-sandbox-0.5.1+git20160404/libvirt-sandbox/libvirt-sandbox-config-mount-host-image.h000066400000000000000000000065221275305543100312630ustar00rootroot00000000000000/* * libvirt-sandbox-config-mount-host-image.h: libvirt sandbox configuration * * Copyright (C) 2011-2012 Red Hat, Inc. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. * * This library is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA * * Author: Daniel P. Berrange */ #if !defined(__LIBVIRT_SANDBOX_H__) && !defined(LIBVIRT_SANDBOX_BUILD) #error "Only can be included directly." #endif #ifndef __LIBVIRT_SANDBOX_CONFIG_MOUNT_HOST_IMAGE_H__ #define __LIBVIRT_SANDBOX_CONFIG_MOUNT_HOST_IMAGE_H__ G_BEGIN_DECLS #define GVIR_SANDBOX_TYPE_CONFIG_MOUNT_HOST_IMAGE (gvir_sandbox_config_mount_host_image_get_type ()) #define GVIR_SANDBOX_CONFIG_MOUNT_HOST_IMAGE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GVIR_SANDBOX_TYPE_CONFIG_MOUNT_HOST_IMAGE, GVirSandboxConfigMountHostImage)) #define GVIR_SANDBOX_CONFIG_MOUNT_HOST_IMAGE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GVIR_SANDBOX_TYPE_CONFIG_MOUNT_HOST_IMAGE, GVirSandboxConfigMountHostImageClass)) #define GVIR_SANDBOX_IS_CONFIG_MOUNT_HOST_IMAGE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GVIR_SANDBOX_TYPE_CONFIG_MOUNT_HOST_IMAGE)) #define GVIR_SANDBOX_IS_CONFIG_MOUNT_HOST_IMAGE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GVIR_SANDBOX_TYPE_CONFIG_MOUNT_HOST_IMAGE)) #define GVIR_SANDBOX_CONFIG_MOUNT_HOST_IMAGE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GVIR_SANDBOX_TYPE_CONFIG_MOUNT_HOST_IMAGE, GVirSandboxConfigMountHostImageClass)) typedef struct _GVirSandboxConfigMountHostImage GVirSandboxConfigMountHostImage; typedef struct _GVirSandboxConfigMountHostImagePrivate GVirSandboxConfigMountHostImagePrivate; typedef struct _GVirSandboxConfigMountHostImageClass GVirSandboxConfigMountHostImageClass; struct _GVirSandboxConfigMountHostImage { GVirSandboxConfigMountFile parent; GVirSandboxConfigMountHostImagePrivate *priv; /* Do not add fields to this struct */ }; struct _GVirSandboxConfigMountHostImageClass { GVirSandboxConfigMountFileClass parent_class; gpointer padding[LIBVIRT_SANDBOX_CLASS_PADDING]; }; GType gvir_sandbox_config_mount_host_image_get_type(void); GVirSandboxConfigMountHostImage *gvir_sandbox_config_mount_host_image_new(const gchar *source, const gchar *targetdir, GVirConfigDomainDiskFormat format); GVirConfigDomainDiskFormat gvir_sandbox_config_mount_host_image_get_format(GVirSandboxConfigMountHostImage *config); G_END_DECLS #endif /* __LIBVIRT_SANDBOX_CONFIG_MOUNT_HOST_IMAGE_H__ */ /* * Local variables: * c-indent-level: 4 * c-basic-offset: 4 * indent-tabs-mode: nil * tab-width: 8 * End: */ libvirt-sandbox-0.5.1+git20160404/libvirt-sandbox/libvirt-sandbox-config-mount-ram.c000066400000000000000000000146361275305543100300050ustar00rootroot00000000000000/* * libvirt-sandbox-config-mount-ram.c: libvirt sandbox configuration * * Copyright (C) 2011-2012 Red Hat, Inc. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. * * This library is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA * * Author: Daniel P. Berrange */ #include #include #include "libvirt-sandbox/libvirt-sandbox-config-all.h" /** * SECTION: libvirt-sandbox-config-mount-ram * @short_description: Filesystem attachment configuration details * @include: libvirt-sandbox/libvirt-sandbox.h * @see_aloso: #GVirSandboxConfig * * Provides an object to store information about a filesystem attachment in the sandbox * * The GVirSandboxConfigMount object stores information required to attach * a host filesystem to the application sandbox. The sandbox starts off with * a complete view of the host filesystem. This object allows a specific * area of the host filesystem to be hidden and replaced with alternate * content. */ #define GVIR_SANDBOX_CONFIG_MOUNT_RAM_GET_PRIVATE(obj) \ (G_TYPE_INSTANCE_GET_PRIVATE((obj), GVIR_SANDBOX_TYPE_CONFIG_MOUNT_RAM, GVirSandboxConfigMountRamPrivate)) struct _GVirSandboxConfigMountRamPrivate { guint64 usage; }; G_DEFINE_TYPE(GVirSandboxConfigMountRam, gvir_sandbox_config_mount_ram, GVIR_SANDBOX_TYPE_CONFIG_MOUNT); enum { PROP_0, PROP_USAGE, }; enum { LAST_SIGNAL }; //static gint signals[LAST_SIGNAL]; static void gvir_sandbox_config_mount_ram_get_property(GObject *object, guint prop_id, GValue *value, GParamSpec *pspec) { GVirSandboxConfigMountRam *config = GVIR_SANDBOX_CONFIG_MOUNT_RAM(object); GVirSandboxConfigMountRamPrivate *priv = config->priv; switch (prop_id) { case PROP_USAGE: g_value_set_uint64(value, priv->usage); break; default: G_OBJECT_WARN_INVALID_PROPERTY_ID(object, prop_id, pspec); } } static void gvir_sandbox_config_mount_ram_set_property(GObject *object, guint prop_id, const GValue *value, GParamSpec *pspec) { GVirSandboxConfigMountRam *config = GVIR_SANDBOX_CONFIG_MOUNT_RAM(object); GVirSandboxConfigMountRamPrivate *priv = config->priv; switch (prop_id) { case PROP_USAGE: priv->usage = g_value_get_uint64(value); break; default: G_OBJECT_WARN_INVALID_PROPERTY_ID(object, prop_id, pspec); } } static void gvir_sandbox_config_mount_ram_class_init(GVirSandboxConfigMountRamClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS(klass); object_class->get_property = gvir_sandbox_config_mount_ram_get_property; object_class->set_property = gvir_sandbox_config_mount_ram_set_property; g_object_class_install_property(object_class, PROP_USAGE, g_param_spec_uint64("usage", "Usage", "The maximum ram usage (KiB)", 0, G_MAXUINT64, 1024 * 10, G_PARAM_READABLE | G_PARAM_WRITABLE | G_PARAM_CONSTRUCT_ONLY | G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB)); g_type_class_add_private(klass, sizeof(GVirSandboxConfigMountRamPrivate)); } static void gvir_sandbox_config_mount_ram_init(GVirSandboxConfigMountRam *config) { GVirSandboxConfigMountRamPrivate *priv = config->priv; priv = config->priv = GVIR_SANDBOX_CONFIG_MOUNT_RAM_GET_PRIVATE(config); priv->usage = 1024 * 10; } /** * gvir_sandbox_config_mount_ram_new: * @targetdir: (transfer none): the target directory * * Create a new custom mount mapped to the directory @targetdir * * Returns: (transfer full): a new sandbox mount object */ GVirSandboxConfigMountRam *gvir_sandbox_config_mount_ram_new(const gchar *targetdir, guint64 usage) { return GVIR_SANDBOX_CONFIG_MOUNT_RAM(g_object_new(GVIR_SANDBOX_TYPE_CONFIG_MOUNT_RAM, "target", targetdir, "usage", usage, NULL)); } /** * gvir_sandbox_config_mount_ram_set_usage: * @config: (transfer none): the sandbox mount config * @usage: the memory usage limit in KiB * * Sets the memory usage limit for the RAM filesystem in Kibibytes */ void gvir_sandbox_config_mount_ram_set_usage(GVirSandboxConfigMountRam *config, guint64 usage) { GVirSandboxConfigMountRamPrivate *priv = config->priv; priv->usage = usage; } /** * gvir_sandbox_config_mount_ram_get_usage: * @config: (transfer none): the sandbox mount config * * Retrieves the memory usage limit for the RAM filesystem in Kibibytes * * Returns: the usage limit */ guint64 gvir_sandbox_config_mount_ram_get_usage(GVirSandboxConfigMountRam *config) { GVirSandboxConfigMountRamPrivate *priv = config->priv; return priv->usage; } /* * Local variables: * c-indent-level: 4 * c-basic-offset: 4 * indent-tabs-mode: nil * tab-width: 8 * End: */ libvirt-sandbox-0.5.1+git20160404/libvirt-sandbox/libvirt-sandbox-config-mount-ram.h000066400000000000000000000060751275305543100300100ustar00rootroot00000000000000/* * libvirt-sandbox-config-mount-ram.h: libvirt sandbox configuration * * Copyright (C) 2011-2012 Red Hat, Inc. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. * * This library is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA * * Author: Daniel P. Berrange */ #if !defined(__LIBVIRT_SANDBOX_H__) && !defined(LIBVIRT_SANDBOX_BUILD) #error "Only can be included directly." #endif #ifndef __LIBVIRT_SANDBOX_CONFIG_MOUNT_RAM_H__ #define __LIBVIRT_SANDBOX_CONFIG_MOUNT_RAM_H__ G_BEGIN_DECLS #define GVIR_SANDBOX_TYPE_CONFIG_MOUNT_RAM (gvir_sandbox_config_mount_ram_get_type ()) #define GVIR_SANDBOX_CONFIG_MOUNT_RAM(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GVIR_SANDBOX_TYPE_CONFIG_MOUNT_RAM, GVirSandboxConfigMountRam)) #define GVIR_SANDBOX_CONFIG_MOUNT_RAM_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GVIR_SANDBOX_TYPE_CONFIG_MOUNT_RAM, GVirSandboxConfigMountRamClass)) #define GVIR_SANDBOX_IS_CONFIG_MOUNT_RAM(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GVIR_SANDBOX_TYPE_CONFIG_MOUNT_RAM)) #define GVIR_SANDBOX_IS_CONFIG_MOUNT_RAM_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GVIR_SANDBOX_TYPE_CONFIG_MOUNT_RAM)) #define GVIR_SANDBOX_CONFIG_MOUNT_RAM_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GVIR_SANDBOX_TYPE_CONFIG_MOUNT_RAM, GVirSandboxConfigMountRamClass)) typedef struct _GVirSandboxConfigMountRam GVirSandboxConfigMountRam; typedef struct _GVirSandboxConfigMountRamPrivate GVirSandboxConfigMountRamPrivate; typedef struct _GVirSandboxConfigMountRamClass GVirSandboxConfigMountRamClass; struct _GVirSandboxConfigMountRam { GVirSandboxConfigMount parent; GVirSandboxConfigMountRamPrivate *priv; /* Do not add fields to this struct */ }; struct _GVirSandboxConfigMountRamClass { GVirSandboxConfigMountClass parent_class; gpointer padding[LIBVIRT_SANDBOX_CLASS_PADDING]; }; GType gvir_sandbox_config_mount_ram_get_type(void); GVirSandboxConfigMountRam *gvir_sandbox_config_mount_ram_new(const gchar *targetdir, guint64 usage); void gvir_sandbox_config_mount_ram_set_usage(GVirSandboxConfigMountRam *config, guint64 usage); guint64 gvir_sandbox_config_mount_ram_get_usage(GVirSandboxConfigMountRam *config); G_END_DECLS #endif /* __LIBVIRT_SANDBOX_CONFIG_MOUNT_RAM_H__ */ /* * Local variables: * c-indent-level: 4 * c-basic-offset: 4 * indent-tabs-mode: nil * tab-width: 8 * End: */ libvirt-sandbox-0.5.1+git20160404/libvirt-sandbox/libvirt-sandbox-config-mount.c000066400000000000000000000153501275305543100272220ustar00rootroot00000000000000/* * libvirt-sandbox-config-mount.c: libvirt sandbox configuration * * Copyright (C) 2011-2012 Red Hat, Inc. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. * * This library is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA * * Author: Daniel P. Berrange */ #include #include #include "libvirt-sandbox/libvirt-sandbox-config-all.h" /** * SECTION: libvirt-sandbox-config-mount * @short_description: Filesystem attachment configuration details * @include: libvirt-sandbox/libvirt-sandbox.h * @see_aloso: #GVirSandboxConfig * * Provides an object to store information about a filesystem attachment in the sandbox * * The GVirSandboxConfigMount object stores information required to attach * a host filesystem to the application sandbox. The sandbox starts off with * a complete view of the host filesystem. This object allows a specific * area of the host filesystem to be hidden and replaced with alternate * content. */ #define GVIR_SANDBOX_CONFIG_MOUNT_GET_PRIVATE(obj) \ (G_TYPE_INSTANCE_GET_PRIVATE((obj), GVIR_SANDBOX_TYPE_CONFIG_MOUNT, GVirSandboxConfigMountPrivate)) struct _GVirSandboxConfigMountPrivate { gchar *target; GHashTable *includes; }; G_DEFINE_ABSTRACT_TYPE(GVirSandboxConfigMount, gvir_sandbox_config_mount, G_TYPE_OBJECT); enum { PROP_0, PROP_TARGET, }; enum { LAST_SIGNAL }; //static gint signals[LAST_SIGNAL]; static void gvir_sandbox_config_mount_get_property(GObject *object, guint prop_id, GValue *value, GParamSpec *pspec) { GVirSandboxConfigMount *config = GVIR_SANDBOX_CONFIG_MOUNT(object); GVirSandboxConfigMountPrivate *priv = config->priv; switch (prop_id) { case PROP_TARGET: g_value_set_string(value, priv->target); break; default: G_OBJECT_WARN_INVALID_PROPERTY_ID(object, prop_id, pspec); } } static void gvir_sandbox_config_mount_set_property(GObject *object, guint prop_id, const GValue *value, GParamSpec *pspec) { GVirSandboxConfigMount *config = GVIR_SANDBOX_CONFIG_MOUNT(object); GVirSandboxConfigMountPrivate *priv = config->priv; switch (prop_id) { case PROP_TARGET: g_free(priv->target); priv->target = g_value_dup_string(value); break; default: G_OBJECT_WARN_INVALID_PROPERTY_ID(object, prop_id, pspec); } } static void gvir_sandbox_config_mount_finalize(GObject *object) { GVirSandboxConfigMount *config = GVIR_SANDBOX_CONFIG_MOUNT(object); GVirSandboxConfigMountPrivate *priv = config->priv; g_free(priv->target); G_OBJECT_CLASS(gvir_sandbox_config_mount_parent_class)->finalize(object); } static void gvir_sandbox_config_mount_class_init(GVirSandboxConfigMountClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS(klass); object_class->finalize = gvir_sandbox_config_mount_finalize; object_class->get_property = gvir_sandbox_config_mount_get_property; object_class->set_property = gvir_sandbox_config_mount_set_property; g_object_class_install_property(object_class, PROP_TARGET, g_param_spec_string("target", "Target", "The sandbox target directory", NULL, G_PARAM_READABLE | G_PARAM_WRITABLE | G_PARAM_CONSTRUCT_ONLY | G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB)); g_type_class_add_private(klass, sizeof(GVirSandboxConfigMountPrivate)); } static void gvir_sandbox_config_mount_init(GVirSandboxConfigMount *config) { GVirSandboxConfigMountPrivate *priv = config->priv; priv = config->priv = GVIR_SANDBOX_CONFIG_MOUNT_GET_PRIVATE(config); priv->includes = g_hash_table_new_full(g_str_hash, g_str_equal, g_free, g_free); } /** * gvir_sandbox_config_mount_get_target: * @config: (transfer none): the sandbox mount config * * Retrieves the target directory for the custom mount * * Returns: (transfer none): the target directory path */ const gchar *gvir_sandbox_config_mount_get_target(GVirSandboxConfigMount *config) { GVirSandboxConfigMountPrivate *priv = config->priv; return priv->target; } /** * gvir_sandbox_config_mount_add_include: * @config: (transfer none): the sandbox mount config * @srcpath: (transfer none): a file on the host * @dstpath: (transfer none): a path within the mount * * Request that the file @srcpath from the host OS is to be copied * to @dstpath, relative to the @target path in the sandbox. */ void gvir_sandbox_config_mount_add_include(GVirSandboxConfigMount *config, const gchar *srcpath, const gchar *dstpath) { GVirSandboxConfigMountPrivate *priv = config->priv; g_hash_table_insert(priv->includes, g_strdup(dstpath), g_strdup(srcpath)); } /** * gvir_sandbox_config_mount_get_includes: * @config: (transfer none): the sandbox mount config * * Retrieves the list of all include files * * Returns: (transfer none)(element-type filename filename): the include files */ GHashTable *gvir_sandbox_config_mount_get_includes(GVirSandboxConfigMount *config) { GVirSandboxConfigMountPrivate *priv = config->priv; return priv->includes; } /* * Local variables: * c-indent-level: 4 * c-basic-offset: 4 * indent-tabs-mode: nil * tab-width: 8 * End: */ libvirt-sandbox-0.5.1+git20160404/libvirt-sandbox/libvirt-sandbox-config-mount.h000066400000000000000000000060171275305543100272270ustar00rootroot00000000000000/* * libvirt-sandbox-config-mount.h: libvirt sandbox configuration * * Copyright (C) 2011-2012 Red Hat, Inc. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. * * This library is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA * * Author: Daniel P. Berrange */ #if !defined(__LIBVIRT_SANDBOX_H__) && !defined(LIBVIRT_SANDBOX_BUILD) #error "Only can be included directly." #endif #ifndef __LIBVIRT_SANDBOX_CONFIG_MOUNT_H__ #define __LIBVIRT_SANDBOX_CONFIG_MOUNT_H__ G_BEGIN_DECLS #define GVIR_SANDBOX_TYPE_CONFIG_MOUNT (gvir_sandbox_config_mount_get_type ()) #define GVIR_SANDBOX_CONFIG_MOUNT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GVIR_SANDBOX_TYPE_CONFIG_MOUNT, GVirSandboxConfigMount)) #define GVIR_SANDBOX_CONFIG_MOUNT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GVIR_SANDBOX_TYPE_CONFIG_MOUNT, GVirSandboxConfigMountClass)) #define GVIR_SANDBOX_IS_CONFIG_MOUNT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GVIR_SANDBOX_TYPE_CONFIG_MOUNT)) #define GVIR_SANDBOX_IS_CONFIG_MOUNT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GVIR_SANDBOX_TYPE_CONFIG_MOUNT)) #define GVIR_SANDBOX_CONFIG_MOUNT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GVIR_SANDBOX_TYPE_CONFIG_MOUNT, GVirSandboxConfigMountClass)) #define GVIR_SANDBOX_TYPE_CONFIG_MOUNT_HANDLE (gvir_sandbox_config_mount_handle_get_type ()) typedef struct _GVirSandboxConfigMount GVirSandboxConfigMount; typedef struct _GVirSandboxConfigMountPrivate GVirSandboxConfigMountPrivate; typedef struct _GVirSandboxConfigMountClass GVirSandboxConfigMountClass; struct _GVirSandboxConfigMount { GObject parent; GVirSandboxConfigMountPrivate *priv; /* Do not add fields to this struct */ }; struct _GVirSandboxConfigMountClass { GObjectClass parent_class; gpointer padding[LIBVIRT_SANDBOX_CLASS_PADDING]; }; GType gvir_sandbox_config_mount_get_type(void); const gchar *gvir_sandbox_config_mount_get_target(GVirSandboxConfigMount *config); void gvir_sandbox_config_mount_add_include(GVirSandboxConfigMount *config, const gchar *srcpath, const gchar *dstpath); GHashTable *gvir_sandbox_config_mount_get_includes(GVirSandboxConfigMount *config); G_END_DECLS #endif /* __LIBVIRT_SANDBOX_CONFIG_MOUNT_H__ */ /* * Local variables: * c-indent-level: 4 * c-basic-offset: 4 * indent-tabs-mode: nil * tab-width: 8 * End: */ libvirt-sandbox-0.5.1+git20160404/libvirt-sandbox/libvirt-sandbox-config-network-address.c000066400000000000000000000264761275305543100312070ustar00rootroot00000000000000/* * libvirt-sandbox-config-network-address.c: libvirt sandbox configuration * * Copyright (C) 2011 Red Hat, Inc. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. * * This library is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA * * Author: Daniel P. Berrange */ #include #include #include "libvirt-sandbox/libvirt-sandbox-config-all.h" /** * SECTION: libvirt-sandbox-config-network_address * @short_description: Address information for an interface * @include: libvirt-sandbox/libvirt-sandbox.h * * Provides an object to store information about a network interface address * * The GVirSandboxConfigNetworkAddress object stores the information required * to configure an address on a network interface. This compises the primary * address, broadcast address and network address. */ #define GVIR_SANDBOX_CONFIG_NETWORK_ADDRESS_GET_PRIVATE(obj) \ (G_TYPE_INSTANCE_GET_PRIVATE((obj), GVIR_SANDBOX_TYPE_CONFIG_NETWORK_ADDRESS, GVirSandboxConfigNetworkAddressPrivate)) struct _GVirSandboxConfigNetworkAddressPrivate { GInetAddress *primary; GInetAddress *broadcast; guint prefix; }; G_DEFINE_TYPE(GVirSandboxConfigNetworkAddress, gvir_sandbox_config_network_address, G_TYPE_OBJECT); enum { PROP_0, PROP_PRIMARY, PROP_BROADCAST, PROP_PREFIX, }; enum { LAST_SIGNAL }; //static gint signals[LAST_SIGNAL]; static void gvir_sandbox_config_network_address_get_property(GObject *object, guint prop_id, GValue *value, GParamSpec *pspec) { GVirSandboxConfigNetworkAddress *config = GVIR_SANDBOX_CONFIG_NETWORK_ADDRESS(object); GVirSandboxConfigNetworkAddressPrivate *priv = config->priv; switch (prop_id) { case PROP_PRIMARY: g_value_set_object(value, priv->primary); break; case PROP_BROADCAST: g_value_set_object(value, priv->broadcast); break; case PROP_PREFIX: g_value_set_uint(value, priv->prefix); break; default: G_OBJECT_WARN_INVALID_PROPERTY_ID(object, prop_id, pspec); } } static void gvir_sandbox_config_network_address_set_property(GObject *object, guint prop_id, const GValue *value, GParamSpec *pspec) { GVirSandboxConfigNetworkAddress *config = GVIR_SANDBOX_CONFIG_NETWORK_ADDRESS(object); GVirSandboxConfigNetworkAddressPrivate *priv = config->priv; switch (prop_id) { case PROP_PRIMARY: if (priv->primary) g_object_unref(priv->primary); priv->primary = g_value_dup_object(value); break; case PROP_BROADCAST: if (priv->broadcast) g_object_unref(priv->broadcast); priv->broadcast = g_value_dup_object(value); break; case PROP_PREFIX: priv->prefix = g_value_get_uint(value); break; default: G_OBJECT_WARN_INVALID_PROPERTY_ID(object, prop_id, pspec); } } static void gvir_sandbox_config_network_address_finalize(GObject *object) { GVirSandboxConfigNetworkAddress *config = GVIR_SANDBOX_CONFIG_NETWORK_ADDRESS(object); GVirSandboxConfigNetworkAddressPrivate *priv = config->priv; if (priv->primary) g_object_unref(priv->primary); if (priv->broadcast) g_object_unref(priv->broadcast); G_OBJECT_CLASS(gvir_sandbox_config_network_address_parent_class)->finalize(object); } static void gvir_sandbox_config_network_address_class_init(GVirSandboxConfigNetworkAddressClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS(klass); object_class->finalize = gvir_sandbox_config_network_address_finalize; object_class->get_property = gvir_sandbox_config_network_address_get_property; object_class->set_property = gvir_sandbox_config_network_address_set_property; g_object_class_install_property(object_class, PROP_PRIMARY, g_param_spec_object("primary", "Primary", "Primary address", G_TYPE_INET_ADDRESS, G_PARAM_READABLE | G_PARAM_WRITABLE | G_PARAM_CONSTRUCT_ONLY | G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB)); g_object_class_install_property(object_class, PROP_BROADCAST, g_param_spec_object("broadcast", "Broadcast", "Broadcast address", G_TYPE_INET_ADDRESS, G_PARAM_READABLE | G_PARAM_WRITABLE | G_PARAM_CONSTRUCT_ONLY | G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB)); g_object_class_install_property(object_class, PROP_PREFIX, g_param_spec_uint("prefix", "Prefix", "Network prefix", 0, 128, 24, G_PARAM_READABLE | G_PARAM_WRITABLE | G_PARAM_CONSTRUCT_ONLY | G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB)); g_type_class_add_private(klass, sizeof(GVirSandboxConfigNetworkAddressPrivate)); } static void gvir_sandbox_config_network_address_init(GVirSandboxConfigNetworkAddress *config) { config->priv = GVIR_SANDBOX_CONFIG_NETWORK_ADDRESS_GET_PRIVATE(config); } /** * gvir_sandbox_config_network_address_new: * @primary: the primary address * @prefix: the network prefix * @broadcast: the broadcast address (optional) * * Create a new network address config. Only the @primary parameter * is required to be non-NULL. The @broadcast address * will be automatically filled in, if not otherwise specified * * Returns: (transfer full): a new sandbox network_address object */ GVirSandboxConfigNetworkAddress *gvir_sandbox_config_network_address_new(GInetAddress *primary, guint prefix, GInetAddress *broadcast) { return GVIR_SANDBOX_CONFIG_NETWORK_ADDRESS(g_object_new(GVIR_SANDBOX_TYPE_CONFIG_NETWORK_ADDRESS, "primary", primary, "prefix", prefix, "broadcast", broadcast, NULL)); } /** * gvir_sandbox_config_network_address_set_primary: * @config: (transfer none): the sandbox network address config * @addr: (transfer none): the primary address * * Sets the interface primary address */ void gvir_sandbox_config_network_address_set_primary(GVirSandboxConfigNetworkAddress *config, GInetAddress *addr) { GVirSandboxConfigNetworkAddressPrivate *priv = config->priv; if (priv->primary) g_object_unref(priv->primary); priv->primary = g_object_ref(addr); } /** * gvir_sandbox_config_network_address_get_primary: * @config: (transfer none): the sandbox network address config * * Retrieves the primary address * * Returns: (transfer none): the primary address */ GInetAddress *gvir_sandbox_config_network_address_get_primary(GVirSandboxConfigNetworkAddress *config) { GVirSandboxConfigNetworkAddressPrivate *priv = config->priv; return priv->primary; } /** * gvir_sandbox_config_network_address_set_prefix: * @config: (transfer none): the sandbox network address config * @prefix: the prefix length * * Sets the interface network prefix */ void gvir_sandbox_config_network_address_set_prefix(GVirSandboxConfigNetworkAddress *config, guint prefix) { GVirSandboxConfigNetworkAddressPrivate *priv = config->priv; priv->prefix = prefix; } /** * gvir_sandbox_config_network_address_get_prefix: * @config: (transfer none): the sandbox network address config * * Retrieves the network prefix * * Returns: the network prefix */ guint gvir_sandbox_config_network_address_get_prefix(GVirSandboxConfigNetworkAddress *config) { GVirSandboxConfigNetworkAddressPrivate *priv = config->priv; return priv->prefix; } /** * gvir_sandbox_config_network_address_set_broadcast: * @config: (transfer none): the sandbox network address config * @addr: (transfer none): the broadcast address * * Sets the interface broadcast address */ void gvir_sandbox_config_network_address_set_broadcast(GVirSandboxConfigNetworkAddress *config, GInetAddress *addr) { GVirSandboxConfigNetworkAddressPrivate *priv = config->priv; if (priv->broadcast) g_object_unref(priv->broadcast); priv->broadcast = g_object_ref(addr); } /** * gvir_sandbox_config_network_address_get_broadcast: * @config: (transfer none): the sandbox network address config * * Retrieves the broadcast address * * Returns: (transfer none): the broadcast address */ GInetAddress *gvir_sandbox_config_network_address_get_broadcast(GVirSandboxConfigNetworkAddress *config) { GVirSandboxConfigNetworkAddressPrivate *priv = config->priv; return priv->broadcast; } /* * Local variables: * c-indent-level: 4 * c-basic-offset: 4 * indent-tabs-mode: nil * tab-width: 8 * End: */ libvirt-sandbox-0.5.1+git20160404/libvirt-sandbox/libvirt-sandbox-config-network-address.h000066400000000000000000000076121275305543100312030ustar00rootroot00000000000000/* * libvirt-sandbox-config-network-address.h: libvirt sandbox configuration * * Copyright (C) 2011 Red Hat, Inc. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. * * This library is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA * * Author: Daniel P. Berrange */ #if !defined(__LIBVIRT_SANDBOX_H__) && !defined(LIBVIRT_SANDBOX_BUILD) #error "Only can be included directly." #endif #ifndef __LIBVIRT_SANDBOX_CONFIG_NETWORK_ADDRESS_H__ #define __LIBVIRT_SANDBOX_CONFIG_NETWORK_ADDRESS_H__ G_BEGIN_DECLS #define GVIR_SANDBOX_TYPE_CONFIG_NETWORK_ADDRESS (gvir_sandbox_config_network_address_get_type ()) #define GVIR_SANDBOX_CONFIG_NETWORK_ADDRESS(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GVIR_SANDBOX_TYPE_CONFIG_NETWORK_ADDRESS, GVirSandboxConfigNetworkAddress)) #define GVIR_SANDBOX_CONFIG_NETWORK_ADDRESS_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GVIR_SANDBOX_TYPE_CONFIG_NETWORK_ADDRESS, GVirSandboxConfigNetworkAddressClass)) #define GVIR_SANDBOX_IS_CONFIG_NETWORK_ADDRESS(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GVIR_SANDBOX_TYPE_CONFIG_NETWORK_ADDRESS)) #define GVIR_SANDBOX_IS_CONFIG_NETWORK_ADDRESS_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GVIR_SANDBOX_TYPE_CONFIG_NETWORK_ADDRESS)) #define GVIR_SANDBOX_CONFIG_NETWORK_ADDRESS_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GVIR_SANDBOX_TYPE_CONFIG_NETWORK_ADDRESS, GVirSandboxConfigNetworkAddressClass)) #define GVIR_SANDBOX_TYPE_CONFIG_NETWORK_ADDRESS_HANDLE (gvir_sandbox_config_network_address_handle_get_type ()) typedef struct _GVirSandboxConfigNetworkAddress GVirSandboxConfigNetworkAddress; typedef struct _GVirSandboxConfigNetworkAddressPrivate GVirSandboxConfigNetworkAddressPrivate; typedef struct _GVirSandboxConfigNetworkAddressClass GVirSandboxConfigNetworkAddressClass; struct _GVirSandboxConfigNetworkAddress { GObject parent; GVirSandboxConfigNetworkAddressPrivate *priv; /* Do not add fields to this struct */ }; struct _GVirSandboxConfigNetworkAddressClass { GObjectClass parent_class; gpointer padding[LIBVIRT_SANDBOX_CLASS_PADDING]; }; GType gvir_sandbox_config_network_address_get_type(void); GVirSandboxConfigNetworkAddress *gvir_sandbox_config_network_address_new(GInetAddress *primary, guint prefix, GInetAddress *broadcast); void gvir_sandbox_config_network_address_set_primary(GVirSandboxConfigNetworkAddress *config, GInetAddress *addr); GInetAddress *gvir_sandbox_config_network_address_get_primary(GVirSandboxConfigNetworkAddress *config); void gvir_sandbox_config_network_address_set_prefix(GVirSandboxConfigNetworkAddress *config, guint prefix); guint gvir_sandbox_config_network_address_get_prefix(GVirSandboxConfigNetworkAddress *config); void gvir_sandbox_config_network_address_set_broadcast(GVirSandboxConfigNetworkAddress *config, GInetAddress *addr); GInetAddress *gvir_sandbox_config_network_address_get_broadcast(GVirSandboxConfigNetworkAddress *config); G_END_DECLS #endif /* __LIBVIRT_SANDBOX_CONFIG_NETWORK_ADDRESS_H__ */ /* * Local variables: * c-indent-level: 4 * c-basic-offset: 4 * indent-tabs-mode: nil * tab-width: 8 * End: */ libvirt-sandbox-config-network-filterref-parameter.c000066400000000000000000000171071275305543100334320ustar00rootroot00000000000000libvirt-sandbox-0.5.1+git20160404/libvirt-sandbox/* * libvirt-sandbox-config-network-filterref-parameter.c: libvirt sandbox configuration * * Copyright (C) 2014 Red Hat, Inc. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. * * This library is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA * * Author: Ian Main */ #include #include #include "libvirt-sandbox/libvirt-sandbox-config-all.h" /** * SECTION: libvirt-sandbox-config-network-filterref-parameter * @short_description: Set parameters for a filter reference. * @include: libvirt-sandbox/libvirt-sandbox.h * * Provides an object to store filter parameter name and value. * * The GVirSandboxConfigNetworkFilterrefParameter object stores a * name and value required to set a single parameter of a filter reference. */ #define GVIR_SANDBOX_CONFIG_NETWORK_FILTERREF_PARAMETER_GET_PRIVATE(obj) \ (G_TYPE_INSTANCE_GET_PRIVATE((obj), GVIR_SANDBOX_TYPE_CONFIG_NETWORK_FILTERREF_PARAMETER, GVirSandboxConfigNetworkFilterrefParameterPrivate)) struct _GVirSandboxConfigNetworkFilterrefParameterPrivate { gchar *name; gchar *value; }; G_DEFINE_TYPE(GVirSandboxConfigNetworkFilterrefParameter, gvir_sandbox_config_network_filterref_parameter, G_TYPE_OBJECT); enum { PROP_0, PROP_NAME, PROP_VALUE, }; enum { LAST_SIGNAL }; //static gint signals[LAST_SIGNAL]; static void gvir_sandbox_config_network_filterref_parameter_get_property(GObject *object, guint prop_id, GValue *value, GParamSpec *pspec) { GVirSandboxConfigNetworkFilterrefParameter *config = GVIR_SANDBOX_CONFIG_NETWORK_FILTERREF_PARAMETER(object); GVirSandboxConfigNetworkFilterrefParameterPrivate *priv = config->priv; switch (prop_id) { case PROP_NAME: g_value_set_string(value, priv->name); break; case PROP_VALUE: g_value_set_string(value, priv->value); break; default: G_OBJECT_WARN_INVALID_PROPERTY_ID(object, prop_id, pspec); } } static void gvir_sandbox_config_network_filterref_parameter_set_property(GObject *object, guint prop_id, const GValue *value, GParamSpec *pspec) { GVirSandboxConfigNetworkFilterrefParameter *filter = GVIR_SANDBOX_CONFIG_NETWORK_FILTERREF_PARAMETER(object); switch (prop_id) { case PROP_NAME: gvir_sandbox_config_network_filterref_parameter_set_name(filter, g_value_get_string(value)); break; case PROP_VALUE: gvir_sandbox_config_network_filterref_parameter_set_value(filter, g_value_get_string(value)); break; default: G_OBJECT_WARN_INVALID_PROPERTY_ID(object, prop_id, pspec); } } static void gvir_sandbox_config_network_filterref_parameter_finalize(GObject *object) { GVirSandboxConfigNetworkFilterrefParameter *config = GVIR_SANDBOX_CONFIG_NETWORK_FILTERREF_PARAMETER(object); GVirSandboxConfigNetworkFilterrefParameterPrivate *priv = config->priv; g_free(priv->name); g_free(priv->value); G_OBJECT_CLASS(gvir_sandbox_config_network_filterref_parameter_parent_class)->finalize(object); } static void gvir_sandbox_config_network_filterref_parameter_class_init(GVirSandboxConfigNetworkFilterrefParameterClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS(klass); object_class->finalize = gvir_sandbox_config_network_filterref_parameter_finalize; object_class->get_property = gvir_sandbox_config_network_filterref_parameter_get_property; object_class->set_property = gvir_sandbox_config_network_filterref_parameter_set_property; g_object_class_install_property(object_class, PROP_NAME, g_param_spec_string("name", "Name", "Name of parameter", NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); g_object_class_install_property(object_class, PROP_VALUE, g_param_spec_string("value", "Value", "Value of parameter", NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); g_type_class_add_private(klass, sizeof(GVirSandboxConfigNetworkFilterrefParameterPrivate)); } static void gvir_sandbox_config_network_filterref_parameter_init(GVirSandboxConfigNetworkFilterrefParameter *param) { param->priv = GVIR_SANDBOX_CONFIG_NETWORK_FILTERREF_PARAMETER_GET_PRIVATE(param); } /** * gvir_sandbox_config_network_filterref_parameter_new: * * Create a new network config with DHCP enabled * * Returns: (transfer full): a new sandbox network object */ GVirSandboxConfigNetworkFilterrefParameter *gvir_sandbox_config_network_filterref_parameter_new(void) { return GVIR_SANDBOX_CONFIG_NETWORK_FILTERREF_PARAMETER(g_object_new(GVIR_SANDBOX_TYPE_CONFIG_NETWORK_FILTERREF_PARAMETER, NULL)); } void gvir_sandbox_config_network_filterref_parameter_set_name(GVirSandboxConfigNetworkFilterrefParameter *param, const gchar *name) { g_return_if_fail(GVIR_SANDBOX_IS_CONFIG_NETWORK_FILTERREF_PARAMETER(param)); g_free(param->priv->name); param->priv->name = g_strdup(name); g_object_notify(G_OBJECT(param), "name"); } const gchar *gvir_sandbox_config_network_filterref_parameter_get_name(GVirSandboxConfigNetworkFilterrefParameter *param) { g_return_val_if_fail(GVIR_SANDBOX_IS_CONFIG_NETWORK_FILTERREF_PARAMETER(param), NULL); return param->priv->name; } void gvir_sandbox_config_network_filterref_parameter_set_value(GVirSandboxConfigNetworkFilterrefParameter *param, const gchar *value) { g_return_if_fail(GVIR_SANDBOX_IS_CONFIG_NETWORK_FILTERREF_PARAMETER(param)); g_free(param->priv->value); param->priv->value = g_strdup(value); g_object_notify(G_OBJECT(value), "value"); } const gchar *gvir_sandbox_config_network_filterref_parameter_get_value(GVirSandboxConfigNetworkFilterrefParameter *param) { g_return_val_if_fail(GVIR_SANDBOX_IS_CONFIG_NETWORK_FILTERREF_PARAMETER(param), NULL); return param->priv->value; } libvirt-sandbox-config-network-filterref-parameter.h000066400000000000000000000074401275305543100334360ustar00rootroot00000000000000libvirt-sandbox-0.5.1+git20160404/libvirt-sandbox/* * libvirt-sandbox-config-network-filterref-parameter.h: libvirt sandbox configuration * * Copyright (C) 2014 Red Hat, Inc. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. * * This library is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA * * Author: Ian Main */ #if !defined(__LIBVIRT_SANDBOX_H__) && !defined(LIBVIRT_SANDBOX_BUILD) #error "Only can be included directly." #endif #ifndef __LIBVIRT_SANDBOX_CONFIG_NETWORK_FILTERREF_PARAMETER_H__ #define __LIBVIRT_SANDBOX_CONFIG_NETWORK_FILTERREF_PARAMETER_H__ G_BEGIN_DECLS #define GVIR_SANDBOX_TYPE_CONFIG_NETWORK_FILTERREF_PARAMETER (gvir_sandbox_config_network_filterref_parameter_get_type ()) #define GVIR_SANDBOX_CONFIG_NETWORK_FILTERREF_PARAMETER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GVIR_SANDBOX_TYPE_CONFIG_NETWORK_FILTERREF_PARAMETER, GVirSandboxConfigNetworkFilterrefParameter)) #define GVIR_SANDBOX_CONFIG_NETWORK_FILTERREF_PARAMETER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GVIR_SANDBOX_TYPE_CONFIG_NETWORK_FILTERREF_PARAMETER, GVirSandboxConfigNetworkFilterrefParameterClass)) #define GVIR_SANDBOX_IS_CONFIG_NETWORK_FILTERREF_PARAMETER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GVIR_SANDBOX_TYPE_CONFIG_NETWORK_FILTERREF_PARAMETER)) #define GVIR_SANDBOX_IS_CONFIG_NETWORK_FILTERREF_PARAMETER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GVIR_SANDBOX_TYPE_CONFIG_NETWORK_FILTERREF_PARAMETER)) #define GVIR_SANDBOX_CONFIG_NETWORK_FILTERREF_PARAMETER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GVIR_SANDBOX_TYPE_CONFIG_NETWORK_FILTERREF_PARAMETER, GVirSandboxConfigNetworkFilterrefParameterClass)) typedef struct _GVirSandboxConfigNetworkFilterrefParameter GVirSandboxConfigNetworkFilterrefParameter; typedef struct _GVirSandboxConfigNetworkFilterrefParameterPrivate GVirSandboxConfigNetworkFilterrefParameterPrivate; typedef struct _GVirSandboxConfigNetworkFilterrefParameterClass GVirSandboxConfigNetworkFilterrefParameterClass; struct _GVirSandboxConfigNetworkFilterrefParameter { GObject parent; GVirSandboxConfigNetworkFilterrefParameterPrivate *priv; /* Do not add fields to this struct */ }; struct _GVirSandboxConfigNetworkFilterrefParameterClass { GObjectClass parent_class; gpointer padding[LIBVIRT_SANDBOX_CLASS_PADDING]; }; GType gvir_sandbox_config_network_filterref_parameter_get_type(void); GVirSandboxConfigNetworkFilterrefParameter *gvir_sandbox_config_network_filterref_parameter_new(void); void gvir_sandbox_config_network_filterref_parameter_set_name(GVirSandboxConfigNetworkFilterrefParameter *param, const gchar *name); const gchar *gvir_sandbox_config_network_filterref_parameter_get_name(GVirSandboxConfigNetworkFilterrefParameter *param); void gvir_sandbox_config_network_filterref_parameter_set_value(GVirSandboxConfigNetworkFilterrefParameter *param, const gchar *value); const gchar *gvir_sandbox_config_network_filterref_parameter_get_value(GVirSandboxConfigNetworkFilterrefParameter *param); G_END_DECLS #endif /* __LIBVIRT_SANDBOX_CONFIG_NETWORK_FILTERREF_PARAMETER_H__ */ libvirt-sandbox-0.5.1+git20160404/libvirt-sandbox/libvirt-sandbox-config-network-filterref.c000066400000000000000000000170661275305543100315370ustar00rootroot00000000000000/* * libvirt-sandbox-config-network-filterref.c: libvirt sandbox filterr reference * configuration * * Copyright (C) 2014 Red Hat, Inc. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. * * This library is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA * * Author: Ian Main */ #include #include #include "libvirt-sandbox/libvirt-sandbox-config-all.h" /** * SECTION: libvirt-sandbox-config-network-filterref * @short_description: Add a network filter to a network interface. * @include: libvirt-sandbox/libvirt-sandbox.h * @see_aloso: #GVirSandboxConfig * * Provides an object to store the name of the filter reference. * * The GVirSandboxConfigNetworkFilterref object stores the name of the filter * references associated with a network interface. */ #define GVIR_SANDBOX_CONFIG_NETWORK_FILTERREF_GET_PRIVATE(obj) \ (G_TYPE_INSTANCE_GET_PRIVATE((obj), GVIR_SANDBOX_TYPE_CONFIG_NETWORK_FILTERREF, GVirSandboxConfigNetworkFilterrefPrivate)) struct _GVirSandboxConfigNetworkFilterrefPrivate { gchar *filter; GList *parameters; }; G_DEFINE_TYPE(GVirSandboxConfigNetworkFilterref, gvir_sandbox_config_network_filterref, G_TYPE_OBJECT); enum { PROP_0, PROP_NAME }; enum { LAST_SIGNAL }; //static gint signals[LAST_SIGNAL]; static void gvir_sandbox_config_network_filterref_get_property(GObject *object, guint prop_id, GValue *value, GParamSpec *pspec) { GVirSandboxConfigNetworkFilterref *config = GVIR_SANDBOX_CONFIG_NETWORK_FILTERREF(object); GVirSandboxConfigNetworkFilterrefPrivate *priv = config->priv; switch (prop_id) { case PROP_NAME: g_value_set_string(value, priv->filter); break; default: G_OBJECT_WARN_INVALID_PROPERTY_ID(object, prop_id, pspec); } } static void gvir_sandbox_config_network_filterref_set_property(GObject *object, guint prop_id, const GValue *value, GParamSpec *pspec) { GVirSandboxConfigNetworkFilterref *filterref = GVIR_SANDBOX_CONFIG_NETWORK_FILTERREF(object); switch (prop_id) { case PROP_NAME: gvir_sandbox_config_network_filterref_set_name(filterref, g_value_get_string(value)); break; default: G_OBJECT_WARN_INVALID_PROPERTY_ID(object, prop_id, pspec); } } static void gvir_sandbox_config_network_filterref_finalize(GObject *object) { GVirSandboxConfigNetworkFilterref *config = GVIR_SANDBOX_CONFIG_NETWORK_FILTERREF(object); GVirSandboxConfigNetworkFilterrefPrivate *priv = config->priv; g_free(priv->filter); g_list_foreach(priv->parameters, (GFunc)g_object_unref, NULL); g_list_free(priv->parameters); G_OBJECT_CLASS(gvir_sandbox_config_network_filterref_parent_class)->finalize(object); } static void gvir_sandbox_config_network_filterref_class_init(GVirSandboxConfigNetworkFilterrefClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS(klass); object_class->finalize = gvir_sandbox_config_network_filterref_finalize; object_class->get_property = gvir_sandbox_config_network_filterref_get_property; object_class->set_property = gvir_sandbox_config_network_filterref_set_property; g_object_class_install_property(object_class, PROP_NAME, g_param_spec_string("name", "Filter name", "The filter reference name", NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); g_type_class_add_private(klass, sizeof(GVirSandboxConfigNetworkFilterrefPrivate)); } /** * gvir_sandbox_config_network_filterref_new: * * Create a new network filterref config. * * Returns: (transfer full): a new sandbox network_filterref object */ GVirSandboxConfigNetworkFilterref *gvir_sandbox_config_network_filterref_new(void) { return GVIR_SANDBOX_CONFIG_NETWORK_FILTERREF(g_object_new(GVIR_SANDBOX_TYPE_CONFIG_NETWORK_FILTERREF, NULL)); } static void gvir_sandbox_config_network_filterref_init(GVirSandboxConfigNetworkFilterref *config) { config->priv = GVIR_SANDBOX_CONFIG_NETWORK_FILTERREF_GET_PRIVATE(config); } /** * gvir_sandbox_config_network_filterref_get_name: * @config: (transfer none): the network filter reference name * * Retrieves the network filter reference name. * * Returns: (transfer none): the network filter reference name. */ const gchar *gvir_sandbox_config_network_filterref_get_name(GVirSandboxConfigNetworkFilterref *filterref) { g_return_val_if_fail(GVIR_SANDBOX_IS_CONFIG_NETWORK_FILTERREF(filterref), NULL); return filterref->priv->filter; } void gvir_sandbox_config_network_filterref_set_name(GVirSandboxConfigNetworkFilterref *filterref, const gchar *name) { g_return_if_fail(GVIR_SANDBOX_IS_CONFIG_NETWORK_FILTERREF(filterref)); g_free(filterref->priv->filter); filterref->priv->filter = g_strdup(name); g_object_notify(G_OBJECT(filterref), "name"); } /** * gvir_sandbox_config_network_filterref_add_parameter: * @filter: (transfer none): the network filter reference. * @param: (transfer none): the filter parameter * * Add a parameter to a network filter reference. */ void gvir_sandbox_config_network_filterref_add_parameter(GVirSandboxConfigNetworkFilterref *filter, GVirSandboxConfigNetworkFilterrefParameter *param) { GVirSandboxConfigNetworkFilterrefPrivate *priv; g_return_if_fail(GVIR_SANDBOX_IS_CONFIG_NETWORK_FILTERREF(filter)); g_return_if_fail(GVIR_SANDBOX_IS_CONFIG_NETWORK_FILTERREF_PARAMETER(param)); priv = filter->priv; priv->parameters = g_list_append(priv->parameters, g_object_ref(param)); } /** * gvir_sandbox_config_network_filterref_get_parameters: * @filter: (transfer none): the filter reference configuration * * Retrieve the list of parameters associated with a network filter reference * * Returns: (transfer full)(element-type GVirSandboxConfigNetworkFilterrefParameter): the parameter list */ GList *gvir_sandbox_config_network_filterref_get_parameters(GVirSandboxConfigNetworkFilterref *filter) { GVirSandboxConfigNetworkFilterrefPrivate *priv; g_return_val_if_fail(GVIR_SANDBOX_IS_CONFIG_NETWORK_FILTERREF(filter), NULL); priv = filter->priv; g_list_foreach(priv->parameters, (GFunc)g_object_ref, NULL); return g_list_copy(priv->parameters); } libvirt-sandbox-0.5.1+git20160404/libvirt-sandbox/libvirt-sandbox-config-network-filterref.h000066400000000000000000000066421275305543100315420ustar00rootroot00000000000000/* * libvirt-sandbox-config-network-filterref.h: libvirt sandbox filter reference * configuration * * Copyright (C) 2014 Red Hat, Inc. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. * * This library is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA * * Author: Ian Main */ #if !defined(__LIBVIRT_SANDBOX_H__) && !defined(LIBVIRT_SANDBOX_BUILD) #error "Only can be included directly." #endif #ifndef __LIBVIRT_SANDBOX_CONFIG_NETWORK_FILTERREF_H__ #define __LIBVIRT_SANDBOX_CONFIG_NETWORK_FILTERREF_H__ G_BEGIN_DECLS #define GVIR_SANDBOX_TYPE_CONFIG_NETWORK_FILTERREF (gvir_sandbox_config_network_filterref_get_type ()) #define GVIR_SANDBOX_CONFIG_NETWORK_FILTERREF(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GVIR_SANDBOX_TYPE_CONFIG_NETWORK_FILTERREF, GVirSandboxConfigNetworkFilterref)) #define GVIR_SANDBOX_CONFIG_NETWORK_FILTERREF_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GVIR_SANDBOX_TYPE_CONFIG_NETWORK_FILTERREF, GVirSandboxConfigNetworkFilterrefClass)) #define GVIR_SANDBOX_IS_CONFIG_NETWORK_FILTERREF(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GVIR_SANDBOX_TYPE_CONFIG_NETWORK_FILTERREF)) #define GVIR_SANDBOX_IS_CONFIG_NETWORK_FILTERREF_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GVIR_SANDBOX_TYPE_CONFIG_NETWORK_FILTERREF)) #define GVIR_SANDBOX_CONFIG_NETWORK_FILTERREF_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GVIR_SANDBOX_TYPE_CONFIG_NETWORK_FILTERREF, GVirSandboxConfigNetworkFilterrefClass)) typedef struct _GVirSandboxConfigNetworkFilterref GVirSandboxConfigNetworkFilterref; typedef struct _GVirSandboxConfigNetworkFilterrefPrivate GVirSandboxConfigNetworkFilterrefPrivate; typedef struct _GVirSandboxConfigNetworkFilterrefClass GVirSandboxConfigNetworkFilterrefClass; struct _GVirSandboxConfigNetworkFilterref { GObject parent; GVirSandboxConfigNetworkFilterrefPrivate *priv; /* Do not add fields to this struct */ }; struct _GVirSandboxConfigNetworkFilterrefClass { GObjectClass parent_class; gpointer padding[LIBVIRT_SANDBOX_CLASS_PADDING]; }; GType gvir_sandbox_config_network_filterref_get_type(void); GVirSandboxConfigNetworkFilterref *gvir_sandbox_config_network_filterref_new(void); const gchar *gvir_sandbox_config_network_filterref_get_name(GVirSandboxConfigNetworkFilterref *config); void gvir_sandbox_config_network_filterref_set_name(GVirSandboxConfigNetworkFilterref *filter, const gchar *name); void gvir_sandbox_config_network_filterref_add_parameter(GVirSandboxConfigNetworkFilterref *filter, GVirSandboxConfigNetworkFilterrefParameter *param); GList *gvir_sandbox_config_network_filterref_get_parameters(GVirSandboxConfigNetworkFilterref *filter); G_END_DECLS #endif /* __LIBVIRT_SANDBOX_CONFIG_NETWORK_FILTERREF_H__ */ libvirt-sandbox-0.5.1+git20160404/libvirt-sandbox/libvirt-sandbox-config-network-route.c000066400000000000000000000256501275305543100307110ustar00rootroot00000000000000/* * libvirt-sandbox-config-network-route.c: libvirt sandbox configuration * * Copyright (C) 2011 Red Hat, Inc. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. * * This library is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA * * Author: Daniel P. Berrange */ #include #include #include "libvirt-sandbox/libvirt-sandbox-config-all.h" /** * SECTION: libvirt-sandbox-config-network_route * @short_description: Route information for an interface * @include: libvirt-sandbox/libvirt-sandbox.h * * Provides an object to store information about a network interface route * * The GVirSandboxConfigNetworkRoute object stores the information required * to configure an route on a network interface. This compises the primary * route, broadcast route and network route. */ #define GVIR_SANDBOX_CONFIG_NETWORK_ROUTE_GET_PRIVATE(obj) \ (G_TYPE_INSTANCE_GET_PRIVATE((obj), GVIR_SANDBOX_TYPE_CONFIG_NETWORK_ROUTE, GVirSandboxConfigNetworkRoutePrivate)) struct _GVirSandboxConfigNetworkRoutePrivate { guint prefix; GInetAddress *gateway; GInetAddress *target; }; G_DEFINE_TYPE(GVirSandboxConfigNetworkRoute, gvir_sandbox_config_network_route, G_TYPE_OBJECT); enum { PROP_0, PROP_PREFIX, PROP_GATEWAY, PROP_TARGET, }; enum { LAST_SIGNAL }; //static gint signals[LAST_SIGNAL]; static void gvir_sandbox_config_network_route_get_property(GObject *object, guint prop_id, GValue *value, GParamSpec *pspec) { GVirSandboxConfigNetworkRoute *config = GVIR_SANDBOX_CONFIG_NETWORK_ROUTE(object); GVirSandboxConfigNetworkRoutePrivate *priv = config->priv; switch (prop_id) { case PROP_PREFIX: g_value_set_uint(value, priv->prefix); break; case PROP_GATEWAY: g_value_set_object(value, priv->gateway); break; case PROP_TARGET: g_value_set_object(value, priv->target); break; default: G_OBJECT_WARN_INVALID_PROPERTY_ID(object, prop_id, pspec); } } static void gvir_sandbox_config_network_route_set_property(GObject *object, guint prop_id, const GValue *value, GParamSpec *pspec) { GVirSandboxConfigNetworkRoute *config = GVIR_SANDBOX_CONFIG_NETWORK_ROUTE(object); GVirSandboxConfigNetworkRoutePrivate *priv = config->priv; switch (prop_id) { case PROP_PREFIX: priv->prefix = g_value_get_uint(value); break; case PROP_GATEWAY: if (priv->gateway) g_object_unref(priv->gateway); priv->gateway = g_value_dup_object(value); break; case PROP_TARGET: if (priv->target) g_object_unref(priv->target); priv->target = g_value_dup_object(value); break; default: G_OBJECT_WARN_INVALID_PROPERTY_ID(object, prop_id, pspec); } } static void gvir_sandbox_config_network_route_finalize(GObject *object) { GVirSandboxConfigNetworkRoute *config = GVIR_SANDBOX_CONFIG_NETWORK_ROUTE(object); GVirSandboxConfigNetworkRoutePrivate *priv = config->priv; if (priv->gateway) g_object_unref(priv->gateway); if (priv->target) g_object_unref(priv->target); G_OBJECT_CLASS(gvir_sandbox_config_network_route_parent_class)->finalize(object); } static void gvir_sandbox_config_network_route_class_init(GVirSandboxConfigNetworkRouteClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS(klass); object_class->finalize = gvir_sandbox_config_network_route_finalize; object_class->get_property = gvir_sandbox_config_network_route_get_property; object_class->set_property = gvir_sandbox_config_network_route_set_property; g_object_class_install_property(object_class, PROP_PREFIX, g_param_spec_uint("prefix", "Prefix", "Prefix length", 0, 128, 24, G_PARAM_READABLE | G_PARAM_WRITABLE | G_PARAM_CONSTRUCT_ONLY | G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB)); g_object_class_install_property(object_class, PROP_GATEWAY, g_param_spec_object("gateway", "Gateway", "Gateway device", G_TYPE_INET_ADDRESS, G_PARAM_READABLE | G_PARAM_WRITABLE | G_PARAM_CONSTRUCT_ONLY | G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB)); g_object_class_install_property(object_class, PROP_TARGET, g_param_spec_object("target", "Target", "Target address", G_TYPE_INET_ADDRESS, G_PARAM_READABLE | G_PARAM_WRITABLE | G_PARAM_CONSTRUCT_ONLY | G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB)); g_type_class_add_private(klass, sizeof(GVirSandboxConfigNetworkRoutePrivate)); } static void gvir_sandbox_config_network_route_init(GVirSandboxConfigNetworkRoute *config) { config->priv = GVIR_SANDBOX_CONFIG_NETWORK_ROUTE_GET_PRIVATE(config); } /** * gvir_sandbox_config_network_route_new: * @target: the target address * @prefix: the prefix length * @gateway: the gateway device * * Create a new network route config. * * Returns: (transfer full): a new sandbox network route object */ GVirSandboxConfigNetworkRoute *gvir_sandbox_config_network_route_new(GInetAddress *target, guint prefix, GInetAddress *gateway) { return GVIR_SANDBOX_CONFIG_NETWORK_ROUTE(g_object_new(GVIR_SANDBOX_TYPE_CONFIG_NETWORK_ROUTE, "target", target, "prefix", prefix, "gateway", gateway, NULL)); } /** * gvir_sandbox_config_network_route_set_prefix: * @config: (transfer none): the sandbox network route config * @prefix: prefix length * * Sets the prefix for an interface route */ void gvir_sandbox_config_network_route_set_prefix(GVirSandboxConfigNetworkRoute *config, guint prefix) { GVirSandboxConfigNetworkRoutePrivate *priv = config->priv; priv->prefix = prefix; } /** * gvir_sandbox_config_network_route_get_prefix: * @config: (transfer none): the sandbox network route config * * Retrieves the prefix length of the route * * Returns: the prefix length */ guint gvir_sandbox_config_network_route_get_prefix(GVirSandboxConfigNetworkRoute *config) { GVirSandboxConfigNetworkRoutePrivate *priv = config->priv; return priv->prefix; } /** * gvir_sandbox_config_network_route_set_gateway: * @config: (transfer none): the sandbox network route config * @addr: (transfer none): the gateway device * * Sets the interface gateway device */ void gvir_sandbox_config_network_route_set_gateway(GVirSandboxConfigNetworkRoute *config, GInetAddress *addr) { GVirSandboxConfigNetworkRoutePrivate *priv = config->priv; if (priv->gateway) g_object_unref(priv->gateway); priv->gateway = g_object_ref(addr); } /** * gvir_sandbox_config_network_route_get_gateway: * @config: (transfer none): the sandbox network route config * * Retrieves the network gateway address * * Returns: (transfer none): the gateway address */ GInetAddress *gvir_sandbox_config_network_route_get_gateway(GVirSandboxConfigNetworkRoute *config) { GVirSandboxConfigNetworkRoutePrivate *priv = config->priv; return priv->gateway; } /** * gvir_sandbox_config_network_route_set_target: * @config: (transfer none): the sandbox network route config * @addr: (transfer none): the target address * * Sets the interface route target address */ void gvir_sandbox_config_network_route_set_target(GVirSandboxConfigNetworkRoute *config, GInetAddress *addr) { GVirSandboxConfigNetworkRoutePrivate *priv = config->priv; if (priv->target) g_object_unref(priv->target); priv->target = g_object_ref(addr); } /** * gvir_sandbox_config_network_route_get_target: * @config: (transfer none): the sandbox network route config * * Retrieves the route target address * * Returns: (transfer none): the target address */ GInetAddress *gvir_sandbox_config_network_route_get_target(GVirSandboxConfigNetworkRoute *config) { GVirSandboxConfigNetworkRoutePrivate *priv = config->priv; return priv->target; } /* * Local variables: * c-indent-level: 4 * c-basic-offset: 4 * indent-tabs-mode: nil * tab-width: 8 * End: */ libvirt-sandbox-0.5.1+git20160404/libvirt-sandbox/libvirt-sandbox-config-network-route.h000066400000000000000000000074371275305543100307210ustar00rootroot00000000000000/* * libvirt-sandbox-config-network-route.h: libvirt sandbox configuration * * Copyright (C) 2011 Red Hat, Inc. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. * * This library is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA * * Author: Daniel P. Berrange */ #if !defined(__LIBVIRT_SANDBOX_H__) && !defined(LIBVIRT_SANDBOX_BUILD) #error "Only can be included directly." #endif #ifndef __LIBVIRT_SANDBOX_CONFIG_NETWORK_ROUTE_H__ #define __LIBVIRT_SANDBOX_CONFIG_NETWORK_ROUTE_H__ G_BEGIN_DECLS #define GVIR_SANDBOX_TYPE_CONFIG_NETWORK_ROUTE (gvir_sandbox_config_network_route_get_type ()) #define GVIR_SANDBOX_CONFIG_NETWORK_ROUTE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GVIR_SANDBOX_TYPE_CONFIG_NETWORK_ROUTE, GVirSandboxConfigNetworkRoute)) #define GVIR_SANDBOX_CONFIG_NETWORK_ROUTE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GVIR_SANDBOX_TYPE_CONFIG_NETWORK_ROUTE, GVirSandboxConfigNetworkRouteClass)) #define GVIR_SANDBOX_IS_CONFIG_NETWORK_ROUTE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GVIR_SANDBOX_TYPE_CONFIG_NETWORK_ROUTE)) #define GVIR_SANDBOX_IS_CONFIG_NETWORK_ROUTE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GVIR_SANDBOX_TYPE_CONFIG_NETWORK_ROUTE)) #define GVIR_SANDBOX_CONFIG_NETWORK_ROUTE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GVIR_SANDBOX_TYPE_CONFIG_NETWORK_ROUTE, GVirSandboxConfigNetworkRouteClass)) #define GVIR_SANDBOX_TYPE_CONFIG_NETWORK_ROUTE_HANDLE (gvir_sandbox_config_network_route_handle_get_type ()) typedef struct _GVirSandboxConfigNetworkRoute GVirSandboxConfigNetworkRoute; typedef struct _GVirSandboxConfigNetworkRoutePrivate GVirSandboxConfigNetworkRoutePrivate; typedef struct _GVirSandboxConfigNetworkRouteClass GVirSandboxConfigNetworkRouteClass; struct _GVirSandboxConfigNetworkRoute { GObject parent; GVirSandboxConfigNetworkRoutePrivate *priv; /* Do not add fields to this struct */ }; struct _GVirSandboxConfigNetworkRouteClass { GObjectClass parent_class; gpointer padding[LIBVIRT_SANDBOX_CLASS_PADDING]; }; GType gvir_sandbox_config_network_route_get_type(void); GVirSandboxConfigNetworkRoute *gvir_sandbox_config_network_route_new(GInetAddress *target, guint prefix, GInetAddress *gateway); void gvir_sandbox_config_network_route_set_prefix(GVirSandboxConfigNetworkRoute *config, guint prefix); guint gvir_sandbox_config_network_route_get_prefix(GVirSandboxConfigNetworkRoute *config); void gvir_sandbox_config_network_route_set_gateway(GVirSandboxConfigNetworkRoute *config, GInetAddress *addr); GInetAddress *gvir_sandbox_config_network_route_get_gateway(GVirSandboxConfigNetworkRoute *config); void gvir_sandbox_config_network_route_set_target(GVirSandboxConfigNetworkRoute *config, GInetAddress *addr); GInetAddress *gvir_sandbox_config_network_route_get_target(GVirSandboxConfigNetworkRoute *config); G_END_DECLS #endif /* __LIBVIRT_SANDBOX_CONFIG_NETWORK_ROUTE_H__ */ /* * Local variables: * c-indent-level: 4 * c-basic-offset: 4 * indent-tabs-mode: nil * tab-width: 8 * End: */ libvirt-sandbox-0.5.1+git20160404/libvirt-sandbox/libvirt-sandbox-config-network.c000066400000000000000000000276561275305543100275650ustar00rootroot00000000000000/* * libvirt-sandbox-config-network.c: libvirt sandbox configuration * * Copyright (C) 2011 Red Hat, Inc. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. * * This library is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA * * Author: Daniel P. Berrange */ #include #include #include "libvirt-sandbox/libvirt-sandbox-config-all.h" /** * SECTION: libvirt-sandbox-config-network * @short_description: Kernel ramdisk configuration details * @include: libvirt-sandbox/libvirt-sandbox.h * * Provides an object to store information about a kernel ramdisk * * The GVirSandboxConfigNetwork object stores the information required * to build a kernel ramdisk to use when booting a virtual machine * as a sandbox. */ #define GVIR_SANDBOX_CONFIG_NETWORK_GET_PRIVATE(obj) \ (G_TYPE_INSTANCE_GET_PRIVATE((obj), GVIR_SANDBOX_TYPE_CONFIG_NETWORK, GVirSandboxConfigNetworkPrivate)) struct _GVirSandboxConfigNetworkPrivate { gboolean dhcp; gchar *source; gchar *mac; GList *routes; GList *addrs; GVirSandboxConfigNetworkFilterref *filterref; }; G_DEFINE_TYPE(GVirSandboxConfigNetwork, gvir_sandbox_config_network, G_TYPE_OBJECT); enum { PROP_0, PROP_DHCP, PROP_SOURCE, PROP_MAC, }; enum { LAST_SIGNAL }; //static gint signals[LAST_SIGNAL]; static void gvir_sandbox_config_network_get_property(GObject *object, guint prop_id, GValue *value, GParamSpec *pspec) { GVirSandboxConfigNetwork *config = GVIR_SANDBOX_CONFIG_NETWORK(object); GVirSandboxConfigNetworkPrivate *priv = config->priv; switch (prop_id) { case PROP_DHCP: g_value_set_boolean(value, priv->dhcp); break; case PROP_SOURCE: g_value_set_string(value, priv->source); break; case PROP_MAC: g_value_set_string(value, priv->mac); break; default: G_OBJECT_WARN_INVALID_PROPERTY_ID(object, prop_id, pspec); } } static void gvir_sandbox_config_network_set_property(GObject *object, guint prop_id, const GValue *value, GParamSpec *pspec) { GVirSandboxConfigNetwork *config = GVIR_SANDBOX_CONFIG_NETWORK(object); GVirSandboxConfigNetworkPrivate *priv = config->priv; switch (prop_id) { case PROP_DHCP: priv->dhcp = g_value_get_boolean(value); break; case PROP_SOURCE: g_free(priv->source); priv->source = g_value_dup_string(value); break; case PROP_MAC: g_free(priv->mac); priv->mac = g_value_dup_string(value); break; default: G_OBJECT_WARN_INVALID_PROPERTY_ID(object, prop_id, pspec); } } static void gvir_sandbox_config_network_finalize(GObject *object) { GVirSandboxConfigNetwork *config = GVIR_SANDBOX_CONFIG_NETWORK(object); GVirSandboxConfigNetworkPrivate *priv = config->priv; g_free(priv->source); g_free(priv->mac); g_list_foreach(priv->addrs, (GFunc)g_object_unref, NULL); g_list_free(priv->addrs); g_list_foreach(priv->routes, (GFunc)g_object_unref, NULL); g_list_free(priv->routes); if (priv->filterref) g_object_unref(priv->filterref); G_OBJECT_CLASS(gvir_sandbox_config_network_parent_class)->finalize(object); } static void gvir_sandbox_config_network_class_init(GVirSandboxConfigNetworkClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS(klass); object_class->finalize = gvir_sandbox_config_network_finalize; object_class->get_property = gvir_sandbox_config_network_get_property; object_class->set_property = gvir_sandbox_config_network_set_property; g_object_class_install_property(object_class, PROP_DHCP, g_param_spec_boolean("dhcp", "DHCP", "Enable DHCP", TRUE, G_PARAM_READABLE | G_PARAM_WRITABLE | G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB)); g_object_class_install_property(object_class, PROP_SOURCE, g_param_spec_string("source", "Source", "Source network", NULL, G_PARAM_READABLE | G_PARAM_WRITABLE | G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB)); g_object_class_install_property(object_class, PROP_MAC, g_param_spec_string("mac", "MAC", "MAC address", NULL, G_PARAM_READABLE | G_PARAM_WRITABLE | G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB)); g_type_class_add_private(klass, sizeof(GVirSandboxConfigNetworkPrivate)); } static void gvir_sandbox_config_network_init(GVirSandboxConfigNetwork *config) { GVirSandboxConfigNetworkPrivate *priv; priv = config->priv = GVIR_SANDBOX_CONFIG_NETWORK_GET_PRIVATE(config); priv->dhcp = TRUE; } /** * gvir_sandbox_config_network_new: * * Create a new network config with DHCP enabled * * Returns: (transfer full): a new sandbox network object */ GVirSandboxConfigNetwork *gvir_sandbox_config_network_new(void) { return GVIR_SANDBOX_CONFIG_NETWORK(g_object_new(GVIR_SANDBOX_TYPE_CONFIG_NETWORK, NULL)); } void gvir_sandbox_config_network_set_source(GVirSandboxConfigNetwork *config, const gchar *network) { GVirSandboxConfigNetworkPrivate *priv = config->priv; g_free(priv->source); priv->source = g_strdup(network); } const gchar *gvir_sandbox_config_network_get_source(GVirSandboxConfigNetwork *config) { GVirSandboxConfigNetworkPrivate *priv = config->priv; return priv->source; } void gvir_sandbox_config_network_set_mac(GVirSandboxConfigNetwork *config, const gchar *mac) { GVirSandboxConfigNetworkPrivate *priv = config->priv; g_free(priv->mac); priv->mac = g_strdup(mac); } const gchar *gvir_sandbox_config_network_get_mac(GVirSandboxConfigNetwork *config) { GVirSandboxConfigNetworkPrivate *priv = config->priv; return priv->mac; } void gvir_sandbox_config_network_set_dhcp(GVirSandboxConfigNetwork *config, gboolean dhcp) { GVirSandboxConfigNetworkPrivate *priv = config->priv; priv->dhcp = dhcp; } gboolean gvir_sandbox_config_network_get_dhcp(GVirSandboxConfigNetwork *config) { GVirSandboxConfigNetworkPrivate *priv = config->priv; return priv->dhcp; } /** * gvir_sandbox_config_network_add_address: * @config: (transfer none): the sandbox network configuration * @addr: (transfer none): the network address * * Add a network interface address. This will be ignored unless * DHCP has been disabled */ void gvir_sandbox_config_network_add_address(GVirSandboxConfigNetwork *config, GVirSandboxConfigNetworkAddress *addr) { GVirSandboxConfigNetworkPrivate *priv = config->priv; priv->addrs = g_list_append(priv->addrs, g_object_ref(addr)); } /** * gvir_sandbox_config_network_get_addresses: * @config: (transfer none): the sandbox network configuration * * Retrieve the list of network interface addresses * * Returns: (transfer full)(element-type GVirSandboxConfigNetworkAddress): the address list */ GList *gvir_sandbox_config_network_get_addresses(GVirSandboxConfigNetwork *config) { GVirSandboxConfigNetworkPrivate *priv = config->priv; g_list_foreach(priv->addrs, (GFunc)g_object_ref, NULL); return g_list_copy(priv->addrs); } /** * gvir_sandbox_config_network_set_filterref: * @config: (transfer none): the sandbox network configuration * @ref: (transfer none): the network filterref * * Set a network filterref for the given network. */ void gvir_sandbox_config_network_set_filterref(GVirSandboxConfigNetwork *config, GVirSandboxConfigNetworkFilterref *filterref) { GVirSandboxConfigNetworkPrivate *priv; g_return_if_fail(GVIR_SANDBOX_IS_CONFIG_NETWORK(config)); g_return_if_fail(GVIR_SANDBOX_IS_CONFIG_NETWORK_FILTERREF(filterref)); priv = config->priv; if (priv->filterref) g_object_unref(priv->filterref); priv->filterref = g_object_ref(filterref); } /** * gvir_sandbox_config_network_get_filterref: * @config: (transfer none): the sandbox network configuration * * Retrieve the associated filter reference. * * Returns: (transfer none): The associated filter reference. */ GVirSandboxConfigNetworkFilterref *gvir_sandbox_config_network_get_filterref(GVirSandboxConfigNetwork *config) { GVirSandboxConfigNetworkPrivate *priv; g_return_val_if_fail(GVIR_SANDBOX_IS_CONFIG_NETWORK(config), NULL); priv = config->priv; return priv->filterref; } /** * gvir_sandbox_config_network_add_route: * @config: (transfer none): the sandbox network configuration * @addr: (transfer none): the network route * * Add a network interface route. This will be ignored unless * DHCP has been disabled */ void gvir_sandbox_config_network_add_route(GVirSandboxConfigNetwork *config, GVirSandboxConfigNetworkRoute *route) { GVirSandboxConfigNetworkPrivate *priv = config->priv; priv->routes = g_list_append(priv->routes, g_object_ref(route)); } /** * gvir_sandbox_config_network_get_routes: * @config: (transfer none): the sandbox network configuration * * Retrieve the list of network interface routes * * Returns: (transfer full)(element-type GVirSandboxConfigNetworkRoute): the route list */ GList *gvir_sandbox_config_network_get_routes(GVirSandboxConfigNetwork *config) { GVirSandboxConfigNetworkPrivate *priv = config->priv; g_list_foreach(priv->routes, (GFunc)g_object_ref, NULL); return g_list_copy(priv->routes); } /* * Local variables: * c-indent-level: 4 * c-basic-offset: 4 * indent-tabs-mode: nil * tab-width: 8 * End: */ libvirt-sandbox-0.5.1+git20160404/libvirt-sandbox/libvirt-sandbox-config-network.h000066400000000000000000000103371275305543100275560ustar00rootroot00000000000000/* * libvirt-sandbox-config-network.h: libvirt sandbox configuration * * Copyright (C) 2011 Red Hat, Inc. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. * * This library is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA * * Author: Daniel P. Berrange */ #if !defined(__LIBVIRT_SANDBOX_H__) && !defined(LIBVIRT_SANDBOX_BUILD) #error "Only can be included directly." #endif #ifndef __LIBVIRT_SANDBOX_CONFIG_NETWORK_H__ #define __LIBVIRT_SANDBOX_CONFIG_NETWORK_H__ G_BEGIN_DECLS #define GVIR_SANDBOX_TYPE_CONFIG_NETWORK (gvir_sandbox_config_network_get_type ()) #define GVIR_SANDBOX_CONFIG_NETWORK(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GVIR_SANDBOX_TYPE_CONFIG_NETWORK, GVirSandboxConfigNetwork)) #define GVIR_SANDBOX_CONFIG_NETWORK_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GVIR_SANDBOX_TYPE_CONFIG_NETWORK, GVirSandboxConfigNetworkClass)) #define GVIR_SANDBOX_IS_CONFIG_NETWORK(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GVIR_SANDBOX_TYPE_CONFIG_NETWORK)) #define GVIR_SANDBOX_IS_CONFIG_NETWORK_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GVIR_SANDBOX_TYPE_CONFIG_NETWORK)) #define GVIR_SANDBOX_CONFIG_NETWORK_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GVIR_SANDBOX_TYPE_CONFIG_NETWORK, GVirSandboxConfigNetworkClass)) #define GVIR_SANDBOX_TYPE_CONFIG_NETWORK_HANDLE (gvir_sandbox_config_network_handle_get_type ()) typedef struct _GVirSandboxConfigNetwork GVirSandboxConfigNetwork; typedef struct _GVirSandboxConfigNetworkPrivate GVirSandboxConfigNetworkPrivate; typedef struct _GVirSandboxConfigNetworkClass GVirSandboxConfigNetworkClass; struct _GVirSandboxConfigNetwork { GObject parent; GVirSandboxConfigNetworkPrivate *priv; /* Do not add fields to this struct */ }; struct _GVirSandboxConfigNetworkClass { GObjectClass parent_class; gpointer padding[LIBVIRT_SANDBOX_CLASS_PADDING]; }; GType gvir_sandbox_config_network_get_type(void); GVirSandboxConfigNetwork *gvir_sandbox_config_network_new(void); void gvir_sandbox_config_network_set_source(GVirSandboxConfigNetwork *config, const gchar *network); const gchar *gvir_sandbox_config_network_get_source(GVirSandboxConfigNetwork *config); void gvir_sandbox_config_network_set_mac(GVirSandboxConfigNetwork *config, const gchar *mac); const gchar *gvir_sandbox_config_network_get_mac(GVirSandboxConfigNetwork *config); void gvir_sandbox_config_network_set_dhcp(GVirSandboxConfigNetwork *config, gboolean dhcp); gboolean gvir_sandbox_config_network_get_dhcp(GVirSandboxConfigNetwork *config); void gvir_sandbox_config_network_add_address(GVirSandboxConfigNetwork *config, GVirSandboxConfigNetworkAddress *addr); GList *gvir_sandbox_config_network_get_addresses(GVirSandboxConfigNetwork *config); void gvir_sandbox_config_network_set_filterref(GVirSandboxConfigNetwork *config, GVirSandboxConfigNetworkFilterref *ref); GVirSandboxConfigNetworkFilterref *gvir_sandbox_config_network_get_filterref(GVirSandboxConfigNetwork *config); void gvir_sandbox_config_network_add_route(GVirSandboxConfigNetwork *config, GVirSandboxConfigNetworkRoute *addr); GList *gvir_sandbox_config_network_get_routes(GVirSandboxConfigNetwork *config); G_END_DECLS #endif /* __LIBVIRT_SANDBOX_CONFIG_NETWORK_H__ */ /* * Local variables: * c-indent-level: 4 * c-basic-offset: 4 * indent-tabs-mode: nil * tab-width: 8 * End: */ libvirt-sandbox-0.5.1+git20160404/libvirt-sandbox/libvirt-sandbox-config-service-generic.c000066400000000000000000000162131275305543100311310ustar00rootroot00000000000000/* * libvirt-sandbox-config-service.c: libvirt sandbox configuration * * Copyright (C) 2011 Red Hat, Inc. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. * * This library is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA * * Author: Daniel P. Berrange */ #include #include #include "libvirt-sandbox/libvirt-sandbox-config-all.h" /** * SECTION: libvirt-sandbox-config-service-generic * @short_description: ServiceGeneric sandbox configuration details * @include: libvirt-sandbox/libvirt-sandbox.h * @see_also: #GVirSandboxConfigServiceGeneric * * Provides an object to store configuration details for a generic service config * * The GVirSandboxConfigServiceGeneric object extends #GVirSandboxConfigService to store * the extra information required to setup a service sandbox with generic */ #define GVIR_SANDBOX_CONFIG_SERVICE_GENERIC_GET_PRIVATE(obj) \ (G_TYPE_INSTANCE_GET_PRIVATE((obj), GVIR_SANDBOX_TYPE_CONFIG_SERVICE_GENERIC, GVirSandboxConfigServiceGenericPrivate)) struct _GVirSandboxConfigServiceGenericPrivate { gchar **command; }; G_DEFINE_TYPE(GVirSandboxConfigServiceGeneric, gvir_sandbox_config_service_generic, GVIR_SANDBOX_TYPE_CONFIG_SERVICE); static gchar **gvir_sandbox_config_service_generic_get_command(GVirSandboxConfig *config); enum { PROP_0, PROP_BOOT_TARGET, }; enum { LAST_SIGNAL }; //static gint signals[LAST_SIGNAL]; #if 0 #define GVIR_SANDBOX_CONFIG_SERVICE_GENERIC_ERROR gvir_sandbox_config_service_generic_error_quark() static GQuark gvir_sandbox_config_service_generic_error_quark(void) { return g_quark_from_static_string("gvir-sandbox-config-service-generic"); } #endif static gboolean gvir_sandbox_config_service_generic_load_config(GVirSandboxConfig *config, GKeyFile *file, GError **error) { GVirSandboxConfigServiceGenericPrivate *priv = GVIR_SANDBOX_CONFIG_SERVICE_GENERIC(config)->priv; gboolean ret = FALSE; GError *e = NULL; gchar *str; gsize i; gchar **argv = g_new0(gchar *, 1); gsize argc = 0; argv[0] = NULL; if (!GVIR_SANDBOX_CONFIG_CLASS(gvir_sandbox_config_service_generic_parent_class) ->load_config(config, file, error)) goto cleanup; for (i = 0 ; i < 1024 ; i++) { gchar *key = g_strdup_printf("argv.%zu", i); if ((str = g_key_file_get_string(file, "command", key, &e)) == NULL) { if (e->code == G_KEY_FILE_ERROR_KEY_NOT_FOUND) { g_error_free(e); e = NULL; break; } g_propagate_error(error, e); goto cleanup; } argv = g_renew(char *, argv, argc+2); argv[argc++] = str; argv[argc] = NULL; } g_strfreev(priv->command); priv->command = argv; argv = NULL; ret = TRUE; cleanup: return ret; } static void gvir_sandbox_config_service_generic_save_config(GVirSandboxConfig *config, GKeyFile *file) { GVirSandboxConfigServiceGenericPrivate *priv = GVIR_SANDBOX_CONFIG_SERVICE_GENERIC(config)->priv; size_t i, argc; GVIR_SANDBOX_CONFIG_CLASS(gvir_sandbox_config_service_generic_parent_class) ->save_config(config, file); argc = g_strv_length(priv->command); for (i = 0 ; i < argc ; i++) { gchar *key = g_strdup_printf("argv.%zu", i); g_key_file_set_string(file, "command", key, priv->command[i]); g_free(key); } } static void gvir_sandbox_config_service_generic_finalize(GObject *object) { GVirSandboxConfigServiceGeneric *config = GVIR_SANDBOX_CONFIG_SERVICE_GENERIC(object); GVirSandboxConfigServiceGenericPrivate *priv = config->priv; g_strfreev(priv->command); G_OBJECT_CLASS(gvir_sandbox_config_service_generic_parent_class)->finalize(object); } static void gvir_sandbox_config_service_generic_class_init(GVirSandboxConfigServiceGenericClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS(klass); GVirSandboxConfigClass *config_class = GVIR_SANDBOX_CONFIG_CLASS(klass); object_class->finalize = gvir_sandbox_config_service_generic_finalize; config_class->load_config = gvir_sandbox_config_service_generic_load_config; config_class->save_config = gvir_sandbox_config_service_generic_save_config; config_class->get_command = gvir_sandbox_config_service_generic_get_command; g_type_class_add_private(klass, sizeof(GVirSandboxConfigServiceGenericPrivate)); } static void gvir_sandbox_config_service_generic_init(GVirSandboxConfigServiceGeneric *config) { GVirSandboxConfigServiceGenericPrivate *priv; priv = config->priv = GVIR_SANDBOX_CONFIG_SERVICE_GENERIC_GET_PRIVATE(config); priv->command = g_new0(gchar *, 2); priv->command[0] = g_strdup("/bin/sh"); priv->command[1] = NULL; } /** * gvir_sandbox_config_service_generic_new: * @name: the sandbox name * * Create a new service application sandbox configuration * * Returns: (transfer full): a new service sandbox config object */ GVirSandboxConfigServiceGeneric *gvir_sandbox_config_service_generic_new(const gchar *name) { return GVIR_SANDBOX_CONFIG_SERVICE_GENERIC(g_object_new(GVIR_SANDBOX_TYPE_CONFIG_SERVICE_GENERIC, "name", name, NULL)); } /** * gvir_sandbox_config_service_generic_set_command: * @config: (transfer none): the sandbox config * @argv: (transfer none)(array zero-terminated=1): the command path and arguments * * Set the path of the command to be run and its arguments. The @argv should * be a NULL terminated list */ void gvir_sandbox_config_service_generic_set_command(GVirSandboxConfigServiceGeneric *config, gchar **argv) { GVirSandboxConfigServiceGenericPrivate *priv = config->priv; guint len = g_strv_length(argv); size_t i; g_strfreev(priv->command); priv->command = g_new0(gchar *, len + 1); for (i = 0 ; i < len ; i++) priv->command[i] = g_strdup(argv[i]); priv->command[len] = NULL; } static gchar **gvir_sandbox_config_service_generic_get_command(GVirSandboxConfig *config) { GVirSandboxConfigServiceGeneric *iconfig = GVIR_SANDBOX_CONFIG_SERVICE_GENERIC(config); GVirSandboxConfigServiceGenericPrivate *priv = iconfig->priv; return g_strdupv(priv->command); } /* * Local variables: * c-indent-level: 4 * c-basic-offset: 4 * indent-tabs-mode: nil * tab-width: 8 * End: */ libvirt-sandbox-0.5.1+git20160404/libvirt-sandbox/libvirt-sandbox-config-service-generic.h000066400000000000000000000061361275305543100311410ustar00rootroot00000000000000/* * libvirt-sandbox-config-service-generic.h: libvirt sandbox configuration * * Copyright (C) 2011 Red Hat, Inc. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. * * This library is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA * * Author: Daniel P. Berrange */ #if !defined(__LIBVIRT_SANDBOX_H__) && !defined(LIBVIRT_SANDBOX_BUILD) #error "Only can be included directly." #endif #ifndef __LIBVIRT_SANDBOX_CONFIG_SERVICE_GENERIC_H__ #define __LIBVIRT_SANDBOX_CONFIG_SERVICE_GENERIC_H__ G_BEGIN_DECLS #define GVIR_SANDBOX_TYPE_CONFIG_SERVICE_GENERIC (gvir_sandbox_config_service_generic_get_type ()) #define GVIR_SANDBOX_CONFIG_SERVICE_GENERIC(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GVIR_SANDBOX_TYPE_CONFIG_SERVICE_GENERIC, GVirSandboxConfigServiceGeneric)) #define GVIR_SANDBOX_CONFIG_SERVICE_GENERIC_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GVIR_SANDBOX_TYPE_CONFIG_SERVICE_GENERIC, GVirSandboxConfigServiceGenericClass)) #define GVIR_SANDBOX_IS_CONFIG_SERVICE_GENERIC(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GVIR_SANDBOX_TYPE_CONFIG_SERVICE_GENERIC)) #define GVIR_SANDBOX_IS_CONFIG_SERVICE_GENERIC_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GVIR_SANDBOX_TYPE_CONFIG_SERVICE_GENERIC)) #define GVIR_SANDBOX_CONFIG_SERVICE_GENERIC_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GVIR_SANDBOX_TYPE_CONFIG_SERVICE_GENERIC, GVirSandboxConfigServiceGenericClass)) typedef struct _GVirSandboxConfigServiceGeneric GVirSandboxConfigServiceGeneric; typedef struct _GVirSandboxConfigServiceGenericPrivate GVirSandboxConfigServiceGenericPrivate; typedef struct _GVirSandboxConfigServiceGenericClass GVirSandboxConfigServiceGenericClass; struct _GVirSandboxConfigServiceGeneric { GVirSandboxConfigService parent; GVirSandboxConfigServiceGenericPrivate *priv; /* Do not add fields to this struct */ }; struct _GVirSandboxConfigServiceGenericClass { GVirSandboxConfigServiceClass parent_class; gpointer padding[LIBVIRT_SANDBOX_CLASS_PADDING]; }; GType gvir_sandbox_config_service_generic_get_type(void); GVirSandboxConfigServiceGeneric *gvir_sandbox_config_service_generic_new(const gchar *name); void gvir_sandbox_config_service_generic_set_command(GVirSandboxConfigServiceGeneric *config, gchar **argv); G_END_DECLS #endif /* __LIBVIRT_SANDBOX_CONFIG_SERVICE_GENERIC_H__ */ /* * Local variables: * c-indent-level: 4 * c-basic-offset: 4 * indent-tabs-mode: nil * tab-width: 8 * End: */ libvirt-sandbox-0.5.1+git20160404/libvirt-sandbox/libvirt-sandbox-config-service-systemd.c000066400000000000000000000177341275305543100312160ustar00rootroot00000000000000/* * libvirt-sandbox-config-service-systemd.c: libvirt sandbox configuration * * Copyright (C) 2011 Red Hat, Inc. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. * * This library is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA * * Author: Daniel P. Berrange */ #include #include #include "libvirt-sandbox/libvirt-sandbox-config-all.h" /** * SECTION: libvirt-sandbox-config-service-systemd * @short_description: ServiceSystemd sandbox configuration details * @include: libvirt-sandbox/libvirt-sandbox.h * @see_also: #GVirSandboxConfigServiceSystemd * * Provides an object to store configuration details for a systemd service config * * The GVirSandboxConfigServiceSystemd object extends #GVirSandboxConfigService to store * the extra information required to setup a service sandbox with systemd */ #define GVIR_SANDBOX_CONFIG_SERVICE_SYSTEMD_GET_PRIVATE(obj) \ (G_TYPE_INSTANCE_GET_PRIVATE((obj), GVIR_SANDBOX_TYPE_CONFIG_SERVICE_SYSTEMD, GVirSandboxConfigServiceSystemdPrivate)) struct _GVirSandboxConfigServiceSystemdPrivate { gchar *bootTarget; }; G_DEFINE_TYPE(GVirSandboxConfigServiceSystemd, gvir_sandbox_config_service_systemd, GVIR_SANDBOX_TYPE_CONFIG_SERVICE); static gchar **gvir_sandbox_config_service_systemd_get_command(GVirSandboxConfig *config); enum { PROP_0, PROP_BOOT_TARGET, }; enum { LAST_SIGNAL }; //static gint signals[LAST_SIGNAL]; #if 0 #define GVIR_SANDBOX_CONFIG_SERVICE_SYSTEMD_ERROR gvir_sandbox_config_service_systemd_error_quark() static GQuark gvir_sandbox_config_service_systemd_error_quark(void) { return g_quark_from_static_string("gvir-sandbox-config-service-systemd"); } #endif static void gvir_sandbox_config_service_systemd_get_property(GObject *object, guint prop_id, GValue *value, GParamSpec *pspec) { GVirSandboxConfigServiceSystemd *config = GVIR_SANDBOX_CONFIG_SERVICE_SYSTEMD(object); GVirSandboxConfigServiceSystemdPrivate *priv = config->priv; switch (prop_id) { case PROP_BOOT_TARGET: g_value_set_string(value, priv->bootTarget); break; default: G_OBJECT_WARN_INVALID_PROPERTY_ID(object, prop_id, pspec); } } static void gvir_sandbox_config_service_systemd_set_property(GObject *object, guint prop_id, const GValue *value, GParamSpec *pspec) { GVirSandboxConfigServiceSystemd *config = GVIR_SANDBOX_CONFIG_SERVICE_SYSTEMD(object); GVirSandboxConfigServiceSystemdPrivate *priv = config->priv; switch (prop_id) { case PROP_BOOT_TARGET: g_free(priv->bootTarget); priv->bootTarget = g_value_dup_string(value); break; default: G_OBJECT_WARN_INVALID_PROPERTY_ID(object, prop_id, pspec); } } static gboolean gvir_sandbox_config_service_systemd_load_config(GVirSandboxConfig *config, GKeyFile *file, GError **error) { GVirSandboxConfigServiceSystemdPrivate *priv = GVIR_SANDBOX_CONFIG_SERVICE_SYSTEMD(config)->priv; gboolean ret = FALSE; if (!GVIR_SANDBOX_CONFIG_CLASS(gvir_sandbox_config_service_systemd_parent_class) ->load_config(config, file, error)) goto cleanup; if ((priv->bootTarget = g_key_file_get_string(file, "service", "bootTarget", error)) == NULL) goto cleanup; ret = TRUE; cleanup: return ret; } static void gvir_sandbox_config_service_systemd_save_config(GVirSandboxConfig *config, GKeyFile *file) { GVirSandboxConfigServiceSystemdPrivate *priv = GVIR_SANDBOX_CONFIG_SERVICE_SYSTEMD(config)->priv; GVIR_SANDBOX_CONFIG_CLASS(gvir_sandbox_config_service_systemd_parent_class) ->save_config(config, file); g_key_file_set_string(file, "service", "bootTarget", priv->bootTarget); } static void gvir_sandbox_config_service_systemd_finalize(GObject *object) { GVirSandboxConfigServiceSystemd *config = GVIR_SANDBOX_CONFIG_SERVICE_SYSTEMD(object); GVirSandboxConfigServiceSystemdPrivate *priv = config->priv; g_free(priv->bootTarget); G_OBJECT_CLASS(gvir_sandbox_config_service_systemd_parent_class)->finalize(object); } static void gvir_sandbox_config_service_systemd_class_init(GVirSandboxConfigServiceSystemdClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS(klass); GVirSandboxConfigClass *config_class = GVIR_SANDBOX_CONFIG_CLASS(klass); object_class->finalize = gvir_sandbox_config_service_systemd_finalize; object_class->get_property = gvir_sandbox_config_service_systemd_get_property; object_class->set_property = gvir_sandbox_config_service_systemd_set_property; config_class->load_config = gvir_sandbox_config_service_systemd_load_config; config_class->save_config = gvir_sandbox_config_service_systemd_save_config; config_class->get_command = gvir_sandbox_config_service_systemd_get_command; g_type_class_add_private(klass, sizeof(GVirSandboxConfigServiceSystemdPrivate)); } static void gvir_sandbox_config_service_systemd_init(GVirSandboxConfigServiceSystemd *config) { config->priv = GVIR_SANDBOX_CONFIG_SERVICE_SYSTEMD_GET_PRIVATE(config); } /** * gvir_sandbox_config_service_systemd_new: * @name: the sandbox name * * Create a new service application sandbox configuration * * Returns: (transfer full): a new service sandbox config object */ GVirSandboxConfigServiceSystemd *gvir_sandbox_config_service_systemd_new(const gchar *name) { return GVIR_SANDBOX_CONFIG_SERVICE_SYSTEMD(g_object_new(GVIR_SANDBOX_TYPE_CONFIG_SERVICE_SYSTEMD, "name", name, NULL)); } /** * gvir_sandbox_config_service_systemd_get_boot_target: * * Returns: the boot target name */ const gchar *gvir_sandbox_config_service_systemd_get_boot_target(GVirSandboxConfigServiceSystemd *config) { GVirSandboxConfigServiceSystemdPrivate *priv = config->priv; return priv->bootTarget; } void gvir_sandbox_config_service_systemd_set_boot_target(GVirSandboxConfigServiceSystemd *config, const gchar *target) { GVirSandboxConfigServiceSystemdPrivate *priv = config->priv; g_free(priv->bootTarget); priv->bootTarget = g_strdup(target); } static gchar **gvir_sandbox_config_service_systemd_get_command(GVirSandboxConfig *config) { GVirSandboxConfigServiceSystemd *sconfig = GVIR_SANDBOX_CONFIG_SERVICE_SYSTEMD(config); GVirSandboxConfigServiceSystemdPrivate *priv = sconfig->priv; gchar **command = g_new(gchar *, 7); command[0] = g_strdup("/usr/lib/systemd/systemd"); command[1] = g_strdup("--unit"); command[2] = g_strdup(priv->bootTarget); command[3] = g_strdup("--log-target"); command[4] = g_strdup("console"); command[5] = g_strdup("--system"); command[6] = NULL; return command; } /* * Local variables: * c-indent-level: 4 * c-basic-offset: 4 * indent-tabs-mode: nil * tab-width: 8 * End: */ libvirt-sandbox-0.5.1+git20160404/libvirt-sandbox/libvirt-sandbox-config-service-systemd.h000066400000000000000000000064151275305543100312150ustar00rootroot00000000000000/* * libvirt-sandbox-config-service-systemd.h: libvirt sandbox configuration * * Copyright (C) 2011 Red Hat, Inc. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. * * This library is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA * * Author: Daniel P. Berrange */ #if !defined(__LIBVIRT_SANDBOX_H__) && !defined(LIBVIRT_SANDBOX_BUILD) #error "Only can be included directly." #endif #ifndef __LIBVIRT_SANDBOX_CONFIG_SERVICE_SYSTEMD_H__ #define __LIBVIRT_SANDBOX_CONFIG_SERVICE_SYSTEMD_H__ G_BEGIN_DECLS #define GVIR_SANDBOX_TYPE_CONFIG_SERVICE_SYSTEMD (gvir_sandbox_config_service_systemd_get_type ()) #define GVIR_SANDBOX_CONFIG_SERVICE_SYSTEMD(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GVIR_SANDBOX_TYPE_CONFIG_SERVICE_SYSTEMD, GVirSandboxConfigServiceSystemd)) #define GVIR_SANDBOX_CONFIG_SERVICE_SYSTEMD_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GVIR_SANDBOX_TYPE_CONFIG_SERVICE_SYSTEMD, GVirSandboxConfigServiceSystemdClass)) #define GVIR_SANDBOX_IS_CONFIG_SERVICE_SYSTEMD(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GVIR_SANDBOX_TYPE_CONFIG_SERVICE_SYSTEMD)) #define GVIR_SANDBOX_IS_CONFIG_SERVICE_SYSTEMD_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GVIR_SANDBOX_TYPE_CONFIG_SERVICE_SYSTEMD)) #define GVIR_SANDBOX_CONFIG_SERVICE_SYSTEMD_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GVIR_SANDBOX_TYPE_CONFIG_SERVICE_SYSTEMD, GVirSandboxConfigServiceSystemdClass)) typedef struct _GVirSandboxConfigServiceSystemd GVirSandboxConfigServiceSystemd; typedef struct _GVirSandboxConfigServiceSystemdPrivate GVirSandboxConfigServiceSystemdPrivate; typedef struct _GVirSandboxConfigServiceSystemdClass GVirSandboxConfigServiceSystemdClass; struct _GVirSandboxConfigServiceSystemd { GVirSandboxConfigService parent; GVirSandboxConfigServiceSystemdPrivate *priv; /* Do not add fields to this struct */ }; struct _GVirSandboxConfigServiceSystemdClass { GVirSandboxConfigServiceClass parent_class; gpointer padding[LIBVIRT_SANDBOX_CLASS_PADDING]; }; GType gvir_sandbox_config_service_systemd_get_type(void); GVirSandboxConfigServiceSystemd *gvir_sandbox_config_service_systemd_new(const gchar *name); const gchar *gvir_sandbox_config_service_systemd_get_boot_target(GVirSandboxConfigServiceSystemd *config); void gvir_sandbox_config_service_systemd_set_boot_target(GVirSandboxConfigServiceSystemd *config, const gchar *target); G_END_DECLS #endif /* __LIBVIRT_SANDBOX_CONFIG_SERVICE_SYSTEMD_H__ */ /* * Local variables: * c-indent-level: 4 * c-basic-offset: 4 * indent-tabs-mode: nil * tab-width: 8 * End: */ libvirt-sandbox-0.5.1+git20160404/libvirt-sandbox/libvirt-sandbox-config-service.c000066400000000000000000000053671275305543100275270ustar00rootroot00000000000000/* * libvirt-sandbox-config-service.c: libvirt sandbox configuration * * Copyright (C) 2011 Red Hat, Inc. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. * * This library is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA * * Author: Daniel P. Berrange */ #include #include #include "libvirt-sandbox/libvirt-sandbox-config-all.h" /** * SECTION: libvirt-sandbox-config-service * @short_description: Service sandbox configuration details * @include: libvirt-sandbox/libvirt-sandbox.h * @see_also: #GVirSandboxConfigService * * Provides an object to store configuration details for a service config * * The GVirSandboxConfigService object extends #GVirSandboxConfig to store * the extra information required to setup a service sandbox */ #define GVIR_SANDBOX_CONFIG_SERVICE_GET_PRIVATE(obj) \ (G_TYPE_INSTANCE_GET_PRIVATE((obj), GVIR_SANDBOX_TYPE_CONFIG_SERVICE, GVirSandboxConfigServicePrivate)) struct _GVirSandboxConfigServicePrivate { gboolean unused; }; G_DEFINE_ABSTRACT_TYPE(GVirSandboxConfigService, gvir_sandbox_config_service, GVIR_SANDBOX_TYPE_CONFIG); enum { LAST_SIGNAL }; //static gint signals[LAST_SIGNAL]; #if 0 #define GVIR_SANDBOX_CONFIG_SERVICE_ERROR gvir_sandbox_config_service_error_quark() static GQuark gvir_sandbox_config_service_error_quark(void) { return g_quark_from_static_string("gvir-sandbox-config-service"); } #endif static void gvir_sandbox_config_service_finalize(GObject *object) { G_OBJECT_CLASS(gvir_sandbox_config_service_parent_class)->finalize(object); } static void gvir_sandbox_config_service_class_init(GVirSandboxConfigServiceClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS(klass); object_class->finalize = gvir_sandbox_config_service_finalize; g_type_class_add_private(klass, sizeof(GVirSandboxConfigServicePrivate)); } static void gvir_sandbox_config_service_init(GVirSandboxConfigService *config) { config->priv = GVIR_SANDBOX_CONFIG_SERVICE_GET_PRIVATE(config); } /* * Local variables: * c-indent-level: 4 * c-basic-offset: 4 * indent-tabs-mode: nil * tab-width: 8 * End: */ libvirt-sandbox-0.5.1+git20160404/libvirt-sandbox/libvirt-sandbox-config-service.h000066400000000000000000000052501275305543100275230ustar00rootroot00000000000000/* * libvirt-sandbox-config-service.h: libvirt sandbox configuration * * Copyright (C) 2011 Red Hat, Inc. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. * * This library is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA * * Author: Daniel P. Berrange */ #if !defined(__LIBVIRT_SANDBOX_H__) && !defined(LIBVIRT_SANDBOX_BUILD) #error "Only can be included directly." #endif #ifndef __LIBVIRT_SANDBOX_CONFIG_SERVICE_H__ #define __LIBVIRT_SANDBOX_CONFIG_SERVICE_H__ G_BEGIN_DECLS #define GVIR_SANDBOX_TYPE_CONFIG_SERVICE (gvir_sandbox_config_service_get_type ()) #define GVIR_SANDBOX_CONFIG_SERVICE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GVIR_SANDBOX_TYPE_CONFIG_SERVICE, GVirSandboxConfigService)) #define GVIR_SANDBOX_CONFIG_SERVICE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GVIR_SANDBOX_TYPE_CONFIG_SERVICE, GVirSandboxConfigServiceClass)) #define GVIR_SANDBOX_IS_CONFIG_SERVICE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GVIR_SANDBOX_TYPE_CONFIG_SERVICE)) #define GVIR_SANDBOX_IS_CONFIG_SERVICE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GVIR_SANDBOX_TYPE_CONFIG_SERVICE)) #define GVIR_SANDBOX_CONFIG_SERVICE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GVIR_SANDBOX_TYPE_CONFIG_SERVICE, GVirSandboxConfigServiceClass)) typedef struct _GVirSandboxConfigService GVirSandboxConfigService; typedef struct _GVirSandboxConfigServicePrivate GVirSandboxConfigServicePrivate; typedef struct _GVirSandboxConfigServiceClass GVirSandboxConfigServiceClass; struct _GVirSandboxConfigService { GVirSandboxConfig parent; GVirSandboxConfigServicePrivate *priv; /* Do not add fields to this struct */ }; struct _GVirSandboxConfigServiceClass { GVirSandboxConfigClass parent_class; gpointer padding[LIBVIRT_SANDBOX_CLASS_PADDING]; }; GType gvir_sandbox_config_service_get_type(void); G_END_DECLS #endif /* __LIBVIRT_SANDBOX_CONFIG_SERVICE_H__ */ /* * Local variables: * c-indent-level: 4 * c-basic-offset: 4 * indent-tabs-mode: nil * tab-width: 8 * End: */ libvirt-sandbox-0.5.1+git20160404/libvirt-sandbox/libvirt-sandbox-config.c000066400000000000000000002656641275305543100261010ustar00rootroot00000000000000/* * libvirt-sandbox-config.c: libvirt sandbox configuration * * Copyright (C) 2011 Red Hat, Inc. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. * * This library is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA * * Author: Daniel P. Berrange */ #include #include #include #include #include "libvirt-sandbox/libvirt-sandbox-config-all.h" #include "libvirt-sandbox/libvirt-sandbox-util.h" #include #include /** * SECTION: libvirt-sandbox-config * @short_description: Basic sandbox configuration details * @include: libvirt-sandbox/libvirt-sandbox.h * * Provides a base object to store configurations for the application sandbox * * The GVirSandboxConfig object stores the basic information required to * create application sandboxes with a simple text based console. */ #define GVIR_SANDBOX_CONFIG_GET_PRIVATE(obj) \ (G_TYPE_INSTANCE_GET_PRIVATE((obj), GVIR_SANDBOX_TYPE_CONFIG, GVirSandboxConfigPrivate)) struct _GVirSandboxConfigPrivate { gchar *name; gchar *uuid; gchar *root; gchar *arch; gchar *kernrelease; gchar *kernpath; gchar *kmodpath; gboolean shell; guint uid; guint gid; gchar *username; gchar *homedir; GList *networks; GList *mounts; GList *disks; GHashTable* envs; gchar *secLabel; gboolean secDynamic; }; G_DEFINE_ABSTRACT_TYPE(GVirSandboxConfig, gvir_sandbox_config, G_TYPE_OBJECT); enum { PROP_0, PROP_NAME, PROP_UUID, PROP_ROOT, PROP_ARCH, PROP_SHELL, PROP_KERNRELEASE, PROP_KERNPATH, PROP_KMODPATH, PROP_UID, PROP_GID, PROP_USERNAME, PROP_HOMEDIR, PROP_SECURITY_LABEL, PROP_SECURITY_DYNAMIC, }; enum { LAST_SIGNAL }; //static gint signals[LAST_SIGNAL]; static gboolean gvir_sandbox_config_load_config(GVirSandboxConfig *config, GKeyFile *file, GError **error); static void gvir_sandbox_config_save_config(GVirSandboxConfig *config, GKeyFile *file); #define GVIR_SANDBOX_CONFIG_ERROR gvir_sandbox_config_error_quark() static GQuark gvir_sandbox_config_error_quark(void) { return g_quark_from_static_string("gvir-sandbox-config"); } static void gvir_sandbox_config_get_property(GObject *object, guint prop_id, GValue *value, GParamSpec *pspec) { GVirSandboxConfig *config = GVIR_SANDBOX_CONFIG(object); GVirSandboxConfigPrivate *priv = config->priv; switch (prop_id) { case PROP_NAME: g_value_set_string(value, priv->name); break; case PROP_UUID: g_value_set_string(value, priv->uuid); break; case PROP_ROOT: g_value_set_string(value, priv->root); break; case PROP_ARCH: g_value_set_string(value, priv->arch); break; case PROP_KERNRELEASE: g_value_set_string(value, priv->kernrelease); break; case PROP_KERNPATH: g_value_set_string(value, priv->kernpath); break; case PROP_KMODPATH: g_value_set_string(value, priv->kmodpath); break; case PROP_SHELL: g_value_set_boolean(value, priv->shell); break; case PROP_UID: g_value_set_uint(value, priv->uid); break; case PROP_GID: g_value_set_uint(value, priv->gid); break; case PROP_USERNAME: g_value_set_string(value, priv->username); break; case PROP_HOMEDIR: g_value_set_string(value, priv->homedir); break; case PROP_SECURITY_LABEL: g_value_set_string(value, priv->secLabel); break; case PROP_SECURITY_DYNAMIC: g_value_set_boolean(value, priv->secDynamic); break; default: G_OBJECT_WARN_INVALID_PROPERTY_ID(object, prop_id, pspec); } } static void gvir_sandbox_config_set_property(GObject *object, guint prop_id, const GValue *value, GParamSpec *pspec) { GVirSandboxConfig *config = GVIR_SANDBOX_CONFIG(object); GVirSandboxConfigPrivate *priv = config->priv; switch (prop_id) { case PROP_NAME: g_free(priv->name); priv->name = g_value_dup_string(value); break; case PROP_UUID: g_free(priv->uuid); priv->uuid = g_value_dup_string(value); break; case PROP_ROOT: g_free(priv->root); priv->root = g_value_dup_string(value); break; case PROP_ARCH: g_free(priv->arch); priv->arch = g_value_dup_string(value); break; case PROP_KERNRELEASE: g_free(priv->kernrelease); priv->kernrelease = g_value_dup_string(value); break; case PROP_KERNPATH: g_free(priv->kernpath); priv->kernpath = g_value_dup_string(value); break; case PROP_KMODPATH: g_free(priv->kmodpath); priv->kmodpath = g_value_dup_string(value); break; case PROP_SHELL: priv->shell = g_value_get_boolean(value); break; case PROP_UID: priv->uid = g_value_get_uint(value); break; case PROP_GID: priv->gid = g_value_get_uint(value); break; case PROP_USERNAME: g_free(priv->username); priv->username = g_value_dup_string(value); break; case PROP_HOMEDIR: g_free(priv->homedir); priv->homedir = g_value_dup_string(value); break; case PROP_SECURITY_LABEL: g_free(priv->secLabel); priv->secLabel = g_value_dup_string(value); break; case PROP_SECURITY_DYNAMIC: priv->secDynamic = g_value_get_boolean(value); break; default: G_OBJECT_WARN_INVALID_PROPERTY_ID(object, prop_id, pspec); } } static void gvir_sandbox_config_finalize(GObject *object) { GVirSandboxConfig *config = GVIR_SANDBOX_CONFIG(object); GVirSandboxConfigPrivate *priv = config->priv; g_list_foreach(priv->mounts, (GFunc)g_object_unref, NULL); g_list_free(priv->mounts); g_list_foreach(priv->networks, (GFunc)g_object_unref, NULL); g_list_free(priv->networks); g_hash_table_destroy(priv->envs); g_list_foreach(priv->disks, (GFunc)g_object_unref, NULL); g_list_free(priv->disks); g_free(priv->name); g_free(priv->uuid); g_free(priv->root); g_free(priv->arch); g_free(priv->kernrelease); g_free(priv->kernpath); g_free(priv->kmodpath); g_free(priv->secLabel); G_OBJECT_CLASS(gvir_sandbox_config_parent_class)->finalize(object); } static void gvir_sandbox_config_class_init(GVirSandboxConfigClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS(klass); object_class->finalize = gvir_sandbox_config_finalize; object_class->get_property = gvir_sandbox_config_get_property; object_class->set_property = gvir_sandbox_config_set_property; klass->load_config = gvir_sandbox_config_load_config; klass->save_config = gvir_sandbox_config_save_config; g_object_class_install_property(object_class, PROP_NAME, g_param_spec_string("name", "Name", "The sandbox name", NULL, G_PARAM_READABLE | G_PARAM_WRITABLE | G_PARAM_CONSTRUCT_ONLY | G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB)); g_object_class_install_property(object_class, PROP_UUID, g_param_spec_string("uuid", "UUID", "The sandbox UUID", NULL, G_PARAM_READABLE | G_PARAM_WRITABLE | G_PARAM_CONSTRUCT_ONLY | G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB)); g_object_class_install_property(object_class, PROP_ROOT, g_param_spec_string("root", "Root", "The sandbox root", NULL, G_PARAM_READABLE | G_PARAM_WRITABLE | G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB)); g_object_class_install_property(object_class, PROP_ARCH, g_param_spec_string("arch", "Arch", "The sandbox architecture", NULL, G_PARAM_READABLE | G_PARAM_WRITABLE | G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB)); g_object_class_install_property(object_class, PROP_KERNRELEASE, g_param_spec_string("kernrelease", "Kernrelease", "The kernel release version", NULL, G_PARAM_READABLE | G_PARAM_WRITABLE | G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB)); g_object_class_install_property(object_class, PROP_KERNPATH, g_param_spec_string("kernpath", "Kernpath", "The kernel image path", NULL, G_PARAM_READABLE | G_PARAM_WRITABLE | G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB)); g_object_class_install_property(object_class, PROP_KMODPATH, g_param_spec_string("kmodpath", "Kmodpath", "Kernel modules path", NULL, G_PARAM_READABLE | G_PARAM_WRITABLE | G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB)); g_object_class_install_property(object_class, PROP_SHELL, g_param_spec_string("shell", "SHELL", "SHELL", FALSE, G_PARAM_READABLE | G_PARAM_WRITABLE | G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB)); g_object_class_install_property(object_class, PROP_UID, g_param_spec_uint("uid", "UID", "The user ID", 0, G_MAXUINT, geteuid(), G_PARAM_READABLE | G_PARAM_WRITABLE | G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB)); g_object_class_install_property(object_class, PROP_GID, g_param_spec_uint("gid", "GID", "The group ID", 0, G_MAXUINT, getegid(), G_PARAM_READABLE | G_PARAM_WRITABLE | G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB)); g_object_class_install_property(object_class, PROP_USERNAME, g_param_spec_string("username", "Username", "The username", g_get_user_name(), G_PARAM_READABLE | G_PARAM_WRITABLE | G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB)); g_object_class_install_property(object_class, PROP_HOMEDIR, g_param_spec_string("homedir", "Homedir", "The home directory", g_get_home_dir(), G_PARAM_READABLE | G_PARAM_WRITABLE | G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB)); g_object_class_install_property(object_class, PROP_SECURITY_LABEL, g_param_spec_string("security-label", "Security label", "The security label", NULL, G_PARAM_READABLE | G_PARAM_WRITABLE | G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB)); g_object_class_install_property(object_class, PROP_SECURITY_DYNAMIC, g_param_spec_boolean("security-dynamic", "Security dynamic", "The security mode", TRUE, G_PARAM_READABLE | G_PARAM_WRITABLE | G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB)); g_type_class_add_private(klass, sizeof(GVirSandboxConfigPrivate)); } static void gvir_sandbox_config_init(GVirSandboxConfig *config) { GVirSandboxConfigPrivate *priv = config->priv; struct utsname uts; uname(&uts); priv = config->priv = GVIR_SANDBOX_CONFIG_GET_PRIVATE(config); priv->name = g_strdup("sandbox"); priv->root = g_strdup("/"); priv->arch = g_strdup(uts.machine); priv->secDynamic = TRUE; priv->envs = g_hash_table_new(g_str_hash, g_str_equal); priv->uid = geteuid(); priv->gid = getegid(); priv->username = g_strdup(g_get_user_name()); priv->homedir = g_strdup(g_get_home_dir()); } /** * gvir_sandbox_config_get_name: * @config: (transfer none): the sandbox config * * Retrieves the sandbox name * * Returns: (transfer none): the current name */ const gchar *gvir_sandbox_config_get_name(GVirSandboxConfig *config) { GVirSandboxConfigPrivate *priv = config->priv; return priv->name; } /** * gvir_sandbox_config_set_uuid: * @config: (transfer none): the sandbox config * @uuid: (transfer none): the uuid in string format * * Set the UUID for the container, to overide the automatically * generated value. */ void gvir_sandbox_config_set_uuid(GVirSandboxConfig *config, const gchar *uuid) { GVirSandboxConfigPrivate *priv = config->priv; g_free(priv->uuid); priv->uuid = g_strdup(uuid); } /** * gvir_sandbox_config_get_uuid: * @config: (transfer none): the sandbox config * * Retrieves the sandbox UUID * * Returns: (transfer none): the current uuid */ const gchar *gvir_sandbox_config_get_uuid(GVirSandboxConfig *config) { GVirSandboxConfigPrivate *priv = config->priv; return priv->uuid; } /** * gvir_sandbox_config_set_root: * @config: (transfer none): the sandbox config * @hostdir: (transfer none): the host directory * * Set the host directory to use as the root for the sandbox. The * defualt root is "/". */ void gvir_sandbox_config_set_root(GVirSandboxConfig *config, const gchar *hostdir) { GVirSandboxConfigPrivate *priv = config->priv; g_free(priv->root); priv->root = g_strdup(hostdir); } /** * gvir_sandbox_config_get_root: * @config: (transfer none): the sandbox config * * Retrieves the sandbox root directory * * Returns: (transfer none): the current root */ const gchar *gvir_sandbox_config_get_root(GVirSandboxConfig *config) { GVirSandboxConfigPrivate *priv = config->priv; return priv->root; } /** * gvir_sandbox_config_set_arch: * @config: (transfer none): the sandbox config * @arch: (transfer none): the host directory * * Set the architecture to use in the sandbox. If none is provided, * it will default to matching the host architecture. */ void gvir_sandbox_config_set_arch(GVirSandboxConfig *config, const gchar *arch) { GVirSandboxConfigPrivate *priv = config->priv; g_free(priv->arch); priv->arch = g_strdup(arch); } /** * gvir_sandbox_config_get_arch: * @config: (transfer none): the sandbox config * * Retrieves the sandbox binary architecture * * Returns: (transfer none): the current architecture */ const gchar *gvir_sandbox_config_get_arch(GVirSandboxConfig *config) { GVirSandboxConfigPrivate *priv = config->priv; return priv->arch; } /** * gvir_sandbox_config_set_kernrelease: * @config: (transfer none): the sandbox config * @kernrelease: (transfer none): the host directory * * Set the kernel release version to use in the sandbox. If none is provided, * it will default to matching the current running kernel. */ void gvir_sandbox_config_set_kernrelease(GVirSandboxConfig *config, const gchar *kernrelease) { GVirSandboxConfigPrivate *priv = config->priv; g_free(priv->kernrelease); priv->kernrelease = g_strdup(kernrelease); } /** * gvir_sandbox_config_get_kernrelease: * @config: (transfer none): the sandbox config * * Retrieves the sandbox kernel release version * * Returns: (transfer none): the current kernel release version */ const gchar *gvir_sandbox_config_get_kernrelease(GVirSandboxConfig *config) { GVirSandboxConfigPrivate *priv = config->priv; return priv->kernrelease; } /** * gvir_sandbox_config_set_kernpath: * @config: (transfer none): the sandbox config * @kernpath: (transfer none): the host directory * * Set the kernel image path to use in the sandbox. If none is provided, * it will default to matching /boot/vmlinuz-[kernel release]. */ void gvir_sandbox_config_set_kernpath(GVirSandboxConfig *config, const gchar *kernpath) { GVirSandboxConfigPrivate *priv = config->priv; g_free(priv->kernpath); priv->kernpath = g_strdup(kernpath); } /** * gvir_sandbox_config_get_kernpath: * @config: (transfer none): the sandbox config * * Retrieves the sandbox kernel image path * * Returns: (transfer none): the current kernel image path */ const gchar *gvir_sandbox_config_get_kernpath(GVirSandboxConfig *config) { GVirSandboxConfigPrivate *priv = config->priv; return priv->kernpath; } /** * gvir_sandbox_config_set_kmodpath: * @config: (transfer none): the sandbox config * @kmodpath: (transfer none): the kernel modules path * * Sets the generic path to the kernel modules directory. * It will default to "/lib/modules", modules being searched in * /lib/modules/[kernel release]. If "/path" is given as argument * modules will be searched in /path/[kernel release] */ void gvir_sandbox_config_set_kmodpath(GVirSandboxConfig *config, const gchar *kmodpath) { GVirSandboxConfigPrivate *priv = config->priv; g_free(priv->kmodpath); priv->kmodpath = g_strdup(kmodpath); } /** * gvir_sandbox_config_get_kmodpath: * @config: (transfer none): the sandbox config * * Retrieves the sandbox kernel modules path * * Returns: (transfer none): the current kernel modules path */ const gchar *gvir_sandbox_config_get_kmodpath(GVirSandboxConfig *config) { GVirSandboxConfigPrivate *priv = config->priv; return priv->kmodpath; } /** * gvir_sandbox_config_set_shell: * @config: (transfer none): the sandbox config * @shell: true if the container should have a shell * * Set whether the container console should have a interactive shell. */ void gvir_sandbox_config_set_shell(GVirSandboxConfig *config, gboolean shell) { GVirSandboxConfigPrivate *priv = config->priv; priv->shell = shell; } /** * gvir_sandbox_config_get_shell: * @config: (transfer none): the sandbox config * * Retrieves the sandbox shell flag * * Returns: the shell flag */ gboolean gvir_sandbox_config_get_shell(GVirSandboxConfig *config) { GVirSandboxConfigPrivate *priv = config->priv; return priv->shell; } /** * gvir_sandbox_config_set_userid: * @config: (transfer none): the sandbox config * @uid: the sandbox user ID * * Set the user ID to invoke the sandbox application under. * Defaults to the user ID of the current program. */ void gvir_sandbox_config_set_userid(GVirSandboxConfig *config, guint uid) { GVirSandboxConfigPrivate *priv = config->priv; priv->uid = uid; } /** * gvir_sandbox_config_get_userid: * @config: (transfer none): the sandbox config * * Get the user ID to invoke the sandbox application under. * * Returns: the user ID */ guint gvir_sandbox_config_get_userid(GVirSandboxConfig *config) { GVirSandboxConfigPrivate *priv = config->priv; return priv->uid; } /** * gvir_sandbox_config_set_groupid: * @config: (transfer none): the sandbox config * @gid: the sandbox group ID * * Set the group ID to invoke the sandbox application under. * Defaults to the group ID of the current program. */ void gvir_sandbox_config_set_groupid(GVirSandboxConfig *config, guint gid) { GVirSandboxConfigPrivate *priv = config->priv; priv->gid = gid; } /** * gvir_sandbox_config_get_groupid: * @config: (transfer none): the sandbox config * * Get the group ID to invoke the sandbox application under. * * Returns: the group ID */ guint gvir_sandbox_config_get_groupid(GVirSandboxConfig *config) { GVirSandboxConfigPrivate *priv = config->priv; return priv->gid; } /** * gvir_sandbox_config_set_username: * @config: (transfer none): the sandbox config * @username: (transfer none): the sandbox user name * * Set the user name associated with the sandbox user ID. * Defaults to the user name of the current program. */ void gvir_sandbox_config_set_username(GVirSandboxConfig *config, const gchar *username) { GVirSandboxConfigPrivate *priv = config->priv; g_free(priv->username); priv->username = g_strdup(username); } /** * gvir_sandbox_config_get_username: * @config: (transfer none): the sandbox config * * Get the user name to invoke the sandbox application under. * * Returns: (transfer none): the user name */ const gchar *gvir_sandbox_config_get_username(GVirSandboxConfig *config) { GVirSandboxConfigPrivate *priv = config->priv; return priv->username; } /** * gvir_sandbox_config_set_homedir: * @config: (transfer none): the sandbox config * @homedir: (transfer none): the sandbox home directory * * Set the home directory associated with the sandbox user ID. * Defaults to the home directory of the current program. */ void gvir_sandbox_config_set_homedir(GVirSandboxConfig *config, const gchar *homedir) { GVirSandboxConfigPrivate *priv = config->priv; g_free(priv->homedir); priv->homedir = g_strdup(homedir); } /** * gvir_sandbox_config_get_homedir: * @config: (transfer none): the sandbox config * * Get the home directory associated with the sandbox user ID * * Returns: (transfer none): the home directory */ const gchar *gvir_sandbox_config_get_homedir(GVirSandboxConfig *config) { GVirSandboxConfigPrivate *priv = config->priv; return priv->homedir; } /** * gvir_sandbox_config_add_network: * @config: (transfer none): the sandbox config * @network: (transfer none): the network configuration * * Adds a new network connection to the sandbox */ void gvir_sandbox_config_add_network(GVirSandboxConfig *config, GVirSandboxConfigNetwork *network) { GVirSandboxConfigPrivate *priv = config->priv; g_object_ref(network); priv->networks = g_list_append(priv->networks, network); } /** * gvir_sandbox_config_get_networks: * @config: (transfer none): the sandbox config * * Retrieves the list of custom networks in the sandbox * * Returns: (transfer full) (element-type GVirSandboxConfigNetwork): the list of networks */ GList *gvir_sandbox_config_get_networks(GVirSandboxConfig *config) { GVirSandboxConfigPrivate *priv = config->priv; g_list_foreach(priv->networks, (GFunc)g_object_ref, NULL); return g_list_copy(priv->networks); } /** * gvir_sandbox_config_add_network_strv: * @config: (transfer none): the sandbox config * @networks: (transfer none)(array zero-terminated=1): the list of networks * * Parses @networks whose elements are in the format * KEY=VALUE, creating #GVirSandboxConfigNetwork * instances for each element. */ gboolean gvir_sandbox_config_add_network_strv(GVirSandboxConfig *config, gchar **networks, GError **error) { gsize i = 0; while (networks && networks[i]) { if (!gvir_sandbox_config_add_network_opts(config, networks[i], error)) return FALSE; i++; } return TRUE; } /** * gvir_sandbox_config_add_network_opts: * @config: (transfer none): the sandbox config * @network: (transfer none): the network config * * Parses @network whose elements are in the format * KEY=VALUE, creating #GVirSandboxConfigNetwork * instances for each element. * * dhcp,source=default * source=private,address=192.168.122.1/24%192.168.122.255, * address=192.168.122.1/24%192.168.122.255,address=2001:212::204:2/64 * route=192.168.122.255/24%192.168.1.1 * filter=clean-traffic * filter.ip=192.168.122.1 */ gboolean gvir_sandbox_config_add_network_opts(GVirSandboxConfig *config, const gchar *network, GError **error) { gboolean ret = FALSE; gboolean gotaddr = FALSE; gboolean gotroute = FALSE; gboolean gotdhcp = FALSE; gchar **params = g_strsplit(network, ",", 50); gsize j = 0; GVirSandboxConfigNetwork *net; GVirSandboxConfigNetworkFilterref *filter; net = gvir_sandbox_config_network_new(); filter = gvir_sandbox_config_network_filterref_new(); gvir_sandbox_config_network_set_dhcp(net, FALSE); while (params && params[j]) { gchar *param = params[j]; if (g_str_equal(param, "dhcp")) { if (gotaddr || gotroute) { g_set_error(error, GVIR_SANDBOX_CONFIG_ERROR, 0, _("Cannot request DHCP with static routes/addresses")); g_object_unref(net); goto cleanup; } gvir_sandbox_config_network_set_dhcp(net, TRUE); gotdhcp = TRUE; } else if (g_str_has_prefix(param, "source=")) { gvir_sandbox_config_network_set_source(net, param + strlen("source=")); } else if (g_str_has_prefix(param, "mac=")) { gvir_sandbox_config_network_set_mac(net, param + strlen("mac=")); } else if (g_str_has_prefix(param, "filter.")) { GVirSandboxConfigNetworkFilterrefParameter *filter_param; gchar *tail = g_strdup(param + strlen("filter.")); gchar *equ = g_strrstr(tail, "="); gchar *name, *name_up, *value; if (equ == NULL) { g_free(tail); g_set_error(error, GVIR_SANDBOX_CONFIG_ERROR, 0, _("No assignment in filter parameter configuration")); g_object_unref(net); goto cleanup; } name = g_strndup(tail, equ - tail); value = g_strdup(equ + 1); /* Convert to upcase for convenience. */ name_up = g_ascii_strup(name, -1); g_free(name); filter_param = gvir_sandbox_config_network_filterref_parameter_new(); gvir_sandbox_config_network_filterref_parameter_set_name(filter_param, name_up); gvir_sandbox_config_network_filterref_parameter_set_value(filter_param, value); gvir_sandbox_config_network_filterref_add_parameter(filter, filter_param); g_free(tail); g_free(name_up); g_free(value); } else if (g_str_has_prefix(param, "filter=")) { gchar *name = g_strdup(param + strlen("filter=")); gvir_sandbox_config_network_filterref_set_name(filter, name); gvir_sandbox_config_network_set_filterref(net, filter); g_free(name); } else if (g_str_has_prefix(param, "address=")) { GVirSandboxConfigNetworkAddress *addr; GInetAddress *primaryaddr; GInetAddress *bcastaddr = NULL; gchar *primary = g_strdup(param + strlen("address=")); gchar *bcast = NULL; guint prefix = 24; gchar *tmp; if (gotdhcp) { g_set_error(error, GVIR_SANDBOX_CONFIG_ERROR, 0, _("Cannot set static addresses with DHCP")); g_object_unref(net); goto cleanup; } gotaddr = TRUE; if ((tmp = strchr(primary, '/'))) { prefix = g_ascii_strtoll(tmp+1, NULL, 10); *tmp = '\0'; tmp = strchr(tmp+1, '%'); } else { tmp = strchr(primary, '%'); } if (tmp) { *tmp = '\0'; bcast = tmp+1; } if (!(primaryaddr = g_inet_address_new_from_string(primary))) { g_set_error(error, GVIR_SANDBOX_CONFIG_ERROR, 0, _("Unable to parse address %s"), primary); g_free(primary); g_object_unref(net); goto cleanup; } if (bcast && !(bcastaddr = g_inet_address_new_from_string(bcast))) { g_set_error(error, GVIR_SANDBOX_CONFIG_ERROR, 0, _("Unable to parse address %s"), bcast); g_free(primary); g_object_unref(primaryaddr); g_object_unref(net); goto cleanup; } addr = gvir_sandbox_config_network_address_new(primaryaddr, prefix, bcastaddr); gvir_sandbox_config_network_add_address(net, addr); g_object_unref(primaryaddr); if (bcastaddr) g_object_unref(bcastaddr); g_free(primary); gvir_sandbox_config_network_set_dhcp(net, FALSE); } else if (g_str_has_prefix(param, "route=")) { GVirSandboxConfigNetworkRoute *route; GInetAddress *targetaddr; GInetAddress *gatewayaddr; gchar *target = g_strdup(param + strlen("route=")); gchar *gateway = NULL; guint prefix = 24; gchar *tmp; if (gotdhcp) { g_set_error(error, GVIR_SANDBOX_CONFIG_ERROR, 0, _("Cannot set static routes with DHCP")); g_object_unref(net); goto cleanup; } gotroute = TRUE; if ((tmp = strchr(target, '/'))) { prefix = g_ascii_strtoll(tmp+1, NULL, 10); *tmp = '\0'; tmp = strchr(tmp+1, '%'); } else { tmp = strchr(target, '%'); } if (tmp) { *tmp = '\0'; gateway = tmp+1; } else { g_set_error(error, GVIR_SANDBOX_CONFIG_ERROR, 0, _("Missing gateway in route %s"), param); goto cleanup; } if (!(targetaddr = g_inet_address_new_from_string(target))) { g_set_error(error, GVIR_SANDBOX_CONFIG_ERROR, 0, _("Unable to parse address %s"), target); g_free(target); g_object_unref(net); goto cleanup; } if (!(gatewayaddr = g_inet_address_new_from_string(gateway))) { g_set_error(error, GVIR_SANDBOX_CONFIG_ERROR, 0, _("Unable to parse address %s"), gateway); g_free(target); g_object_unref(targetaddr); g_object_unref(net); goto cleanup; } route = gvir_sandbox_config_network_route_new(targetaddr, prefix, gatewayaddr); gvir_sandbox_config_network_add_route(net, route); g_object_unref(targetaddr); g_object_unref(gatewayaddr); g_free(target); gvir_sandbox_config_network_set_dhcp(net, FALSE); } else { g_set_error(error, GVIR_SANDBOX_CONFIG_ERROR, 0, _("Unknown parameter %s"), param); g_object_unref(net); goto cleanup; } j++; } g_strfreev(params); if (gotroute && !gotaddr) { g_set_error(error, GVIR_SANDBOX_CONFIG_ERROR, 0, _("Cannot set static routes without addresses")); g_object_unref(net); goto cleanup; } gvir_sandbox_config_add_network(config, net); g_object_unref(net); ret = TRUE; cleanup: g_object_unref(filter); return ret; } gboolean gvir_sandbox_config_has_networks(GVirSandboxConfig *config) { GVirSandboxConfigPrivate *priv = config->priv; return priv->networks ? TRUE : FALSE; } /** * gvir_sandbox_config_add_env: * @config: (transfer none): the sandbox config * @key: (transfer none): the key for environment variable * @value: (transfer none): the value for environment variable * * Adds a new environment variable to the sandbox * */ void gvir_sandbox_config_add_env(GVirSandboxConfig *config, gchar *k, gchar *v) { gchar * key = g_strdup(k); gchar * value = g_strdup(v); GVirSandboxConfigPrivate *priv = config->priv; g_hash_table_insert(priv->envs,key,value); } /** * gvir_sandbox_config_get_envs: * @config: (transfer none): the sandbox config * * Retrieves the hashtable of custom environment variables in the sandbox * * Returns: (transfer full) (element-type gchar gchar): the hashtable of environment variables */ GHashTable *gvir_sandbox_config_get_envs(GVirSandboxConfig *config) { GVirSandboxConfigPrivate *priv = config->priv; return priv->envs; } /** * gvir_sandbox_config_add_env_strv: * @config: (transfer none): the sandbox config * @envs: (transfer none)(array zero-terminated=1): the list of environment variables * * Parses @envs whose elements are in the format KEY=VALUE * * --env KEY=VALUE */ gboolean gvir_sandbox_config_add_env_strv(GVirSandboxConfig *config, gchar **envs, GError **error) { gsize i = 0; while (envs && envs[i]) { if (!gvir_sandbox_config_add_env_opts(config, envs[i], error)) return FALSE; i++; } return TRUE; } /** * gvir_sandbox_config_add_env_opts: * @config: (transfer none): the sandbox config * @env: (transfer none): the env config * * Parses @env in the format KEY=VALUE * creating #GVirSandboxConfigEnv instances for each element. For * example * * --env KEY=VALUE */ gboolean gvir_sandbox_config_add_env_opts(GVirSandboxConfig *config, const char *opt, GError **error) { gchar *tmp = NULL; gchar *key = NULL; gchar *value = NULL; if (!(tmp = g_strdup(opt))) return FALSE; key = strchr(tmp, '='); if (!key) { g_set_error(error, GVIR_SANDBOX_CONFIG_ERROR, 0, _("Wrong environment format on %s"), opt); return FALSE; } *key = '\0'; value = key + 1; gvir_sandbox_config_add_env(config, tmp, value); g_free(tmp); return TRUE; } /** * gvir_sandbox_config_add_disk: * @config: (transfer none): the sandbox config * @dsk: (transfer none): the disk configuration * * Adds a new custom disk to the sandbox * */ void gvir_sandbox_config_add_disk(GVirSandboxConfig *config, GVirSandboxConfigDisk *dsk) { GVirSandboxConfigPrivate *priv = config->priv; g_object_ref(dsk); priv->disks = g_list_append(priv->disks, dsk); } /** * gvir_sandbox_config_get_disks: * @config: (transfer none): the sandbox config * * Retrieves the list of custom disks in the sandbox * * Returns: (transfer full) (element-type GVirSandboxConfigMount): the list of disks */ GList *gvir_sandbox_config_get_disks(GVirSandboxConfig *config) { GVirSandboxConfigPrivate *priv = config->priv; g_list_foreach(priv->disks, (GFunc)g_object_ref, NULL); return g_list_copy(priv->disks); } /** * gvir_sandbox_config_add_disk_strv: * @config: (transfer none): the sandbox config * @disks: (transfer none)(array zero-terminated=1): the list of disks * * Parses @disks whose elements are in the format TYPE:TAG=SOURCE,format=FORMAT * creating #GVirSandboxConfigMount instances for each element. For * example * * - file:cache=/var/lib/sandbox/demo/tmp.qcow2,format=qcow2 */ gboolean gvir_sandbox_config_add_disk_strv(GVirSandboxConfig *config, gchar **disks, GError **error) { gsize i = 0; while (disks && disks[i]) { if (!gvir_sandbox_config_add_disk_opts(config, disks[i], error)) return FALSE; i++; } return TRUE; } /** * gvir_sandbox_config_add_disk_opts: * @config: (transfer none): the sandbox config * @disk: (transfer none): the disk config * * Parses @disk in the format TYPE:TAG=SOURCE,format=FORMAT * creating #GVirSandboxConfigDisk instances for each element. For * example * * - file:cache=/var/lib/sandbox/demo/tmp.qcow2,format=qcow2 */ gboolean gvir_sandbox_config_add_disk_opts(GVirSandboxConfig *config, const char *opt, GError **error) { gchar *typeStr = NULL; gchar *formatStr = NULL; gchar *tag = NULL; gchar *source = NULL; GVirSandboxConfigDisk *diskConfig; gchar *tmp; gint type; gint format = GVIR_CONFIG_DOMAIN_DISK_FORMAT_RAW; GEnumClass *enum_class = g_type_class_ref(GVIR_CONFIG_TYPE_DOMAIN_DISK_TYPE); GEnumValue *enum_value; if (!(typeStr = g_strdup(opt))) return FALSE; tmp = strchr(typeStr, ':'); if (!tmp) { g_set_error(error, GVIR_SANDBOX_CONFIG_ERROR, 0, _("No disk type prefix on %s"), opt); return FALSE; } *tmp = '\0'; tag = tmp + 1; if (!(enum_value = g_enum_get_value_by_nick(enum_class, typeStr))) { g_type_class_unref(enum_class); g_set_error(error, GVIR_SANDBOX_CONFIG_ERROR, 0, _("Unknown disk type prefix on %s"), opt); return FALSE; } g_type_class_unref(enum_class); type = enum_value->value; if (type != GVIR_CONFIG_DOMAIN_DISK_FILE) { g_set_error(error, GVIR_SANDBOX_CONFIG_ERROR, 0, _("Unimplemented disk type prefix on %s"), opt); return FALSE; } if (!(tmp = strchr(tag, '='))) { g_set_error(error, GVIR_SANDBOX_CONFIG_ERROR, 0, _("Missing disk source string on %s"), opt); return FALSE; } *tmp = '\0'; source = tmp + 1; if ((tmp = strchr(source, ',')) != NULL) { *tmp = '\0'; formatStr = tmp + 1; if ((strncmp(formatStr, "format=", 7) != 0) || (format = gvir_sandbox_util_disk_format_from_str(formatStr + 7, error)) < 0){ g_set_error(error, GVIR_SANDBOX_CONFIG_ERROR, 0, _("Unknown disk image format: '%s'"), formatStr + 7); return FALSE; } } else if ((format = gvir_sandbox_util_guess_image_format(source, error)) < 0) { format = GVIR_CONFIG_DOMAIN_DISK_FORMAT_RAW; } diskConfig = GVIR_SANDBOX_CONFIG_DISK(g_object_new(GVIR_SANDBOX_TYPE_CONFIG_DISK, "type", type, "tag", tag, "source", source, "format", format, NULL)); gvir_sandbox_config_add_disk(config, diskConfig); g_object_unref(diskConfig); g_free(typeStr); return TRUE; } gboolean gvir_sandbox_config_has_disks(GVirSandboxConfig *config) { GVirSandboxConfigPrivate *priv = config->priv; return priv->disks != NULL; } /** * gvir_sandbox_config_add_mount: * @config: (transfer none): the sandbox config * @mnt: (transfer none): the mount configuration * * Adds a new custom mount to the sandbox, to override part of the * host filesystem */ void gvir_sandbox_config_add_mount(GVirSandboxConfig *config, GVirSandboxConfigMount *mnt) { GVirSandboxConfigPrivate *priv = config->priv; g_object_ref(mnt); priv->mounts = g_list_append(priv->mounts, mnt); } /** * gvir_sandbox_config_get_mounts: * @config: (transfer none): the sandbox config * * Retrieves the list of custom mounts in the sandbox * * Returns: (transfer full) (element-type GVirSandboxConfigMount): the list of mounts */ GList *gvir_sandbox_config_get_mounts(GVirSandboxConfig *config) { GVirSandboxConfigPrivate *priv = config->priv; g_list_foreach(priv->mounts, (GFunc)g_object_ref, NULL); return g_list_copy(priv->mounts); } /** * gvir_sandbox_config_get_mounts_with_type: * @config: (transfer none): the sandbox config * * Retrieves the list of custom mounts in the sandbox * * Returns: (transfer full) (element-type GVirSandboxConfigMount): the list of mounts */ GList *gvir_sandbox_config_get_mounts_with_type(GVirSandboxConfig *config, GType type) { GVirSandboxConfigPrivate *priv = config->priv; GList *ret = NULL; GList *tmp = priv->mounts; while (tmp) { GObject *mnt = tmp->data; if (G_OBJECT_TYPE(mnt) == type) { ret = g_list_append(ret, g_object_ref(mnt)); } tmp = tmp->next; } return ret; } /** * gvir_sandbox_config_find_mount: * @config: (transfer none): the sandbox config * @target: the guest target path * * Finds the #GVirSandboxConfigMount object corresponding to a guest * path of @target. * * Returns: (transfer full)(allow-none): a mount object or NULL */ GVirSandboxConfigMount *gvir_sandbox_config_find_mount(GVirSandboxConfig *config, const gchar *target) { GVirSandboxConfigPrivate *priv = config->priv; GList *tmp = priv->mounts; while (tmp) { GVirSandboxConfigMount *mnt = GVIR_SANDBOX_CONFIG_MOUNT(tmp->data); if (g_str_equal(gvir_sandbox_config_mount_get_target(mnt), target)) { return g_object_ref(mnt); } tmp = tmp->next; } return NULL; } /** * gvir_sandbox_config_add_mount_strv: * @config: (transfer none): the sandbox config * @mounts: (transfer none)(array zero-terminated=1): the list of mounts * * Parses @mounts whose elements are in the format TYPE:TARGET=SOURCE * creating #GVirSandboxConfigMount instances for each element. For * example * * - host-bind:/tmp=/var/lib/sandbox/demo/tmp * - host-image:/=/var/lib/sandbox/demo.img * - guest-bind:/home=/tmp/home */ gboolean gvir_sandbox_config_add_mount_strv(GVirSandboxConfig *config, gchar **mounts, GError **error) { gsize i = 0; while (mounts && mounts[i]) { if (!gvir_sandbox_config_add_mount_opts(config, mounts[i], error)) return FALSE; i++; } return TRUE; } /** * gvir_sandbox_config_add_mount_opts: * @config: (transfer none): the sandbox config * @mount: (transfer none): the mount config * * Parses @mount whose elements are in the format TYPE:TARGET=SOURCE * creating #GVirSandboxConfigMount instances for each element. For * example * * - host-bind:/tmp=/var/lib/sandbox/demo/tmp * - host-image:/=/var/lib/sandbox/demo.img * - host-image:/=/var/lib/sandbox/demo.qcow2,format=qcow2 * - guest-bind:/home=/tmp/home * - ram:/tmp=500M */ gboolean gvir_sandbox_config_add_mount_opts(GVirSandboxConfig *config, const char *mount, GError **error) { gchar *target = NULL; const gchar *source = NULL; GVirSandboxConfigMount *mnt; gchar *tmp; GType type; tmp = strchr(mount, ':'); if (!tmp) { g_set_error(error, GVIR_SANDBOX_CONFIG_ERROR, 0, _("No mount type prefix on %s"), mount); return FALSE; } if (strncmp(mount, "host-bind", (tmp - mount)) == 0) { type = GVIR_SANDBOX_TYPE_CONFIG_MOUNT_HOST_BIND; } else if (strncmp(mount, "host-image", (tmp - mount)) == 0) { type = GVIR_SANDBOX_TYPE_CONFIG_MOUNT_HOST_IMAGE; } else if (strncmp(mount, "guest-bind", (tmp - mount)) == 0) { type = GVIR_SANDBOX_TYPE_CONFIG_MOUNT_GUEST_BIND; } else if (strncmp(mount, "ram", (tmp - mount)) == 0) { type = GVIR_SANDBOX_TYPE_CONFIG_MOUNT_RAM; } else { g_set_error(error, GVIR_SANDBOX_CONFIG_ERROR, 0, _("Unknown mount type prefix on %s"), mount); return FALSE; } target = g_strdup(tmp + 1); if ((tmp = strchr(target, '=')) != NULL) { *tmp = '\0'; source = tmp + 1; } if (!tmp) { g_set_error(error, GVIR_SANDBOX_CONFIG_ERROR, 0, _("Missing mount source string on %s"), mount); return FALSE; } if (type == GVIR_SANDBOX_TYPE_CONFIG_MOUNT_RAM) { gint size; gchar *end; size = strtol(source, &end, 10); if (end) { if (g_str_equal(end, "KiB") || g_str_equal(end, "K")) size *= 1024; else if (g_str_equal(end, "MiB") || g_str_equal(end, "M")) size *= 1024 * 1024; else if (g_str_equal(end, "GiB") || g_str_equal(end, "G")) size *= 1024 * 1024 * 1024; } mnt = GVIR_SANDBOX_CONFIG_MOUNT(gvir_sandbox_config_mount_ram_new(target, size)); } else if (type == GVIR_SANDBOX_TYPE_CONFIG_MOUNT_HOST_IMAGE) { const gchar *formatStr = NULL; gint format = GVIR_CONFIG_DOMAIN_DISK_FORMAT_RAW; if ((tmp = strchr(source, ',')) != NULL) { GEnumClass *enum_class = g_type_class_ref(GVIR_CONFIG_TYPE_DOMAIN_DISK_FORMAT); GEnumValue *enum_value = NULL; *tmp = '\0'; formatStr = tmp + 1; if ((strncmp(formatStr, "format=", 7) == 0)) { if (!(enum_value = g_enum_get_value_by_nick(enum_class, formatStr + 7))) { g_type_class_unref(enum_class); g_set_error(error, GVIR_SANDBOX_CONFIG_ERROR, 0, _("Unknown disk image format: '%s'"), formatStr + 7); return FALSE; } g_type_class_unref(enum_class); format = enum_value->value; } } else if ((format = gvir_sandbox_util_guess_image_format(source, error)) < 0) { format = GVIR_CONFIG_DOMAIN_DISK_FORMAT_RAW; } mnt = GVIR_SANDBOX_CONFIG_MOUNT(g_object_new(type, "target", target, "source", source, "format", format, NULL)); } else { mnt = GVIR_SANDBOX_CONFIG_MOUNT(g_object_new(type, "target", target, "source", source, NULL)); } gvir_sandbox_config_add_mount(config, mnt); g_object_unref(mnt); g_free(target); return TRUE; } gboolean gvir_sandbox_config_has_mounts(GVirSandboxConfig *config) { GVirSandboxConfigPrivate *priv = config->priv; return priv->mounts != NULL; } gboolean gvir_sandbox_config_has_mounts_with_type(GVirSandboxConfig *config, GType type) { GList *tmp = config->priv->mounts; while (tmp) { GObject *obj = tmp->data; if (G_OBJECT_TYPE(obj) == type) return TRUE; tmp = tmp->next; } return FALSE; } gboolean gvir_sandbox_config_has_root_mount(GVirSandboxConfig *config) { GList *tmp = NULL, *mounts = NULL; gboolean hasRoot = FALSE; tmp = mounts = gvir_sandbox_config_get_mounts(config); while (tmp && !hasRoot) { const gchar *target; GVirSandboxConfigMount *mount = GVIR_SANDBOX_CONFIG_MOUNT(tmp->data); target = gvir_sandbox_config_mount_get_target(mount); if (g_str_equal(target, "/")) hasRoot = TRUE; tmp = tmp->next; } g_list_foreach(mounts, (GFunc)g_object_unref, NULL); g_list_free(mounts); return hasRoot; } /** * gvir_sandbox_config_add_host_include_strv: * @config: (transfer none): the sandbox config * @includes: (transfer none)(array zero-terminated=1): the list of includes * * Parses @includes whose elements are in the format * GUEST-TARGET=ROOT-PATH. If ROOT_PATH is omitted, * then it is assumed to be the same as GUEST-TARGET */ gboolean gvir_sandbox_config_add_host_include_strv(GVirSandboxConfig *config, gchar **includes, GError **error) { GVirSandboxConfigPrivate *priv = config->priv; gsize i = 0; while (includes && includes[i]) { const gchar *host; gchar *guest; const gchar *relguest; GVirSandboxConfigMount *mnt = NULL; GList *mnts = NULL; gchar *tmp; guest = g_strdup(includes[i]); if ((tmp = strchr(guest, '=')) != NULL) { *tmp = '\0'; host = tmp + 1; } else { host = guest; } mnts = priv->mounts; while (mnts) { mnt = GVIR_SANDBOX_CONFIG_MOUNT(mnts->data); const gchar *target = gvir_sandbox_config_mount_get_target(mnt); if (g_str_has_prefix(guest, target)) { relguest = guest + strlen(target); break; } mnt = NULL; mnts = mnts->next; } if (!mnt) { g_set_error(error, GVIR_SANDBOX_CONFIG_ERROR, 0, _("No mount with a prefix under %s"), guest); g_free(guest); return FALSE; } gvir_sandbox_config_mount_add_include(GVIR_SANDBOX_CONFIG_MOUNT(mnt), host, relguest); g_free(guest); i++; } return TRUE; } gboolean gvir_sandbox_config_add_host_include_file(GVirSandboxConfig *config, gchar *includefile, GError **error) { GVirSandboxConfigPrivate *priv = config->priv; GFile *file = g_file_new_for_path(includefile); GFileInputStream *is = NULL; GDataInputStream *dis = NULL; gboolean ret = FALSE; gchar *line = NULL; if (!(is = g_file_read(file, NULL, error))) goto cleanup; dis = g_data_input_stream_new(G_INPUT_STREAM(is)); while ((line = g_data_input_stream_read_line(dis, NULL, NULL, error))) { const gchar *host; gchar *guest; const gchar *relguest; GVirSandboxConfigMount *mnt = NULL; GList *mnts = NULL; gchar *tmp; guest = g_strdup(line); if ((tmp = strchr(guest, '=')) != NULL) { *tmp = '\0'; host = tmp + 1; } else { host = guest; } mnts = priv->mounts; while (mnts) { mnt = GVIR_SANDBOX_CONFIG_MOUNT(mnts->data); const gchar *target = gvir_sandbox_config_mount_get_target(mnt); if (g_str_has_prefix(guest, target)) { relguest = guest + strlen(target); break; } else { relguest = guest; } mnt = NULL; mnts = mnts->next; } if (!mnt) { g_set_error(error, GVIR_SANDBOX_CONFIG_ERROR, 0, _("No mount with a prefix under %s"), guest); g_free(guest); return FALSE; } gvir_sandbox_config_mount_add_include(GVIR_SANDBOX_CONFIG_MOUNT(mnt), host, relguest); g_free(guest); g_free(line); } if (error && *error) goto cleanup; ret = TRUE; cleanup: if (dis) g_object_unref(dis); g_object_unref(file); return ret; } /** * gvir_sandbox_config_set_security_label: * @config: (transfer none): the sandbox config * @label: (transfer none): the host directory * * Set the sandbox security label. By default a dynamic security label * is chosen. A static security label must be specified if any * custom mounts are added */ void gvir_sandbox_config_set_security_label(GVirSandboxConfig *config, const gchar *label) { GVirSandboxConfigPrivate *priv = config->priv; g_free(priv->secLabel); priv->secLabel = g_strdup(label); } /** * gvir_sandbox_config_get_security_label: * @config: (transfer none): the sandbox config * * Retrieve the sandbox security label * * Returns: (transfer none): the security label */ const gchar *gvir_sandbox_config_get_security_label(GVirSandboxConfig *config) { GVirSandboxConfigPrivate *priv = config->priv; return priv->secLabel; } /** * gvir_sandbox_config_set_security_dynamic: * @config: (transfer none): the sandbox config * @dynamic: the security mode * * Set the SELinux security dynamic for the sandbox. The default * dynamic is "svirt_sandbox_t" */ void gvir_sandbox_config_set_security_dynamic(GVirSandboxConfig *config, gboolean dynamic) { GVirSandboxConfigPrivate *priv = config->priv; priv->secDynamic = dynamic; } /** * gvir_sandbox_config_get_security_dynamic: * @config: (transfer none): the sandbox config * * Retrieve the sandbox security mode * * Returns: the security mode */ gboolean gvir_sandbox_config_get_security_dynamic(GVirSandboxConfig *config) { GVirSandboxConfigPrivate *priv = config->priv; return priv->secDynamic; } gboolean gvir_sandbox_config_set_security_opts(GVirSandboxConfig *config, const gchar *optstr, GError **error) { gboolean ret = FALSE; gchar *tmp = g_strdup(optstr); gchar *offset = strchr(tmp, ','); if (offset) { *offset = '\0'; offset++; } if (g_str_equal(tmp, "dynamic")) { gvir_sandbox_config_set_security_dynamic(config, TRUE); } else if (g_str_equal(tmp, "static")) { gvir_sandbox_config_set_security_dynamic(config, FALSE); } else if (g_str_equal(tmp, "inherit")) { gvir_sandbox_config_set_security_dynamic(config, FALSE); security_context_t scon; if (getcon(&scon) < 0) { g_set_error(error, GVIR_SANDBOX_CONFIG_ERROR, 0, _("Unable to get SELinux context of user: %s"), strerror(errno)); return FALSE; } gvir_sandbox_config_set_security_label(config, scon); freecon(scon); } else { g_set_error(error, GVIR_SANDBOX_CONFIG_ERROR, 0, _("Unknown security option '%s'"), tmp); goto cleanup; } if (offset) { if (strncmp(offset, "label=", 6) == 0) { gvir_sandbox_config_set_security_label(config, offset+6); } else { g_set_error(error, GVIR_SANDBOX_CONFIG_ERROR, 0, _("Unknown security option '%s'"), offset); goto cleanup; } } ret = TRUE; cleanup: g_free(tmp); return ret; } static GVirSandboxConfigMount *gvir_sandbox_config_load_config_mount(GKeyFile *file, guint i, GError **error) { GVirSandboxConfigMount *config = NULL; gchar *key = NULL; gchar *target = NULL; gchar *source = NULL; gchar *type = NULL; gchar *formatStr = NULL; guint j; GError *e = NULL; GType mountType; key = g_strdup_printf("mount.%u", i); if ((target = g_key_file_get_string(file, key, "target", &e)) == NULL) { if (e->code == G_KEY_FILE_ERROR_GROUP_NOT_FOUND) { g_error_free(e); return NULL; } g_error_free(e); g_set_error(error, GVIR_SANDBOX_CONFIG_ERROR, 0, "%s", _("Missing mount target in config file")); goto cleanup; } if ((type = g_key_file_get_string(file, key, "type", NULL)) == NULL) { g_set_error(error, GVIR_SANDBOX_CONFIG_ERROR, 0, "%s", _("Missing mount type in config file")); goto cleanup; } /* Force initialization of types we care about */ gvir_sandbox_config_mount_host_bind_get_type(); gvir_sandbox_config_mount_host_image_get_type(); gvir_sandbox_config_mount_guest_bind_get_type(); gvir_sandbox_config_mount_ram_get_type(); if ((mountType = g_type_from_name(type)) == 0) { g_set_error(error, GVIR_SANDBOX_CONFIG_ERROR, 0, _("Unknown mount type %s in config file"), type); goto error; } if (mountType == GVIR_SANDBOX_TYPE_CONFIG_MOUNT_RAM) { if ((source = g_key_file_get_string(file, key, "usage", NULL)) == NULL) { g_set_error(error, GVIR_SANDBOX_CONFIG_ERROR, 0, "%s", _("Missing mount usage in config file")); goto error; } gint usage = strtol(source, NULL, 10); config = GVIR_SANDBOX_CONFIG_MOUNT(gvir_sandbox_config_mount_ram_new(target, usage)); } else { if ((source = g_key_file_get_string(file, key, "source", NULL)) == NULL) { g_set_error(error, GVIR_SANDBOX_CONFIG_ERROR, 0, "%s", _("Missing mount source in config file")); goto error; } if (mountType == GVIR_SANDBOX_TYPE_CONFIG_MOUNT_HOST_IMAGE) { GEnumClass *enum_class = g_type_class_ref(GVIR_CONFIG_TYPE_DOMAIN_DISK_FORMAT); GEnumValue *enum_value; if ((formatStr = g_key_file_get_string(file, key, "format", NULL)) == NULL) { g_set_error(error, GVIR_SANDBOX_CONFIG_ERROR, 0, "%s", _("Missing image format in config file")); goto error; } if (!(enum_value = g_enum_get_value_by_nick(enum_class, formatStr))) { g_type_class_unref(enum_class); g_set_error(error, GVIR_SANDBOX_CONFIG_ERROR, 0, _("Unknown image format %s in config file"), formatStr); goto error; } g_type_class_unref(enum_class); config = GVIR_SANDBOX_CONFIG_MOUNT(gvir_sandbox_config_mount_host_image_new(source, target, enum_value->value)); } else { config = GVIR_SANDBOX_CONFIG_MOUNT(g_object_new(mountType, "target", target, "source", source, NULL)); } } for (j = 0 ; j < 1024 ; j++) { gchar *inckey = g_strdup_printf("mount.%u.include.%u", i, j); if ((target = g_key_file_get_string(file, inckey, "src", &e)) == NULL) { g_free(inckey); if (e->code == G_KEY_FILE_ERROR_GROUP_NOT_FOUND) { g_error_free(e); e = NULL; break; } g_propagate_error(error, e); goto error; } source = g_key_file_get_string(file, inckey, "dst", NULL); gvir_sandbox_config_mount_add_include(GVIR_SANDBOX_CONFIG_MOUNT(config), target, source); g_free(inckey); } cleanup: g_free(target); g_free(source); g_free(type); g_free(key); return config; error: g_object_unref(config); config = NULL; goto cleanup; } static gboolean gvir_sandbox_config_load_config_env(GKeyFile *file, guint i, GError **error, gchar **key, gchar **value) { gboolean ret = TRUE; gchar *index = NULL; GError *e = NULL; index = g_strdup_printf("env.%u", i); if ((*key = g_key_file_get_string(file, index, "key", &e)) == NULL) { if (e->code == G_KEY_FILE_ERROR_GROUP_NOT_FOUND) { g_error_free(e); ret = FALSE; goto cleanup; } g_error_free(e); g_set_error(error, GVIR_SANDBOX_CONFIG_ERROR, 0, "%s", _("Missing environment key in config file")); ret = FALSE; goto cleanup; } if ((*value = g_key_file_get_string(file, index, "value", NULL)) == NULL) { g_set_error(error, GVIR_SANDBOX_CONFIG_ERROR, 0, "%s", _("Missing environment value in config file")); ret = FALSE; goto cleanup; } cleanup: g_free(index); return ret; } static GVirSandboxConfigDisk *gvir_sandbox_config_load_config_disk(GKeyFile *file, guint i, GError **error) { GVirSandboxConfigDisk *config = NULL; gchar *key = NULL; gchar *tag = NULL; gchar *source = NULL; gchar *typeStr = NULL; gchar *formatStr = NULL; gint type, format; GError *e = NULL; GEnumClass *enum_class = g_type_class_ref(GVIR_CONFIG_TYPE_DOMAIN_DISK_TYPE); GEnumValue *enum_value; key = g_strdup_printf("disk.%u", i); if ((tag = g_key_file_get_string(file, key, "tag", &e)) == NULL) { if (e->code == G_KEY_FILE_ERROR_GROUP_NOT_FOUND) { g_error_free(e); return NULL; } g_error_free(e); g_set_error(error, GVIR_SANDBOX_CONFIG_ERROR, 0, "%s", _("Missing disk tag in config file")); goto cleanup; } if ((source = g_key_file_get_string(file, key, "source", NULL)) == NULL) { g_set_error(error, GVIR_SANDBOX_CONFIG_ERROR, 0, "%s", _("Missing disk source in config file")); goto cleanup; } if ((typeStr = g_key_file_get_string(file, key, "type", NULL)) == NULL) { g_set_error(error, GVIR_SANDBOX_CONFIG_ERROR, 0, "%s", _("Missing disk type in config file")); goto cleanup; } if (!(enum_value = g_enum_get_value_by_nick(enum_class, typeStr))) { g_set_error(error, GVIR_SANDBOX_CONFIG_ERROR, 0, _("Unknown disk type %s in config file"), typeStr); goto error; } type = enum_value->value; if ((formatStr = g_key_file_get_string(file, key, "format", NULL)) == NULL) { g_set_error(error, GVIR_SANDBOX_CONFIG_ERROR, 0, "%s", _("Missing disk format in config file")); goto cleanup; } if ((format = gvir_sandbox_util_disk_format_from_str(formatStr, error)) < 0) { g_set_error(error, GVIR_SANDBOX_CONFIG_ERROR, 0, _("Unknown disk format %s in config file"), formatStr); goto error; } config = GVIR_SANDBOX_CONFIG_DISK(g_object_new(GVIR_SANDBOX_TYPE_CONFIG_DISK, "type", type, "tag", tag, "source", source, "format", format, NULL)); cleanup: g_type_class_unref(enum_class); g_free(tag); g_free(source); g_free(typeStr); g_free(formatStr); g_free(key); return config; error: g_object_unref(config); config = NULL; goto cleanup; } static GVirSandboxConfigNetwork *gvir_sandbox_config_load_config_network(GKeyFile *file, guint i, GError **error) { GVirSandboxConfigNetwork *config = NULL; gchar *key = NULL; gchar *str1 = NULL; gchar *str2 = NULL; gboolean b; guint j; GError *e = NULL; key = g_strdup_printf("network.%u", i); b = g_key_file_get_boolean(file, key, "dhcp", &e); if (e) { if (e->code == G_KEY_FILE_ERROR_GROUP_NOT_FOUND) { g_error_free(e); return NULL; } g_error_free(e); e = NULL; b = TRUE; } config = gvir_sandbox_config_network_new(); gvir_sandbox_config_network_set_dhcp(config, b); str1 = g_key_file_get_string(file, key, "source", NULL); if (str1) gvir_sandbox_config_network_set_source(config, str1); g_free(str1); str1 = g_key_file_get_string(file, key, "mac", NULL); if (str1) gvir_sandbox_config_network_set_mac(config, str1); g_free(str1); g_free(key); key = NULL; for (j = 0 ; j < 100 ; j++) { GInetAddress *primary = NULL; GInetAddress *broadcast = NULL; guint prefix; GVirSandboxConfigNetworkAddress *addr; key = g_strdup_printf("network.%u.address.%u", i, j); if ((str1 = g_key_file_get_string(file, key, "primary", &e)) == NULL) { if (e->code == G_KEY_FILE_ERROR_GROUP_NOT_FOUND) { g_error_free(e); e = NULL; break; } g_propagate_error(error, e); goto error; } str2 = g_key_file_get_string(file, key, "broadcast", NULL); prefix = g_key_file_get_uint64(file, key, "prefix", NULL); primary = g_inet_address_new_from_string(str1); if (str2) broadcast = g_inet_address_new_from_string(str2); addr = gvir_sandbox_config_network_address_new(primary, prefix, broadcast); gvir_sandbox_config_network_add_address(config, addr); g_object_unref(primary); if (broadcast) g_object_unref(broadcast); g_free(str1); g_free(str2); g_free(key); key = NULL; } for (j = 0 ; j < 100 ; j++) { guint prefix; GInetAddress *target = NULL; GInetAddress *gateway = NULL; GVirSandboxConfigNetworkRoute *route; key = g_strdup_printf("network.%u.route.%u", i, j); if ((str1 = g_key_file_get_string(file, key, "target", &e)) == NULL) { if (e->code == G_KEY_FILE_ERROR_GROUP_NOT_FOUND) { g_error_free(e); e = NULL; break; } g_propagate_error(error, e); goto error; } str2 = g_key_file_get_string(file, key, "gateway", NULL); prefix = g_key_file_get_uint64(file, key, "prefix", NULL); target = g_inet_address_new_from_string(str1); if (str2) gateway = g_inet_address_new_from_string(str2); route = gvir_sandbox_config_network_route_new(target, prefix, gateway); gvir_sandbox_config_network_add_route(config, route); g_object_unref(target); if (gateway) g_object_unref(gateway); g_free(str1); g_free(str2); g_free(key); key = NULL; } return config; error: g_free(key); g_object_unref(config); return NULL; } static gboolean gvir_sandbox_config_load_config(GVirSandboxConfig *config, GKeyFile *file, GError **error) { GVirSandboxConfigPrivate *priv = config->priv; gchar *str; gboolean b; guint64 u; gsize i; GError *e = NULL; gboolean ret = FALSE; if ((str = g_key_file_get_string(file, "core", "name", NULL)) != NULL) { g_free(priv->name); priv->name = str; } if ((str = g_key_file_get_string(file, "core", "uuid", NULL)) != NULL) { g_free(priv->uuid); priv->uuid = str; } if ((str = g_key_file_get_string(file, "core", "root", NULL)) != NULL) { g_free(priv->root); priv->root = str; } if ((str = g_key_file_get_string(file, "core", "arch", NULL)) != NULL) { g_free(priv->arch); priv->arch = str; } if ((str = g_key_file_get_string(file, "core", "kernrelease", NULL)) != NULL) { g_free(priv->kernrelease); priv->kernrelease = str; } if ((str = g_key_file_get_string(file, "core", "kernpath", NULL)) != NULL) { g_free(priv->kernpath); priv->kernpath = str; } if ((str = g_key_file_get_string(file, "core", "kmodpath", NULL)) != NULL) { g_free(priv->kmodpath); priv->kmodpath = str; } b = g_key_file_get_boolean(file, "core", "shell", &e); if (e) { g_error_free(e); e = NULL; } else { priv->shell = b; } u = g_key_file_get_uint64(file, "identity", "uid", &e); if (e) { g_error_free(e); e = NULL; } else { priv->uid = u; } u = g_key_file_get_uint64(file, "identity", "gid", &e); if (e) { g_error_free(e); e = NULL; } else { priv->gid = u; } if ((str = g_key_file_get_string(file, "identity", "username", NULL)) != NULL) { g_free(priv->username); priv->username = str; } if ((str = g_key_file_get_string(file, "identity", "homedir", NULL)) != NULL) { g_free(priv->homedir); priv->homedir = str; } for (i = 0 ; i < 100 ; i++) { GVirSandboxConfigNetwork *network; if (!(network = gvir_sandbox_config_load_config_network(file, i, error)) && *error) goto cleanup; if (network) priv->networks = g_list_append(priv->networks, network); } for (i = 0 ; i < 1024 ; i++) { GVirSandboxConfigMount *mount; if (!(mount = gvir_sandbox_config_load_config_mount(file, i, error)) && *error) goto cleanup; if (mount) priv->mounts = g_list_append(priv->mounts, mount); } for (i = 0 ; i < 1024; i++) { gchar *key = NULL; gchar *value = NULL; if (!(gvir_sandbox_config_load_config_env(file, i, error,&key,&value)) && *error){ g_free(key); g_free(value); ret = FALSE; goto cleanup; } if (key){ g_hash_table_insert(priv->envs,key,value); } } for (i = 0 ; i < 1024 ; i++) { GVirSandboxConfigDisk *disk; if (!(disk = gvir_sandbox_config_load_config_disk(file, i, error)) && *error) goto cleanup; if (disk) priv->disks = g_list_append(priv->disks, disk); } g_free(priv->secLabel); if ((str = g_key_file_get_string(file, "security", "label", NULL)) != NULL) priv->secLabel = str; else priv->secLabel = NULL; b = g_key_file_get_boolean(file, "security", "dynamic", &e); if (e) { g_error_free(e); e = NULL; } else { priv->secDynamic = b; } ret = TRUE; cleanup: return ret; } static void gvir_sandbox_config_save_config_env(gchar *key, gchar *value, GKeyFile *file, guint i) { gchar *index = NULL; index = g_strdup_printf("env.%u", i); g_key_file_set_string(file, index, "key",key); g_key_file_set_string(file, index, "value",value); g_free(index); g_free(key); g_free(value); } static void gvir_sandbox_config_save_config_disk(GVirSandboxConfigDisk *config, GKeyFile *file, guint i) { gchar *key; GVirConfigDomainDiskType type = gvir_sandbox_config_disk_get_disk_type(config); GVirConfigDomainDiskFormat format = gvir_sandbox_config_disk_get_format(config); GEnumClass *klass = NULL; GEnumValue *value = NULL; key = g_strdup_printf("disk.%u", i); klass = g_type_class_ref(GVIR_CONFIG_TYPE_DOMAIN_DISK_TYPE); value = g_enum_get_value(klass, type); g_type_class_unref(klass); g_key_file_set_string(file, key, "type", value->value_nick); g_key_file_set_string(file, key, "source", gvir_sandbox_config_disk_get_source(config)); g_key_file_set_string(file, key, "tag", gvir_sandbox_config_disk_get_tag(config)); klass = g_type_class_ref(GVIR_CONFIG_TYPE_DOMAIN_DISK_FORMAT); value = g_enum_get_value(klass, format); g_type_class_unref(klass); g_key_file_set_string(file, key, "format", value->value_nick); g_free(key); } static void gvir_sandbox_config_save_config_mount(GVirSandboxConfigMount *config, GKeyFile *file, guint i) { gchar *key; GHashTable *includes; GHashTableIter iter; uint j; gpointer keyptr, valptr; GType type = G_OBJECT_TYPE(config); key = g_strdup_printf("mount.%u", i); g_key_file_set_string(file, key, "type", g_type_name(type)); g_key_file_set_string(file, key, "target", gvir_sandbox_config_mount_get_target(config)); if (GVIR_SANDBOX_IS_CONFIG_MOUNT_RAM(config)) { GVirSandboxConfigMountRam *mram = GVIR_SANDBOX_CONFIG_MOUNT_RAM(config); gchar *tmp = g_strdup_printf("%" G_GUINT64_FORMAT, gvir_sandbox_config_mount_ram_get_usage(mram)); g_key_file_set_string(file, key, "usage", tmp); g_free(tmp); } else { if (GVIR_SANDBOX_IS_CONFIG_MOUNT_HOST_IMAGE(config)) { GVirSandboxConfigMountHostImage *mimage = GVIR_SANDBOX_CONFIG_MOUNT_HOST_IMAGE(config); GVirConfigDomainDiskFormat format = gvir_sandbox_config_mount_host_image_get_format(mimage); GEnumClass *klass = g_type_class_ref(GVIR_CONFIG_TYPE_DOMAIN_DISK_FORMAT); GEnumValue *value = g_enum_get_value(klass, format); g_type_class_unref(klass); g_key_file_set_string(file, key, "format", value->value_nick); } g_key_file_set_string(file, key, "source", gvir_sandbox_config_mount_file_get_source( GVIR_SANDBOX_CONFIG_MOUNT_FILE(config))); } g_free(key); includes = gvir_sandbox_config_mount_get_includes(config); j = 0; g_hash_table_iter_init(&iter, includes); while (g_hash_table_iter_next(&iter, &keyptr, &valptr)) { const gchar *dst = keyptr; const gchar *src = valptr; key = g_strdup_printf("mount.%u.include.%u", i, j); g_key_file_set_string(file, key, "dst", dst); if (src) g_key_file_set_string(file, key, "src", src); g_free(key); j++; } } static void gvir_sandbox_config_save_config_network(GVirSandboxConfigNetwork *config, GKeyFile *file, guint i) { gchar *key; uint j, k; GList *tmp, *addrs, *routes; j = 0; addrs = tmp = gvir_sandbox_config_network_get_addresses(config); while (tmp) { GVirSandboxConfigNetworkAddress *addr = tmp->data; GInetAddress *inet; gchar *str; key = g_strdup_printf("network.%u.address.%u", i, j); inet = gvir_sandbox_config_network_address_get_primary(addr); str = g_inet_address_to_string(inet); g_key_file_set_string(file, key, "primary", str); g_free(str); inet = gvir_sandbox_config_network_address_get_broadcast(addr); if (inet) { str = g_inet_address_to_string(inet); g_key_file_set_string(file, key, "broadcast", str); g_free(str); } g_key_file_set_uint64(file, key, "prefix", gvir_sandbox_config_network_address_get_prefix(addr)); g_free(key); g_object_unref(addr); tmp = tmp->next; j++; } g_list_free(addrs); k = 0; routes = tmp = gvir_sandbox_config_network_get_routes(config); while (tmp) { GVirSandboxConfigNetworkRoute *route = tmp->data; GInetAddress *inet; gchar *str; guint64 prefix; key = g_strdup_printf("network.%u.route.%u", i, k); prefix = gvir_sandbox_config_network_route_get_prefix(route); g_key_file_set_uint64(file, key, "prefix", prefix); inet = gvir_sandbox_config_network_route_get_gateway(route); str = g_inet_address_to_string(inet); g_key_file_set_string(file, key, "gateway", str); g_free(str); inet = gvir_sandbox_config_network_route_get_target(route); str = g_inet_address_to_string(inet); g_key_file_set_string(file, key, "target", str); g_free(str); g_free(key); g_object_unref(route); tmp = tmp->next; k++; } g_list_free(routes); key = g_strdup_printf("network.%u", i); g_key_file_set_boolean(file, key, "dhcp", gvir_sandbox_config_network_get_dhcp(config)); if (gvir_sandbox_config_network_get_source(config)) g_key_file_set_string(file, key, "source", gvir_sandbox_config_network_get_source(config)); if (gvir_sandbox_config_network_get_mac(config)) g_key_file_set_string(file, key, "mac", gvir_sandbox_config_network_get_mac(config)); g_key_file_set_uint64(file, key, "addresses", j); g_key_file_set_uint64(file, key, "routes", k); g_free(key); } static void gvir_sandbox_config_save_config(GVirSandboxConfig *config, GKeyFile *file) { GVirSandboxConfigPrivate *priv = config->priv; gsize i; GList *tmp; g_key_file_set_string(file, "core", "name", priv->name); if (priv->uuid) g_key_file_set_string(file, "core", "uuid", priv->uuid); g_key_file_set_string(file, "core", "root", priv->root); g_key_file_set_string(file, "core", "arch", priv->arch); if (priv->kernrelease) g_key_file_set_string(file, "core", "kernrelease", priv->kernrelease); if (priv->kernpath) g_key_file_set_string(file, "core", "kernpath", priv->kernpath); if (priv->kmodpath) g_key_file_set_string(file, "core", "kmodpath", priv->kmodpath); g_key_file_set_boolean(file, "core", "shell", priv->shell); g_key_file_set_uint64(file, "identity", "uid", priv->uid); g_key_file_set_uint64(file, "identity", "gid", priv->gid); g_key_file_set_string(file, "identity", "username", priv->username); g_key_file_set_string(file, "identity", "homedir", priv->homedir); i = 0; tmp = priv->mounts; while (tmp) { gvir_sandbox_config_save_config_mount(tmp->data, file, i); tmp = tmp->next; i++; } GHashTableIter iter; gpointer key, value; i = 0; g_hash_table_iter_init (&iter, priv->envs); while (g_hash_table_iter_next (&iter, &key, &value)){ gvir_sandbox_config_save_config_env(key,value,file,i); i++; } i = 0; tmp = priv->disks; while (tmp) { gvir_sandbox_config_save_config_disk(tmp->data, file, i); tmp = tmp->next; i++; } i = 0; tmp = priv->networks; while (tmp) { gvir_sandbox_config_save_config_network(GVIR_SANDBOX_CONFIG_NETWORK(tmp->data), file, i); tmp = tmp->next; i++; } if (priv->secLabel) g_key_file_set_string(file, "security", "label", priv->secLabel); g_key_file_set_boolean(file, "security", "dynamic", priv->secDynamic); } static GVirSandboxConfig * gvir_sandbox_config_load_from_keyfile(GKeyFile *file, GError **error) { GVirSandboxConfigClass *klass; GVirSandboxConfig *config = NULL; gchar *str = NULL; GType type; /* XXX hack */ GVIR_SANDBOX_TYPE_CONFIG_INTERACTIVE; GVIR_SANDBOX_TYPE_CONFIG_SERVICE; GVIR_SANDBOX_TYPE_CONFIG_SERVICE_SYSTEMD; GVIR_SANDBOX_TYPE_CONFIG_SERVICE_GENERIC; if ((str = g_key_file_get_string(file, "api", "class", NULL)) == NULL) { g_set_error(error, GVIR_SANDBOX_CONFIG_ERROR, 0, "%s", _("Missing class name in config file")); goto cleanup; } if (!(type = g_type_from_name(str))) { g_set_error(error, GVIR_SANDBOX_CONFIG_ERROR, 0, _("Unknown type name '%s' in config file"), str); goto cleanup; } if (!g_type_is_a(type, GVIR_SANDBOX_TYPE_CONFIG)) { g_set_error(error, GVIR_SANDBOX_CONFIG_ERROR, 0, _("Type name '%s' in config file had wrong parent"), str); goto cleanup; } config = g_object_new(type, NULL); klass = GVIR_SANDBOX_CONFIG_GET_CLASS(config); if (!(klass->load_config(config, file, error))) { g_object_unref(config); config = NULL; goto cleanup; } cleanup: g_free(str); return config; } /** * gvir_sandbox_config_load_from_path: * @path: the local path to load * @error: the loader error * * Returns: (transfer full): the new config or NULL */ GVirSandboxConfig *gvir_sandbox_config_load_from_path(const gchar *path, GError **error) { GKeyFile *file = g_key_file_new(); GVirSandboxConfig *config = NULL; if (!g_key_file_load_from_file(file, path, G_KEY_FILE_NONE, error)) goto cleanup; config = gvir_sandbox_config_load_from_keyfile(file, error); cleanup: g_key_file_free(file); return config; } /** * gvir_sandbox_config_load_from_data: * @data: the .ini data string to load * @error: the loader error * * Returns: (transfer full): the new config or NULL */ GVirSandboxConfig *gvir_sandbox_config_load_from_data(const gchar *data, GError **error) { GKeyFile *file = g_key_file_new(); GVirSandboxConfig *config = NULL; if (!g_key_file_load_from_data(file, data, strlen(data), G_KEY_FILE_NONE, error)) goto cleanup; config = gvir_sandbox_config_load_from_keyfile(file, error); cleanup: g_key_file_free(file); return config; } static void gvir_sandbox_config_save_to_keyfile(GVirSandboxConfig *config, GKeyFile **keyfile) { GVirSandboxConfigClass *klass = GVIR_SANDBOX_CONFIG_GET_CLASS(config); *keyfile = g_key_file_new(); g_key_file_set_string(*keyfile, "api", "class", g_type_name(G_TYPE_FROM_CLASS(klass))); g_key_file_set_string(*keyfile, "api", "version", VERSION); klass->save_config(config, *keyfile); } gboolean gvir_sandbox_config_save_to_path(GVirSandboxConfig *config, const gchar *path, GError **error) { GKeyFile *file = NULL; gboolean ret = FALSE; gchar *data = NULL; GFile *f = g_file_new_for_path(path); GOutputStream *os = NULL; gsize len; gvir_sandbox_config_save_to_keyfile(config, &file); if (!(data = g_key_file_to_data(file, &len, error))) goto cleanup; if (!(os = G_OUTPUT_STREAM(g_file_create(f, G_FILE_CREATE_NONE, NULL, error)))) goto cleanup; if (!g_output_stream_write_all(os, data, len, NULL, NULL, error)) goto unlink; if (!g_output_stream_close(os, NULL, error)) goto unlink; ret = TRUE; cleanup: g_free(data); g_key_file_free(file); g_object_unref(f); if (os) g_object_unref(os); return ret; unlink: g_file_delete(f, NULL, NULL); goto cleanup; } gchar *gvir_sandbox_config_save_to_data(GVirSandboxConfig *config, GError **error) { GKeyFile *file = NULL; gchar *data = NULL; gsize datalen; gvir_sandbox_config_save_to_keyfile(config, &file); if (!(data = g_key_file_to_data(file, &datalen, error))) goto cleanup; cleanup: g_key_file_free(file); return data; } /** * gvir_sandbox_config_get_command: * @config: (transfer none): the sandbox config * * Retrieve the sandbox command and arguments * * Returns: (transfer full)(array zero-terminated=1): the command path and arguments */ gchar **gvir_sandbox_config_get_command(GVirSandboxConfig *config) { return GVIR_SANDBOX_CONFIG_GET_CLASS(config)->get_command(config); } /* * Local variables: * c-indent-level: 4 * c-basic-offset: 4 * indent-tabs-mode: nil * tab-width: 8 * End: */ libvirt-sandbox-0.5.1+git20160404/libvirt-sandbox/libvirt-sandbox-config.h000066400000000000000000000222161275305543100260660ustar00rootroot00000000000000/* * libvirt-sandbox-config.h: libvirt sandbox configuration * * Copyright (C) 2011 Red Hat, Inc. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. * * This library is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA * * Author: Daniel P. Berrange */ #if !defined(__LIBVIRT_SANDBOX_H__) && !defined(LIBVIRT_SANDBOX_BUILD) #error "Only can be included directly." #endif #ifndef __LIBVIRT_SANDBOX_CONFIG_H__ #define __LIBVIRT_SANDBOX_CONFIG_H__ G_BEGIN_DECLS #define GVIR_SANDBOX_TYPE_CONFIG (gvir_sandbox_config_get_type ()) #define GVIR_SANDBOX_CONFIG(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GVIR_SANDBOX_TYPE_CONFIG, GVirSandboxConfig)) #define GVIR_SANDBOX_CONFIG_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GVIR_SANDBOX_TYPE_CONFIG, GVirSandboxConfigClass)) #define GVIR_SANDBOX_IS_CONFIG(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GVIR_SANDBOX_TYPE_CONFIG)) #define GVIR_SANDBOX_IS_CONFIG_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GVIR_SANDBOX_TYPE_CONFIG)) #define GVIR_SANDBOX_CONFIG_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GVIR_SANDBOX_TYPE_CONFIG, GVirSandboxConfigClass)) typedef struct _GVirSandboxConfig GVirSandboxConfig; typedef struct _GVirSandboxConfigPrivate GVirSandboxConfigPrivate; typedef struct _GVirSandboxConfigClass GVirSandboxConfigClass; struct _GVirSandboxConfig { GObject parent; GVirSandboxConfigPrivate *priv; /* Do not add fields to this struct */ }; struct _GVirSandboxConfigClass { GObjectClass parent_class; gboolean (*load_config)(GVirSandboxConfig *config, GKeyFile *file, GError **error); void (*save_config)(GVirSandboxConfig *config, GKeyFile *file); gchar **(*get_command)(GVirSandboxConfig *config); gpointer padding[LIBVIRT_SANDBOX_CLASS_PADDING]; }; GType gvir_sandbox_config_get_type(void); GVirSandboxConfig *gvir_sandbox_config_load_from_path(const gchar *path, GError **error); GVirSandboxConfig *gvir_sandbox_config_load_from_data(const gchar *data, GError **error); gboolean gvir_sandbox_config_save_to_path(GVirSandboxConfig *config, const gchar *path, GError **error); gchar *gvir_sandbox_config_save_to_data(GVirSandboxConfig *config, GError **error); const gchar *gvir_sandbox_config_get_name(GVirSandboxConfig *config); void gvir_sandbox_config_set_uuid(GVirSandboxConfig *config, const gchar *uuid); const gchar *gvir_sandbox_config_get_uuid(GVirSandboxConfig *config); void gvir_sandbox_config_set_root(GVirSandboxConfig *config, const gchar *hostdir); const gchar *gvir_sandbox_config_get_root(GVirSandboxConfig *config); void gvir_sandbox_config_set_arch(GVirSandboxConfig *config, const gchar *arch); const gchar *gvir_sandbox_config_get_arch(GVirSandboxConfig *config); void gvir_sandbox_config_set_kernrelease(GVirSandboxConfig *config, const gchar *kernrelease); const gchar *gvir_sandbox_config_get_kernrelease(GVirSandboxConfig *config); void gvir_sandbox_config_set_kernpath(GVirSandboxConfig *config, const gchar *kernpath); const gchar *gvir_sandbox_config_get_kernpath(GVirSandboxConfig *config); void gvir_sandbox_config_set_kmodpath(GVirSandboxConfig *config, const gchar *kmodpath); const gchar *gvir_sandbox_config_get_kmodpath(GVirSandboxConfig *config); void gvir_sandbox_config_set_shell(GVirSandboxConfig *config, gboolean shell); gboolean gvir_sandbox_config_get_shell(GVirSandboxConfig *config); void gvir_sandbox_config_set_userid(GVirSandboxConfig *config, guint uid); guint gvir_sandbox_config_get_userid(GVirSandboxConfig *config); void gvir_sandbox_config_set_groupid(GVirSandboxConfig *config, guint gid); guint gvir_sandbox_config_get_groupid(GVirSandboxConfig *config); void gvir_sandbox_config_set_username(GVirSandboxConfig *config, const gchar *username); const gchar *gvir_sandbox_config_get_username(GVirSandboxConfig *config); void gvir_sandbox_config_set_homedir(GVirSandboxConfig *config, const gchar *homedir); const gchar *gvir_sandbox_config_get_homedir(GVirSandboxConfig *config); void gvir_sandbox_config_add_network(GVirSandboxConfig *config, GVirSandboxConfigNetwork *network); GList *gvir_sandbox_config_get_networks(GVirSandboxConfig *config); gboolean gvir_sandbox_config_add_network_opts(GVirSandboxConfig *config, const gchar *network, GError **error); gboolean gvir_sandbox_config_add_network_strv(GVirSandboxConfig *config, gchar **networks, GError **error); gboolean gvir_sandbox_config_has_networks(GVirSandboxConfig *config); void gvir_sandbox_config_add_env(GVirSandboxConfig *config, gchar *key, gchar *value); GHashTable *gvir_sandbox_config_get_envs(GVirSandboxConfig *config); gboolean gvir_sandbox_config_add_env_strv(GVirSandboxConfig *config, gchar **envs, GError **error); gboolean gvir_sandbox_config_add_env_opts(GVirSandboxConfig *config, const char *env, GError **error); gboolean gvir_sandbox_config_has_envs(GVirSandboxConfig *config); void gvir_sandbox_config_add_disk(GVirSandboxConfig *config, GVirSandboxConfigDisk *dsk); GList *gvir_sandbox_config_get_disks(GVirSandboxConfig *config); gboolean gvir_sandbox_config_add_disk_strv(GVirSandboxConfig *config, gchar **disks, GError **error); gboolean gvir_sandbox_config_add_disk_opts(GVirSandboxConfig *config, const char *disk, GError **error); gboolean gvir_sandbox_config_has_disks(GVirSandboxConfig *config); void gvir_sandbox_config_add_mount(GVirSandboxConfig *config, GVirSandboxConfigMount *mnt); GList *gvir_sandbox_config_get_mounts(GVirSandboxConfig *config); GList *gvir_sandbox_config_get_mounts_with_type(GVirSandboxConfig *config, GType type); GVirSandboxConfigMount *gvir_sandbox_config_find_mount(GVirSandboxConfig *config, const gchar *target); gboolean gvir_sandbox_config_add_mount_opts(GVirSandboxConfig *config, const char *mount, GError **error); gboolean gvir_sandbox_config_add_mount_strv(GVirSandboxConfig *config, gchar **mounts, GError **error); gboolean gvir_sandbox_config_has_mounts(GVirSandboxConfig *config); gboolean gvir_sandbox_config_has_mounts_with_type(GVirSandboxConfig *config, GType type); gboolean gvir_sandbox_config_has_root_mount(GVirSandboxConfig *config); gboolean gvir_sandbox_config_add_host_include_strv(GVirSandboxConfig *config, gchar **includes, GError **error); gboolean gvir_sandbox_config_add_host_include_file(GVirSandboxConfig *config, gchar *includefile, GError **error); void gvir_sandbox_config_set_security_label(GVirSandboxConfig *config, const gchar *label); const gchar *gvir_sandbox_config_get_security_label(GVirSandboxConfig *config); void gvir_sandbox_config_set_security_dynamic(GVirSandboxConfig *config, gboolean dynamic); gboolean gvir_sandbox_config_get_security_dynamic(GVirSandboxConfig *config); gboolean gvir_sandbox_config_set_security_opts(GVirSandboxConfig *config, const gchar *optstr, GError**error); gchar **gvir_sandbox_config_get_command(GVirSandboxConfig *config); G_END_DECLS #endif /* __LIBVIRT_SANDBOX_CONFIG_H__ */ /* * Local variables: * c-indent-level: 4 * c-basic-offset: 4 * indent-tabs-mode: nil * tab-width: 8 * End: */ libvirt-sandbox-0.5.1+git20160404/libvirt-sandbox/libvirt-sandbox-console-raw.c000066400000000000000000000666011275305543100270530ustar00rootroot00000000000000/* * libvirt-sandbox-console-raw.c: libvirt sandbox raw console * * Copyright (C) 2011-2012 Red Hat, Inc. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. * * This library is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA * * Author: Daniel P. Berrange */ #include #include #include #include #include #include #include #include #include "libvirt-sandbox/libvirt-sandbox.h" /** * SECTION: libvirt-sandbox-console-raw * @short_description: A text mode raw console * @include: libvirt-sandbox/libvirt-sandbox.h * * Provides an object to interface to the text mode console of the sandbox * * The GVirSandboxConsole object provides support for interfacing to the * text mode console of the sandbox. It forwards I/O between the #GVirStream * associated with the virtual machine's console and a local console * represented by #GUnixInputStream and #GUnixOutputStream objects. * */ #define GVIR_SANDBOX_CONSOLE_RAW_GET_PRIVATE(obj) \ (G_TYPE_INSTANCE_GET_PRIVATE((obj), GVIR_SANDBOX_TYPE_CONSOLE_RAW, GVirSandboxConsoleRawPrivate)) static gboolean gvir_sandbox_console_raw_attach(GVirSandboxConsole *console, GUnixInputStream *localStdin, GUnixOutputStream *localStdout, GUnixOutputStream *localStderr, GError **error); static gboolean gvir_sandbox_console_raw_detach(GVirSandboxConsole *console, GError **error); struct _GVirSandboxConsoleRawPrivate { gboolean attached; /* Either use a 'console' device or the separate FD */ GVirStream *console; int consolePty; GUnixInputStream *consoleInput; GUnixOutputStream *consoleOutput; GUnixInputStream *localStdin; GUnixOutputStream *localStdout; GUnixOutputStream *localStderr; gboolean termiosActive; struct termios termiosProps; gchar *consoleToLocal; gsize consoleToLocalLength; gsize consoleToLocalOffset; gchar *localToConsole; gsize localToConsoleLength; gsize localToConsoleOffset; /* True if stdin has shown us EOF */ gboolean localEOF; GSource *localStdinSource; GSource *localStdoutSource; GSource *localStderrSource; gint consoleWatch; GSource *consoleInputSource; GSource *consoleOutputSource; }; G_DEFINE_TYPE(GVirSandboxConsoleRaw, gvir_sandbox_console_raw, GVIR_SANDBOX_TYPE_CONSOLE); enum { LAST_SIGNAL }; //static gint signals[LAST_SIGNAL]; #define GVIR_SANDBOX_CONSOLE_RAW_ERROR gvir_sandbox_console_raw_error_quark() static GQuark gvir_sandbox_console_raw_error_quark(void) { return g_quark_from_static_string("gvir-sandbox-console-raw"); } static void gvir_sandbox_console_raw_finalize(GObject *object) { GVirSandboxConsoleRaw *console = GVIR_SANDBOX_CONSOLE_RAW(object); GVirSandboxConsoleRawPrivate *priv = console->priv; if (priv->attached) gvir_sandbox_console_detach(GVIR_SANDBOX_CONSOLE(console), NULL); /* All other private fields are free'd by the detach call */ G_OBJECT_CLASS(gvir_sandbox_console_raw_parent_class)->finalize(object); } static void gvir_sandbox_console_raw_class_init(GVirSandboxConsoleRawClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS(klass); GVirSandboxConsoleClass *console_class = GVIR_SANDBOX_CONSOLE_CLASS(klass); object_class->finalize = gvir_sandbox_console_raw_finalize; console_class->attach = gvir_sandbox_console_raw_attach; console_class->detach = gvir_sandbox_console_raw_detach; g_type_class_add_private(klass, sizeof(GVirSandboxConsoleRawPrivate)); } static void gvir_sandbox_console_raw_init(GVirSandboxConsoleRaw *console) { console->priv = GVIR_SANDBOX_CONSOLE_RAW_GET_PRIVATE(console); console->priv->consolePty = -1; } /** * gvir_sandbox_console_raw_new: * @connection: (transfer none): the libvirt connection * @domain: (transfer none): the libvirt domain whose console_raw to run * @devname: the console to connect to * * Create a new sandbox raw console from the specified configuration * * Returns: (transfer full): a new sandbox console object */ GVirSandboxConsoleRaw *gvir_sandbox_console_raw_new(GVirConnection *connection, GVirDomain *domain, const char *devname) { return GVIR_SANDBOX_CONSOLE_RAW(g_object_new(GVIR_SANDBOX_TYPE_CONSOLE_RAW, "connection", connection, "domain", domain, "devname", devname, NULL)); } static gboolean gvir_sandbox_console_raw_start_term(GVirSandboxConsoleRaw *console, GUnixInputStream *localStdin, GError **error) { GVirSandboxConsoleRawPrivate *priv = console->priv; int fd = g_unix_input_stream_get_fd(localStdin); struct termios ios; if (!isatty(fd)) return TRUE; if (tcgetattr(fd, &priv->termiosProps) < 0) { g_set_error(error, GVIR_SANDBOX_CONSOLE_RAW_ERROR, 0, _("Unable to query terminal attributes: %s"), strerror(errno)); return FALSE; } memcpy(&ios, &priv->termiosProps, sizeof(ios)); /* Put into raw mode */ ios.c_iflag &= ~(IGNBRK | BRKINT | PARMRK | ISTRIP | INLCR | IGNCR | ICRNL | IXON); ios.c_oflag &= ~(OPOST); ios.c_lflag &= ~(ECHO | ECHONL | ICANON | ISIG | IEXTEN); ios.c_cflag &= ~(CSIZE |PARENB); ios.c_cflag |= CS8; if (tcsetattr(fd, TCSADRAIN, &ios) < 0) { g_set_error(error, GVIR_SANDBOX_CONSOLE_RAW_ERROR, 0, _("Unable to update terminal attributes: %s"), strerror(errno)); return FALSE; } priv->termiosActive = TRUE; return TRUE; } static gboolean gvir_sandbox_console_raw_stop_term(GVirSandboxConsoleRaw *console, GUnixInputStream *localStdin, GError **error) { GVirSandboxConsoleRawPrivate *priv = console->priv; int fd = g_unix_input_stream_get_fd(localStdin); if (!isatty(fd)) return TRUE; if (tcsetattr(fd, TCSADRAIN, &priv->termiosProps) < 0) { g_set_error(error, GVIR_SANDBOX_CONSOLE_RAW_ERROR, 0, _("Unable to restore terminal attributes: %s"), strerror(errno)); return FALSE; } priv->termiosActive = FALSE; return TRUE; } static gboolean do_console_raw_stream_readwrite(GVirStream *stream, GVirStreamIOCondition cond, gpointer opaque); static gboolean do_console_raw_local_read(GObject *stream, gpointer opaque); static gboolean do_console_raw_local_write(GObject *stream, gpointer opaque); static gboolean do_console_raw_console_read(GObject *stream, gpointer opaque); static gboolean do_console_raw_console_write(GObject *stream, gpointer opaque); static void do_console_raw_update_events(GVirSandboxConsoleRaw *console) { GVirSandboxConsoleRawPrivate *priv = console->priv; if (!priv->attached) /* Closed */ return; if (priv->localStdin) { if ((priv->localToConsoleOffset < priv->localToConsoleLength) && (!priv->localEOF)) { if (priv->localStdinSource == NULL) { priv->localStdinSource = g_pollable_input_stream_create_source (G_POLLABLE_INPUT_STREAM(priv->localStdin), NULL); g_source_set_callback(priv->localStdinSource, (GSourceFunc)do_console_raw_local_read, console, NULL); g_source_attach(priv->localStdinSource, g_main_context_default()); } } else { if (priv->localStdinSource) { g_source_destroy(priv->localStdinSource); g_source_unref(priv->localStdinSource); priv->localStdinSource = NULL; } } } /* * With raw consoles we can't distinguish stdout/stderr, so everything * goes to stdout */ if (priv->localStdout) { if (priv->consoleToLocalOffset) { if (priv->localStdoutSource == NULL) { priv->localStdoutSource = g_pollable_output_stream_create_source (G_POLLABLE_OUTPUT_STREAM(priv->localStdout), NULL); g_source_set_callback(priv->localStdoutSource, (GSourceFunc)do_console_raw_local_write, console, NULL); g_source_attach(priv->localStdoutSource, g_main_context_default()); } } else { if (priv->localStdoutSource) { g_source_destroy(priv->localStdoutSource); g_source_unref(priv->localStdoutSource); priv->localStdoutSource = NULL; } } } else { if (priv->consoleToLocalOffset) { if (priv->localStderrSource == NULL) { priv->localStderrSource = g_pollable_output_stream_create_source (G_POLLABLE_OUTPUT_STREAM(priv->localStderr), NULL); g_source_set_callback(priv->localStderrSource, (GSourceFunc)do_console_raw_local_write, console, NULL); g_source_attach(priv->localStderrSource, g_main_context_default()); } } else { if (priv->localStderrSource) { g_source_destroy(priv->localStderrSource); g_source_unref(priv->localStderrSource); priv->localStderrSource = NULL; } } } if (priv->console) { GVirStreamIOCondition cond = 0; if (priv->localToConsoleOffset) cond |= GVIR_STREAM_IO_CONDITION_WRITABLE; if (priv->consoleToLocalOffset < priv->consoleToLocalLength) cond |= GVIR_STREAM_IO_CONDITION_READABLE; if (priv->consoleWatch) { g_source_remove(priv->consoleWatch); priv->consoleWatch = 0; } if (cond) { priv->consoleWatch = gvir_stream_add_watch(priv->console, cond, do_console_raw_stream_readwrite, console); } } else { if (priv->consoleToLocalOffset < priv->consoleToLocalLength) { if (priv->consoleInputSource == NULL) { priv->consoleInputSource = g_pollable_input_stream_create_source (G_POLLABLE_INPUT_STREAM(priv->consoleInput), NULL); g_source_set_callback(priv->consoleInputSource, (GSourceFunc)do_console_raw_console_read, console, NULL); g_source_attach(priv->consoleInputSource, g_main_context_default()); } } else { if (priv->consoleInputSource) { g_source_destroy(priv->consoleInputSource); g_source_unref(priv->consoleInputSource); priv->consoleInputSource = NULL; } } if (priv->localToConsoleOffset) { if (priv->consoleOutputSource == NULL) { priv->consoleOutputSource = g_pollable_output_stream_create_source (G_POLLABLE_OUTPUT_STREAM(priv->consoleOutput), NULL); g_source_set_callback(priv->consoleOutputSource, (GSourceFunc)do_console_raw_console_write, console, NULL); g_source_attach(priv->consoleOutputSource, g_main_context_default()); } } else { if (priv->consoleOutputSource) { g_source_destroy(priv->consoleOutputSource); g_source_unref(priv->consoleOutputSource); priv->consoleOutputSource = NULL; } } } } static void do_console_raw_close(GVirSandboxConsoleRaw *console, GError *error) { gvir_sandbox_console_detach(GVIR_SANDBOX_CONSOLE(console), NULL); g_signal_emit_by_name(console, "closed", error != NULL); } static gboolean do_console_raw_stream_readwrite(GVirStream *stream, GVirStreamIOCondition cond, gpointer opaque) { GVirSandboxConsoleRaw *console = GVIR_SANDBOX_CONSOLE_RAW(opaque); GVirSandboxConsoleRawPrivate *priv = console->priv; if (cond & GVIR_STREAM_IO_CONDITION_READABLE) { GError *err = NULL; gssize ret = gvir_stream_receive (stream, priv->consoleToLocal + priv->consoleToLocalOffset, priv->consoleToLocalLength - priv->consoleToLocalOffset, NULL, &err); if (ret < 0) { if (err && err->code == G_IO_ERROR_WOULD_BLOCK) { /* Shouldn't get this, but you never know */ g_error_free(err); goto done; } else { g_debug("Error from stream recv %s", err ? err->message : ""); do_console_raw_close(console, err); g_error_free(err); goto cleanup; } } if (ret == 0) { /* EOF */ do_console_raw_close(console, NULL); goto done; } priv->consoleToLocalOffset += ret; } if (cond & GVIR_STREAM_IO_CONDITION_WRITABLE) { GError *err = NULL; gssize ret = gvir_stream_send(stream, priv->localToConsole, priv->localToConsoleOffset, NULL, &err); if (ret < 0) { g_debug("Error from stream send %s", err ? err->message : ""); do_console_raw_close(console, err); g_error_free(err); goto cleanup; } if (priv->localToConsoleOffset != ret) memmove(priv->localToConsole, priv->localToConsole + ret, priv->localToConsoleOffset - ret); priv->localToConsoleOffset -= ret; } done: priv->consoleWatch = 0; do_console_raw_update_events(console); cleanup: return FALSE; } /* * Convert given character to control character. * Basically, we assume ASCII, and take lower 6 bits. */ #define CONTROL(c) ((c) ^ 0x40) static gboolean do_console_raw_local_read(GObject *stream, gpointer opaque) { GUnixInputStream *localStdin = G_UNIX_INPUT_STREAM(stream); GVirSandboxConsoleRaw *console = GVIR_SANDBOX_CONSOLE_RAW(opaque); GVirSandboxConsoleRawPrivate *priv = console->priv; GError *err = NULL; gssize ret = g_pollable_input_stream_read_nonblocking (G_POLLABLE_INPUT_STREAM(localStdin), priv->localToConsole + priv->localToConsoleOffset, priv->localToConsoleLength - priv->localToConsoleOffset, NULL, &err); if (ret < 0) { g_debug("Error from local read %s", err ? err->message : ""); do_console_raw_close(console, err); g_error_free(err); goto cleanup; } if (ret == 0) priv->localEOF = TRUE; else if (priv->localToConsole[priv->localToConsoleOffset] == CONTROL(gvir_sandbox_console_get_escape(GVIR_SANDBOX_CONSOLE(console)))) { do_console_raw_close(console, err); goto cleanup; } priv->localToConsoleOffset += ret; priv->localStdinSource = NULL; do_console_raw_update_events(console); cleanup: return FALSE; } static gboolean do_console_raw_local_write(GObject *stream, gpointer opaque) { GUnixOutputStream *localStdoutOrStderr = G_UNIX_OUTPUT_STREAM(stream); GVirSandboxConsoleRaw *console = GVIR_SANDBOX_CONSOLE_RAW(opaque); GVirSandboxConsoleRawPrivate *priv = console->priv; GError *err = NULL; gssize ret = g_pollable_output_stream_write_nonblocking (G_POLLABLE_OUTPUT_STREAM(localStdoutOrStderr), priv->consoleToLocal, priv->consoleToLocalOffset, NULL, &err); if (ret < 0) { g_debug("Error from local write %s", err ? err->message : ""); do_console_raw_close(console, err); g_error_free(err); goto cleanup; } if (priv->consoleToLocalOffset != ret) memmove(priv->consoleToLocal, priv->consoleToLocal + ret, priv->consoleToLocalOffset - ret); priv->consoleToLocalOffset -= ret; priv->localStdoutSource = NULL; do_console_raw_update_events(console); cleanup: return FALSE; } static gboolean do_console_raw_console_read(GObject *stream, gpointer opaque) { GUnixInputStream *consoleInput = G_UNIX_INPUT_STREAM(stream); GVirSandboxConsoleRaw *console = GVIR_SANDBOX_CONSOLE_RAW(opaque); GVirSandboxConsoleRawPrivate *priv = console->priv; GError *err = NULL; gssize ret = g_pollable_input_stream_read_nonblocking (G_POLLABLE_INPUT_STREAM(consoleInput), priv->consoleToLocal + priv->consoleToLocalOffset, priv->consoleToLocalLength - priv->consoleToLocalOffset, NULL, &err); if (ret < 0) { g_debug("Error from console read %s", err ? err->message : ""); do_console_raw_close(console, err); g_error_free(err); goto cleanup; } if (ret == 0) { do_console_raw_close(console, NULL); goto cleanup; } else if (priv->consoleToLocal[priv->consoleToLocalOffset] == CONTROL(gvir_sandbox_console_get_escape(GVIR_SANDBOX_CONSOLE(console)))) { do_console_raw_close(console, err); goto cleanup; } priv->consoleToLocalOffset += ret; priv->consoleInputSource = NULL; do_console_raw_update_events(console); cleanup: return FALSE; } static gboolean do_console_raw_console_write(GObject *stream, gpointer opaque) { GUnixOutputStream *consoleOutput = G_UNIX_OUTPUT_STREAM(stream); GVirSandboxConsoleRaw *console = GVIR_SANDBOX_CONSOLE_RAW(opaque); GVirSandboxConsoleRawPrivate *priv = console->priv; GError *err = NULL; gssize ret = g_pollable_output_stream_write_nonblocking (G_POLLABLE_OUTPUT_STREAM(consoleOutput), priv->consoleToLocal, priv->consoleToLocalOffset, NULL, &err); if (ret < 0) { g_debug("Error from console write %s", err ? err->message : ""); do_console_raw_close(console, err); g_error_free(err); goto cleanup; } if (priv->consoleToLocalOffset != ret) memmove(priv->consoleToLocal, priv->consoleToLocal + ret, priv->consoleToLocalOffset - ret); priv->consoleToLocalOffset -= ret; priv->consoleOutputSource = NULL; do_console_raw_update_events(console); cleanup: return FALSE; } static gboolean gvir_sandbox_console_open_remote(GVirSandboxConsoleRaw *console, GError **error) { GVirSandboxConsoleRawPrivate *priv = console->priv; GVirConnection *conn = NULL; GVirDomain *dom = NULL; gchar *devname = NULL; gboolean ret = FALSE; GVirConfigDomain *conf = NULL; GList *devices = NULL, *tmp; g_object_get(console, "connection", &conn, "domain", &dom, "devname", &devname, NULL); if (!gvir_sandbox_console_get_direct(GVIR_SANDBOX_CONSOLE(console))) { priv->console = gvir_connection_get_stream(conn, 0); if (!gvir_domain_open_console(dom, priv->console, devname, 0, error)) { g_object_unref(priv->console); priv->console = NULL; goto cleanup; } } else { const gchar *pty = NULL; if (!(conf = gvir_domain_get_config(dom, 0, error))) goto cleanup; if (!(devices = gvir_config_domain_get_devices(conf))) { g_set_error(error, GVIR_SANDBOX_CONSOLE_RAW_ERROR, 0, "%s", _("No devices found for domain")); goto cleanup; } tmp = devices; while (tmp && !pty) { GVirConfigDomainDevice *dev = tmp->data; const gchar *alias = gvir_config_domain_device_get_alias(dev); if (alias && g_str_equal(alias, devname) && GVIR_CONFIG_IS_DOMAIN_CHARDEV(dev)) { GVirConfigDomainChardev *cdev = GVIR_CONFIG_DOMAIN_CHARDEV(dev); GVirConfigDomainChardevSource *csrc = gvir_config_domain_chardev_get_source(cdev); if (GVIR_CONFIG_IS_DOMAIN_CHARDEV_SOURCE_PTY(csrc)) { GVirConfigDomainChardevSourcePty *csrcpty = GVIR_CONFIG_DOMAIN_CHARDEV_SOURCE_PTY(csrc); pty = gvir_config_domain_chardev_source_pty_get_path(csrcpty); break; } } tmp = tmp->next; } if (!pty) { g_set_error(error, GVIR_SANDBOX_CONSOLE_RAW_ERROR, 0, _("No device %s found for domain"), devname); goto cleanup; } if ((priv->consolePty = open(pty, O_NOCTTY|O_RDWR)) < 0) { g_set_error(error, GVIR_SANDBOX_CONSOLE_RAW_ERROR, 0, _("Unable to open console %s"), pty); goto cleanup; } priv->consoleInput = G_UNIX_INPUT_STREAM(g_unix_input_stream_new(priv->consolePty, FALSE)); priv->consoleOutput = G_UNIX_OUTPUT_STREAM(g_unix_output_stream_new(priv->consolePty, FALSE)); } ret = TRUE; cleanup: if (conf) g_object_unref(conf); if (conn) g_object_unref(conn); if (dom) g_object_unref(dom); g_free(devname); return ret; } static gboolean gvir_sandbox_console_raw_attach(GVirSandboxConsole *console, GUnixInputStream *localStdin, GUnixOutputStream *localStdout, GUnixOutputStream *localStderr, GError **error) { GVirSandboxConsoleRawPrivate *priv = GVIR_SANDBOX_CONSOLE_RAW(console)->priv; gboolean ret = FALSE; if (priv->attached) { g_set_error(error, GVIR_SANDBOX_CONSOLE_RAW_ERROR, 0, "%s", _("Console is already attached to a stream")); return FALSE; } if (localStdin && !gvir_sandbox_console_raw_start_term(GVIR_SANDBOX_CONSOLE_RAW(console), localStdin, error)) return FALSE; priv->localStdin = localStdin ? g_object_ref(localStdin) : NULL; priv->localStdout = localStdout ? g_object_ref(localStdout) : NULL; priv->localStderr = g_object_ref(localStderr); if (!gvir_sandbox_console_open_remote(GVIR_SANDBOX_CONSOLE_RAW(console), error)) goto cleanup; priv->consoleToLocalLength = 4096; priv->consoleToLocal = g_new0(gchar, priv->consoleToLocalLength); if (localStdin) { priv->localToConsoleLength = 4096; priv->localToConsole = g_new0(gchar, priv->localToConsoleLength); } priv->attached = TRUE; do_console_raw_update_events(GVIR_SANDBOX_CONSOLE_RAW(console)); ret = TRUE; cleanup: if (!ret && localStdin) gvir_sandbox_console_raw_stop_term(GVIR_SANDBOX_CONSOLE_RAW(console), localStdin, NULL); return ret; } static gboolean gvir_sandbox_console_raw_detach(GVirSandboxConsole *console, GError **error) { GVirSandboxConsoleRawPrivate *priv = GVIR_SANDBOX_CONSOLE_RAW(console)->priv; gboolean ret = FALSE; if (!priv->attached) return TRUE; if (priv->localStdin && !gvir_sandbox_console_raw_stop_term(GVIR_SANDBOX_CONSOLE_RAW(console), priv->localStdin, error)) return FALSE; priv->consoleToLocalOffset = priv->consoleToLocalLength = 0; priv->localToConsoleOffset = priv->localToConsoleLength = 0; g_free(priv->consoleToLocal); g_free(priv->localToConsole); priv->consoleToLocal = priv->localToConsole = NULL; if (priv->localStdinSource) g_source_unref(priv->localStdinSource); if (priv->localStdoutSource) g_source_unref(priv->localStdoutSource); if (priv->localStderrSource) g_source_unref(priv->localStderrSource); if (priv->consoleWatch) g_source_remove(priv->consoleWatch); if (priv->consoleInputSource) g_source_unref(priv->consoleInputSource); if (priv->consoleOutputSource) g_source_unref(priv->consoleOutputSource); priv->localStdinSource = priv->localStdoutSource = priv->localStderrSource = NULL; priv->consoleWatch = 0; priv->consoleInputSource = priv->consoleOutputSource = NULL; if (priv->console) { g_object_unref(priv->console); priv->console = NULL; } if (priv->consoleInput) { g_object_unref(priv->consoleInput); priv->consoleInput = NULL; } if (priv->consoleOutput) { g_object_unref(priv->consoleOutput); priv->consoleOutput = NULL; } if (priv->localStdin) g_object_unref(priv->localStdin); if (priv->localStdout) g_object_unref(priv->localStdout); g_object_unref(priv->localStderr); priv->localStdin = NULL; priv->localStdout = NULL; priv->localStderr = NULL; priv->attached = FALSE; ret = TRUE; //cleanup: return ret; } /* * Local variables: * c-indent-level: 4 * c-basic-offset: 4 * indent-tabs-mode: nil * tab-width: 8 * End: */ libvirt-sandbox-0.5.1+git20160404/libvirt-sandbox/libvirt-sandbox-console-raw.h000066400000000000000000000055701275305543100270560ustar00rootroot00000000000000/* * libvirt-sandbox-console-raw.h: libvirt sandbox raw console * * Copyright (C) 2011-2012 Red Hat, Inc. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. * * This library is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA * * Author: Daniel P. Berrange */ #if !defined(__LIBVIRT_SANDBOX_H__) && !defined(LIBVIRT_SANDBOX_BUILD) #error "Only can be included directly." #endif #ifndef __LIBVIRT_SANDBOX_CONSOLE_RAW_H__ #define __LIBVIRT_SANDBOX_CONSOLE_RAW_H__ G_BEGIN_DECLS #define GVIR_SANDBOX_TYPE_CONSOLE_RAW (gvir_sandbox_console_raw_get_type ()) #define GVIR_SANDBOX_CONSOLE_RAW(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GVIR_SANDBOX_TYPE_CONSOLE_RAW, GVirSandboxConsoleRaw)) #define GVIR_SANDBOX_CONSOLE_RAW_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GVIR_SANDBOX_TYPE_CONSOLE_RAW, GVirSandboxConsoleRawClass)) #define GVIR_SANDBOX_IS_CONSOLE_RAW(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GVIR_SANDBOX_TYPE_CONSOLE_RAW)) #define GVIR_SANDBOX_IS_CONSOLE_RAW_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GVIR_SANDBOX_TYPE_CONSOLE_RAW)) #define GVIR_SANDBOX_CONSOLE_RAW_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GVIR_SANDBOX_TYPE_CONSOLE_RAW, GVirSandboxConsoleRawClass)) typedef struct _GVirSandboxConsoleRaw GVirSandboxConsoleRaw; typedef struct _GVirSandboxConsoleRawPrivate GVirSandboxConsoleRawPrivate; typedef struct _GVirSandboxConsoleRawClass GVirSandboxConsoleRawClass; struct _GVirSandboxConsoleRaw { GVirSandboxConsole parent; GVirSandboxConsoleRawPrivate *priv; /* Do not add fields to this struct */ }; struct _GVirSandboxConsoleRawClass { GVirSandboxConsoleClass parent_class; void (*closed)(GVirSandboxConsoleRaw *console, gboolean err); gpointer padding[LIBVIRT_SANDBOX_CLASS_PADDING]; }; GType gvir_sandbox_console_raw_get_type(void); GVirSandboxConsoleRaw *gvir_sandbox_console_raw_new(GVirConnection *connection, GVirDomain *domain, const char *devname); G_END_DECLS #endif /* __LIBVIRT_SANDBOX_CONSOLE_H__ */ /* * Local variables: * c-indent-level: 4 * c-basic-offset: 4 * indent-tabs-mode: nil * tab-width: 8 * End: */ libvirt-sandbox-0.5.1+git20160404/libvirt-sandbox/libvirt-sandbox-console-rpc.c000066400000000000000000001204541275305543100270430ustar00rootroot00000000000000/* * libvirt-sandbox-console-rpc.c: libvirt sandbox rpc console * * Copyright (C) 2011-2012 Red Hat, Inc. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. * * This library is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA * * Author: Daniel P. Berrange */ #include #include #include #include #include #include #include #include "libvirt-sandbox/libvirt-sandbox.h" #include "libvirt-sandbox/libvirt-sandbox-rpcpacket.h" /** * SECTION: libvirt-sandbox-console-rpc * @short_description: A text mode rpc console * @include: libvirt-sandbox/libvirt-sandbox.h * * Provides an object to interface to the text mode console of the sandbox * * The GVirSandboxConsole object provides support for interfacing to the * text mode console of the sandbox. It forwards I/O between the #GVirStream * associated with the virtual machine's console and a local console * represented by #GUnixInputStream and #GUnixOutputStream objects. * */ #define GVIR_SANDBOX_CONSOLE_RPC_GET_PRIVATE(obj) \ (G_TYPE_INSTANCE_GET_PRIVATE((obj), GVIR_SANDBOX_TYPE_CONSOLE_RPC, GVirSandboxConsoleRpcPrivate)) static gboolean gvir_sandbox_console_rpc_attach(GVirSandboxConsole *console, GUnixInputStream *localStdin, GUnixOutputStream *localStdout, GUnixOutputStream *localStderr, GError **error); static gboolean gvir_sandbox_console_rpc_detach(GVirSandboxConsole *console, GError **error); typedef enum { /* * No streams connected */ GVIR_SANDBOX_CONSOLE_RPC_STATE_INACTIVE = 0, /* * Remote stream connected, need tx/rx. * * - Sending GVIR_SANDBOX_PROTOCOL_HANDSHAKE_WAIT bytes every 50ms * * If receive GVIR_SANDBOX_PROTOCOL_HANDSHAKE_WAIT byte, switch * to next state */ GVIR_SANDBOX_CONSOLE_RPC_STATE_WAITING = 1, /* * Remote stream connected, need tx * * - Send single GVIR_SANDBOX_PROTOCOL_HANDSHAKE_SYNC byte * * When byte is sent, switch to next state */ GVIR_SANDBOX_CONSOLE_RPC_STATE_SYNCING = 2, /* * Remote stream connected, need tx/rx * Local stdin/out/err connected, need tx/rx * * When receiving PROC_EXIT switch to STOPPING */ GVIR_SANDBOX_CONSOLE_RPC_STATE_RUNNING = 3, /* * Remote stream connected, need tx * Local stdout/err connected, need tx * * When stream tx == 0 and stdout/err == 0, send * PROC_QUIT and move to next state */ GVIR_SANDBOX_CONSOLE_RPC_STATE_STOPPING = 4, /* * Remote stream connected, need tx * * When tx == 0, then emit "closed", go back * to first state */ GVIR_SANDBOX_CONSOLE_RPC_STATE_FINISHED = 5, } GVirSandboxConsoleRpcState; #define GVIR_SANDBOX_CONSOLE_MAX_QUEUED_DATA 1024 struct _GVirSandboxConsoleRpcPrivate { GVirStream *console; GUnixInputStream *localStdin; GUnixOutputStream *localStdout; GUnixOutputStream *localStderr; gboolean termiosActive; struct termios termiosProps; /* Encoded RPC messages, being sent/received */ GVirSandboxRPCPacket *rx; GVirSandboxRPCPacket *tx; /* Decoded RPC message forwarded to stdout */ gchar *localToStdout; gsize localToStdoutLength; /* No more than GVIR_SANDBOX_CONSOLE_MAX_QUEUED_DATA*/ gsize localToStdoutOffset; /* Decoded RPC message forwarded to stdout */ gchar *localToStderr; gsize localToStderrLength; /* No more than GVIR_SANDBOX_CONSOLE_MAX_QUEUED_DATA*/ gsize localToStderrOffset; GVirSandboxConsoleRpcState state; /* True if stdin has shown us EOF */ gboolean localEOF; GSource *localStdinSource; GSource *localStdoutSource; GSource *localStderrSource; gint consoleWatch; /* True if on a TTY & escape sequence is allowed */ gboolean allowEscape; gsize serial; }; G_DEFINE_TYPE(GVirSandboxConsoleRpc, gvir_sandbox_console_rpc, GVIR_SANDBOX_TYPE_CONSOLE); enum { LAST_SIGNAL }; //static gint signals[LAST_SIGNAL]; #define GVIR_SANDBOX_CONSOLE_RPC_ERROR gvir_sandbox_console_rpc_error_quark() static GQuark gvir_sandbox_console_rpc_error_quark(void) { return g_quark_from_static_string("gvir-sandbox-console-rpc"); } static GVirSandboxRPCPacket * gvir_sandbox_console_rpc_build_handshake_wait(void) { GVirSandboxRPCPacket *pkt = gvir_sandbox_rpcpacket_new(FALSE); g_debug("Build wait"); pkt->buffer[0] = GVIR_SANDBOX_PROTOCOL_HANDSHAKE_WAIT; pkt->bufferLength = 1; pkt->bufferOffset = 0; return pkt; } static GVirSandboxRPCPacket * gvir_sandbox_console_rpc_build_handshake_sync(void) { GVirSandboxRPCPacket *pkt = gvir_sandbox_rpcpacket_new(FALSE); g_debug("Build sync"); pkt->buffer[0] = GVIR_SANDBOX_PROTOCOL_HANDSHAKE_SYNC; pkt->bufferLength = 1; pkt->bufferOffset = 0; return pkt; } static GVirSandboxRPCPacket * gvir_sandbox_console_rpc_build_quit(GVirSandboxConsoleRpc *console, GError **error) { GVirSandboxConsoleRpcPrivate *priv = console->priv; GVirSandboxRPCPacket *pkt = gvir_sandbox_rpcpacket_new(FALSE); g_debug("Build quit"); pkt->header.proc = GVIR_SANDBOX_PROTOCOL_PROC_QUIT; pkt->header.status = GVIR_SANDBOX_PROTOCOL_STATUS_OK; pkt->header.type = GVIR_SANDBOX_PROTOCOL_TYPE_DATA; pkt->header.serial = priv->serial++; if (!gvir_sandbox_rpcpacket_encode_header(pkt, error)) goto error; if (!gvir_sandbox_rpcpacket_encode_payload_empty(pkt, error)) goto error; return pkt; error: gvir_sandbox_rpcpacket_free(pkt); return NULL; } static GVirSandboxRPCPacket * gvir_sandbox_console_rpc_build_stdin(GVirSandboxConsoleRpc *console, gchar *data, gsize len, GError **error) { GVirSandboxConsoleRpcPrivate *priv = console->priv; GVirSandboxRPCPacket *pkt = gvir_sandbox_rpcpacket_new(FALSE); g_debug("Build stdin %p %zu", data, len); pkt->header.proc = GVIR_SANDBOX_PROTOCOL_PROC_STDIN; pkt->header.status = GVIR_SANDBOX_PROTOCOL_STATUS_OK; pkt->header.type = GVIR_SANDBOX_PROTOCOL_TYPE_DATA; pkt->header.serial = priv->serial++; if (!gvir_sandbox_rpcpacket_encode_header(pkt, error)) goto error; if (!gvir_sandbox_rpcpacket_encode_payload_raw(pkt, data, len, error)) goto error; return pkt; error: gvir_sandbox_rpcpacket_free(pkt); return NULL; } static void gvir_sandbox_console_rpc_finalize(GObject *object) { GVirSandboxConsoleRpc *console = GVIR_SANDBOX_CONSOLE_RPC(object); GVirSandboxConsoleRpcPrivate *priv = console->priv; if (priv->localStdin) gvir_sandbox_console_detach(GVIR_SANDBOX_CONSOLE(console), NULL); /* All other private fields are free'd by the detach call */ gvir_sandbox_rpcpacket_free(priv->tx); gvir_sandbox_rpcpacket_free(priv->rx); g_free(priv->localToStdout); g_free(priv->localToStderr); G_OBJECT_CLASS(gvir_sandbox_console_rpc_parent_class)->finalize(object); } static void gvir_sandbox_console_rpc_class_init(GVirSandboxConsoleRpcClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS(klass); GVirSandboxConsoleClass *console_class = GVIR_SANDBOX_CONSOLE_CLASS(klass); object_class->finalize = gvir_sandbox_console_rpc_finalize; console_class->attach = gvir_sandbox_console_rpc_attach; console_class->detach = gvir_sandbox_console_rpc_detach; g_signal_new("exited", G_OBJECT_CLASS_TYPE(object_class), G_SIGNAL_RUN_FIRST, G_STRUCT_OFFSET(GVirSandboxConsoleRpcClass, exited), NULL, NULL, g_cclosure_marshal_VOID__INT, G_TYPE_NONE, 1, G_TYPE_INT); g_type_class_add_private(klass, sizeof(GVirSandboxConsoleRpcPrivate)); } static void gvir_sandbox_console_rpc_init(GVirSandboxConsoleRpc *console) { console->priv = GVIR_SANDBOX_CONSOLE_RPC_GET_PRIVATE(console); } /** * gvir_sandbox_console_rpc_new: * @connection: (transfer none): the libvirt connection * @domain: (transfer none): the libvirt domain whose console_rpc to run * @devname: the console to connect to * * Create a new sandbox rpc console from the specified configuration * * Returns: (transfer full): a new sandbox console object */ GVirSandboxConsoleRpc *gvir_sandbox_console_rpc_new(GVirConnection *connection, GVirDomain *domain, const char *devname) { return GVIR_SANDBOX_CONSOLE_RPC(g_object_new(GVIR_SANDBOX_TYPE_CONSOLE_RPC, "connection", connection, "domain", domain, "devname", devname, NULL)); } static gboolean gvir_sandbox_console_rpc_start_term(GVirSandboxConsoleRpc *console, GUnixInputStream *localStdin, GError **error) { GVirSandboxConsoleRpcPrivate *priv = console->priv; int fd; struct termios ios; if (!localStdin) return TRUE; fd = g_unix_input_stream_get_fd(localStdin); if (!isatty(fd)) { priv->allowEscape = FALSE; g_debug("input is not on a tty"); return TRUE; } priv->allowEscape = TRUE; g_debug("Putting TTY in raw mode"); if (tcgetattr(fd, &priv->termiosProps) < 0) { g_set_error(error, GVIR_SANDBOX_CONSOLE_RPC_ERROR, 0, _("Unable to query terminal attributes: %s"), strerror(errno)); return FALSE; } memcpy(&ios, &priv->termiosProps, sizeof(ios)); /* Put into rpc mode */ ios.c_iflag &= ~(IGNBRK | BRKINT | PARMRK | ISTRIP | INLCR | IGNCR | ICRNL | IXON); ios.c_oflag &= ~(OPOST); ios.c_lflag &= ~(ECHO | ECHONL | ICANON | ISIG | IEXTEN); ios.c_cflag &= ~(CSIZE |PARENB); ios.c_cflag |= CS8; if (tcsetattr(fd, TCSADRAIN, &ios) < 0) { g_set_error(error, GVIR_SANDBOX_CONSOLE_RPC_ERROR, 0, _("Unable to update terminal attributes: %s"), strerror(errno)); return FALSE; } priv->termiosActive = TRUE; return TRUE; } static gboolean gvir_sandbox_console_rpc_stop_term(GVirSandboxConsoleRpc *console, GUnixInputStream *localStdin, GError **error) { GVirSandboxConsoleRpcPrivate *priv = console->priv; int fd; if (!localStdin) return TRUE; fd = g_unix_input_stream_get_fd(localStdin); if (!isatty(fd)) return TRUE; if (tcsetattr(fd, TCSADRAIN, &priv->termiosProps) < 0) { g_set_error(error, GVIR_SANDBOX_CONSOLE_RPC_ERROR, 0, _("Unable to restore terminal attributes: %s"), strerror(errno)); return FALSE; } priv->termiosActive = FALSE; return TRUE; } static gboolean do_console_rpc_stream_readwrite(GVirStream *stream, GVirStreamIOCondition cond, gpointer opaque); static gboolean do_console_rpc_stdin_read(GObject *stream, gpointer opaque); static gboolean do_console_rpc_stdout_write(GObject *stream, gpointer opaque); static gboolean do_console_rpc_stderr_write(GObject *stream, gpointer opaque); static gboolean do_console_rpc_set_state(GVirSandboxConsoleRpc *console, GVirSandboxConsoleRpcState state, GError **err) { GVirSandboxConsoleRpcPrivate *priv = console->priv; if (priv->state == state) { g_debug("Already in state %d", state); return TRUE; } g_debug("Switch state from %d to %d", priv->state, state); priv->state = state; switch (priv->state) { case GVIR_SANDBOX_CONSOLE_RPC_STATE_WAITING: priv->tx = gvir_sandbox_console_rpc_build_handshake_wait(); priv->rx = gvir_sandbox_rpcpacket_new(FALSE); priv->rx->bufferLength = 1; /* We need to recv a hanshake byte */ break; case GVIR_SANDBOX_CONSOLE_RPC_STATE_SYNCING: if (priv->tx) gvir_sandbox_rpcpacket_free(priv->tx); priv->tx = gvir_sandbox_console_rpc_build_handshake_sync(); break; case GVIR_SANDBOX_CONSOLE_RPC_STATE_RUNNING: priv->rx = gvir_sandbox_rpcpacket_new(TRUE); break; case GVIR_SANDBOX_CONSOLE_RPC_STATE_STOPPING: /* Container has exited, so no point trying to send any * stdin data that might be queued */ if (priv->tx) { gvir_sandbox_rpcpacket_free(priv->tx); priv->tx = NULL; } break; case GVIR_SANDBOX_CONSOLE_RPC_STATE_FINISHED: if (!(priv->tx = gvir_sandbox_console_rpc_build_quit(console, err))) return FALSE; break; case GVIR_SANDBOX_CONSOLE_RPC_STATE_INACTIVE: default: break; } return TRUE; } static void do_console_rpc_update_events(GVirSandboxConsoleRpc *console) { GVirSandboxConsoleRpcPrivate *priv = console->priv; GVirStreamIOCondition cond = 0; gboolean needLocalStdin = FALSE; gboolean needLocalStdout = FALSE; gboolean needLocalStderr = FALSE; g_debug("Update rx=%p tx=%p localeof=%d " "stdinsource=%p stdoutsource=%p stderrsource=%p " "stdoutlen=%zu stderrlen=%zu", priv->rx, priv->tx, priv->localEOF, priv->localStdinSource, priv->localStdoutSource, priv->localStderrSource, priv->localToStdoutLength, priv->localToStderrLength); switch (priv->state) { case GVIR_SANDBOX_CONSOLE_RPC_STATE_RUNNING: /* If nothing is waiting to be sent to guest, we can read * some more of stdin */ if (!priv->tx && !priv->localEOF) needLocalStdin = TRUE; /* Fall through */ case GVIR_SANDBOX_CONSOLE_RPC_STATE_STOPPING: /* If we have data queued for stdout, we better poll to write */ if (priv->localToStdoutLength) needLocalStdout = TRUE; /* If we have data queued for stderr, we better poll to write */ if (priv->localToStderrLength) needLocalStderr = TRUE; /* Fall through */ case GVIR_SANDBOX_CONSOLE_RPC_STATE_WAITING: case GVIR_SANDBOX_CONSOLE_RPC_STATE_SYNCING: /* If we have RPC ready for RX we must read */ if (priv->rx) cond |= GVIR_STREAM_IO_CONDITION_READABLE; /* Fall through */ case GVIR_SANDBOX_CONSOLE_RPC_STATE_FINISHED: /* If we have RPC ready for TX we must write */ if (priv->tx) cond |= GVIR_STREAM_IO_CONDITION_WRITABLE; break; case GVIR_SANDBOX_CONSOLE_RPC_STATE_INACTIVE: default: break; } g_debug("new events stdin=%d sdout=%d stderr=%d stream=%d", needLocalStdin, needLocalStdout, needLocalStderr, cond); if (needLocalStdin) { if (priv->localStdinSource == NULL) { priv->localStdinSource = g_pollable_input_stream_create_source (G_POLLABLE_INPUT_STREAM(priv->localStdin), NULL); g_debug("stdint source %p", priv->localStdinSource); g_source_set_callback(priv->localStdinSource, (GSourceFunc)do_console_rpc_stdin_read, console, NULL); g_source_attach(priv->localStdinSource, g_main_context_default()); } } else { if (priv->localStdinSource != NULL) { g_debug("Remove stdin %p", priv->localStdinSource); g_source_destroy(priv->localStdinSource); g_source_unref(priv->localStdinSource); priv->localStdinSource = NULL; } } if (needLocalStdout) { if (priv->localStdoutSource == NULL) { priv->localStdoutSource = g_pollable_output_stream_create_source (G_POLLABLE_OUTPUT_STREAM(priv->localStdout), NULL); g_debug("stdout source %p", priv->localStdoutSource); g_source_set_callback(priv->localStdoutSource, (GSourceFunc)do_console_rpc_stdout_write, console, NULL); g_source_attach(priv->localStdoutSource, g_main_context_default()); } } else { if (priv->localStdoutSource != NULL) { g_debug("Remove stdout %p", priv->localStdoutSource); g_source_destroy(priv->localStdoutSource); g_source_unref(priv->localStdoutSource); priv->localStdoutSource = NULL; } } if (needLocalStderr) { if (priv->localStderrSource == NULL) { priv->localStderrSource = g_pollable_output_stream_create_source (G_POLLABLE_OUTPUT_STREAM(priv->localStderr), NULL); g_debug("stderr source %p", priv->localStderrSource); g_source_set_callback(priv->localStderrSource, (GSourceFunc)do_console_rpc_stderr_write, console, NULL); g_source_attach(priv->localStderrSource, g_main_context_default()); } } else { if (priv->localStderrSource != NULL) { g_debug("Remove stderr %p", priv->localStderrSource); g_source_destroy(priv->localStderrSource); g_source_unref(priv->localStderrSource); priv->localStderrSource = NULL; } } if (priv->consoleWatch) { g_source_remove(priv->consoleWatch); priv->consoleWatch = 0; } if (cond) priv->consoleWatch = gvir_stream_add_watch(priv->console, cond, do_console_rpc_stream_readwrite, console); } static void do_console_rpc_close(GVirSandboxConsoleRpc *console, GError *err) { g_debug("Closing console %s", err ? err->message : ""); gvir_sandbox_console_detach(GVIR_SANDBOX_CONSOLE(console), NULL); g_signal_emit_by_name(console, "closed", err != NULL); } static gboolean do_console_rpc_dispatch_proc(GVirSandboxConsoleRpc *console, GVirSandboxRPCPacket *pkt, GError **error) { GVirSandboxConsoleRpcPrivate *priv = console->priv; struct GVirSandboxProtocolMessageExit msgexit; gsize want; if (!gvir_sandbox_rpcpacket_decode_header(pkt, error)) return FALSE; if (pkt->header.status != GVIR_SANDBOX_PROTOCOL_STATUS_OK) { g_set_error(error, GVIR_SANDBOX_CONSOLE_RPC_ERROR, 0, _("Unexpected rpc status %u"), pkt->header.status); return FALSE; } //g_debug("Procedure %d", pkt->header.proc); switch (pkt->header.proc) { case GVIR_SANDBOX_PROTOCOL_PROC_STDOUT: want = pkt->bufferLength - pkt->bufferOffset; if (!priv->localToStdout) { priv->localToStdoutOffset = 0; priv->localToStdoutLength = 0; priv->localToStdout = g_new0(gchar, want); } else { priv->localToStdout = g_renew(gchar, priv->localToStdout, priv->localToStdoutLength + want); } memcpy(priv->localToStdout + priv->localToStdoutLength, pkt->buffer + pkt->bufferOffset, want); priv->localToStdoutLength += want; break; case GVIR_SANDBOX_PROTOCOL_PROC_STDERR: want = pkt->bufferLength - pkt->bufferOffset; if (!priv->localToStderr) { priv->localToStderrOffset = 0; priv->localToStderrLength = 0; priv->localToStderr = g_new0(gchar, want); } else { priv->localToStderr = g_renew(gchar, priv->localToStderr, priv->localToStderrLength + want); } memcpy(priv->localToStderr + priv->localToStderrLength, pkt->buffer + pkt->bufferOffset, want); priv->localToStderrLength += want; break; case GVIR_SANDBOX_PROTOCOL_PROC_EXIT: memset(&msgexit, 0, sizeof(msgexit)); if (!(gvir_sandbox_rpcpacket_decode_payload_msg(pkt, (xdrproc_t)xdr_GVirSandboxProtocolMessageExit, (void*)&msgexit, error))) return FALSE; g_signal_emit_by_name(console, "exited", msgexit.status); if (priv->localToStdoutLength == 0 && priv->localToStderrLength == 0) { if (!do_console_rpc_set_state(console, GVIR_SANDBOX_CONSOLE_RPC_STATE_FINISHED, error)) return FALSE; } else { if (!do_console_rpc_set_state(console, GVIR_SANDBOX_CONSOLE_RPC_STATE_STOPPING, error)) return FALSE; } break; case GVIR_SANDBOX_PROTOCOL_PROC_QUIT: case GVIR_SANDBOX_PROTOCOL_PROC_STDIN: default: g_set_error(error, GVIR_SANDBOX_CONSOLE_RPC_ERROR, 0, _("Unexpected rpc proc %u"), pkt->header.proc); return FALSE; } return TRUE; } static gboolean do_console_rpc_process_packet_rx(GVirSandboxConsoleRpc *console, GVirSandboxRPCPacket *pkt, GError **err) { GVirSandboxConsoleRpcPrivate *priv = console->priv; //g_debug("Process rx state=%d len=%zu", // priv->state, pkt->bufferLength); switch (priv->state) { case GVIR_SANDBOX_CONSOLE_RPC_STATE_WAITING: if (pkt->buffer[0] == GVIR_SANDBOX_PROTOCOL_HANDSHAKE_SYNC) { if (!do_console_rpc_set_state(console, GVIR_SANDBOX_CONSOLE_RPC_STATE_SYNCING, err)) return FALSE; } else { /* Try recv another byte */ priv->rx = gvir_sandbox_rpcpacket_new(FALSE); priv->rx->bufferLength = 1; /* We need to recv a hanshake byte */ } break; case GVIR_SANDBOX_CONSOLE_RPC_STATE_RUNNING: if (pkt->bufferLength == GVIR_SANDBOX_PROTOCOL_LEN_MAX) { if (!gvir_sandbox_rpcpacket_decode_length(pkt, err)) return FALSE; /* Setup new packet to receive the payload */ priv->rx = gvir_sandbox_rpcpacket_new(TRUE); memcpy(priv->rx, pkt, sizeof(*pkt)); } else { if (!do_console_rpc_dispatch_proc(console, pkt, err)) return FALSE; if (priv->state == GVIR_SANDBOX_CONSOLE_RPC_STATE_RUNNING && priv->localToStdoutLength < GVIR_SANDBOX_CONSOLE_MAX_QUEUED_DATA && priv->localToStderrLength < GVIR_SANDBOX_CONSOLE_MAX_QUEUED_DATA) priv->rx = gvir_sandbox_rpcpacket_new(TRUE); } break; case GVIR_SANDBOX_CONSOLE_RPC_STATE_STOPPING: case GVIR_SANDBOX_CONSOLE_RPC_STATE_FINISHED: case GVIR_SANDBOX_CONSOLE_RPC_STATE_INACTIVE: case GVIR_SANDBOX_CONSOLE_RPC_STATE_SYNCING: default: g_set_error(err, GVIR_SANDBOX_CONSOLE_RPC_ERROR, 0, _("Got rx in unexpected state %d"), priv->state); return FALSE; } return TRUE; } static gboolean do_console_handshake_wait_tx_queue(gpointer opaque) { GVirSandboxConsoleRpc *console = GVIR_SANDBOX_CONSOLE_RPC(opaque); GVirSandboxConsoleRpcPrivate *priv = console->priv; if (priv->state != GVIR_SANDBOX_CONSOLE_RPC_STATE_WAITING) return FALSE; if (priv->tx != NULL) return FALSE; priv->tx = gvir_sandbox_console_rpc_build_handshake_wait(); do_console_rpc_update_events(console); return FALSE; } static gboolean do_console_rpc_process_packet_tx(GVirSandboxConsoleRpc *console, GVirSandboxRPCPacket *pkt, GError **err) { GVirSandboxConsoleRpcPrivate *priv = console->priv; switch (priv->state) { case GVIR_SANDBOX_CONSOLE_RPC_STATE_WAITING: g_debug("Schedule another wait"); g_timeout_add(50, do_console_handshake_wait_tx_queue, console); break; case GVIR_SANDBOX_CONSOLE_RPC_STATE_SYNCING: if (pkt->buffer[0] == GVIR_SANDBOX_PROTOCOL_HANDSHAKE_WAIT) { g_debug("Schedule tx of sync packet"); priv->tx = gvir_sandbox_console_rpc_build_handshake_sync(); } else { if (!do_console_rpc_set_state(console, GVIR_SANDBOX_CONSOLE_RPC_STATE_RUNNING, err)) return FALSE; } break; case GVIR_SANDBOX_CONSOLE_RPC_STATE_FINISHED: g_debug("Finished tx of last packet"); do_console_rpc_close(console, NULL); break; case GVIR_SANDBOX_CONSOLE_RPC_STATE_RUNNING: case GVIR_SANDBOX_CONSOLE_RPC_STATE_STOPPING: /* no-op */ break; case GVIR_SANDBOX_CONSOLE_RPC_STATE_INACTIVE: default: g_set_error(err, GVIR_SANDBOX_CONSOLE_RPC_ERROR, 0, _("Got rx in unexpected state %d"), priv->state); return FALSE; } return TRUE; } static gboolean do_console_rpc_stream_readwrite(GVirStream *stream, GVirStreamIOCondition cond, gpointer opaque) { GVirSandboxConsoleRpc *console = GVIR_SANDBOX_CONSOLE_RPC(opaque); GVirSandboxConsoleRpcPrivate *priv = console->priv; g_debug("Stream read write cond=%d state=%d rx=%p tx=%p", cond, priv->state, priv->rx, priv->tx); if (cond & GVIR_STREAM_IO_CONDITION_READABLE) { while (priv->rx) { GError *err = NULL; gssize ret = gvir_stream_receive (stream, priv->rx->buffer + priv->rx->bufferOffset, priv->rx->bufferLength - priv->rx->bufferOffset, NULL, &err); if (ret < 0) { if (err && err->code == G_IO_ERROR_WOULD_BLOCK) { g_debug("Would block"); g_error_free(err); break; } else { g_debug("Error reading from stream"); do_console_rpc_close(console, err); g_error_free(err); goto cleanup; } } if (ret == 0) { /* EOF */ goto done; } g_debug("offset=%zu length=%zu ret=%zd", priv->rx->bufferOffset, priv->rx->bufferLength, ret); priv->rx->bufferOffset += ret; if (priv->rx->bufferOffset == priv->rx->bufferLength) { GVirSandboxRPCPacket *pkt = priv->rx; priv->rx = NULL; if (!do_console_rpc_process_packet_rx(console, pkt, &err)) { gvir_sandbox_rpcpacket_free(pkt); g_debug("Error process rx packet"); do_console_rpc_close(console, err); g_error_free(err); goto cleanup; } gvir_sandbox_rpcpacket_free(pkt); } } } if ((cond & GVIR_STREAM_IO_CONDITION_WRITABLE) && priv->tx) { GError *err = NULL; gssize ret = gvir_stream_send(stream, priv->tx->buffer + priv->tx->bufferOffset, priv->tx->bufferLength - priv->tx->bufferOffset, NULL, &err); if (ret < 0) { g_debug("Error writing to stream"); do_console_rpc_close(console, err); g_error_free(err); goto cleanup; } priv->tx->bufferOffset += ret; if (priv->tx->bufferOffset == priv->tx->bufferLength) { GVirSandboxRPCPacket *pkt = priv->tx; priv->tx = NULL; if (!do_console_rpc_process_packet_tx(console, pkt, &err)) { gvir_sandbox_rpcpacket_free(pkt); g_debug("Error process tx packet"); do_console_rpc_close(console, err); g_error_free(err); goto cleanup; } gvir_sandbox_rpcpacket_free(pkt); } } done: priv->consoleWatch = 0; do_console_rpc_update_events(console); cleanup: return FALSE; } /* * Convert given character to control character. * Basically, we assume ASCII, and take lower 6 bits. */ #define CONTROL(c) ((c) ^ 0x40) #define MAX_IO 4096 static gboolean do_console_rpc_stdin_read(GObject *stream, gpointer opaque) { GUnixInputStream *localStdin = G_UNIX_INPUT_STREAM(stream); GVirSandboxConsoleRpc *console = GVIR_SANDBOX_CONSOLE_RPC(opaque); GVirSandboxConsoleRpcPrivate *priv = console->priv; GError *err = NULL; gchar *buf = g_new0(gchar, MAX_IO); gssize ret = g_input_stream_read (G_INPUT_STREAM(localStdin), buf, MAX_IO, NULL, &err); if (ret < 0) { g_debug("Error reading from stdin"); do_console_rpc_close(console, err); g_error_free(err); goto cleanup; } if (ret == 0) priv->localEOF = TRUE; else if (priv->allowEscape && (buf[0] == CONTROL(gvir_sandbox_console_get_escape(GVIR_SANDBOX_CONSOLE(console))))) { g_debug("Got console escape"); do_console_rpc_close(console, err); goto cleanup; } if (!(priv->tx = gvir_sandbox_console_rpc_build_stdin(console, buf, ret, &err))) { g_debug("Failed to build stdin packet"); do_console_rpc_close(console, err); g_error_free(err); goto cleanup; } priv->localStdinSource = NULL; cleanup: do_console_rpc_update_events(console); g_free(buf); return FALSE; } static gboolean do_console_rpc_stdout_write(GObject *stream, gpointer opaque) { GUnixOutputStream *localStdout = G_UNIX_OUTPUT_STREAM(stream); GVirSandboxConsoleRpc *console = GVIR_SANDBOX_CONSOLE_RPC(opaque); GVirSandboxConsoleRpcPrivate *priv = console->priv; GError *err = NULL; g_debug("Stdout write %p %p", priv->localStdoutSource, priv->localToStdout); gssize ret = g_output_stream_write (G_OUTPUT_STREAM(localStdout), priv->localToStdout + priv->localToStdoutOffset, priv->localToStdoutLength - priv->localToStdoutOffset, NULL, &err); if (ret < 0) { g_debug("Failed write stdout"); do_console_rpc_close(console, err); g_error_free(err); goto cleanup; } priv->localToStdoutOffset += ret; if (priv->localToStdoutOffset == priv->localToStdoutLength) { g_free(priv->localToStdout); priv->localToStdout = NULL; priv->localToStdoutOffset = priv->localToStdoutLength = 0; if (priv->state == GVIR_SANDBOX_CONSOLE_RPC_STATE_RUNNING && !priv->rx && priv->localToStderrLength < GVIR_SANDBOX_CONSOLE_MAX_QUEUED_DATA) priv->rx = gvir_sandbox_rpcpacket_new(TRUE); if (priv->state == GVIR_SANDBOX_CONSOLE_RPC_STATE_STOPPING && priv->localToStderrLength == 0 && !do_console_rpc_set_state(console, GVIR_SANDBOX_CONSOLE_RPC_STATE_FINISHED, &err)) { g_debug("Failed set finished state"); do_console_rpc_close(console, err); g_error_free(err); goto cleanup; } } else if (0) { memmove(priv->localToStdout, priv->localToStdout + priv->localToStdoutOffset, priv->localToStdoutLength - priv->localToStdoutOffset); priv->localToStdoutLength -= priv->localToStdoutOffset; priv->localToStdoutOffset = 0; priv->localToStdout = g_renew(gchar, priv->localToStdout, priv->localToStdoutLength); } priv->localStdoutSource = NULL; do_console_rpc_update_events(console); cleanup: return FALSE; } static gboolean do_console_rpc_stderr_write(GObject *stream, gpointer opaque) { GUnixOutputStream *localStderr = G_UNIX_OUTPUT_STREAM(stream); GVirSandboxConsoleRpc *console = GVIR_SANDBOX_CONSOLE_RPC(opaque); GVirSandboxConsoleRpcPrivate *priv = console->priv; GError *err = NULL; g_debug("Stderr write %p %p", priv->localStderrSource, priv->localToStderr); gssize ret = g_output_stream_write (G_OUTPUT_STREAM(localStderr), priv->localToStderr, priv->localToStderrOffset, NULL, &err); if (ret < 0) { g_debug("Failed to write stderr"); do_console_rpc_close(console, err); g_error_free(err); goto cleanup; } priv->localToStderrOffset += ret; if (priv->localToStderrOffset == priv->localToStderrLength) { g_free(priv->localToStderr); priv->localToStderr = NULL; priv->localToStderrOffset = priv->localToStderrLength = 0; if (priv->state == GVIR_SANDBOX_CONSOLE_RPC_STATE_RUNNING && !priv->rx && priv->localToStdoutLength < GVIR_SANDBOX_CONSOLE_MAX_QUEUED_DATA) priv->rx = gvir_sandbox_rpcpacket_new(TRUE); if (priv->state == GVIR_SANDBOX_CONSOLE_RPC_STATE_STOPPING && priv->localToStdoutLength == 0 && !do_console_rpc_set_state(console, GVIR_SANDBOX_CONSOLE_RPC_STATE_FINISHED, &err)) { g_debug("Failed set finished state"); do_console_rpc_close(console, err); g_error_free(err); goto cleanup; } } else if (0) { memmove(priv->localToStderr, priv->localToStderr + priv->localToStderrOffset, priv->localToStderrLength - priv->localToStderrOffset); priv->localToStderrLength -= priv->localToStderrOffset; priv->localToStderrOffset = 0; priv->localToStderr = g_renew(gchar, priv->localToStderr, priv->localToStderrLength); } priv->localStderrSource = NULL; do_console_rpc_update_events(console); cleanup: return FALSE; } static gboolean gvir_sandbox_console_rpc_attach(GVirSandboxConsole *console, GUnixInputStream *localStdin, GUnixOutputStream *localStdout, GUnixOutputStream *localStderr, GError **error) { GVirSandboxConsoleRpcPrivate *priv = GVIR_SANDBOX_CONSOLE_RPC(console)->priv; gboolean ret = FALSE; GVirConnection *conn = NULL; GVirDomain *dom = NULL; gchar *devname = NULL; if (priv->state != GVIR_SANDBOX_CONSOLE_RPC_STATE_INACTIVE) { g_set_error(error, GVIR_SANDBOX_CONSOLE_RPC_ERROR, 0, "%s", _("Console is already attached to a stream")); return FALSE; } if (!gvir_sandbox_console_rpc_start_term(GVIR_SANDBOX_CONSOLE_RPC(console), localStdin, error)) return FALSE; if (localStdin) priv->localStdin = g_object_ref(localStdin); priv->localStdout = g_object_ref(localStdout); priv->localStderr = g_object_ref(localStderr); g_object_get(console, "connection", &conn, "domain", &dom, "devname", &devname, NULL); priv->console = gvir_connection_get_stream(conn, 0); if (!gvir_domain_open_console(dom, priv->console, devname, 0, error)) goto cleanup; if (!do_console_rpc_set_state(GVIR_SANDBOX_CONSOLE_RPC(console), GVIR_SANDBOX_CONSOLE_RPC_STATE_WAITING, error)) goto cleanup; do_console_rpc_update_events(GVIR_SANDBOX_CONSOLE_RPC(console)); ret = TRUE; cleanup: if (!ret) gvir_sandbox_console_rpc_stop_term(GVIR_SANDBOX_CONSOLE_RPC(console), localStdin, NULL); if (conn) g_object_unref(conn); if (dom) g_object_unref(dom); g_free(devname); return ret; } static gboolean gvir_sandbox_console_rpc_detach(GVirSandboxConsole *console, GError **error) { GVirSandboxConsoleRpcPrivate *priv = GVIR_SANDBOX_CONSOLE_RPC(console)->priv; gboolean ret = FALSE; if (priv->state == GVIR_SANDBOX_CONSOLE_RPC_STATE_INACTIVE) { return TRUE; #if 0 g_set_error(error, GVIR_SANDBOX_CONSOLE_RPC_ERROR, 0, "%s", _("ConsoleRpc is not attached to a stream")); return FALSE; #endif } if (!gvir_sandbox_console_rpc_stop_term(GVIR_SANDBOX_CONSOLE_RPC(console), priv->localStdin, error)) return FALSE; if (priv->localStdinSource) g_source_unref(priv->localStdinSource); if (priv->localStdoutSource) g_source_unref(priv->localStdoutSource); if (priv->localStderrSource) g_source_unref(priv->localStderrSource); if (priv->consoleWatch) g_source_remove(priv->consoleWatch); priv->localStdinSource = priv->localStdoutSource = priv->localStderrSource = NULL; priv->consoleWatch = 0; if (priv->localStdin) g_object_unref(priv->localStdin); g_object_unref(priv->localStdout); g_object_unref(priv->localStderr); priv->localStdin = NULL; priv->localStdout = NULL; priv->localStderr = NULL; g_free(priv->localToStdout); g_free(priv->localToStderr); priv->localToStdout = priv->localToStderr = NULL; priv->localToStdoutLength = priv->localToStdoutOffset = 0; priv->localToStderrLength = priv->localToStderrOffset = 0; gvir_sandbox_rpcpacket_free(priv->tx); gvir_sandbox_rpcpacket_free(priv->rx); priv->tx = priv->rx = NULL; priv->state = GVIR_SANDBOX_CONSOLE_RPC_STATE_INACTIVE; ret = TRUE; //cleanup: return ret; } /* * Local variables: * c-indent-level: 4 * c-basic-offset: 4 * indent-tabs-mode: nil * tab-width: 8 * End: */ libvirt-sandbox-0.5.1+git20160404/libvirt-sandbox/libvirt-sandbox-console-rpc.h000066400000000000000000000056701275305543100270520ustar00rootroot00000000000000/* * libvirt-sandbox-console-rpc.h: libvirt sandbox rpc console * * Copyright (C) 2011-2012 Red Hat, Inc. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. * * This library is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA * * Author: Daniel P. Berrange */ #if !defined(__LIBVIRT_SANDBOX_H__) && !defined(LIBVIRT_SANDBOX_BUILD) #error "Only can be included directly." #endif #ifndef __LIBVIRT_SANDBOX_CONSOLE_RPC_H__ #define __LIBVIRT_SANDBOX_CONSOLE_RPC_H__ G_BEGIN_DECLS #define GVIR_SANDBOX_TYPE_CONSOLE_RPC (gvir_sandbox_console_rpc_get_type ()) #define GVIR_SANDBOX_CONSOLE_RPC(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GVIR_SANDBOX_TYPE_CONSOLE_RPC, GVirSandboxConsoleRpc)) #define GVIR_SANDBOX_CONSOLE_RPC_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GVIR_SANDBOX_TYPE_CONSOLE_RPC, GVirSandboxConsoleRpcClass)) #define GVIR_SANDBOX_IS_CONSOLE_RPC(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GVIR_SANDBOX_TYPE_CONSOLE_RPC)) #define GVIR_SANDBOX_IS_CONSOLE_RPC_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GVIR_SANDBOX_TYPE_CONSOLE_RPC)) #define GVIR_SANDBOX_CONSOLE_RPC_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GVIR_SANDBOX_TYPE_CONSOLE_RPC, GVirSandboxConsoleRpcClass)) typedef struct _GVirSandboxConsoleRpc GVirSandboxConsoleRpc; typedef struct _GVirSandboxConsoleRpcPrivate GVirSandboxConsoleRpcPrivate; typedef struct _GVirSandboxConsoleRpcClass GVirSandboxConsoleRpcClass; struct _GVirSandboxConsoleRpc { GVirSandboxConsole parent; GVirSandboxConsoleRpcPrivate *priv; /* Do not add fields to this struct */ }; struct _GVirSandboxConsoleRpcClass { GVirSandboxConsoleClass parent_class; void (*exited)(GVirSandboxConsoleRpc *console, int status); void (*closed)(GVirSandboxConsoleRpc *console, gboolean err); gpointer padding[LIBVIRT_SANDBOX_CLASS_PADDING]; }; GType gvir_sandbox_console_rpc_get_type(void); GVirSandboxConsoleRpc *gvir_sandbox_console_rpc_new(GVirConnection *connection, GVirDomain *domain, const char *devname); G_END_DECLS #endif /* __LIBVIRT_SANDBOX_CONSOLE_H__ */ /* * Local variables: * c-indent-level: 4 * c-basic-offset: 4 * indent-tabs-mode: nil * tab-width: 8 * End: */ libvirt-sandbox-0.5.1+git20160404/libvirt-sandbox/libvirt-sandbox-console.c000066400000000000000000000315761275305543100262670ustar00rootroot00000000000000/* * libvirt-sandbox-console.c: libvirt sandbox console * * Copyright (C) 2011 Red Hat, Inc. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. * * This library is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA * * Author: Daniel P. Berrange */ #include #include #include "libvirt-sandbox/libvirt-sandbox.h" /** * SECTION: libvirt-sandbox-console * @short_description: A text mode console * @include: libvirt-sandbox/libvirt-sandbox.h * * Provides an object to interface to the text mode console of the sandbox * * The GVirSandboxConsole object provides support for interfacing to the * text mode console of the sandbox. It forwards I/O between the #GVirStream * associated with the virtual machine's console and a local console * represented by #GUnixInputStream and #GUnixOutputStream objects. * */ #define GVIR_SANDBOX_CONSOLE_GET_PRIVATE(obj) \ (G_TYPE_INSTANCE_GET_PRIVATE((obj), GVIR_SANDBOX_TYPE_CONSOLE, GVirSandboxConsolePrivate)) struct _GVirSandboxConsolePrivate { GVirConnection *connection; GVirDomain *domain; gchar *devname; gchar escape; gboolean direct; }; G_DEFINE_ABSTRACT_TYPE(GVirSandboxConsole, gvir_sandbox_console, G_TYPE_OBJECT); enum { PROP_0, PROP_CONNECTION, PROP_DOMAIN, PROP_DEVNAME, PROP_ESCAPE, PROP_DIRECT, }; enum { LAST_SIGNAL }; //static gint signals[LAST_SIGNAL]; #define GVIR_SANDBOX_CONSOLE_ERROR gvir_sandbox_console_error_quark() static GQuark gvir_sandbox_console_error_quark(void) { return g_quark_from_static_string("gvir-sandbox-console"); } static void gvir_sandbox_console_get_property(GObject *object, guint prop_id, GValue *value, GParamSpec *pspec) { GVirSandboxConsole *console = GVIR_SANDBOX_CONSOLE(object); GVirSandboxConsolePrivate *priv = console->priv; switch (prop_id) { case PROP_CONNECTION: g_value_set_object(value, priv->connection); break; case PROP_DOMAIN: g_value_set_object(value, priv->domain); break; case PROP_DEVNAME: g_value_set_string(value, priv->devname); break; case PROP_ESCAPE: g_value_set_schar(value, priv->escape); break; case PROP_DIRECT: g_value_set_boolean(value, priv->direct); break; default: G_OBJECT_WARN_INVALID_PROPERTY_ID(object, prop_id, pspec); } } static void gvir_sandbox_console_set_property(GObject *object, guint prop_id, const GValue *value, GParamSpec *pspec) { GVirSandboxConsole *console = GVIR_SANDBOX_CONSOLE(object); GVirSandboxConsolePrivate *priv = console->priv; switch (prop_id) { case PROP_CONNECTION: if (priv->connection) g_object_unref(priv->connection); priv->connection = g_value_dup_object(value); break; case PROP_DOMAIN: if (priv->domain) g_object_unref(priv->domain); priv->domain = g_value_dup_object(value); break; case PROP_DEVNAME: priv->devname = g_value_dup_string(value); break; case PROP_ESCAPE: priv->escape = g_value_get_schar(value); break; case PROP_DIRECT: priv->direct = g_value_get_boolean(value); break; default: G_OBJECT_WARN_INVALID_PROPERTY_ID(object, prop_id, pspec); } } static void gvir_sandbox_console_finalize(GObject *object) { GVirSandboxConsole *console = GVIR_SANDBOX_CONSOLE(object); GVirSandboxConsolePrivate *priv = console->priv; if (priv->domain) g_object_unref(priv->domain); if (priv->connection) g_object_unref(priv->connection); g_free(priv->devname); G_OBJECT_CLASS(gvir_sandbox_console_parent_class)->finalize(object); } static void gvir_sandbox_console_class_init(GVirSandboxConsoleClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS(klass); object_class->finalize = gvir_sandbox_console_finalize; object_class->get_property = gvir_sandbox_console_get_property; object_class->set_property = gvir_sandbox_console_set_property; g_object_class_install_property(object_class, PROP_CONNECTION, g_param_spec_object("connection", "Connection", "The sandbox connection", GVIR_TYPE_CONNECTION, G_PARAM_READABLE | G_PARAM_WRITABLE | G_PARAM_CONSTRUCT_ONLY | G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB)); g_object_class_install_property(object_class, PROP_DOMAIN, g_param_spec_object("domain", "Domain", "The sandbox domain", GVIR_TYPE_DOMAIN, G_PARAM_READABLE | G_PARAM_WRITABLE | G_PARAM_CONSTRUCT_ONLY | G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB)); g_object_class_install_property(object_class, PROP_DEVNAME, g_param_spec_string("devname", "Devicename", "Device name", NULL, G_PARAM_READABLE | G_PARAM_WRITABLE | G_PARAM_CONSTRUCT_ONLY | G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB)); g_object_class_install_property(object_class, PROP_ESCAPE, g_param_spec_char("escape", "Escape", "Escape character", 0, 127, ']', G_PARAM_READABLE | G_PARAM_WRITABLE | G_PARAM_CONSTRUCT_ONLY | G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB)); g_object_class_install_property(object_class, PROP_DIRECT, g_param_spec_boolean("direct", "Direct", "Direct pty access", FALSE, G_PARAM_READABLE | G_PARAM_WRITABLE | G_PARAM_CONSTRUCT_ONLY | G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB)); g_signal_new("closed", G_OBJECT_CLASS_TYPE(object_class), G_SIGNAL_RUN_FIRST, G_STRUCT_OFFSET(GVirSandboxConsoleClass, closed), NULL, NULL, g_cclosure_marshal_VOID__BOOLEAN, G_TYPE_NONE, 1, G_TYPE_BOOLEAN); g_type_class_add_private(klass, sizeof(GVirSandboxConsolePrivate)); } static void gvir_sandbox_console_init(GVirSandboxConsole *console) { console->priv = GVIR_SANDBOX_CONSOLE_GET_PRIVATE(console); } gboolean gvir_sandbox_console_attach(GVirSandboxConsole *console, GUnixInputStream *localStdin, GUnixOutputStream *localStdout, GUnixOutputStream *localStderr, GError **error) { return GVIR_SANDBOX_CONSOLE_GET_CLASS(console)->attach(console, localStdin, localStdout, localStderr, error); } gboolean gvir_sandbox_console_attach_stdio(GVirSandboxConsole *console_, GError **error) { GInputStream *localStdin = g_unix_input_stream_new(STDIN_FILENO, FALSE); GOutputStream *localStdout = g_unix_output_stream_new(STDOUT_FILENO, FALSE); GOutputStream *localStderr = g_unix_output_stream_new(STDERR_FILENO, FALSE); gboolean ret; ret = gvir_sandbox_console_attach(console_, G_UNIX_INPUT_STREAM(localStdin), G_UNIX_OUTPUT_STREAM(localStdout), G_UNIX_OUTPUT_STREAM(localStderr), error); g_object_unref(localStdin); g_object_unref(localStdout); g_object_unref(localStderr); return ret; } gboolean gvir_sandbox_console_attach_stderr(GVirSandboxConsole *console_, GError **error) { GOutputStream *localStderr = g_unix_output_stream_new(STDERR_FILENO, FALSE); gboolean ret; ret = gvir_sandbox_console_attach(console_, NULL, NULL, G_UNIX_OUTPUT_STREAM(localStderr), error); g_object_unref(localStderr); return ret; } gboolean gvir_sandbox_console_detach(GVirSandboxConsole *console, GError **error) { return GVIR_SANDBOX_CONSOLE_GET_CLASS(console)->detach(console, error); } gboolean gvir_sandbox_console_isolate(GVirSandboxConsole *console, GError **error) { GVirSandboxConsolePrivate *priv = console->priv; if (!console->priv->direct) { g_set_error(error, GVIR_SANDBOX_CONSOLE_ERROR, 0, "%s", _("Unable to isolate console unless direct access flag is set")); return FALSE; } if (priv->connection) { g_object_unref(priv->connection); priv->connection = NULL; } if (priv->domain) { g_object_unref(priv->domain); priv->domain = NULL; } return TRUE; } void gvir_sandbox_console_set_escape(GVirSandboxConsole *console, gchar escape) { console->priv->escape = escape; } gchar gvir_sandbox_console_get_escape(GVirSandboxConsole *console) { return console->priv->escape; } void gvir_sandbox_console_set_direct(GVirSandboxConsole *console, gboolean direct) { console->priv->direct = direct; } gboolean gvir_sandbox_console_get_direct(GVirSandboxConsole *console) { return console->priv->direct; } /* * Local variables: * c-indent-level: 4 * c-basic-offset: 4 * indent-tabs-mode: nil * tab-width: 8 * End: */ libvirt-sandbox-0.5.1+git20160404/libvirt-sandbox/libvirt-sandbox-console.h000066400000000000000000000103711275305543100262620ustar00rootroot00000000000000/* * libvirt-sandbox-console.h: libvirt sandbox console * * Copyright (C) 2011 Red Hat, Inc. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. * * This library is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA * * Author: Daniel P. Berrange */ #if !defined(__LIBVIRT_SANDBOX_H__) && !defined(LIBVIRT_SANDBOX_BUILD) #error "Only can be included directly." #endif #ifndef __LIBVIRT_SANDBOX_CONSOLE_H__ #define __LIBVIRT_SANDBOX_CONSOLE_H__ #include #include G_BEGIN_DECLS #define GVIR_SANDBOX_TYPE_CONSOLE (gvir_sandbox_console_get_type ()) #define GVIR_SANDBOX_CONSOLE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GVIR_SANDBOX_TYPE_CONSOLE, GVirSandboxConsole)) #define GVIR_SANDBOX_CONSOLE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GVIR_SANDBOX_TYPE_CONSOLE, GVirSandboxConsoleClass)) #define GVIR_SANDBOX_IS_CONSOLE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GVIR_SANDBOX_TYPE_CONSOLE)) #define GVIR_SANDBOX_IS_CONSOLE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GVIR_SANDBOX_TYPE_CONSOLE)) #define GVIR_SANDBOX_CONSOLE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GVIR_SANDBOX_TYPE_CONSOLE, GVirSandboxConsoleClass)) #define GVIR_SANDBOX_TYPE_CONSOLE_HANDLE (gvir_sandbox_console_handle_get_type ()) typedef struct _GVirSandboxConsole GVirSandboxConsole; typedef struct _GVirSandboxConsolePrivate GVirSandboxConsolePrivate; typedef struct _GVirSandboxConsoleClass GVirSandboxConsoleClass; struct _GVirSandboxConsole { GObject parent; GVirSandboxConsolePrivate *priv; /* Do not add fields to this struct */ }; struct _GVirSandboxConsoleClass { GObjectClass parent_class; /* signals */ void (*closed)(GVirSandboxConsole *console, gboolean err); /* class methods */ gboolean (*attach)(GVirSandboxConsole *console, GUnixInputStream *localStdin, GUnixOutputStream *localStdout, GUnixOutputStream *localStderr, GError **error); gboolean (*detach)(GVirSandboxConsole *console, GError **error); gpointer padding[LIBVIRT_SANDBOX_CLASS_PADDING]; }; GType gvir_sandbox_console_get_type(void); gboolean gvir_sandbox_console_attach_stdio(GVirSandboxConsole *console, GError **error); gboolean gvir_sandbox_console_attach_stderr(GVirSandboxConsole *console, GError **error); gboolean gvir_sandbox_console_attach(GVirSandboxConsole *console, GUnixInputStream *localStdin, GUnixOutputStream *localStdout, GUnixOutputStream *localStderr, GError **error); gboolean gvir_sandbox_console_detach(GVirSandboxConsole *console, GError **error); gboolean gvir_sandbox_console_isolate(GVirSandboxConsole *console, GError **error); void gvir_sandbox_console_set_escape(GVirSandboxConsole *console, gchar escape); gchar gvir_sandbox_console_get_escape(GVirSandboxConsole *console); void gvir_sandbox_console_set_direct(GVirSandboxConsole *console, gboolean direct); gboolean gvir_sandbox_console_get_direct(GVirSandboxConsole *console); G_END_DECLS #endif /* __LIBVIRT_SANDBOX_CONSOLE_H__ */ /* * Local variables: * c-indent-level: 4 * c-basic-offset: 4 * indent-tabs-mode: nil * tab-width: 8 * End: */ libvirt-sandbox-0.5.1+git20160404/libvirt-sandbox/libvirt-sandbox-context-interactive.c000066400000000000000000000330041275305543100306100ustar00rootroot00000000000000/* * libvirt-sandbox-context-interactive.c: libvirt sandbox interactive context * * Copyright (C) 2011 Red Hat, Inc. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. * * This library is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA * * Author: Daniel P. Berrange */ #include #include #include #include #include "libvirt-sandbox/libvirt-sandbox.h" /** * SECTION: libvirt-sandbox-context-interactive * @short_description: Desktop application sandbox context * @include: libvirt-sandbox/libvirt-sandbox.h * @see_also: #GVirSandboxContext * * Provides a base class for implementing interactive desktop application sandboxes * * The GVirSandboxContextInteractive object extends the functionality provided by * #GVirSandboxContext to allow the application to display output in a interactive * desktop. */ #define GVIR_SANDBOX_CONTEXT_INTERACTIVE_GET_PRIVATE(obj) \ (G_TYPE_INSTANCE_GET_PRIVATE((obj), GVIR_SANDBOX_TYPE_CONTEXT_INTERACTIVE, GVirSandboxContextInteractivePrivate)) struct _GVirSandboxContextInteractivePrivate { gboolean unused; }; G_DEFINE_TYPE(GVirSandboxContextInteractive, gvir_sandbox_context_interactive, GVIR_SANDBOX_TYPE_CONTEXT); enum { PROP_0, }; enum { LAST_SIGNAL }; //static gint signals[LAST_SIGNAL]; #define GVIR_SANDBOX_CONTEXT_INTERACTIVE_ERROR gvir_sandbox_context_interactive_error_quark() static GQuark gvir_sandbox_context_interactive_error_quark(void) { return g_quark_from_static_string("gvir-sandbox-context-interactive"); } static void gvir_sandbox_context_interactive_get_property(GObject *object, guint prop_id, GValue *value G_GNUC_UNUSED, GParamSpec *pspec) { #if 0 GVirSandboxContextInteractive *context = GVIR_SANDBOX_CONTEXT_INTERACTIVE(object); GVirSandboxContextInteractivePrivate *priv = context->priv; #endif switch (prop_id) { default: G_OBJECT_WARN_INVALID_PROPERTY_ID(object, prop_id, pspec); } } static void gvir_sandbox_context_interactive_set_property(GObject *object, guint prop_id, const GValue *value G_GNUC_UNUSED, GParamSpec *pspec) { #if 0 GVirSandboxContextInteractive *context = GVIR_SANDBOX_CONTEXT_INTERACTIVE(object); GVirSandboxContextInteractivePrivate *priv = context->priv; #endif switch (prop_id) { default: G_OBJECT_WARN_INVALID_PROPERTY_ID(object, prop_id, pspec); } } static void gvir_sandbox_context_interactive_finalize(GObject *object) { #if 0 GVirSandboxContextInteractive *context = GVIR_SANDBOX_CONTEXT_INTERACTIVE(object); GVirSandboxContextInteractivePrivate *priv = context->priv; #endif G_OBJECT_CLASS(gvir_sandbox_context_interactive_parent_class)->finalize(object); } static gboolean gvir_sandbox_context_clean_post_start(GVirSandboxContext *ctxt, GVirSandboxBuilder *builder, GError **error) { const gchar *cachedir; gchar *tmpdir; gboolean ret = TRUE; GVirSandboxConfig *config = gvir_sandbox_context_get_config(ctxt); cachedir = (getuid() ? g_get_user_cache_dir() : RUNDIR); tmpdir = g_build_filename(cachedir, "libvirt-sandbox", gvir_sandbox_config_get_name(config), NULL); if (!gvir_sandbox_builder_clean_post_start(builder, config, tmpdir, error)) ret = FALSE; g_free(tmpdir); g_object_unref(config); return ret; } static gboolean gvir_sandbox_context_clean_post_stop(GVirSandboxContext *ctxt, GVirSandboxBuilder *builder, GError **error) { const gchar *cachedir; gchar *statedir; gchar *configdir; gchar *configfile; gchar *emptydir; gboolean ret = TRUE; GVirSandboxConfig *config = gvir_sandbox_context_get_config(ctxt); cachedir = (getuid() ? g_get_user_cache_dir() : RUNDIR); statedir = g_build_filename(cachedir, "libvirt-sandbox", gvir_sandbox_config_get_name(config), NULL); configdir = g_build_filename(statedir, "config", NULL); configfile = g_build_filename(configdir, "sandbox.cfg", NULL); emptydir = g_build_filename(configdir, "empty", NULL); if (!gvir_sandbox_builder_clean_post_stop(builder, config, statedir, error)) ret = FALSE; if (unlink(configfile) < 0 && errno != ENOENT) ret = FALSE; if (rmdir(emptydir) < 0 && errno != ENOENT) ret = FALSE; if (rmdir(configdir) < 0 && errno != ENOENT) ret = FALSE; if (rmdir(statedir) < 0 && errno != ENOENT) ret = FALSE; g_object_unref(config); g_free(configfile); g_free(emptydir); g_free(statedir); g_free(configdir); return ret; } static gboolean gvir_sandbox_context_interactive_start(GVirSandboxContext *ctxt, GError **error) { GVirConfigDomain *configdom = NULL; GVirSandboxBuilder *builder = NULL; GVirConnection *connection = NULL; GVirDomain *domain = NULL; GVirSandboxConfig *config = NULL; const gchar *cachedir; gchar *statedir; gchar *configdir; gchar *emptydir; gchar *configfile; gboolean ret = FALSE; const gchar *uri; if (!GVIR_SANDBOX_CONTEXT_CLASS(gvir_sandbox_context_interactive_parent_class)->start(ctxt, error)) return FALSE; connection = gvir_sandbox_context_get_connection(ctxt); config = gvir_sandbox_context_get_config(ctxt); cachedir = (getuid() ? g_get_user_cache_dir() : RUNDIR); statedir = g_build_filename(cachedir, "libvirt-sandbox", gvir_sandbox_config_get_name(config), NULL); configdir = g_build_filename(statedir, "config", NULL); configfile = g_build_filename(configdir, "sandbox.cfg", NULL); emptydir = g_build_filename(configdir, "empty", NULL); uri = gvir_connection_get_uri(connection); if (geteuid() == 0) { if (!g_str_equal(uri, "lxc:///") && !g_str_equal(uri, "qemu:///system")) { g_set_error(error, GVIR_SANDBOX_CONTEXT_INTERACTIVE_ERROR, 0, _("URI '%s' unsupported as root, try 'lxc:///' or 'qemu:///system'"), uri); goto cleanup; } } else { if (!g_str_equal(uri, "qemu:///session")) { g_set_error(error, GVIR_SANDBOX_CONTEXT_INTERACTIVE_ERROR, 0, _("URI '%s' unsupported as non-root, try 'qemu:///session'"), uri); goto cleanup; } } if (!(builder = gvir_sandbox_builder_for_connection(connection, error))) goto cleanup; g_mkdir_with_parents(statedir, 0755); g_mkdir_with_parents(configdir, 0755); unlink(configfile); if (!gvir_sandbox_config_save_to_path(config, configfile, error)) goto cleanup; g_mkdir_with_parents(emptydir, 0755); if (!(configdom = gvir_sandbox_builder_construct(builder, config, statedir, error))) { goto cleanup; } if (!(domain = gvir_connection_start_domain(connection, configdom, GVIR_DOMAIN_START_AUTODESTROY, error))) goto cleanup; if (!gvir_sandbox_context_clean_post_start(ctxt, builder, error)) goto cleanup; g_object_set(ctxt, "domain", domain, NULL); ret = TRUE; cleanup: if (!ret && domain) gvir_domain_stop(domain, 0, NULL); if (!ret && builder) { gvir_sandbox_context_clean_post_start(ctxt, builder, NULL); gvir_sandbox_context_clean_post_stop(ctxt, builder, NULL); } g_free(statedir); g_free(configdir); g_free(configfile); g_free(emptydir); if (configdom) g_object_unref(configdom); if (builder) g_object_unref(builder); g_object_unref(config); g_object_unref(connection); if (domain) g_object_unref(domain); return ret; } static gboolean gvir_sandbox_context_interactive_stop(GVirSandboxContext *ctxt, GError **error) { GVirDomain *domain; GVirConnection *connection; GVirSandboxBuilder *builder; gboolean ret = TRUE; if (!GVIR_SANDBOX_CONTEXT_CLASS(gvir_sandbox_context_interactive_parent_class)->stop(ctxt, error)) return FALSE; if (!(domain = gvir_sandbox_context_get_domain(ctxt, error))) return FALSE; if (!gvir_domain_stop(domain, 0, error)) ret = FALSE; g_object_set(ctxt, "domain", NULL, NULL); g_object_unref(domain); connection = gvir_sandbox_context_get_connection(ctxt); if (!(builder = gvir_sandbox_builder_for_connection(connection, error))) ret = FALSE; if (builder && !gvir_sandbox_context_clean_post_stop(ctxt, builder, error)) ret = FALSE; if (builder) g_object_unref(builder); g_object_unref(connection); return ret; } static void gvir_sandbox_context_interactive_class_init(GVirSandboxContextInteractiveClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS(klass); GVirSandboxContextClass *context_class = GVIR_SANDBOX_CONTEXT_CLASS(klass); object_class->finalize = gvir_sandbox_context_interactive_finalize; object_class->get_property = gvir_sandbox_context_interactive_get_property; object_class->set_property = gvir_sandbox_context_interactive_set_property; context_class->start = gvir_sandbox_context_interactive_start; context_class->stop = gvir_sandbox_context_interactive_stop; g_type_class_add_private(klass, sizeof(GVirSandboxContextInteractivePrivate)); } static void gvir_sandbox_context_interactive_init(GVirSandboxContextInteractive *context) { context->priv = GVIR_SANDBOX_CONTEXT_INTERACTIVE_GET_PRIVATE(context); } /** * gvir_sandbox_context_interactive_new: * @connection: (transfer none): the libvirt connection * @config: (transfer none): the initial configuratoion * * Create a new interactive application sandbox context * * Returns: (transfer full): a new interactive sandbox context object */ GVirSandboxContextInteractive *gvir_sandbox_context_interactive_new(GVirConnection *connection, GVirSandboxConfigInteractive *config) { return GVIR_SANDBOX_CONTEXT_INTERACTIVE(g_object_new(GVIR_SANDBOX_TYPE_CONTEXT_INTERACTIVE, "connection", connection, "config", config, NULL)); } /** * gvir_sandbox_context_interactive_get_app_console: * @ctxt: (transfer none): the sandbox context * * Returns: (transfer full)(allow-none): the sandbox console (or NULL) */ GVirSandboxConsole *gvir_sandbox_context_interactive_get_app_console(GVirSandboxContextInteractive *ctxt, GError **error) { GVirSandboxConsole *console; const char *devname = NULL; GVirDomain *domain; GVirConnection *conn; if (!(domain = gvir_sandbox_context_get_domain(GVIR_SANDBOX_CONTEXT(ctxt), error))) return NULL; conn = gvir_sandbox_context_get_connection(GVIR_SANDBOX_CONTEXT(ctxt)); /* XXX get from config + shell */ if (strstr(gvir_connection_get_uri(conn), "lxc")) { GVirSandboxConfig *config = gvir_sandbox_context_get_config(GVIR_SANDBOX_CONTEXT(ctxt)); if (gvir_sandbox_config_get_shell(config)) devname = "console2"; else devname = "console1"; } else { devname = "console1"; } console = GVIR_SANDBOX_CONSOLE(gvir_sandbox_console_rpc_new(conn, domain, devname)); g_object_unref(domain); return console; } /* * Local variables: * c-indent-level: 4 * c-basic-offset: 4 * indent-tabs-mode: nil * tab-width: 8 * End: */ libvirt-sandbox-0.5.1+git20160404/libvirt-sandbox/libvirt-sandbox-context-interactive.h000066400000000000000000000063161275305543100306230ustar00rootroot00000000000000/* * libvirt-sandbox-context-interactive.h: libvirt sandbox interactive context * * Copyright (C) 2011 Red Hat, Inc. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. * * This library is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA * * Author: Daniel P. Berrange */ #if !defined(__LIBVIRT_SANDBOX_H__) && !defined(LIBVIRT_SANDBOX_BUILD) #error "Only can be included directly." #endif #ifndef __LIBVIRT_SANDBOX_CONTEXT_INTERACTIVE_H__ #define __LIBVIRT_SANDBOX_CONTEXT_INTERACTIVE_H__ G_BEGIN_DECLS #define GVIR_SANDBOX_TYPE_CONTEXT_INTERACTIVE (gvir_sandbox_context_interactive_get_type ()) #define GVIR_SANDBOX_CONTEXT_INTERACTIVE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GVIR_SANDBOX_TYPE_CONTEXT_INTERACTIVE, GVirSandboxContextInteractive)) #define GVIR_SANDBOX_CONTEXT_INTERACTIVE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GVIR_SANDBOX_TYPE_CONTEXT_INTERACTIVE, GVirSandboxContextInteractiveClass)) #define GVIR_SANDBOX_IS_CONTEXT_INTERACTIVE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GVIR_SANDBOX_TYPE_CONTEXT_INTERACTIVE)) #define GVIR_SANDBOX_IS_CONTEXT_INTERACTIVE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GVIR_SANDBOX_TYPE_CONTEXT_INTERACTIVE)) #define GVIR_SANDBOX_CONTEXT_INTERACTIVE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GVIR_SANDBOX_TYPE_CONTEXT_INTERACTIVE, GVirSandboxContextInteractiveClass)) typedef struct _GVirSandboxContextInteractive GVirSandboxContextInteractive; typedef struct _GVirSandboxContextInteractivePrivate GVirSandboxContextInteractivePrivate; typedef struct _GVirSandboxContextInteractiveClass GVirSandboxContextInteractiveClass; struct _GVirSandboxContextInteractive { GVirSandboxContext parent; GVirSandboxContextInteractivePrivate *priv; /* Do not add fields to this struct */ }; struct _GVirSandboxContextInteractiveClass { GVirSandboxContextClass parent_class; gpointer padding[LIBVIRT_SANDBOX_CLASS_PADDING]; }; GType gvir_sandbox_context_interactive_get_type(void); GVirSandboxContextInteractive *gvir_sandbox_context_interactive_new(GVirConnection *connection, GVirSandboxConfigInteractive *config); GVirSandboxConsole *gvir_sandbox_context_interactive_get_app_console(GVirSandboxContextInteractive *ctxt, GError **error); G_END_DECLS #endif /* __LIBVIRT_SANDBOX_CONTEXT_INTERACTIVE_H__ */ /* * Local variables: * c-indent-level: 4 * c-basic-offset: 4 * indent-tabs-mode: nil * tab-width: 8 * End: */ libvirt-sandbox-0.5.1+git20160404/libvirt-sandbox/libvirt-sandbox-context-service.c000066400000000000000000000310141275305543100277320ustar00rootroot00000000000000/* * libvirt-sandbox-context-service.c: libvirt sandbox service context * * Copyright (C) 2011 Red Hat, Inc. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. * * This library is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA * * Author: Daniel P. Berrange */ #include #include #include #include "libvirt-sandbox/libvirt-sandbox.h" /** * SECTION: libvirt-sandbox-context-service * @short_description: Desktop application sandbox context * @include: libvirt-sandbox/libvirt-sandbox.h * @see_also: #GVirSandboxContext * * Provides a base class for implementing service desktop application sandboxes * * The GVirSandboxContextService object extends the functionality provided by * #GVirSandboxContext to allow the application to display output in a service * desktop. */ #define GVIR_SANDBOX_CONTEXT_SERVICE_GET_PRIVATE(obj) \ (G_TYPE_INSTANCE_GET_PRIVATE((obj), GVIR_SANDBOX_TYPE_CONTEXT_SERVICE, GVirSandboxContextServicePrivate)) struct _GVirSandboxContextServicePrivate { gboolean unused; }; G_DEFINE_TYPE(GVirSandboxContextService, gvir_sandbox_context_service, GVIR_SANDBOX_TYPE_CONTEXT); enum { PROP_0, }; enum { LAST_SIGNAL }; //static gint signals[LAST_SIGNAL]; #define GVIR_SANDBOX_CONTEXT_SERVICE_ERROR gvir_sandbox_context_service_error_quark() static GQuark gvir_sandbox_context_service_error_quark(void) { return g_quark_from_static_string("gvir-sandbox-context-service"); } static void gvir_sandbox_context_service_get_property(GObject *object, guint prop_id, GValue *value G_GNUC_UNUSED, GParamSpec *pspec) { #if 0 GVirSandboxContextService *context = GVIR_SANDBOX_CONTEXT_SERVICE(object); GVirSandboxContextServicePrivate *priv = context->priv; #endif switch (prop_id) { default: G_OBJECT_WARN_INVALID_PROPERTY_ID(object, prop_id, pspec); } } static void gvir_sandbox_context_service_set_property(GObject *object, guint prop_id, const GValue *value G_GNUC_UNUSED, GParamSpec *pspec) { #if 0 GVirSandboxContextService *context = GVIR_SANDBOX_CONTEXT_SERVICE(object); GVirSandboxContextServicePrivate *priv = context->priv; #endif switch (prop_id) { default: G_OBJECT_WARN_INVALID_PROPERTY_ID(object, prop_id, pspec); } } static gboolean gvir_sandbox_context_service_define_default(GVirSandboxContextService *ctxt, GError **error) { GVirConfigDomain *configdom = NULL; GVirSandboxBuilder *builder = NULL; GVirSandboxConfig *config; GVirConnection *connection; GVirDomain *domain = NULL; const gchar *sysconfdir; gchar *servicedir; gchar *statedir; gchar *sandboxdir; gchar *configdir; gchar *emptydir; gchar *configfile; gboolean ret = FALSE; connection = gvir_sandbox_context_get_connection(GVIR_SANDBOX_CONTEXT(ctxt)); config = gvir_sandbox_context_get_config(GVIR_SANDBOX_CONTEXT(ctxt)); sysconfdir = (getuid() ? g_get_user_config_dir() : SYSCONFDIR); sandboxdir = g_build_filename(sysconfdir, "libvirt-sandbox", NULL); servicedir = g_build_filename(sandboxdir, "services", NULL); statedir = g_build_filename(servicedir, gvir_sandbox_config_get_name(config), NULL); configdir = g_build_filename(statedir, "config", NULL); configfile = g_build_filename(configdir, "sandbox.cfg", NULL); emptydir = g_build_filename(configdir, "empty", NULL); if (!(builder = gvir_sandbox_builder_for_connection(connection, error))) goto cleanup; g_mkdir_with_parents(sandboxdir, 0700); g_mkdir_with_parents(servicedir, 0700); g_mkdir_with_parents(statedir, 0700); g_mkdir_with_parents(configdir, 0700); if (!(configdom = gvir_sandbox_builder_construct(builder, config, statedir, error))) { goto cleanup; } if (!(domain = gvir_connection_create_domain(connection, configdom, error))) { goto cleanup; } unlink(configfile); if (!gvir_sandbox_config_save_to_path(config, configfile, error)) goto cleanup; g_mkdir_with_parents(emptydir, 0755); ret = TRUE; cleanup: if (!ret) unlink(configfile); g_free(servicedir); g_free(sandboxdir); g_free(statedir); g_free(configdir); g_free(configfile); g_free(emptydir); if (domain) g_object_unref(domain); if (configdom) g_object_unref(configdom); if (builder) g_object_unref(builder); if (connection) g_object_unref(connection); g_object_unref(config); return ret; } static gboolean gvir_sandbox_context_service_undefine_default(GVirSandboxContextService *ctxt, GError **error) { GVirSandboxBuilder *builder = NULL; GVirSandboxConfig *config; GVirConnection *connection; GVirDomain *domain = NULL; const gchar *sysconfdir; gchar *servicedir; gchar *sandboxdir; gchar *statedir; gchar *configdir; gchar *configfile; gchar *emptydir; gboolean ret = TRUE; connection = gvir_sandbox_context_get_connection(GVIR_SANDBOX_CONTEXT(ctxt)); config = gvir_sandbox_context_get_config(GVIR_SANDBOX_CONTEXT(ctxt)); sysconfdir = (getuid() ? g_get_user_config_dir() : SYSCONFDIR); sandboxdir = g_build_filename(sysconfdir, "libvirt-sandbox", NULL); servicedir = g_build_filename(sandboxdir, "services", NULL); statedir = g_build_filename(servicedir, gvir_sandbox_config_get_name(config), NULL); configdir = g_build_filename(statedir, "config", NULL); configfile = g_build_filename(configdir, "sandbox.cfg", NULL); emptydir = g_build_filename(configdir, "empty", NULL); if (!gvir_connection_fetch_domains(connection, NULL, error)) goto cleanup; if ((domain = gvir_connection_find_domain_by_name( connection, gvir_sandbox_config_get_name(config))) != NULL) { if (!gvir_domain_delete(domain, 0, error)) ret = FALSE; } if (!(builder = gvir_sandbox_builder_for_connection(connection, error))) { ret = FALSE; goto cleanup; } if (unlink(configfile) < 0 && errno != ENOENT) ret = FALSE; if (rmdir(emptydir) < 0 && errno != ENOENT) ret = FALSE; if (rmdir(configdir) < 0 && errno != ENOENT) ret = FALSE; if (rmdir(statedir) < 0 && errno != ENOENT) ret = FALSE; if (!gvir_sandbox_builder_clean_post_stop(builder, config, statedir, error)) ret = FALSE; cleanup: g_free(servicedir); g_free(sandboxdir); g_free(statedir); g_free(configdir); g_free(configfile); g_free(emptydir); if (domain) g_object_unref(domain); if (builder) g_object_unref(builder); if (connection) g_object_unref(connection); g_object_unref(config); return ret; } static gboolean gvir_sandbox_context_service_start(GVirSandboxContext *ctxt, GError **error) { GVirConnection *connection = NULL; GVirDomain *domain = NULL; GVirSandboxConfig *config = NULL; gboolean ret = FALSE; if (!GVIR_SANDBOX_CONTEXT_CLASS(gvir_sandbox_context_service_parent_class)->start(ctxt, error)) return FALSE; connection = gvir_sandbox_context_get_connection(ctxt); config = gvir_sandbox_context_get_config(ctxt); if (!gvir_connection_fetch_domains(connection, NULL, error)) goto cleanup; if (!(domain = gvir_connection_find_domain_by_name( connection, gvir_sandbox_config_get_name(config)))) { *error = g_error_new(GVIR_SANDBOX_CONTEXT_SERVICE_ERROR, 0, "Sandbox %s does not exist", gvir_sandbox_config_get_name(config)); goto cleanup; } if (!gvir_domain_start(domain, 0, error)) goto cleanup; g_object_set(ctxt, "domain", domain, NULL); ret = TRUE; cleanup: g_object_unref(config); g_object_unref(connection); if (domain) g_object_unref(domain); return ret; } static gboolean gvir_sandbox_context_service_stop(GVirSandboxContext *ctxt, GError **error) { GVirDomain *domain; gboolean ret = TRUE; if (!GVIR_SANDBOX_CONTEXT_CLASS(gvir_sandbox_context_service_parent_class)->stop(ctxt, error)) return FALSE; if (!(domain = gvir_sandbox_context_get_domain(ctxt, error))) return FALSE; if (!gvir_domain_stop(domain, 0, error)) ret = FALSE; g_object_set(ctxt, "domain", NULL, NULL); g_object_unref(domain); return ret; } static void gvir_sandbox_context_service_finalize(GObject *object) { #if 0 GVirSandboxContextService *context = GVIR_SANDBOX_CONTEXT_SERVICE(object); GVirSandboxContextServicePrivate *priv = context->priv; #endif G_OBJECT_CLASS(gvir_sandbox_context_service_parent_class)->finalize(object); } static void gvir_sandbox_context_service_class_init(GVirSandboxContextServiceClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS(klass); GVirSandboxContextClass *context_class = GVIR_SANDBOX_CONTEXT_CLASS(klass); object_class->finalize = gvir_sandbox_context_service_finalize; object_class->get_property = gvir_sandbox_context_service_get_property; object_class->set_property = gvir_sandbox_context_service_set_property; context_class->start = gvir_sandbox_context_service_start; context_class->stop = gvir_sandbox_context_service_stop; klass->define = gvir_sandbox_context_service_define_default; klass->undefine = gvir_sandbox_context_service_undefine_default; g_type_class_add_private(klass, sizeof(GVirSandboxContextServicePrivate)); } static void gvir_sandbox_context_service_init(GVirSandboxContextService *context) { context->priv = GVIR_SANDBOX_CONTEXT_SERVICE_GET_PRIVATE(context); } /** * gvir_sandbox_context_service_new: * @connection: (transfer none): the libvirt connection * @config: (transfer none): the initial configuratoion * * Create a new service application sandbox context * * Returns: (transfer full): a new service sandbox context object */ GVirSandboxContextService *gvir_sandbox_context_service_new(GVirConnection *connection, GVirSandboxConfigService *config) { return GVIR_SANDBOX_CONTEXT_SERVICE(g_object_new(GVIR_SANDBOX_TYPE_CONTEXT_SERVICE, "connection", connection, "config", config, NULL)); } gboolean gvir_sandbox_context_service_define(GVirSandboxContextService *ctxt, GError **error) { return GVIR_SANDBOX_CONTEXT_SERVICE_GET_CLASS(ctxt)->define(ctxt, error); } gboolean gvir_sandbox_context_service_undefine(GVirSandboxContextService *ctxt, GError **error) { return GVIR_SANDBOX_CONTEXT_SERVICE_GET_CLASS(ctxt)->undefine(ctxt, error); } /* * Local variables: * c-indent-level: 4 * c-basic-offset: 4 * indent-tabs-mode: nil * tab-width: 8 * End: */ libvirt-sandbox-0.5.1+git20160404/libvirt-sandbox/libvirt-sandbox-context-service.h000066400000000000000000000063271275305543100277500ustar00rootroot00000000000000/* * libvirt-sandbox-context-service.h: libvirt sandbox service context * * Copyright (C) 2011 Red Hat, Inc. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. * * This library is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA * * Author: Daniel P. Berrange */ #if !defined(__LIBVIRT_SANDBOX_H__) && !defined(LIBVIRT_SANDBOX_BUILD) #error "Only can be included directly." #endif #ifndef __LIBVIRT_SANDBOX_CONTEXT_SERVICE_H__ #define __LIBVIRT_SANDBOX_CONTEXT_SERVICE_H__ G_BEGIN_DECLS #define GVIR_SANDBOX_TYPE_CONTEXT_SERVICE (gvir_sandbox_context_service_get_type ()) #define GVIR_SANDBOX_CONTEXT_SERVICE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GVIR_SANDBOX_TYPE_CONTEXT_SERVICE, GVirSandboxContextService)) #define GVIR_SANDBOX_CONTEXT_SERVICE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GVIR_SANDBOX_TYPE_CONTEXT_SERVICE, GVirSandboxContextServiceClass)) #define GVIR_SANDBOX_IS_CONTEXT_SERVICE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GVIR_SANDBOX_TYPE_CONTEXT_SERVICE)) #define GVIR_SANDBOX_IS_CONTEXT_SERVICE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GVIR_SANDBOX_TYPE_CONTEXT_SERVICE)) #define GVIR_SANDBOX_CONTEXT_SERVICE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GVIR_SANDBOX_TYPE_CONTEXT_SERVICE, GVirSandboxContextServiceClass)) typedef struct _GVirSandboxContextService GVirSandboxContextService; typedef struct _GVirSandboxContextServicePrivate GVirSandboxContextServicePrivate; typedef struct _GVirSandboxContextServiceClass GVirSandboxContextServiceClass; struct _GVirSandboxContextService { GVirSandboxContext parent; GVirSandboxContextServicePrivate *priv; /* Do not add fields to this struct */ }; struct _GVirSandboxContextServiceClass { GVirSandboxContextClass parent_class; gboolean (*define)(GVirSandboxContextService *ctxt, GError **error); gboolean (*undefine)(GVirSandboxContextService *ctxt, GError **error); gpointer padding[LIBVIRT_SANDBOX_CLASS_PADDING]; }; GType gvir_sandbox_context_service_get_type(void); GVirSandboxContextService *gvir_sandbox_context_service_new(GVirConnection *connection, GVirSandboxConfigService *config); gboolean gvir_sandbox_context_service_define(GVirSandboxContextService *ctxt, GError **error); gboolean gvir_sandbox_context_service_undefine(GVirSandboxContextService *ctxt, GError **error); G_END_DECLS #endif /* __LIBVIRT_SANDBOX_CONTEXT_SERVICE_H__ */ /* * Local variables: * c-indent-level: 4 * c-basic-offset: 4 * indent-tabs-mode: nil * tab-width: 8 * End: */ libvirt-sandbox-0.5.1+git20160404/libvirt-sandbox/libvirt-sandbox-context.c000066400000000000000000000340501275305543100262770ustar00rootroot00000000000000/* * libvirt-sandbox-context.c: libvirt sandbox context * * Copyright (C) 2011 Red Hat, Inc. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. * * This library is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA * * Author: Daniel P. Berrange */ #include #include #include #include #include "libvirt-sandbox/libvirt-sandbox.h" /** * SECTION: libvirt-sandbox-context * @short_description: Application sandbox context * @include: libvirt-sandbox/libvirt-sandbox.h * * Provides a base class for implementing console based application sandboxes * * The GVirSandboxContext object takes a #GVirSandboxConfig instance, passing it * to #GVirSandboxBuilder instance to create a virtual machine, and then provides * access to a #GVirSandboxConsole instance for interacting with the sandboxed * application's stdio. */ #define GVIR_SANDBOX_CONTEXT_GET_PRIVATE(obj) \ (G_TYPE_INSTANCE_GET_PRIVATE((obj), GVIR_SANDBOX_TYPE_CONTEXT, GVirSandboxContextPrivate)) struct _GVirSandboxContextPrivate { GVirConnection *connection; GVirDomain *domain; GVirSandboxConfig *config; }; G_DEFINE_ABSTRACT_TYPE(GVirSandboxContext, gvir_sandbox_context, G_TYPE_OBJECT); enum { PROP_0, PROP_CONFIG, PROP_DOMAIN, PROP_CONNECTION, }; enum { LAST_SIGNAL }; static gboolean gvir_sandbox_context_start_default(GVirSandboxContext *ctxt, GError **error); static gboolean gvir_sandbox_context_stop_default(GVirSandboxContext *ctxt, GError **error); static gboolean gvir_sandbox_context_attach_default(GVirSandboxContext *ctxt, GError **error); static gboolean gvir_sandbox_context_detach_default(GVirSandboxContext *ctxt, GError **error); //static gint signals[LAST_SIGNAL]; #define GVIR_SANDBOX_CONTEXT_ERROR gvir_sandbox_context_error_quark() static GQuark gvir_sandbox_context_error_quark(void) { return g_quark_from_static_string("gvir-sandbox-context"); } static void gvir_sandbox_context_get_property(GObject *object, guint prop_id, GValue *value, GParamSpec *pspec) { GVirSandboxContext *ctxt = GVIR_SANDBOX_CONTEXT(object); GVirSandboxContextPrivate *priv = ctxt->priv; switch (prop_id) { case PROP_CONFIG: g_value_set_object(value, priv->config); break; case PROP_DOMAIN: g_value_set_object(value, priv->domain); break; case PROP_CONNECTION: g_value_set_object(value, priv->connection); break; default: G_OBJECT_WARN_INVALID_PROPERTY_ID(object, prop_id, pspec); } } static void gvir_sandbox_context_set_property(GObject *object, guint prop_id, const GValue *value, GParamSpec *pspec) { GVirSandboxContext *ctxt = GVIR_SANDBOX_CONTEXT(object); GVirSandboxContextPrivate *priv = ctxt->priv; switch (prop_id) { case PROP_CONFIG: if (priv->config) g_object_unref(priv->config); priv->config = g_value_dup_object(value); break; case PROP_DOMAIN: if (priv->domain) g_object_unref(priv->domain); priv->domain = g_value_dup_object(value); break; case PROP_CONNECTION: if (priv->connection) g_object_unref(priv->connection); priv->connection = g_value_dup_object(value); break; default: G_OBJECT_WARN_INVALID_PROPERTY_ID(object, prop_id, pspec); } } static void gvir_sandbox_context_finalize(GObject *object) { GVirSandboxContext *ctxt = GVIR_SANDBOX_CONTEXT(object); GVirSandboxContextPrivate *priv = ctxt->priv; if (priv->domain) gvir_sandbox_context_stop(ctxt, NULL); if (priv->connection) g_object_unref(priv->connection); if (priv->config) g_object_unref(priv->config); G_OBJECT_CLASS(gvir_sandbox_context_parent_class)->finalize(object); } static void gvir_sandbox_context_class_init(GVirSandboxContextClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS(klass); object_class->finalize = gvir_sandbox_context_finalize; object_class->get_property = gvir_sandbox_context_get_property; object_class->set_property = gvir_sandbox_context_set_property; klass->start = gvir_sandbox_context_start_default; klass->stop = gvir_sandbox_context_stop_default; klass->attach = gvir_sandbox_context_attach_default; klass->detach = gvir_sandbox_context_detach_default; g_object_class_install_property(object_class, PROP_CONFIG, g_param_spec_object("config", "Config", "The sandbox configuration", GVIR_SANDBOX_TYPE_CONFIG, G_PARAM_READABLE | G_PARAM_WRITABLE | G_PARAM_CONSTRUCT_ONLY | G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB)); g_object_class_install_property(object_class, PROP_DOMAIN, g_param_spec_object("domain", "Domain", "The sandbox domain", GVIR_TYPE_DOMAIN, G_PARAM_READABLE | G_PARAM_WRITABLE | G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB)); g_object_class_install_property(object_class, PROP_CONNECTION, g_param_spec_object("connection", "Connection", "The sandbox connection", GVIR_TYPE_CONNECTION, G_PARAM_READABLE | G_PARAM_WRITABLE | G_PARAM_CONSTRUCT_ONLY | G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB)); g_type_class_add_private(klass, sizeof(GVirSandboxContextPrivate)); } static void gvir_sandbox_context_init(GVirSandboxContext *ctxt) { ctxt->priv = GVIR_SANDBOX_CONTEXT_GET_PRIVATE(ctxt); } /** * gvir_sandbox_context_get_config: * @ctxt: (transfer none): the sandbox context * * Retrieves the sandbox configuration * * Returns: (transfer full): the current configuration */ GVirSandboxConfig *gvir_sandbox_context_get_config(GVirSandboxContext *ctxt) { GVirSandboxContextPrivate *priv = ctxt->priv; g_object_ref(priv->config); return priv->config; } /** * gvir_sandbox_context_get_domain: * @ctxt: (transfer none): the sandbox context * * Retrieves the sandbox domain (if running) * * Returns: (transfer full): the current domain or NULL */ GVirDomain *gvir_sandbox_context_get_domain(GVirSandboxContext *ctxt, GError **error) { GVirSandboxContextPrivate *priv = ctxt->priv; if (!priv->domain) { g_set_error(error, GVIR_SANDBOX_CONTEXT_ERROR, 0, _("Domain is not currently running")); return NULL; } return g_object_ref(priv->domain); } /** * gvir_sandbox_context_get_connection: * @ctxt: (transfer none): the sandbox context * * Retrieves the sandbox connection * * Returns: (transfer full): the current connection or NULL */ GVirConnection *gvir_sandbox_context_get_connection(GVirSandboxContext *ctxt) { GVirSandboxContextPrivate *priv = ctxt->priv; if (priv->connection) g_object_ref(priv->connection); return priv->connection; } static gboolean gvir_sandbox_context_start_default(GVirSandboxContext *ctxt, GError **error) { GVirSandboxContextPrivate *priv = ctxt->priv; if (priv->domain) { *error = g_error_new(GVIR_SANDBOX_CONTEXT_ERROR, 0, "%s", "A previously built sandbox still exists"); return FALSE; } return TRUE; } static gboolean gvir_sandbox_context_attach_default(GVirSandboxContext *ctxt, GError **error) { GVirSandboxContextPrivate *priv = ctxt->priv; if (priv->domain) { *error = g_error_new(GVIR_SANDBOX_CONTEXT_ERROR, 0, "%s", "A previously built sandbox still exists"); return FALSE; } if (!gvir_connection_fetch_domains(priv->connection, NULL, error)) return FALSE; if (!(priv->domain = gvir_connection_find_domain_by_name( priv->connection, gvir_sandbox_config_get_name(priv->config)))) { *error = g_error_new(GVIR_SANDBOX_CONTEXT_ERROR, 0, "Sandbox %s does not exist", gvir_sandbox_config_get_name(priv->config)); return FALSE; } return TRUE; } static gboolean gvir_sandbox_context_detach_default(GVirSandboxContext *ctxt, GError **error) { GVirSandboxContextPrivate *priv = ctxt->priv; if (!priv->domain) { g_set_error(error, GVIR_SANDBOX_CONTEXT_ERROR, 0, _("Sandbox is not currently running")); return FALSE; } g_object_unref(priv->domain); priv->domain = NULL; return TRUE; } static gboolean gvir_sandbox_context_stop_default(GVirSandboxContext *ctxt, GError **error) { GVirSandboxContextPrivate *priv = ctxt->priv; if (!priv->domain) { g_set_error(error, GVIR_SANDBOX_CONTEXT_ERROR, 0, _("Sandbox is not currently running")); return FALSE; } return TRUE; } /** * gvir_sandbox_context_get_log_console: * @ctxt: (transfer none): the sandbox context * * Returns: (transfer full)(allow-none): the sandbox console (or NULL) */ GVirSandboxConsole *gvir_sandbox_context_get_log_console(GVirSandboxContext *ctxt, GError **error) { GVirSandboxContextPrivate *priv = ctxt->priv; GVirSandboxConsole *console; const char *devname = NULL; if (!priv->domain) { g_set_error(error, GVIR_SANDBOX_CONTEXT_ERROR, 0, _("Sandbox is not currently running")); return NULL; } /* XXX get from config */ if (strstr(gvir_connection_get_uri(priv->connection), "lxc")) devname = "console0"; else devname = "serial0"; console = GVIR_SANDBOX_CONSOLE(gvir_sandbox_console_raw_new(priv->connection, priv->domain, devname)); return console; } /** * gvir_sandbox_context_get_shell_console: * @ctxt: (transfer none): the sandbox context * * Returns: (transfer full)(allow-none): the sandbox console (or NULL) */ GVirSandboxConsole *gvir_sandbox_context_get_shell_console(GVirSandboxContext *ctxt, GError **error) { GVirSandboxContextPrivate *priv = ctxt->priv; GVirSandboxConsole *console; const char *devname = NULL; if (!priv->domain) { g_set_error(error, GVIR_SANDBOX_CONTEXT_ERROR, 0, _("Domain is not currently running")); return NULL; } /* XXX get from config */ if (strstr(gvir_connection_get_uri(priv->connection), "lxc")) devname = "console1"; else devname = "serial1"; console = GVIR_SANDBOX_CONSOLE(gvir_sandbox_console_raw_new(priv->connection, priv->domain, devname)); return console; } gboolean gvir_sandbox_context_start(GVirSandboxContext *ctxt, GError **error) { return GVIR_SANDBOX_CONTEXT_GET_CLASS(ctxt)->start(ctxt, error); } gboolean gvir_sandbox_context_stop(GVirSandboxContext *ctxt, GError **error) { return GVIR_SANDBOX_CONTEXT_GET_CLASS(ctxt)->stop(ctxt, error); } gboolean gvir_sandbox_context_attach(GVirSandboxContext *ctxt, GError **error) { return GVIR_SANDBOX_CONTEXT_GET_CLASS(ctxt)->attach(ctxt, error); } gboolean gvir_sandbox_context_detach(GVirSandboxContext *ctxt, GError **error) { return GVIR_SANDBOX_CONTEXT_GET_CLASS(ctxt)->detach(ctxt, error); } gboolean gvir_sandbox_context_is_attached(GVirSandboxContext *ctxt) { GVirSandboxContextPrivate *priv = ctxt->priv; return priv->domain != NULL; } /* * Local variables: * c-indent-level: 4 * c-basic-offset: 4 * indent-tabs-mode: nil * tab-width: 8 * End: */ libvirt-sandbox-0.5.1+git20160404/libvirt-sandbox/libvirt-sandbox-context.h000066400000000000000000000074641275305543100263150ustar00rootroot00000000000000/* * libvirt-sandbox-context.h: libvirt sandbox context * * Copyright (C) 2011 Red Hat, Inc. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. * * This library is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA * * Author: Daniel P. Berrange */ #if !defined(__LIBVIRT_SANDBOX_H__) && !defined(LIBVIRT_SANDBOX_BUILD) #error "Only can be included directly." #endif #ifndef __LIBVIRT_SANDBOX_CONTEXT_H__ #define __LIBVIRT_SANDBOX_CONTEXT_H__ G_BEGIN_DECLS #define GVIR_SANDBOX_TYPE_CONTEXT (gvir_sandbox_context_get_type ()) #define GVIR_SANDBOX_CONTEXT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GVIR_SANDBOX_TYPE_CONTEXT, GVirSandboxContext)) #define GVIR_SANDBOX_CONTEXT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GVIR_SANDBOX_TYPE_CONTEXT, GVirSandboxContextClass)) #define GVIR_SANDBOX_IS_CONTEXT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GVIR_SANDBOX_TYPE_CONTEXT)) #define GVIR_SANDBOX_IS_CONTEXT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GVIR_SANDBOX_TYPE_CONTEXT)) #define GVIR_SANDBOX_CONTEXT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GVIR_SANDBOX_TYPE_CONTEXT, GVirSandboxContextClass)) #define GVIR_SANDBOX_TYPE_CONTEXT_HANDLE (gvir_sandbox_context_handle_get_type ()) typedef struct _GVirSandboxContext GVirSandboxContext; typedef struct _GVirSandboxContextPrivate GVirSandboxContextPrivate; typedef struct _GVirSandboxContextClass GVirSandboxContextClass; struct _GVirSandboxContext { GObject parent; GVirSandboxContextPrivate *priv; /* Do not add fields to this struct */ }; struct _GVirSandboxContextClass { GObjectClass parent_class; /* Class method overrides */ gboolean (*start)(GVirSandboxContext *ctxt, GError **error); gboolean (*stop)(GVirSandboxContext *ctxt, GError **error); gboolean (*attach)(GVirSandboxContext *ctxt, GError **error); gboolean (*detach)(GVirSandboxContext *ctxt, GError **error); gpointer padding[LIBVIRT_SANDBOX_CLASS_PADDING]; }; GType gvir_sandbox_context_get_type(void); GVirSandboxConfig *gvir_sandbox_context_get_config(GVirSandboxContext *ctxt); gboolean gvir_sandbox_context_start(GVirSandboxContext *ctxt, GError **error); gboolean gvir_sandbox_context_stop(GVirSandboxContext *ctxt, GError **error); gboolean gvir_sandbox_context_attach(GVirSandboxContext *ctxt, GError **error); gboolean gvir_sandbox_context_detach(GVirSandboxContext *ctxt, GError **error); gboolean gvir_sandbox_context_is_attached(GVirSandboxContext *ctxt); GVirDomain *gvir_sandbox_context_get_domain(GVirSandboxContext *ctxt, GError **error); GVirConnection *gvir_sandbox_context_get_connection(GVirSandboxContext *ctxt); GVirSandboxConsole *gvir_sandbox_context_get_log_console(GVirSandboxContext *ctxt, GError **error); GVirSandboxConsole *gvir_sandbox_context_get_shell_console(GVirSandboxContext *ctxt, GError **error); G_END_DECLS #endif /* __LIBVIRT_SANDBOX_CONTEXT_H__ */ /* * Local variables: * c-indent-level: 4 * c-basic-offset: 4 * indent-tabs-mode: nil * tab-width: 8 * End: */ libvirt-sandbox-0.5.1+git20160404/libvirt-sandbox/libvirt-sandbox-enum-types.c.template000066400000000000000000000016011275305543100305270ustar00rootroot00000000000000/*** BEGIN file-header ***/ #include /*** END file-header ***/ /*** BEGIN file-production ***/ /* enumerations from "@filename@" */ /*** END file-production ***/ /*** BEGIN value-header ***/ GType @enum_name@_get_type (void) { static volatile gsize g_define_type_id__volatile = 0; if (g_once_init_enter (&g_define_type_id__volatile)) { static const G@Type@Value values[] = { /*** END value-header ***/ /*** BEGIN value-production ***/ { @VALUENAME@, "@VALUENAME@", "@valuenick@" }, /*** END value-production ***/ /*** BEGIN value-tail ***/ { 0, NULL, NULL } }; GType g_define_type_id = g_@type@_register_static (g_intern_static_string ("@EnumName@"), values); g_once_init_leave (&g_define_type_id__volatile, g_define_type_id); } return g_define_type_id__volatile; } /*** END value-tail ***/ libvirt-sandbox-0.5.1+git20160404/libvirt-sandbox/libvirt-sandbox-enum-types.h.template000066400000000000000000000010231275305543100305320ustar00rootroot00000000000000/*** BEGIN file-header ***/ #ifndef __LIBVIRT_SANDBOX_ENUM_TYPES_H__ #define __LIBVIRT_SANDBOX_ENUM_TYPES_H__ G_BEGIN_DECLS /*** END file-header ***/ /*** BEGIN file-production ***/ /* enumerations from "@filename@" */ /*** END file-production ***/ /*** BEGIN value-header ***/ GType @enum_name@_get_type (void) G_GNUC_CONST; #define @ENUMPREFIX@_TYPE_@ENUMSHORT@ (@enum_name@_get_type ()) /*** END value-header ***/ /*** BEGIN file-tail ***/ G_END_DECLS #endif /* __LIBVIRT_SANDBOX_ENUM_TYPES_H__ */ /*** END file-tail ***/ libvirt-sandbox-0.5.1+git20160404/libvirt-sandbox/libvirt-sandbox-init-common.c000066400000000000000000001415351275305543100270530ustar00rootroot00000000000000/* * libvirt-sandbox-init-common.c: common guest startup * * Copyright (C) 2011 Red Hat, Inc. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. * * This library is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA * * Author: Daniel P. Berrange */ #include #include #include #include #include #ifdef HAVE_CAPNG #include #endif #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include "libvirt-sandbox-rpcpacket.h" static gboolean debug = FALSE; static gboolean verbose = FALSE; static int sigwrite; #define ATTR_UNUSED __attribute__((__unused__)) static void sync_data(void); static void umount_fs(void); static void sig_child(int sig ATTR_UNUSED) { char ignore = '1'; if (write(sigwrite, &ignore, 1) != 1) abort(); } static gboolean setup_disk_tags(void) { FILE *fp; gboolean ret = FALSE; static char line[1024]; if (debug) fprintf(stderr, "libvirt-sandbox-init-common: %s: populate /dev/disk/by-tag/\n", __func__); fp = fopen(SANDBOXCONFIGDIR "/disks.cfg", "r"); if (fp == NULL) { fprintf(stderr, "libvirt-sandbox-init-common: %s: cannot open " SANDBOXCONFIGDIR "/disks.cfg: %s\n", __func__, strerror(errno)); goto cleanup; } if (g_mkdir_with_parents("/dev/disk/by-tag",0755) < 0) { fprintf(stderr, "libvirt-sandbox-init-common: %s: cannot create the directory: %s\n", __func__, strerror(errno)); goto cleanup; } while (fgets(line, sizeof line, fp)) { char *tag = line; char *device = strchr(tag, '\t'); gchar *path = NULL; *device = '\0'; device++; char *tmp = strchr(device, '\n'); *tmp = '\0'; path = g_strdup_printf("/dev/disk/by-tag/%s", tag); if (debug) fprintf(stderr, "libvirt-sandbox-init-common: %s: %s -> %s\n", __func__, path, device); if (symlink(device, path) < 0) { fprintf(stderr, "libvirt-sandbox-init-common: %s: cannot create symlink %s -> %s: %s\n", __func__, path, device, strerror(errno)); g_free(path); goto cleanup; } g_free(path); } ret = TRUE; cleanup: if (fp) fclose(fp); return ret; } static int start_shell(void) { pid_t pid; const gchar *devname = "/dev/ttyS1"; if (access(devname, R_OK|W_OK) < 0) { devname = "/dev/tty2"; } if (debug) fprintf(stderr, "libvirt-sandbox-init-common: starting shell %s\n", devname); pid = fork(); if (pid < 0) { fprintf(stderr, "libvirt-sandbox-init-common: %s: cannot fork: %s\n", __func__, strerror(errno)); return -1; } if (pid == 0) { const char *shellargv[] = { "/bin/sh", NULL }; setsid(); int tty = open(devname, O_RDWR); if (tty < 0) { fprintf(stderr, "libvirt-sandbox-init-common: %s: cannot open %s: %s\n", __func__, devname, strerror(errno)); exit(EXIT_FAILURE); } dup2(tty, STDIN_FILENO); dup2(tty, STDOUT_FILENO); dup2(tty, STDERR_FILENO); close(tty); execv(shellargv[0], (char**)shellargv); fprintf(stderr, "libvirt-sandbox-init-common: %s: cannot execute %s: %s\n", __func__, shellargv[0], strerror(errno)); exit(EXIT_FAILURE); } return 0; } static gboolean start_dhcp(const gchar *devname, GError **error) { const gchar *argv[5]; size_t nargs = 0; gboolean ret; sigset_t newset; sigset_t oldset; argv[nargs++] = "/sbin/dhclient"; if (debug) argv[nargs++] = "-v"; argv[nargs++] = "--no-pid"; argv[nargs++] = devname; argv[nargs++] = NULL; sigemptyset(&newset); sigaddset(&newset, SIGHUP); sigprocmask(SIG_BLOCK, &newset, &oldset); ret = g_spawn_sync(NULL, (gchar**)argv, NULL, 0, NULL, NULL, NULL, NULL, NULL, error); sigprocmask(SIG_SETMASK, &oldset, NULL); return ret; } static gboolean add_address(const gchar *devname, GVirSandboxConfigNetworkAddress *config, GError **error) { GInetAddress *addr = gvir_sandbox_config_network_address_get_primary(config); guint prefix = gvir_sandbox_config_network_address_get_prefix(config); GInetAddress *bcast = gvir_sandbox_config_network_address_get_broadcast(config); gchar *addrstr = g_inet_address_to_string(addr); gchar *fulladdrstr = g_strdup_printf("%s/%u", addrstr, prefix); gchar *bcaststr = bcast ? g_inet_address_to_string(bcast) : NULL; gboolean ret = FALSE; const gchar *argv1a[] = { "/sbin/ip", "addr", "add", fulladdrstr, "broadcast", bcaststr, "dev", devname, NULL }; const gchar *argv1b[] = { "/sbin/ip", "addr", "add", fulladdrstr, "dev", devname, NULL }; const gchar *argv2[] = { "/sbin/ip", "link", "set", devname, "up", NULL }; if (bcaststr) { if (!g_spawn_sync(NULL, (gchar**)argv1a, NULL, 0, NULL, NULL, NULL, NULL, NULL, error)) goto cleanup; } else { if (!g_spawn_sync(NULL, (gchar**)argv1b, NULL, 0, NULL, NULL, NULL, NULL, NULL, error)) goto cleanup; } if (!g_spawn_sync(NULL, (gchar**)argv2, NULL, 0, NULL, NULL, NULL, NULL, NULL, error)) goto cleanup; ret = TRUE; cleanup: g_free(addrstr); g_free(bcaststr); g_free(fulladdrstr); return ret; } static gboolean add_route(const gchar *devname, GVirSandboxConfigNetworkRoute *config, GError **error) { guint prefix = gvir_sandbox_config_network_route_get_prefix(config); GInetAddress *gateway = gvir_sandbox_config_network_route_get_gateway(config); GInetAddress *target = gvir_sandbox_config_network_route_get_target(config); gchar *targetstr = g_inet_address_to_string(target); gchar *fulltargetstr = g_strdup_printf("%s/%u", targetstr, prefix); gchar *gatewaystr = g_inet_address_to_string(gateway); gboolean ret = FALSE; const gchar *argv[] = { "/sbin/ip", "route", "add", fulltargetstr, "via", gatewaystr, "dev", devname, NULL }; if (!g_spawn_sync(NULL, (gchar**)argv, NULL, 0, NULL, NULL, NULL, NULL, NULL, error)) goto cleanup; ret = TRUE; cleanup: g_free(fulltargetstr); g_free(gatewaystr); g_free(targetstr); return ret; } static gboolean setup_network_device(GVirSandboxConfigNetwork *config, const gchar *devname, GError **error) { GList *addrs = NULL; GList *routes = NULL; GList *tmp; gboolean ret = FALSE; if (gvir_sandbox_config_network_get_dhcp(config)) { if (!start_dhcp(devname, error)) goto cleanup; } else { tmp = addrs = gvir_sandbox_config_network_get_addresses(config); while (tmp) { GVirSandboxConfigNetworkAddress *addr = tmp->data; if (!add_address(devname, addr, error)) goto cleanup; tmp = tmp->next; } tmp = routes = gvir_sandbox_config_network_get_routes(config); while (tmp) { GVirSandboxConfigNetworkRoute *route = tmp->data; if (!add_route(devname, route, error)) goto cleanup; tmp = tmp->next; } } ret = TRUE; cleanup: g_list_foreach(addrs, (GFunc)g_object_unref, NULL); g_list_free(addrs); g_list_foreach(routes, (GFunc)g_object_unref, NULL); g_list_free(routes); return ret; } static gboolean setup_network(GVirSandboxConfig *config, GError **error) { int i = 0; GList *nets, *tmp; gchar *devname = NULL; gboolean ret = FALSE; nets = tmp = gvir_sandbox_config_get_networks(config); while (tmp) { GVirSandboxConfigNetwork *netconfig = tmp->data; g_free(devname); devname = g_strdup_printf("eth%d", i++); if (!setup_network_device(netconfig, devname, error)) goto cleanup; tmp = tmp->next; } ret = TRUE; cleanup: g_free(devname); g_list_foreach(nets, (GFunc)g_object_unref, NULL); g_list_free(nets); return ret; } static gboolean setup_custom_env(GVirSandboxConfig *config, GError **error) { gboolean ret = FALSE; GHashTableIter iter; gpointer key, value; g_hash_table_iter_init (&iter, gvir_sandbox_config_get_envs(config)); while (g_hash_table_iter_next (&iter, &key, &value)){ if(setenv(key,value,1)!=0) goto cleanup; } ret = TRUE; cleanup: return ret; } static int change_user(const gchar *user, uid_t uid, gid_t gid, const gchar *home) { if (debug) fprintf(stderr, "libvirt-sandbox-init-common: changing user %s %d %d %s\n", user, uid, gid, home); if (g_str_equal(user, "root")) return 0; setenv("HOME", home, 1); setenv("USER", user, 1); setenv("USERNAME", user, 1); setenv("LOGNAME", user, 1); #ifdef HAVE_CAPNG capng_clear(CAPNG_SELECT_BOTH); if (capng_change_id(uid, gid, CAPNG_DROP_SUPP_GRP | CAPNG_CLEAR_BOUNDING)) { fprintf(stderr, "Cannot change ID to %d:%d: %s\n", uid, gid, strerror(errno)); return -1; } #else if (setgroups(0, NULL) < 0) { fprintf(stderr, "Cannot clear supplementary groups IDs: %s\n", strerror(errno)); return -1; } if (setregid(gid, gid) < 0) { fprintf(stderr, "Cannot change group ID to %d: %s\n", gid, strerror(errno)); return -1; } if (setreuid(uid, uid) < 0) { fprintf(stderr, "Cannot change user ID to %d: %s\n", uid, strerror(errno)); return -1; } #endif if (chdir(home) < 0) { if (chdir("/") < 0) { fprintf(stderr, "Cannot change working directory to %s or /: %s", home, strerror(errno)); return -1; } } return 0; } static gboolean run_command(GVirSandboxConfig *config, pid_t *child, int *appin, int *appout, int *apperr) { GVirSandboxConfigInteractive *iconfig = GVIR_SANDBOX_CONFIG_INTERACTIVE(config); int pid; int master = -1; int slave = -1; int pipein[2] = { -1, -1}; int pipeout[2] = { -1, -1}; int pipeerr[2] = { -1, -1}; gchar **appargv = gvir_sandbox_config_get_command(config); gboolean wanttty = gvir_sandbox_config_interactive_get_tty(iconfig); if (debug) fprintf(stderr, "libvirt-sandbox-init-common: running command %s %d\n", appargv[0], wanttty); *appin = *appout = -1; if (wanttty) { if (openpty(&master, &slave, NULL, NULL, NULL) < 0) { fprintf(stderr, "Cannot setup slave for child: %s\n", strerror(errno)); goto error; } if (!g_str_equal(gvir_sandbox_config_get_username(config), "root")) { if (fchown(slave, gvir_sandbox_config_get_userid(config), gvir_sandbox_config_get_groupid(config)) < 0) { fprintf(stderr, "Cannot make PTY available to user: %s\n", strerror(errno)); goto error; } } *appin = master; *appout = master; *apperr = master; } else { if (pipe(pipein) < 0 || pipe(pipeout) < 0 || pipe(pipeerr) < 0) { fprintf(stderr, "Cannot open pipe for child: %s\n", strerror(errno)); goto error; } *appin = pipein[1]; *appout = pipeout[0]; *apperr = pipeerr[0]; } if ((pid = fork()) < 0) { fprintf(stderr, "Cannot fork child %s\n", strerror(errno)); goto error; } if (pid == 0) { if (change_user(gvir_sandbox_config_get_username(config), gvir_sandbox_config_get_userid(config), gvir_sandbox_config_get_groupid(config), gvir_sandbox_config_get_homedir(config)) < 0) exit(EXIT_FAILURE); if (wanttty) { close(master); close(STDIN_FILENO); close(STDOUT_FILENO); close(STDERR_FILENO); if (dup2(slave, STDIN_FILENO) != STDIN_FILENO) abort(); if (dup2(slave, STDOUT_FILENO) != STDOUT_FILENO) abort(); if (dup2(slave, STDERR_FILENO) != STDERR_FILENO) abort(); if (setsid() < 0) { fprintf(stderr, "Cannot start new session ID: %s\n", strerror(errno)); abort(); } } else { close(pipein[1]); close(pipeout[0]); close(pipeerr[0]); close(STDIN_FILENO); close(STDOUT_FILENO); close(STDERR_FILENO); if (dup2(pipein[0], STDIN_FILENO) != STDIN_FILENO) abort(); if (dup2(pipeout[1], STDOUT_FILENO) != STDOUT_FILENO) abort(); if (dup2(pipeerr[1], STDERR_FILENO) != STDERR_FILENO) abort(); } execvp(appargv[0], appargv); fprintf(stderr, "Cannot execute '%s': %s\n", appargv[0], strerror(errno)); exit(EXIT_FAILURE); } if (wanttty) { close(slave); } else { close(pipein[0]); close(pipeout[1]); close(pipeerr[1]); } *child = pid; g_strfreev(appargv); return TRUE; error: if (wanttty) { if (master != -1) close(master); if (slave != -1) close(slave); } else { if (pipein[0] < 0) close(pipein[0]); if (pipein[1] < 0) close(pipein[1]); if (pipeout[0] < 0) close(pipeout[0]); if (pipeout[1] < 0) close(pipeout[1]); if (pipeerr[0] < 0) close(pipeerr[0]); if (pipeerr[1] < 0) close(pipeerr[1]); } *appin = *appout = *apperr = -1; g_strfreev(appargv); return FALSE; } static GVirSandboxRPCPacket *gvir_sandbox_encode_stdout(const gchar *data, gsize len, unsigned int serial, GError **error) { GVirSandboxRPCPacket *pkt = gvir_sandbox_rpcpacket_new(FALSE); pkt->header.proc = GVIR_SANDBOX_PROTOCOL_PROC_STDOUT; pkt->header.status = GVIR_SANDBOX_PROTOCOL_STATUS_OK; pkt->header.type = GVIR_SANDBOX_PROTOCOL_TYPE_DATA; pkt->header.serial = serial; if (!gvir_sandbox_rpcpacket_encode_header(pkt, error)) goto error; if (!gvir_sandbox_rpcpacket_encode_payload_raw(pkt, data, len, error)) goto error; if (debug) fprintf(stderr, "Ready to send %zu %zu %zu\n", len, pkt->bufferLength, pkt->bufferOffset); return pkt; error: gvir_sandbox_rpcpacket_free(pkt); return NULL; } static GVirSandboxRPCPacket *gvir_sandbox_encode_stderr(const gchar *data, gsize len, unsigned int serial, GError **error) { GVirSandboxRPCPacket *pkt = gvir_sandbox_rpcpacket_new(FALSE); pkt->header.proc = GVIR_SANDBOX_PROTOCOL_PROC_STDERR; pkt->header.status = GVIR_SANDBOX_PROTOCOL_STATUS_OK; pkt->header.type = GVIR_SANDBOX_PROTOCOL_TYPE_DATA; pkt->header.serial = serial; if (!gvir_sandbox_rpcpacket_encode_header(pkt, error)) goto error; if (!gvir_sandbox_rpcpacket_encode_payload_raw(pkt, data, len, error)) goto error; return pkt; error: gvir_sandbox_rpcpacket_free(pkt); return NULL; } static GVirSandboxRPCPacket *gvir_sandbox_encode_exit(int status, unsigned int serial, GError **error) { GVirSandboxRPCPacket *pkt = gvir_sandbox_rpcpacket_new(FALSE); GVirSandboxProtocolMessageExit msg; memset(&msg, 0, sizeof(msg)); msg.status = status; pkt->header.proc = GVIR_SANDBOX_PROTOCOL_PROC_EXIT; pkt->header.status = GVIR_SANDBOX_PROTOCOL_STATUS_OK; pkt->header.type = GVIR_SANDBOX_PROTOCOL_TYPE_MESSAGE; pkt->header.serial = serial; /* The host may destroy the guest any time after receiving * the exit code messages. So although the main() has code * to sync + unmount we can't rely on that running. So we * opportunistically sync + unmount here too. */ sync_data(); umount_fs(); if (!gvir_sandbox_rpcpacket_encode_header(pkt, error)) goto error; if (!gvir_sandbox_rpcpacket_encode_payload_msg(pkt, (xdrproc_t)xdr_GVirSandboxProtocolMessageExit, (void*)&msg, error)) goto error; return pkt; error: gvir_sandbox_rpcpacket_free(pkt); return NULL; } /* Copied & adapted from libguestfs daemon/sync.c under LGPLv2+ */ static void sync_data(void) { DIR *dir; struct dirent *d; char *dev_path; int fd; if (debug) fprintf(stderr, "Syncing data\n"); sync(); /* On Linux, sync(2) doesn't perform a barrier, so qemu (which may * have a writeback cache, even with cache=none) will still have * some unwritten data. Force the data out of any qemu caches, by * calling fsync on all block devices. Note we still need the * call to sync above in order to schedule the writes. * Thanks to: Avi Kivity, Kevin Wolf. */ if (!(dir = opendir("/dev"))) { fprintf(stderr, "opendir: /dev failed %s\n", strerror(errno)); return; } for (;;) { errno = 0; d = readdir(dir); if (!d) break; if (!(g_str_has_prefix(d->d_name, "sd") || g_str_has_prefix(d->d_name, "hd") || g_str_has_prefix(d->d_name, "ubd") || g_str_has_prefix(d->d_name, "vd") || g_str_has_prefix(d->d_name, "sr"))) { continue; } dev_path = g_strdup_printf("/dev/%s", d->d_name); if (debug) fprintf(stderr, "Syncing fd %s\n", dev_path); if ((fd = open(dev_path, O_RDONLY)) < 0) { fprintf(stderr, "cannot open %s: %s\n", dev_path, strerror(errno)); g_free(dev_path); continue; } /* fsync the device. */ if (debug) { fprintf(stderr, "fsync %s\n", dev_path); } if (fsync(fd) < 0) { fprintf(stderr, "failed to fsync %s: %s\n", dev_path, strerror(errno)); } if (close(fd) < 0) { fprintf(stderr, "failed to close %s: %s\n", dev_path, strerror(errno)); } g_free(dev_path); } /* Check readdir didn't fail */ if (errno != 0) { fprintf(stderr, "Failed to read /dev: %s\n", strerror(errno)); } /* Close the directory handle */ if (closedir(dir) < 0) { fprintf(stderr, "Failed to block /dev: %s\n", strerror(errno)); } if (debug) fprintf(stderr, "Syncing complete\n"); } static int compare_longest_first (gconstpointer vp1, gconstpointer vp2) { int n1 = strlen(vp1); int n2 = strlen(vp2); return n2 - n1; } /* Copied & adapted from libguestfs daemon/sync.c under LGPLv2+ */ static void umount_fs(void) { FILE *fp; struct mntent *m; GList *mounts = NULL, *tmp; if (debug) fprintf(stderr, "Unmounting all filesystems\n"); if (!(fp = setmntent ("/proc/mounts", "r"))) { if (debug) fprintf(stderr, "Failed to open /proc/mounts: %s\n", strerror(errno)); return; } while ((m = getmntent (fp)) != NULL) { if (debug) fprintf(stderr, "Got fsname=%s dir=%s type=%s opts=%s freq=%d passno=%d\n", m->mnt_fsname, m->mnt_dir, m->mnt_type, m->mnt_opts, m->mnt_freq, m->mnt_passno); mounts = g_list_append(mounts, g_strdup(m->mnt_dir)); } endmntent(fp); mounts = g_list_sort(mounts, compare_longest_first); /* Unmount them. */ tmp = mounts; while (tmp) { char *dir = tmp->data; if (debug) fprintf(stderr, "Unmounting %s\n", dir); if (umount(dir) < 0) { /* We expect some failures, so don't pollute * logs with them uneccessarily */ if (debug) fprintf(stderr, "cannot unmount %s: %s\n", dir, strerror(errno)); /* ignore failure */ } g_free(dir); tmp = tmp->next; } g_list_free(mounts); if (debug) fprintf(stderr, "Unmounting complete\n"); } static gssize read_data(int fd, char *buf, size_t len) { gssize got; reread: got = read(fd, buf, len); if (got < 0) { if (errno == EAGAIN) return 0; if (errno == EINTR) goto reread; if (debug) fprintf(stderr, "Unable to read data: %s\n", strerror(errno)); return -1; } return got; } static gssize write_data(int fd, const char *buf, size_t len) { gssize got; rewrite: got = write(fd, buf, len); if (got < 0) { if (errno == EAGAIN) return 0; if (errno == EINTR) goto rewrite; if (debug) fprintf(stderr, "Unable to write data: %s\n", strerror(errno)); return -1; } return got; } typedef enum { GVIR_SANDBOX_CONSOLE_STATE_WAITING, GVIR_SANDBOX_CONSOLE_STATE_SYNCING, GVIR_SANDBOX_CONSOLE_STATE_RUNNING, } GVirSandboxConsoleState; static gboolean eventloop(GVirSandboxConfig *config, int sigread, int host) { GVirSandboxRPCPacket *rx = NULL; GVirSandboxRPCPacket *tx = NULL; gboolean quit = FALSE; gboolean appOutEOF = FALSE; gboolean appErrEOF = FALSE; gboolean appQuit = FALSE; int exitstatus = 0; gchar *hostToStdin = NULL; gsize hostToStdinLength = 0; gsize hostToStdinOffset = 0; unsigned int serial = 0; pid_t child = 0; int appin = -1; int appout = -1; int apperr = -1; gboolean ret = FALSE; GVirSandboxConsoleState state = GVIR_SANDBOX_CONSOLE_STATE_WAITING; if (debug) fprintf(stderr, "libvirt-sandbox-init-common: running I/O loop %d %d", appin, appout); rx = gvir_sandbox_rpcpacket_new(FALSE); rx->bufferLength = 1; /* Ready to get a sync packet */ while (!quit) { int i; struct pollfd fds[6]; size_t nfds = 0; int appinEv = 0; int appoutEv = 0; int apperrEv = 0; int hostEv = 0; fds[nfds].fd = sigread; fds[nfds].events = POLLIN; nfds++; switch (state) { case GVIR_SANDBOX_CONSOLE_STATE_WAITING: hostEv = POLLIN; break; case GVIR_SANDBOX_CONSOLE_STATE_SYNCING: hostEv = POLLIN; if (tx) hostEv |= POLLOUT; break; case GVIR_SANDBOX_CONSOLE_STATE_RUNNING: if (hostToStdin && appin != -1) appinEv |= POLLOUT; else if (rx != NULL) hostEv |= POLLIN; if (tx != NULL) hostEv |= POLLOUT; else { if (!appOutEOF && appout != -1) appoutEv |= POLLIN; if ((appout != apperr) && !appErrEOF && apperr != -1) apperrEv |= POLLIN; } break; default: break; } if (appinEv) { fds[nfds].fd = appin; fds[nfds].events = appinEv; nfds++; } if (appoutEv) { fds[nfds].fd = appout; fds[nfds].events = appoutEv; nfds++; } if (apperrEv) { fds[nfds].fd = apperr; fds[nfds].events = apperrEv; nfds++; } if (hostEv) { fds[nfds].fd = host; fds[nfds].events = hostEv; nfds++; } repoll: if (poll(fds, nfds, -1) < 0) { if (errno == EINTR) goto repoll; if (debug) fprintf(stderr, "Poll error:%s\n", strerror(errno)); return -1; } for (i = 0 ; i < nfds ; i++) { gssize got; if (fds[i].fd == sigread) { /* The self-pipe signal handler */ if (fds[i].revents) { char ignore; pid_t rv; if (read(sigread, &ignore, 1) != 1) goto cleanup; while (1) { rv = waitpid(-1, &exitstatus, WNOHANG); if (rv == -1 || rv == 0) break; if (rv == child) { appQuit = TRUE; if (appErrEOF && appOutEOF) { if (debug) fprintf(stderr, "Encoding exit status sigchild %d\n", exitstatus); if (!(tx = gvir_sandbox_encode_exit(exitstatus, serial++, NULL))) goto cleanup; } } } } } else if (fds[i].fd == host) { /* The channel to the virt-sandbox library client in host */ if (fds[i].revents & POLLIN) { if (debug) fprintf(stderr, "host readable\n"); if (rx) { readmore: got = read_data(host, rx->buffer + rx->bufferOffset, rx->bufferLength - rx->bufferOffset); if (debug) fprintf(stderr, "read %zd %zu %zu\n", got, rx->bufferLength, rx->bufferOffset); if (got <= 0) { gvir_sandbox_rpcpacket_free(rx); rx = NULL; quit = TRUE; } else { rx->bufferOffset += got; if (rx->bufferLength == rx->bufferOffset) { switch (state) { case GVIR_SANDBOX_CONSOLE_STATE_WAITING: /* We now expect a 'wait' byte. Anything else is bad */ if (rx->buffer[0] != GVIR_SANDBOX_PROTOCOL_HANDSHAKE_WAIT) { if (debug) fprintf(stderr, "Unexpected syntax byte %d", rx->buffer[0]); goto cleanup; } state = GVIR_SANDBOX_CONSOLE_STATE_SYNCING; if (debug) fprintf(stderr, "Sending sync confirm\n"); /* Great, we can sync with the host now */ tx = gvir_sandbox_rpcpacket_new(FALSE); tx->buffer[0] = GVIR_SANDBOX_PROTOCOL_HANDSHAKE_SYNC; tx->bufferLength = 1; tx->bufferOffset = 0; rx->bufferLength = 1; rx->bufferOffset = 0; break; case GVIR_SANDBOX_CONSOLE_STATE_SYNCING: /* We now expect a 'sync' byte. We might still get a few * 'wait' bytes which we need to ignore. Anything else is bad */ if (rx->buffer[0] != GVIR_SANDBOX_PROTOCOL_HANDSHAKE_WAIT && rx->buffer[0] != GVIR_SANDBOX_PROTOCOL_HANDSHAKE_SYNC) { if (debug) fprintf(stderr, "Unexpected syntax byte %d", rx->buffer[0]); goto cleanup; } /* We've got a 'sync' from the host. Now we can launch * the command we know neither side will loose any I/O */ if (rx->buffer[0] == GVIR_SANDBOX_PROTOCOL_HANDSHAKE_SYNC) { if (debug) fprintf(stderr, "Running command\n"); if (!run_command(config, &child, &appin, &appout, &apperr)) { if (debug) fprintf(stderr, "Failed to run command\n"); goto cleanup; } state = GVIR_SANDBOX_CONSOLE_STATE_RUNNING; rx->bufferLength = 4; rx->bufferOffset = 0; } else { if (debug) fprintf(stderr, "Ignoring delayed wait\n"); rx->bufferLength = 1; rx->bufferOffset = 0; } break; case GVIR_SANDBOX_CONSOLE_STATE_RUNNING: if (debug) fprintf(stderr, "Read packet %zu\n", rx->bufferLength); if (rx->bufferLength == GVIR_SANDBOX_PROTOCOL_LEN_MAX) { GError *error = NULL; if (!gvir_sandbox_rpcpacket_decode_length(rx, &error)) { if (debug) fprintf(stderr, "Cannot decode length %zu: %s\n", rx->bufferLength, error->message); goto cleanup; } goto readmore; } else { if (!gvir_sandbox_rpcpacket_decode_header(rx, NULL)) { if (debug) fprintf(stderr, "Cannot decode header %zu\n", rx->bufferLength); goto cleanup; } switch (rx->header.proc) { case GVIR_SANDBOX_PROTOCOL_PROC_STDIN: if (rx->bufferLength - rx->bufferOffset) { hostToStdinOffset = 0; hostToStdinLength = rx->bufferLength - rx->bufferOffset; hostToStdin = g_new0(gchar, hostToStdinLength); memcpy(hostToStdin, rx->buffer + rx->bufferOffset, hostToStdinLength); if (debug) fprintf(stderr, "Processed stdin %zu\n", hostToStdinLength); } else { close(appin); appin = -1; } break; case GVIR_SANDBOX_PROTOCOL_PROC_QUIT: quit = TRUE; break; case GVIR_SANDBOX_PROTOCOL_PROC_STDOUT: case GVIR_SANDBOX_PROTOCOL_PROC_STDERR: case GVIR_SANDBOX_PROTOCOL_PROC_EXIT: default: if (debug) fprintf(stderr, "Unexpected proc %u\n", rx->header.proc); goto cleanup; } } gvir_sandbox_rpcpacket_free(rx); rx = NULL; break; default: if (debug) fprintf(stderr, "Unexpected state %d\n", state); break; } } } } fds[i].revents &= ~(POLLIN); } if (fds[i].revents & POLLOUT) { if (debug) fprintf(stderr, "Host writable\n"); if (tx) { got = write_data(host, tx->buffer + tx->bufferOffset, tx->bufferLength - tx->bufferOffset); if (got < 0) { if (debug) fprintf(stderr, "Cannot write packet to host %s\n", strerror(errno)); gvir_sandbox_rpcpacket_free(tx); tx = NULL; quit = TRUE; } else { tx->bufferOffset += got; if (tx->bufferOffset == tx->bufferLength) { if (debug) fprintf(stderr, "Wrote packet %zu to host\n", tx->bufferOffset); gvir_sandbox_rpcpacket_free(tx); tx = NULL; } } } fds[i].revents &= ~(POLLOUT); } if (fds[i].revents) { quit = TRUE; } } else if (fds[i].fd == appin && fds[i].fd == appout) { /* The child application, when using a psuedo-tty */ if (fds[i].revents & POLLIN) { if (!tx) { gsize len = 4096; gchar *buf = g_new0(gchar, len); got = read_data(appout, buf, len); if (got <= 0) { if (got < 0 && debug) fprintf(stderr, "Failed to read from app %s\n", strerror(errno)); appOutEOF = TRUE; appErrEOF = TRUE; if (appQuit) { if (debug) fprintf(stderr, "Encoding exit status appout tty %d\n", exitstatus); if (!(tx = gvir_sandbox_encode_exit(exitstatus, serial++, NULL))) goto cleanup; } } else { if (!(tx = gvir_sandbox_encode_stdout(buf, got, serial++, NULL))) { g_free(buf); if (debug) fprintf(stderr, "Failed to encode stdout\n"); goto cleanup; } } g_free(buf); } fds[i].revents &= ~(POLLIN | POLLHUP); } if (fds[i].revents & POLLOUT) { if (hostToStdin) { got = write_data(appin, hostToStdin + hostToStdinOffset, hostToStdinLength - hostToStdinOffset); if (got < 0) { if (debug) fprintf(stderr, "Failed to write to app %s\n", strerror(errno)); g_free(hostToStdin); hostToStdin = NULL; hostToStdinLength = hostToStdinOffset = 0; } else { hostToStdinOffset += got; if (hostToStdinOffset == hostToStdinLength) { g_free(hostToStdin); hostToStdin = NULL; hostToStdinLength = hostToStdinOffset = 0; rx = gvir_sandbox_rpcpacket_new(TRUE); } } } fds[i].revents &= ~(POLLOUT | POLLHUP); } if (fds[i].revents & POLLHUP) { appOutEOF = TRUE; appErrEOF = TRUE; if (appQuit) { if (debug) fprintf(stderr, "Encoding exit status due to HUP %d\n", exitstatus); if (!(tx = gvir_sandbox_encode_exit(exitstatus, serial++, NULL))) goto cleanup; } } } else if (fds[i].fd == appin) { /* The child stdin when using a plain pipe */ if (fds[i].revents && hostToStdin) { got = write_data(appin, hostToStdin + hostToStdinOffset, hostToStdinLength - hostToStdinOffset); if (got < 0) { g_free(hostToStdin); hostToStdin = NULL; hostToStdinLength = hostToStdinOffset = 0; } else { hostToStdinOffset += got; if (hostToStdinOffset == hostToStdinLength) { g_free(hostToStdin); hostToStdin = NULL; hostToStdinLength = hostToStdinOffset = 0; rx = gvir_sandbox_rpcpacket_new(TRUE); } } } } else if (fds[i].fd == appout) { /* The child stdout when using a plain pipe */ if (fds[i].revents && !tx) { if (!tx) { gsize len = 4096; gchar *buf = g_new0(gchar, len); got = read_data(appout, buf, len); if (got <= 0) { appOutEOF = TRUE; if (appErrEOF && appQuit) { if (debug) fprintf(stderr, "Encoding exit status appout %d\n", exitstatus); if (!(tx = gvir_sandbox_encode_exit(exitstatus, serial++, NULL))) goto cleanup; } } else { if (!(tx = gvir_sandbox_encode_stdout(buf, got, serial++, NULL))) { g_free(buf); goto cleanup; } } g_free(buf); } } } else if (fds[i].fd == apperr) { /* The child stderr when using a plain pipe */ if (fds[i].revents && !tx) { if (!tx) { gsize len = 4096; gchar *buf = g_new0(gchar, len); got = read_data(apperr, buf, len); if (got <= 0) { appErrEOF = TRUE; if (appOutEOF && appQuit) { if (debug) fprintf(stderr, "Encoding exit status apperr %d\n", exitstatus); if (!(tx = gvir_sandbox_encode_exit(exitstatus, serial++, NULL))) goto cleanup; } } else { if (!(tx = gvir_sandbox_encode_stderr(buf, got, serial++, NULL))) { g_free(buf); goto cleanup; } } g_free(buf); } } } } } ret = TRUE; cleanup: if (appin != -1) { close(appin); if (appin == appout) appout = -1; if (appin == apperr) apperr = -1; } if (appout != -1) close(appout); if (apperr != -1) close(apperr); return ret; } static int run_interactive(GVirSandboxConfig *config) { int sigpipe[2] = { -1, -1 }; int host = -1; int ret = -1; struct termios rawattr; const char *devname; if (pipe(sigpipe) < 0) { g_printerr(_("libvirt-sandbox-init-common: unable to create signal pipe: %s"), strerror(errno)); return -1; } sigwrite = sigpipe[1]; signal(SIGCHLD, sig_child); /* XXX lame hack */ if (getenv("LIBVIRT_LXC_NAME")) { if (gvir_sandbox_config_get_shell(config)) devname = "/dev/tty3"; else devname = "/dev/tty2"; } else { devname = "/dev/hvc0"; } if ((host = open(devname, O_RDWR)) < 0) { g_printerr(_("libvirt-sandbox-init-common: cannot open %s: %s"), devname, strerror(errno)); goto cleanup; } tcgetattr(STDIN_FILENO, &rawattr); cfmakeraw(&rawattr); tcsetattr(STDIN_FILENO, TCSAFLUSH, &rawattr); tcgetattr(host, &rawattr); cfmakeraw(&rawattr); tcsetattr(host, TCSAFLUSH, &rawattr); if (!eventloop(config, sigpipe[0], host)) goto cleanup; ret = 0; cleanup: signal(SIGCHLD, SIG_DFL); if (sigpipe[0] != -1) close(sigpipe[0]); if (sigpipe[1] != -1) close(sigpipe[1]); if (host != -1) close(host); return ret; } static int run_service(GVirSandboxConfig *config) { gchar **command = gvir_sandbox_config_get_command(config); if (change_user(gvir_sandbox_config_get_username(config), gvir_sandbox_config_get_userid(config), gvir_sandbox_config_get_groupid(config), gvir_sandbox_config_get_homedir(config)) < 0) return -1; execv(command[0], (char**)command); g_printerr(_("libvirt-sandbox-init-common: %s: cannot execute %s: %s\n"), __func__, command[0], strerror(errno)); return -1; } static void libvirt_sandbox_version(void) { g_print(_("%s version %s\n"), PACKAGE, VERSION); exit(EXIT_SUCCESS); } int main(int argc, char **argv) { gchar *configfile = NULL; gboolean poweroff = FALSE; GError *error = NULL; GOptionContext *context; GOptionEntry options[] = { { "version", 'V', G_OPTION_FLAG_NO_ARG, G_OPTION_ARG_CALLBACK, libvirt_sandbox_version, N_("display version information"), NULL }, { "verbose", 'v', 0, G_OPTION_ARG_NONE, &verbose, N_("display verbose information"), NULL }, { "debug", 'd', 0, G_OPTION_ARG_NONE, &debug, N_("display debugging information"), NULL }, { "config", 'c', 0, G_OPTION_ARG_STRING, &configfile, N_("config file path"), "URI"}, { "poweroff", 'p', 0, G_OPTION_ARG_NONE, &poweroff, N_("clean power off when exiting"), NULL}, { NULL, 0, 0, G_OPTION_ARG_NONE, NULL, NULL, NULL } }; const char *help_msg = N_("Run '" PACKAGE " --help' to see a full list of available command line options"); GVirSandboxConfig *config; int ret = EXIT_FAILURE; setlocale(LC_ALL, ""); bindtextdomain(PACKAGE, LOCALEDIR); bind_textdomain_codeset(PACKAGE, "UTF-8"); textdomain(PACKAGE); if (geteuid() != 0) { g_printerr(_("%s: must be launched as root\n"), argv[0]); exit(EXIT_FAILURE); } g_set_application_name(_("Libvirt Sandbox Init Common")); context = g_option_context_new (_("- Libvirt Sandbox")); g_option_context_add_main_entries (context, options, NULL); g_option_context_parse (context, &argc, &argv, &error); if (error) { g_printerr("%s: %s\n%s\n", argv[0], error->message, gettext(help_msg)); g_error_free(error); goto cleanup; } g_option_context_free(context); if (!(config = gvir_sandbox_config_load_from_path(configfile ? configfile : SANDBOXCONFIGDIR "/sandbox.cfg", &error))) { g_printerr(_("%s: Unable to load config %s: %s\n"), argv[0], configfile ? configfile : SANDBOXCONFIGDIR "/sandbox.cfg", error->message); g_error_free(error); goto cleanup; } setenv("PATH", "/bin:/usr/bin:/usr/local/bin:/sbin/:/usr/sbin", 1); unsetenv("LD_LIBRARY_PATH"); if (gvir_sandbox_config_get_shell(config) && start_shell() < 0) exit(EXIT_FAILURE); if (!setup_disk_tags()) exit(EXIT_FAILURE); if (!setup_custom_env(config, &error)) goto error; if (!setup_network(config, &error)) goto error; if (GVIR_SANDBOX_IS_CONFIG_INTERACTIVE(config)) { if (run_interactive(config) < 0) goto cleanup; } else if (GVIR_SANDBOX_IS_CONFIG_SERVICE(config)) { if (run_service(config) < 0) goto cleanup; } else { GVirSandboxConfigClass *klass = GVIR_SANDBOX_CONFIG_GET_CLASS(config); g_printerr(_("Unsupported configuration type %s"), g_type_name(G_TYPE_FROM_CLASS(klass))); goto cleanup; } ret = EXIT_SUCCESS; cleanup: if (error) g_error_free(error); sync_data(); if (poweroff) { umount_fs(); reboot(RB_POWER_OFF); /* Should not be reached, but if it is, kernel will panic anyway */ } return ret; error: g_printerr("%s: %s", argv[0], error && error->message ? error->message : _("Unknown failure")); goto cleanup; } /* * Local variables: * c-indent-level: 4 * c-basic-offset: 4 * indent-tabs-mode: nil * tab-width: 8 * End: */ libvirt-sandbox-0.5.1+git20160404/libvirt-sandbox/libvirt-sandbox-init-lxc.c000066400000000000000000000073251275305543100263470ustar00rootroot00000000000000/* * libvirt-sandbox-init-lxc.c: lxc guest startup * * Copyright (C) 2009-2011 Red Hat, Inc. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. * * This library is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA * * Author: Daniel P. Berrange */ /* * This is a crazy small init process that runs as the init * of the container. Its job is to decode the command line * and run the user specified real include. */ #include #include #include #include #include #include #include #include #define STRNEQ(x,y) (strcmp(x,y) != 0) static void set_debug(void); static int has_command_arg(const char *name, char **val); static int debug = 0; int main(int argc, char **argv) { const char *args[50]; int narg = 0; char *strace = NULL; if (getenv("LIBVIRT_LXC_UUID") == NULL) { fprintf(stderr, "libvirt-sandbox-init-lxc: must be run as the 'init' program of an LXC guest\n"); exit(EXIT_FAILURE); } set_debug(); if (debug) fprintf(stderr, "libvirt-sandbox-init-lxc: starting up\n"); memset(&args, 0, sizeof(args)); if (has_command_arg("strace=", &strace) == 0) { args[narg++] = "/usr/bin/strace"; args[narg++] = "-q"; args[narg++] = "-o"; args[narg++] = "/tmp/sandbox.log"; args[narg++] = "-f"; args[narg++] = "-ff"; if (strace && STRNEQ(strace, "1")) { args[narg++] = "-e"; args[narg++] = strace; } args[narg++] = "-s"; args[narg++] = "1000"; } args[narg++] = SANDBOXCONFIGDIR "/.libs/ld.so"; args[narg++] = SANDBOXCONFIGDIR "/.libs/libvirt-sandbox-init-common"; if (debug) args[narg++] = "-d"; if (setenv("LD_LIBRARY_PATH", SANDBOXCONFIGDIR "/.libs", 1) != 0) { fprintf(stderr, "libvirt-sandbox-init-lxc: %s: cannot set LD_LIBRARY_PATH: %s\n", __func__, strerror(errno)); exit(EXIT_FAILURE); } if (debug) fprintf(stderr, "Running interactive\n"); execv(args[0], (char**)args); fprintf(stderr, "libvirt-sandbox-init-lxc: %s: cannot execute %s: %s\n", __func__, args[0], strerror(errno)); exit(EXIT_FAILURE); } static void set_debug(void) { const char *env = getenv("LIBVIRT_LXC_CMDLINE"); if (env && strstr(env, "debug")) debug=1; } static int has_command_arg(const char *name, char **val) { char *cmdline = getenv("LIBVIRT_LXC_CMDLINE"); char *start, *end; if (!cmdline) return -1; start = strstr(cmdline, name); if (!start) return -1; start += strlen(name); if (start[0] == '\n' || start[0] == ' ') { *val = NULL; return 0; } end = strstr(start, " "); if (!end) end = strstr(start, "\n"); if (end) *val = strndup(start, end-start); else *val = strdup(start); return 0; } /* * Local variables: * c-indent-level: 4 * c-basic-offset: 4 * indent-tabs-mode: nil * tab-width: 8 * End: */ libvirt-sandbox-0.5.1+git20160404/libvirt-sandbox/libvirt-sandbox-init-qemu.c000066400000000000000000000534611275305543100265320ustar00rootroot00000000000000/* * libvirt-sandbox-init-qemu.c: qemu guest startup * * Copyright (C) 2009-2011 Red Hat, Inc. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. * * This library is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA * * Author: Daniel P. Berrange */ /* * This is a crazy small init process that runs inside the * initrd of the sandbox. Its job is to mount the virtio * 9p filesystem(s) from the host and hand control to the * user specified program as quickly as possible. */ #include #define _GNU_SOURCE #include #include #include #include #include #include #include #include #include #include #include #include #if WITH_LZMA #include #endif /* WITH_LZMA */ #if WITH_ZLIB #include #endif /* WITH_ZLIB */ #define ATTR_UNUSED __attribute__((__unused__)) #define STREQ(x,y) (strcmp(x,y) == 0) #define STRNEQ(x,y) (strcmp(x,y) != 0) static void print_uptime (void); static void insmod (const char *filename); static void set_debug(void); static int has_command_arg(const char *name, char **val); static int debug = 0; static char line[1024]; static void exit_poweroff(void) __attribute__((noreturn)); static void exit_poweroff(void) { sync(); reboot(RB_POWER_OFF); perror("reboot"); abort(); } static void sig_child(int signum ATTR_UNUSED) { int status; while (1) { int ret = waitpid(-1, &status, WNOHANG); if (ret == -1 || ret == 0) break; } } static void mount_mkdir(const char *dir, int mode); static void mount_mkparent(const char *dir, int mode) { char *tmp = strrchr(dir, '/'); if (tmp && tmp != dir) { char *parent = strndup(dir, tmp - dir); mount_mkdir(parent, mode); free(parent); } } static void mount_mkdir(const char *dir, int mode) { mount_mkparent(dir, 0755); if (debug) fprintf(stderr, "libvirt-sandbox-init-qemu: %s: %s (mode=%o)\n", __func__, dir, mode); if (mkdir(dir, mode) < 0) { if (errno != EEXIST) { fprintf(stderr, "libvirt-sandbox-init-qemu: %s: cannot make directory %s: %s\n", __func__, dir, strerror(errno)); exit_poweroff(); } } } static void mount_mkfile(const char *file, int mode) { int fd; mount_mkparent(file, 0755); if (debug) fprintf(stderr, "libvirt-sandbox-init-qemu: %s: %s (mode=%o)\n", __func__, file, mode); if ((fd = open(file, O_CREAT|O_WRONLY, mode)) < 0 && errno != EEXIST) { fprintf(stderr, "libvirt-sandbox-init-qemu: %s: cannot open file %s: %s\n", __func__, file, strerror(errno)); exit_poweroff(); } if (fd != -1) close(fd); } static void mount_other_opts(const char *dst, const char *type, const char *opts, int mode) { if (debug) fprintf(stderr, "libvirt-sandbox-init-qemu: %s: %s (type=%s opts=%s)\n", __func__, dst, type, opts); mount_mkdir(dst, mode); if (mount("none", dst, type, 0, opts) < 0) { fprintf(stderr, "libvirt-sandbox-init-qemu: %s: cannot mount %s on %s (%s:%s): %s\n", __func__, type, dst, type, opts, strerror(errno)); exit_poweroff(); } if (chmod(dst, mode) < 0) { fprintf(stderr, "libvirt-sandbox-init-qemu: %s: cannot set directory mode %s: %s\n", __func__, dst, strerror(errno)); exit_poweroff(); } } static void mount_other(const char *dst, const char *type, int mode) { mount_other_opts(dst, type, "", mode); } static void mount_9pfs(const char *src, const char *dst, int mode, int readonly) { int flags = 0; if (debug) fprintf(stderr, "libvirt-sandbox-init-qemu: %s: %s -> %s (%d)\n", __func__, src, dst, readonly); mount_mkdir(dst, mode); if (readonly) flags |= MS_RDONLY; if (mount(src, dst, "9p", flags, "trans=virtio,version=9p2000.u") < 0) { fprintf(stderr, "libvirt-sandbox-init-qemu: %s: cannot mount %s on %s (9p): %s\n", __func__, src, dst, strerror(errno)); exit_poweroff(); } } static void mount_entry(const char *source, const char *target, const char *type, const char * opts) { int flags = 0; if (STREQ(type, "")) { struct stat st; type = NULL; flags |= MS_BIND; if (stat(source, &st) < 0) { fprintf(stderr, "libvirt-sandbox-init-qemu: %s: cannot read mount source %s: %s\n", __func__, source, strerror(errno)); exit_poweroff(); } if (S_ISDIR(st.st_mode)) mount_mkdir(target, 755); else mount_mkfile(target, 644); } else { if (STREQ(type, "tmpfs")) flags |= MS_NOSUID | MS_NODEV; mount_mkdir(target, 0755); } if (mount(source, target, type, flags, opts) < 0) { fprintf(stderr, "libvirt-sandbox-init-qemu: %s: cannot mount %s on %s (%s, %s): %s\n", __func__, source, target, type, opts, strerror(errno)); exit_poweroff(); } } #define MOUNTS_CONFIG_FILE SANDBOXCONFIGDIR "/mounts.cfg" static void mount_root(const char *path) { int foundRoot = 0; /* Loop over mounts.cfg to see if we have a candidate for / */ mount_mkdir(SANDBOXCONFIGDIR, 0755); mount_9pfs("sandbox:config", SANDBOXCONFIGDIR, 0755, 1); FILE *fp = fopen(MOUNTS_CONFIG_FILE, "r"); if (!fp) { fprintf(stderr, "libvirt-sandbox-init-qemu: %s: can't open %s: %s", __func__, MOUNTS_CONFIG_FILE, strerror(errno)); exit_poweroff(); } while (fgets(line, sizeof line, fp) && !foundRoot) { char *source = line; char *target = strchr(source, '\t'); *target = '\0'; target++; char *type = strchr(target, '\t'); *type = '\0'; type++; char *opts = strchr(type, '\t'); *opts = '\0'; opts++; char *tmp = strchr(opts, '\n'); *tmp = '\0'; if (STREQ(target, "/")) { int needsDev = strncmp(source, "/dev/", 5) == 0; if (debug) fprintf(stderr, "libvirt-sandbox-init-qemu: found root from %s\n", source); /* In this case, we need to have a /dev before the chroot */ if (needsDev) { mount_other("/proc", "proc", 0755); mount_other("/dev", "devtmpfs", 0755); } mount_entry(source, path, type, opts); if (needsDev) { if (umount("/dev") < 0) { fprintf(stderr, "libvirt-sandbox-init-qemu: %s: " "cannot unmount temporary /dev: %s\n", __func__, strerror(errno)); exit_poweroff(); } if (umount("/proc") < 0) { fprintf(stderr, "libvirt-sandbox-init-qemu: %s: " "cannot unmount temporary /proc: %s\n", __func__, strerror(errno)); exit_poweroff(); } } foundRoot = 1; } } fclose(fp); if (umount(SANDBOXCONFIGDIR) < 0) { fprintf(stderr, "libvirt-sandbox-init-qemu: %s: " "cannot unmount temporary %s: %s\n", __func__, SANDBOXCONFIGDIR, strerror(errno)); exit_poweroff(); } /* If we couldn't get a / in the mounts, then use the host one */ if (!foundRoot) mount_9pfs("sandbox:root", path, 0755, 1); } int main(int argc ATTR_UNUSED, char **argv ATTR_UNUSED) { const char *args[50]; int narg = 0; char *strace = NULL; if (getpid() != 1) { fprintf(stderr, "libvirt-sandbox-init-qemu: must be run as the 'init' program of a KVM guest\n"); exit(EXIT_FAILURE); } set_debug(); if (debug) fprintf(stderr, "libvirt-sandbox-init-qemu: ext2 mini initrd starting up\n"); mount_other("/sys", "sysfs", 0755); FILE *fp = fopen("/modules", "r"); if (fp == NULL) { fprintf(stderr, "libvirt-sandbox-init-qemu: %s: cannot open /modules: %s\n", __func__, strerror(errno)); exit_poweroff(); } while (fgets(line, sizeof line, fp)) { size_t n = strlen(line); if (n > 0 && line[n-1] == '\n') line[--n] = '\0'; insmod(line); } fclose(fp); if (umount("/sys") < 0) { fprintf(stderr, "libvirt-sandbox-init-qemu: %s: cannot unmount /sys: %s\n", __func__, strerror(errno)); exit_poweroff(); } /* Mount new root and chroot to it. */ if (debug) fprintf(stderr, "libvirt-sandbox-init-qemu: mounting new root on /tmproot\n"); mount_root("/tmproot"); /* Note that pivot_root won't work. See the note in * Documentation/filesystems/ramfs-rootfs-initramfs.txt * We could remove the old initramfs files, but let's not bother. */ if (debug) fprintf(stderr, "libvirt-sandbox-init-qemu: chroot\n"); if (chroot("/tmproot") < 0) { fprintf(stderr, "libvirt-sandbox-init-qemu: %s: cannot chroot to /tmproot: %s\n", __func__, strerror(errno)); exit_poweroff(); } if (chdir("/") < 0) { fprintf(stderr, "libvirt-sandbox-init-qemu: %s: cannot chdir to /: %s\n", __func__, strerror(errno)); exit_poweroff(); } /* Main special filesystems */ mount_other("/dev", "devtmpfs", 0755); if (symlink("/proc/self/fd", "/dev/fd") < 0) { fprintf(stderr, "libvirt-sandbox-init-qemu: %s: failed to create /dev/fd symlink: %s\n", __func__, strerror(errno)); exit_poweroff(); } mount_other_opts("/dev/pts", "devpts", "gid=5,mode=620,ptmxmode=000", 0755); mount_other("/sys", "sysfs", 0755); mount_other("/proc", "proc", 0755); //mount_other("/selinux", "selinuxfs", 0755); mount_other("/dev/shm", "tmpfs", 01777); umask(0022); mount_9pfs("sandbox:config", SANDBOXCONFIGDIR, 0755, 1); if (debug) fprintf(stderr, "libvirt-sandbox-init-qemu: %s: setting up filesystem mounts\n", __func__); fp = fopen(SANDBOXCONFIGDIR "/mounts.cfg", "r"); if (fp == NULL) { fprintf(stderr, "libvirt-sandbox-init-qemu: %s: cannot open " SANDBOXCONFIGDIR "/mounts.cfg: %s\n", __func__, strerror(errno)); exit_poweroff(); } while (fgets(line, sizeof line, fp)) { char *source = line; char *target = strchr(source, '\t'); *target = '\0'; target++; char *type = strchr(target, '\t'); *type = '\0'; type++; char *opts = strchr(type, '\t'); *opts = '\0'; opts++; char *tmp = strchr(opts, '\n'); *tmp = '\0'; if (debug) fprintf(stderr, "libvirt-sandbox-init-qemu: %s: %s -> %s (%s, %s)\n", __func__, source, target, type, opts); if (STRNEQ(target, "/")) mount_entry(source, target, type, opts); } fclose(fp); if (debug) fprintf(stderr, "libvirt-sandbox-init-qemu: %s: preparing to launch common init\n", __func__); /* Run /init from ext2 filesystem. */ print_uptime(); signal(SIGCHLD, sig_child); memset(&args, 0, sizeof(args)); if (has_command_arg("strace=", &strace) == 0) { args[narg++] = "/usr/bin/strace"; args[narg++] = "-q"; args[narg++] = "-o"; args[narg++] = "/tmp/sandbox.log"; args[narg++] = "-f"; args[narg++] = "-ff"; if (strace && STRNEQ(strace, "1")) { args[narg++] = "-e"; args[narg++] = strace; } args[narg++] = "-s"; args[narg++] = "1000"; } args[narg++] = SANDBOXCONFIGDIR "/.libs/ld.so"; args[narg++] = SANDBOXCONFIGDIR "/.libs/libvirt-sandbox-init-common"; args[narg++] = "--poweroff"; if (debug) args[narg++] = "-d"; if (setenv("LD_LIBRARY_PATH", SANDBOXCONFIGDIR "/.libs", 1) < 0) { fprintf(stderr, "libvirt-sandbox-init-qemu: %s: cannot set LD_LIBRARY_PATH: %s\n", __func__, strerror(errno)); exit_poweroff(); } if (debug) fprintf(stderr, "libvirt-sandbox-init-qemu: Running common init %s\n", args[0]); execv(args[0], (char**)args); fprintf(stderr, "libvirt-sandbox-init-qemu: %s: cannot execute %s: %s\n", __func__, args[0], strerror(errno)); exit_poweroff(); } /* This is a function exported by glibc, but not in any header :-) */ extern long init_module(const void *mem, unsigned long len, const char *args); #define READ_SIZE (1024 * 16) static char *readall(const char *filename, size_t *len) { char *data = NULL, *tmp; int fd; size_t capacity; size_t offset; ssize_t got; *len = capacity = offset = 0; if ((fd = open(filename, O_RDONLY)) < 0) { fprintf(stderr, "libvirt-sandbox-init-qemu: %s: cannot open %s\n", __func__, filename); exit_poweroff(); } for (;;) { if ((capacity - offset) < 1024) { if (!(tmp = realloc(data, capacity + 2048))) { fprintf(stderr, "libvirt-sandbox-init-qemu: %s: out of memory\n", __func__); exit_poweroff(); } data = tmp; capacity += 2048; } if ((got = read(fd, data + offset, capacity - offset)) < 0) { fprintf(stderr, "libvirt-sandbox-init-qemu: %s: error reading %s: %s\n", __func__, filename, strerror(errno)); exit_poweroff(); } if (got == 0) break; offset += got; } *len = offset; close(fd); return data; } static int has_suffix(const char *filename, const char *ext) { char *offset = strstr(filename, ext); return (offset && offset[strlen(ext)] == '\0'); } #if WITH_LZMA static char * load_module_file_lzma(const char *filename, size_t *len) { lzma_stream st = LZMA_STREAM_INIT; char *xzdata; size_t xzlen; char *data; lzma_ret ret; *len = 0; if (debug) fprintf(stderr, "libvirt-sandbox-init-qemu: %s: %s\n", __func__, filename); if ((ret = lzma_stream_decoder(&st, UINT64_MAX, LZMA_CONCATENATED)) != LZMA_OK) { fprintf(stderr, "libvirt-sandbox-init-qemu: %s: %s: lzma init failure: %d\n", __func__, filename, ret); exit_poweroff(); } xzdata = readall(filename, &xzlen); st.next_in = (unsigned char *)xzdata; st.avail_in = xzlen; *len = 32 * 1024; if (!(data = malloc(*len))) { fprintf(stderr, "libvirt-sandbox-init-qemu: %s: %s\n", __func__, strerror(errno)); exit_poweroff(); } st.next_out = (unsigned char *)data; st.avail_out = *len; do { ret = lzma_code(&st, LZMA_FINISH); if (st.avail_out == 0) { size_t used = *len; *len += (32 * 1024); if (!(data = realloc(data, *len))) { fprintf(stderr, "libvirt-sandbox-init-qemu: %s: %s\n", __func__, strerror(errno)); exit_poweroff(); } st.next_out = (unsigned char *)data + used; st.avail_out = *len - used; } if (ret != LZMA_OK && ret != LZMA_STREAM_END) { fprintf(stderr, "libvirt-sandbox-init-qemu: %s: %s: lzma decode failure: %d\n", __func__, filename, ret); exit_poweroff(); } } while (ret != LZMA_STREAM_END); lzma_end(&st); free(xzdata); return data; } #else static char * load_module_file_lzma(const char *filename, size_t *len) { fprintf(stderr, "libvirt-sandbox-init-qemu: %s: " "lzma support disabled, can't read module %s\n", __func__, filename); exit_poweroff(); } #endif /* WITH_LZMA */ #if WITH_ZLIB static char * load_module_file_zlib(const char *filename, size_t *len) { gzFile fp; char *data; unsigned int avail; size_t total; int got; if (debug) fprintf(stderr, "libvirt-sandbox-init-qemu: %s: %s\n", __func__, filename); if (!(fp = gzopen(filename, "rb"))) { fprintf(stderr, "libvirt-sandbox-init-qemu: %s: %s: gzopen failure\n", __func__, filename); exit_poweroff(); } *len = 32 * 1024; if (!(data = malloc(*len))) { fprintf(stderr, "libvirt-sandbox-init-qemu: %s: %s\n", __func__, strerror(errno)); exit_poweroff(); } avail = *len; total = 0; do { got = gzread(fp, data + total, avail); if (got < 0) { fprintf(stderr, "libvirt-sandbox-init-qemu: %s: %s: gzread failure\n", __func__, filename); exit_poweroff(); } total += got; if (total >= *len) { *len += (32 * 1024); if (!(data = realloc(data, *len))) { fprintf(stderr, "libvirt-sandbox-init-qemu: %s: %s\n", __func__, strerror(errno)); exit_poweroff(); } avail = *len - total; } } while (got > 0); gzclose(fp); return data; } #else static char * load_module_file_zlib(const char *filename, size_t *len) { fprintf(stderr, "libvirt-sandbox-init-qemu: %s: " "zlib support disabled, can't read module %s\n", __func__, filename); exit_poweroff(); } #endif /* WITH_ZLIB */ static char * load_module_file_raw(const char *filename, size_t *len) { if (debug) fprintf(stderr, "libvirt-sandbox-init-qemu: %s: %s\n", __func__, filename); return readall(filename, len); } static char * load_module_file(const char *filename, size_t *len) { if (has_suffix(filename, ".ko.xz")) return load_module_file_lzma(filename, len); else if (has_suffix(filename, ".ko.gz")) return load_module_file_zlib(filename, len); else return load_module_file_raw(filename, len); } static void insmod(const char *filename) { char *data; size_t len; data = load_module_file(filename, &len); if (init_module(data, (unsigned long)len, "") < 0) { const char *msg; switch (errno) { case ENOEXEC: msg = "Invalid module format"; break; case ENOENT: msg = "Unknown symbol in module"; break; case ESRCH: msg = "Module has wrong symbol version"; break; case EINVAL: msg = "Invalid parameters"; break; default: msg = strerror(errno); } fprintf(stderr, "libvirt-sandbox-init-qemu: %s: error loading %s: %s\n", __func__, filename, msg); exit_poweroff(); } } /* Print contents of /proc/uptime. */ static void print_uptime(void) { if (!debug) return; FILE *fp = fopen("/proc/uptime", "r"); if (fp == NULL) { fprintf(stderr, "libvirt-sandbox-init-qemu: %s: cannot open /proc/uptime: %s\n", __func__, strerror(errno)); exit_poweroff(); } if (!fgets(line, sizeof line, fp)) { fprintf(stderr, "libvirt-sandbox-init-qemu: %s: cannot read /proc/uptime: %s\n", __func__, strerror(errno)); exit_poweroff(); } fclose(fp); fprintf(stderr, "libvirt-sandbox-init-qemu: uptime: %s", line); } static void set_debug(void) { if (mkdir("/proc", 0755) < 0) { fprintf(stderr, "libvirt-sandbox-init-qemu: %s: cannot mkdir /proc: %s\n", __func__, strerror(errno)); exit_poweroff(); } if (mount("none", "/proc", "proc", 0, "") < 0) { fprintf(stderr, "libvirt-sandbox-init-qemu: %s: cannot mount /proc: %s\n", __func__, strerror(errno)); exit_poweroff(); } FILE *fp = fopen("/proc/cmdline", "r"); if (fp && fgets(line, sizeof line, fp)) { if (strstr(line, "debug")) debug=1; } if (fp) fclose(fp); if (umount("/proc") < 0) { fprintf(stderr, "libvirt-sandbox-init-qemu: %s: cannot unmount /proc: %s\n", __func__, strerror(errno)); exit_poweroff(); } } static int has_command_arg(const char *name, char **val) { FILE *fp = fopen("/proc/cmdline", "r"); char *start, *end; if (fp == NULL) { fprintf(stderr, "libvirt-sandbox-init-qemu: %s: cannot open /proc/cmdline: %s\n", __func__, strerror(errno)); exit_poweroff(); } if (!fgets(line, sizeof line, fp)) { fprintf(stderr, "libvirt-sandbox-init-qemu: %s: cannot read /proc/cmdline: %s\n", __func__, strerror(errno)); exit_poweroff(); } fclose(fp); start = strstr(line, name); if (!start) return -1; start += strlen(name); if (start[0] == '\n' || start[0] == ' ') { *val = NULL; return 0; } end = strstr(start, " "); if (!end) end = strstr(start, "\n"); if (end) *val = strndup(start, end-start); else *val = strdup(start); return 0; } /* * Local variables: * c-indent-level: 4 * c-basic-offset: 4 * indent-tabs-mode: nil * tab-width: 8 * End: */ libvirt-sandbox-0.5.1+git20160404/libvirt-sandbox/libvirt-sandbox-main.c000066400000000000000000000057111275305543100255410ustar00rootroot00000000000000/* * libvirt-sandbox-main.c: libvirt sandbox integration * * Copyright (C) 2008 Daniel P. Berrange * Copyright (C) 2010-2011 Red Hat, Inc. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. * * This library is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA * * Author: Daniel P. Berrange */ #include #include #include #include #include #include /** * gvir_sandbox_init: * @argc: (inout): pointer to application's argc * @argv: (inout) (array length=argc) (allow-none): pointer to application's argv */ void gvir_sandbox_init(int *argc, char ***argv) { GError *err = NULL; if (!gvir_sandbox_init_check(argc, argv, &err)) { g_error("Could not initialize libvirt-sandbox: %s\n", err->message); } } static void gvir_log_handler(const gchar *log_domain G_GNUC_UNUSED, GLogLevelFlags log_level G_GNUC_UNUSED, const gchar *message, gpointer user_data) { if (user_data) fprintf(stderr, "%s\n\r", message); } /** * gvir_sandbox_init_check: * @argc: (inout): pointer to application's argc * @argv: (inout) (array length=argc) (allow-none): pointer to application's argv * @err: pointer to a #GError to which a message will be posted on error */ gboolean gvir_sandbox_init_check(int *argc, char ***argv, GError **err) { if (!gvir_init_object_check(argc, argv, err)) return FALSE; if (!bindtextdomain(PACKAGE, LOCALEDIR)) return FALSE; /* GLib >= 2.31.0 debug is off by default, so we need to * enable it. Older versions are on by default, so we need * to disable it. */ #if GLIB_CHECK_VERSION(2, 31, 0) if (getenv("LIBVIRT_SANDBOX_DEBUG")) g_log_set_handler(G_LOG_DOMAIN, G_LOG_LEVEL_DEBUG, gvir_log_handler, (void*)0x1); #else if (!getenv("LIBVIRT_SANDBOX_DEBUG")) g_log_set_handler(G_LOG_DOMAIN, G_LOG_LEVEL_DEBUG, gvir_log_handler, NULL); #endif return TRUE; } /* * Local variables: * c-indent-level: 4 * c-basic-offset: 4 * indent-tabs-mode: nil * tab-width: 8 * End: */ libvirt-sandbox-0.5.1+git20160404/libvirt-sandbox/libvirt-sandbox-main.h000066400000000000000000000030521275305543100255420ustar00rootroot00000000000000/* * libvirt-sandbox-main.h: libvirt sandbox integration * * Copyright (C) 2008 Daniel P. Berrange * Copyright (C) 2010-2011 Red Hat, Inc. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. * * This library is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA * * Author: Daniel P. Berrange */ #if !defined(__LIBVIRT_SANDBOX_H__) && !defined(LIBVIRT_SANDBOX_BUILD) #error "Only can be included directly." #endif #ifndef __LIBVIRT_SANDBOX_MAIN_H__ #define __LIBVIRT_SANDBOX_MAIN_H__ G_BEGIN_DECLS void gvir_sandbox_init(int *argc, char ***argv); gboolean gvir_sandbox_init_check(int *argc, char ***argv, GError **err); G_END_DECLS #endif /* __LIBVIRT_SANDBOX_MAIN_H__ */ /* * Local variables: * c-indent-level: 4 * c-basic-offset: 4 * indent-tabs-mode: nil * tab-width: 8 * End: */ libvirt-sandbox-0.5.1+git20160404/libvirt-sandbox/libvirt-sandbox-protocol-generator.pl000077500000000000000000000062041275305543100306340ustar00rootroot00000000000000# # Generate code for an XDR protocol, optionally applying # fixups to the glibc rpcgen code so that it compiles # with warnings turned on. # # This code is evil. Arguably better would be just to compile # without -Werror. Update: The IXDR_PUT_LONG replacements are # actually fixes for 64 bit, so this file is necessary. Arguably # so is the type-punning fix. # # Copyright (C) 2007, 2011-2012 Red Hat, Inc. # # See COPYING for the license of this software. # # Richard Jones use strict; my $in_function = 0; my @function = (); my $rpcgen = shift; my $mode = shift; my $xdrdef = shift; my $target = shift; unlink $target; open RPCGEN, "-|", $rpcgen, $mode, $xdrdef or die "cannot run $rpcgen $mode $xdrdef: $!"; open TARGET, ">$target" or die "cannot create $target: $!"; my $fixup = $^O eq "linux" || $^O eq "cygwin"; if ($mode eq "-c") { print TARGET "#include \n"; } while () { # We only want to fixup the GLibc rpcgen output # So just print data unchanged, if non-Linux unless ($fixup) { print TARGET; next; } if (m/^{/) { $in_function = 1; print TARGET; next; } s/\t/ /g; # Fix VPATH builds s,#include ".*/([^/]+)protocol\.h",#include "${1}protocol.h",; if (m,#(ifdef|ifndef|define|endif)\s+,) { s/-/_/g; } # Portability for Solaris RPC s/u_quad_t/uint64_t/g; s/quad_t/int64_t/g; s/xdr_u_quad_t/xdr_uint64_t/g; s/xdr_quad_t/xdr_int64_t/g; s/(?]\bbuf\b/, @function; @function = grep !/[^.>]\bbuf\b/, @function if @uses == 1; # Remove decl of i, if i isn't used in the function. @uses = grep /[^.>]\bi\b/, @function; @function = grep !/[^.>]\bi\b/, @function if @uses == 1; # (char **)&objp->... gives: # warning: dereferencing type-punned pointer will break # strict-aliasing rules # so rewrite it. my %uses = (); my $i = 0; foreach (@function) { $uses{$1} = $i++ if m/\(char \*\*\)\&(objp->[a-z_.]+_val)/i; } if (keys %uses >= 1) { my $i = 1; foreach (keys %uses) { $i = $uses{$_}; unshift @function, (" char **objp_cpp$i = (char **) (void *) &$_;\n"); $i++; } @function = map { s{\(char \*\*\)\&(objp->[a-z_.]+_val)} {objp_cpp$uses{$1}}gi; $_ } @function; } # The code uses 'IXDR_PUT_{U_,}LONG' but it's wrong in two # ways: Firstly these functions are deprecated and don't # work on 64 bit platforms. Secondly the return value should # be ignored. Correct both these mistakes. @function = map { s/\bIXDR_PUT_((U_)?)LONG\b/(void)IXDR_PUT_$1INT32/; $_ } map { s/\bXDR_INLINE\b/(int32_t*)XDR_INLINE/; $_ } @function; print TARGET (join ("", @function)); @function = (); } unless ($in_function) { print TARGET; } else { push @function, $_; } } close TARGET or die "cannot save $target: $!"; close RPCGEN or die "cannot shutdown $rpcgen: $!"; chmod 0444, $target or die "cannot set $target readonly: $!"; libvirt-sandbox-0.5.1+git20160404/libvirt-sandbox/libvirt-sandbox-protocol.x000066400000000000000000000021341275305543100264770ustar00rootroot00000000000000 const GVIR_SANDBOX_PROTOCOL_PACKET_MAX = 262144; const GVIR_SANDBOX_PROTOCOL_LEN_MAX = 4; const GVIR_SANDBOX_PROTOCOL_HEADER_MAX = 16; const GVIR_SANDBOX_PROTOCOL_PAYLOAD_MAX = 262128; const GVIR_SANDBOX_PROTOCOL_HANDSHAKE_WAIT = 033; const GVIR_SANDBOX_PROTOCOL_HANDSHAKE_SYNC = 034; enum GVirSandboxProtocolProc { GVIR_SANDBOX_PROTOCOL_PROC_STDIN = 1, GVIR_SANDBOX_PROTOCOL_PROC_STDOUT = 2, GVIR_SANDBOX_PROTOCOL_PROC_STDERR = 3, GVIR_SANDBOX_PROTOCOL_PROC_EXIT = 4, GVIR_SANDBOX_PROTOCOL_PROC_QUIT = 5 }; enum GVirSandboxProtocolType { /* Async message */ GVIR_SANDBOX_PROTOCOL_TYPE_MESSAGE = 0, /* Async data packet */ GVIR_SANDBOX_PROTOCOL_TYPE_DATA = 1 }; enum GVirSandboxProtocolStatus { /* Status is always GVIR_SANDBOX_PROTO_OK for calls. * For replies, indicates no error. */ GVIR_SANDBOX_PROTOCOL_STATUS_OK = 0 }; struct GVirSandboxProtocolHeader { GVirSandboxProtocolProc proc; GVirSandboxProtocolType type; GVirSandboxProtocolStatus status; unsigned serial; }; struct GVirSandboxProtocolMessageExit { int status; }; libvirt-sandbox-0.5.1+git20160404/libvirt-sandbox/libvirt-sandbox-rpcpacket.c000066400000000000000000000237161275305543100265760ustar00rootroot00000000000000/* * libvirt-sandbox-rpcpacket.c: rpc helper APIs * * Copyright (C) 2010-2012 Red Hat, Inc. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. * * This library is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ #include #include #include #include #include "libvirt-sandbox-rpcpacket.h" #define GVIR_SANDBOX_RPCPACKET_ERROR gvir_sandbox_rpcpacket_error_quark() static GQuark gvir_sandbox_rpcpacket_error_quark(void) { return g_quark_from_static_string("gvir-sandbox-rpcpacket"); } GVirSandboxRPCPacket *gvir_sandbox_rpcpacket_new(gboolean rxready) { GVirSandboxRPCPacket *msg = g_new0(GVirSandboxRPCPacket, 1); if (rxready) msg->bufferLength = GVIR_SANDBOX_PROTOCOL_LEN_MAX; return msg; } void gvir_sandbox_rpcpacket_free(GVirSandboxRPCPacket *msg) { if (!msg) return; g_free(msg); } gboolean gvir_sandbox_rpcpacket_decode_length(GVirSandboxRPCPacket *msg, GError **error) { XDR xdr; unsigned int len; gboolean ret = FALSE; xdrmem_create(&xdr, msg->buffer, msg->bufferLength, XDR_DECODE); if (!xdr_u_int(&xdr, &len)) { g_set_error(error, GVIR_SANDBOX_RPCPACKET_ERROR, 0, "%s", _("Unable to decode message length")); goto cleanup; } msg->bufferOffset = xdr_getpos(&xdr); if (len < GVIR_SANDBOX_PROTOCOL_LEN_MAX) { g_set_error(error, GVIR_SANDBOX_RPCPACKET_ERROR, 0, _("packet %u bytes received from server too small, want %u"), len, GVIR_SANDBOX_PROTOCOL_LEN_MAX); goto cleanup; } /* Length includes length word - adjust to real length to read. */ len -= GVIR_SANDBOX_PROTOCOL_LEN_MAX; if (len > GVIR_SANDBOX_PROTOCOL_PACKET_MAX) { g_set_error(error, GVIR_SANDBOX_RPCPACKET_ERROR, 0, _("packet %u bytes received from server too large, want %d"), len, GVIR_SANDBOX_PROTOCOL_PACKET_MAX); goto cleanup; } /* Extend our declared buffer length and carry on reading the header + payload */ msg->bufferLength += len; ret = TRUE; cleanup: xdr_destroy(&xdr); return ret; } /* * @msg: the complete incoming message, whose header to decode * * Decodes the header part of the message, but does not * validate the decoded fields in the header. It expects * bufferLength to refer to length of the data packet. Upon * return bufferOffset will refer to the amount of the packet * consumed by decoding of the header. * * returns 0 if successfully decoded, -1 upon fatal error */ gboolean gvir_sandbox_rpcpacket_decode_header(GVirSandboxRPCPacket *msg, GError **error) { XDR xdr; gboolean ret = FALSE; msg->bufferOffset = GVIR_SANDBOX_PROTOCOL_LEN_MAX; /* Parse the header. */ xdrmem_create(&xdr, msg->buffer + msg->bufferOffset, msg->bufferLength - msg->bufferOffset, XDR_DECODE); if (!xdr_GVirSandboxProtocolHeader(&xdr, &msg->header)) { g_set_error(error, GVIR_SANDBOX_RPCPACKET_ERROR, 0, "%s", _("Unable to decode message header")); goto cleanup; } msg->bufferOffset += xdr_getpos(&xdr); ret = TRUE; cleanup: xdr_destroy(&xdr); return ret; } /* * @msg: the outgoing message, whose header to encode * * Encodes the length word and header of the message, setting the * message offset ready to encode the payload. Leaves space * for the length field later. Upon return bufferLength will * refer to the total available space for message, while * bufferOffset will refer to current space used by header * * returns 0 if successfully encoded, -1 upon fatal error */ gboolean gvir_sandbox_rpcpacket_encode_header(GVirSandboxRPCPacket *msg, GError **error) { XDR xdr; gboolean ret = FALSE; unsigned int len = 0; msg->bufferLength = sizeof(msg->buffer); msg->bufferOffset = 0; /* Format the header. */ xdrmem_create(&xdr, msg->buffer, msg->bufferLength, XDR_ENCODE); /* The real value is filled in shortly */ if (!xdr_u_int(&xdr, &len)) { g_set_error(error, GVIR_SANDBOX_RPCPACKET_ERROR, 0, "%s", _("Unable to encode message length")); goto cleanup; } if (!xdr_GVirSandboxProtocolHeader(&xdr, &msg->header)) { g_set_error(error, GVIR_SANDBOX_RPCPACKET_ERROR, 0, "%s", _("Unable to encode message header")); goto cleanup; } len = xdr_getpos(&xdr); xdr_setpos(&xdr, 0); /* Fill in current length - may be re-written later * if a payload is added */ if (!xdr_u_int(&xdr, &len)) { g_set_error(error, GVIR_SANDBOX_RPCPACKET_ERROR, 0, "%s", _("Unable to re-encode message length")); goto cleanup; } msg->bufferOffset += len; ret = TRUE; cleanup: xdr_destroy(&xdr); return ret; } gboolean gvir_sandbox_rpcpacket_encode_payload_msg(GVirSandboxRPCPacket *msg, xdrproc_t filter, void *data, GError **error) { XDR xdr; unsigned int msglen; /* Serialise payload of the message. This assumes that * GVirSandboxRPCPacketEncodeHeader has already been run, so * just appends to that data */ xdrmem_create(&xdr, msg->buffer + msg->bufferOffset, msg->bufferLength - msg->bufferOffset, XDR_ENCODE); if (!(*filter)(&xdr, data)) { g_set_error(error, GVIR_SANDBOX_RPCPACKET_ERROR, 0, "%s", _("Unable to encode message payload")); goto error; } /* Get the length stored in buffer. */ msg->bufferOffset += xdr_getpos(&xdr); xdr_destroy(&xdr); /* Re-encode the length word. */ xdrmem_create(&xdr, msg->buffer, GVIR_SANDBOX_PROTOCOL_LEN_MAX, XDR_ENCODE); msglen = msg->bufferOffset; if (!xdr_u_int(&xdr, &msglen)) { g_set_error(error, GVIR_SANDBOX_RPCPACKET_ERROR, 0, "%s", _("Unable to encode message length")); goto error; } xdr_destroy(&xdr); msg->bufferLength = msg->bufferOffset; msg->bufferOffset = 0; return TRUE; error: xdr_destroy(&xdr); return FALSE; } gboolean gvir_sandbox_rpcpacket_decode_payload_msg(GVirSandboxRPCPacket *msg, xdrproc_t filter, void *data, GError **error) { XDR xdr; /* Deserialise payload of the message. This assumes that * gvir_sandbox_rpcpacketDecodeHeader has already been run, so * just start from after that data */ xdrmem_create(&xdr, msg->buffer + msg->bufferOffset, msg->bufferLength - msg->bufferOffset, XDR_DECODE); if (!(*filter)(&xdr, data)) { g_set_error(error, GVIR_SANDBOX_RPCPACKET_ERROR, 0, "%s", _("Unable to decode message payload")); goto error; } /* Get the length stored in buffer. */ msg->bufferOffset += xdr_getpos(&xdr); xdr_destroy(&xdr); return TRUE; error: xdr_destroy(&xdr); return FALSE; } gboolean gvir_sandbox_rpcpacket_encode_payload_raw(GVirSandboxRPCPacket *msg, const char *data, gsize len, GError **error) { XDR xdr; unsigned int msglen; if ((msg->bufferLength - msg->bufferOffset) < len) { g_set_error(error, GVIR_SANDBOX_RPCPACKET_ERROR, 0, _("Raw data too long to send (%zu bytes needed, %zu bytes available)"), len, (msg->bufferLength - msg->bufferOffset)); return FALSE; } memcpy(msg->buffer + msg->bufferOffset, data, len); msg->bufferOffset += len; /* Re-encode the length word. */ xdrmem_create(&xdr, msg->buffer, GVIR_SANDBOX_PROTOCOL_LEN_MAX, XDR_ENCODE); msglen = msg->bufferOffset; if (!xdr_u_int(&xdr, &msglen)) { g_set_error(error, GVIR_SANDBOX_RPCPACKET_ERROR, 0, "%s", _("Unable to encode message length")); goto error; } xdr_destroy(&xdr); msg->bufferLength = msg->bufferOffset; msg->bufferOffset = 0; return TRUE; error: xdr_destroy(&xdr); return FALSE; } gboolean gvir_sandbox_rpcpacket_encode_payload_empty(GVirSandboxRPCPacket *msg, GError **error) { XDR xdr; unsigned int msglen; /* Re-encode the length word. */ xdrmem_create(&xdr, msg->buffer, GVIR_SANDBOX_PROTOCOL_LEN_MAX, XDR_ENCODE); msglen = msg->bufferOffset; if (!xdr_u_int(&xdr, &msglen)) { g_set_error(error, GVIR_SANDBOX_RPCPACKET_ERROR, 0, "%s", _("Unable to encode message length")); goto error; } xdr_destroy(&xdr); msg->bufferLength = msg->bufferOffset; msg->bufferOffset = 0; return TRUE; error: xdr_destroy(&xdr); return FALSE; } /* * Local variables: * c-indent-level: 4 * c-basic-offset: 4 * indent-tabs-mode: nil * tab-width: 8 * End: */ libvirt-sandbox-0.5.1+git20160404/libvirt-sandbox/libvirt-sandbox-rpcpacket.h000066400000000000000000000057341275305543100266030ustar00rootroot00000000000000/* * libvirt-sandbox-rpcpacket.h: rpc helper APIs * * Copyright (C) 2010-2011 Red Hat, Inc. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. * * This library is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ #ifndef __LIBVIRT_SANDBOX_RPC_H__ # define __LIBVIRT_SANDBOX_RPC_H__ # include "glib.h" # include "libvirt-sandbox-protocol.h" typedef struct _GVirSandboxRPCPacket GVirSandboxRPCPacket; /* Never allocate this (huge) buffer on the stack. Always * use GVirSandboxRPCPacketNew() to allocate on the heap */ struct _GVirSandboxRPCPacket { char buffer[GVIR_SANDBOX_PROTOCOL_PACKET_MAX + GVIR_SANDBOX_PROTOCOL_LEN_MAX]; gsize bufferLength; gsize bufferOffset; GVirSandboxProtocolHeader header; }; GVirSandboxRPCPacket *gvir_sandbox_rpcpacket_new(gboolean rxready); void gvir_sandbox_rpcpacket_free(GVirSandboxRPCPacket *pkt); gboolean gvir_sandbox_rpcpacket_decode_length(GVirSandboxRPCPacket *pkt, GError **error); gboolean gvir_sandbox_rpcpacket_decode_header(GVirSandboxRPCPacket *pkt, GError **error); gboolean gvir_sandbox_rpcpacket_decode_payload_msg(GVirSandboxRPCPacket *pkt, xdrproc_t filter, void *data, GError **error); gboolean gvir_sandbox_rpcpacket_encode_header(GVirSandboxRPCPacket *pkt, GError **error); gboolean gvir_sandbox_rpcpacket_encode_payload_msg(GVirSandboxRPCPacket *pkt, xdrproc_t filter, void *data, GError **error); gboolean gvir_sandbox_rpcpacket_encode_payload_raw(GVirSandboxRPCPacket *msg, const char *buf, size_t len, GError **error); gboolean gvir_sandbox_rpcpacket_encode_payload_empty(GVirSandboxRPCPacket *msg, GError **error); #endif /* __VIR_NET_MESSAGE_H__ */ /* * Local variables: * c-indent-level: 4 * c-basic-offset: 4 * indent-tabs-mode: nil * tab-width: 8 * End: */ libvirt-sandbox-0.5.1+git20160404/libvirt-sandbox/libvirt-sandbox-util.c000066400000000000000000000044211275305543100255670ustar00rootroot00000000000000/* * libvirt-sandbox-util.c: libvirt sandbox util functions * * Copyright (C) 2015 Universitat Politècnica de Catalunya. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. * * This library is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA * * Author: Eren Yagdiran */ #include #include #include #include #include "libvirt-sandbox/libvirt-sandbox-config-all.h" #define GVIR_SANDBOX_UTIL_ERROR gvir_sandbox_util_error_quark() static GQuark gvir_sandbox_util_error_quark(void) { return g_quark_from_static_string("gvir-sandbox-util"); } gint gvir_sandbox_util_guess_image_format(const gchar *path, GError **error) { gchar *tmp; if ((tmp = g_strrstr(path, ".")) == NULL) { g_set_error(error, GVIR_SANDBOX_UTIL_ERROR, 0, _("Cannot identify file extension in '%s'"), path); return -1; } tmp = tmp + 1; if (g_str_equal(tmp, "img")) return GVIR_CONFIG_DOMAIN_DISK_FORMAT_RAW; return gvir_sandbox_util_disk_format_from_str(tmp, error); } gint gvir_sandbox_util_disk_format_from_str(const gchar *value, GError **error) { GEnumClass *enum_class = g_type_class_ref(GVIR_CONFIG_TYPE_DOMAIN_DISK_FORMAT); GEnumValue *enum_value; gint ret = -1; if (!(enum_value = g_enum_get_value_by_nick(enum_class, value))) { g_set_error(error, GVIR_SANDBOX_UTIL_ERROR, 0, _("Unknown disk format '%s'"), value); goto cleanup; } ret = enum_value->value; cleanup: g_type_class_unref(enum_class); return ret; } libvirt-sandbox-0.5.1+git20160404/libvirt-sandbox/libvirt-sandbox-util.h000066400000000000000000000030461275305543100255760ustar00rootroot00000000000000/* * libvirt-sandbox-util.h: libvirt sandbox utility code * * Copyright (C) 2013 Red Hat, Inc. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. * * This library is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA * * Author: Daniel P. Berrange */ #if !defined(__LIBVIRT_SANDBOX_H__) && !defined(LIBVIRT_SANDBOX_BUILD) #error "Only can be included directly." #endif #ifndef __LIBVIRT_SANDBOX_UTIL_H__ #define __LIBVIRT_SANDBOX_UTIL_H__ G_BEGIN_DECLS gint gvir_sandbox_util_guess_image_format(const gchar *path, GError **error); gint gvir_sandbox_util_disk_format_from_str(const gchar *value, GError **error); /** * LIBVIRT_SANDBOX_CLASS_PADDING: (skip) */ #define LIBVIRT_SANDBOX_CLASS_PADDING 20 G_END_DECLS #endif /* __LIBVIRT_SANDBOX_UTIL_H__ */ /* * Local variables: * c-indent-level: 4 * c-basic-offset: 4 * indent-tabs-mode: nil * tab-width: 8 * End: */ libvirt-sandbox-0.5.1+git20160404/libvirt-sandbox/libvirt-sandbox.h000066400000000000000000000060701275305543100246230ustar00rootroot00000000000000/* * libvirt-sandbox.h: libvirt sandbox integration [ * * Copyright (C) 2010 Red Hat, Inc. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. * * This library is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA * * Author: Daniel P. Berrange */ #ifndef __LIBVIRT_SANDBOX_H__ #define __LIBVIRT_SANDBOX_H__ /* External includes */ #include #include /* Local includes */ #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #endif /* __LIBVIRT_SANDBOX_H__ */ /* * Local variables: * c-indent-level: 4 * c-basic-offset: 4 * indent-tabs-mode: nil * tab-width: 8 * End: */ libvirt-sandbox-0.5.1+git20160404/libvirt-sandbox/libvirt-sandbox.sym000066400000000000000000000166651275305543100252170ustar00rootroot00000000000000LIBVIRT_SANDBOX_0.6.0 { global: gvir_sandbox_init; gvir_sandbox_init_check; gvir_sandbox_config_service_get_type; gvir_sandbox_config_service_systemd_get_type; gvir_sandbox_config_service_systemd_get_boot_target; gvir_sandbox_config_service_systemd_new; gvir_sandbox_config_service_systemd_set_boot_target; gvir_sandbox_config_service_generic_get_type; gvir_sandbox_config_service_generic_new; gvir_sandbox_config_service_generic_set_command; gvir_sandbox_config_interactive_get_type; gvir_sandbox_config_interactive_get_tty; gvir_sandbox_config_interactive_new; gvir_sandbox_config_interactive_set_command; gvir_sandbox_config_interactive_set_tty; gvir_sandbox_config_add_disk; gvir_sandbox_config_add_disk_strv; gvir_sandbox_config_add_disk_opts; gvir_sandbox_config_disk_get_type; gvir_sandbox_config_has_disks; gvir_sandbox_config_mount_add_include; gvir_sandbox_config_mount_get_includes; gvir_sandbox_config_mount_get_target; gvir_sandbox_config_mount_get_type; gvir_sandbox_config_mount_file_get_source; gvir_sandbox_config_mount_file_get_type; gvir_sandbox_config_mount_file_set_source; gvir_sandbox_config_mount_host_bind_get_type; gvir_sandbox_config_mount_host_bind_new; gvir_sandbox_config_mount_host_image_get_type; gvir_sandbox_config_mount_host_image_new; gvir_sandbox_config_mount_guest_bind_get_format; gvir_sandbox_config_mount_guest_bind_get_type; gvir_sandbox_config_mount_guest_bind_new; gvir_sandbox_config_mount_ram_get_usage; gvir_sandbox_config_mount_ram_get_type; gvir_sandbox_config_mount_ram_new; gvir_sandbox_config_mount_ram_set_usage; gvir_sandbox_config_network_add_address; gvir_sandbox_config_network_set_filterref; gvir_sandbox_config_network_add_route; gvir_sandbox_config_network_get_type; gvir_sandbox_config_network_get_dhcp; gvir_sandbox_config_network_get_mac; gvir_sandbox_config_network_get_source; gvir_sandbox_config_network_get_routes; gvir_sandbox_config_network_get_addresses; gvir_sandbox_config_network_get_filterref; gvir_sandbox_config_network_new; gvir_sandbox_config_network_set_dhcp; gvir_sandbox_config_network_set_mac; gvir_sandbox_config_network_set_source; gvir_sandbox_config_network_address_get_type; gvir_sandbox_config_network_address_get_broadcast; gvir_sandbox_config_network_address_get_primary; gvir_sandbox_config_network_address_get_prefix; gvir_sandbox_config_network_address_new; gvir_sandbox_config_network_address_set_broadcast; gvir_sandbox_config_network_address_set_primary; gvir_sandbox_config_network_address_set_prefix; gvir_sandbox_config_network_filterref_get_type; gvir_sandbox_config_network_filterref_new; gvir_sandbox_config_network_filterref_get_name; gvir_sandbox_config_network_filterref_set_name; gvir_sandbox_config_network_filterref_add_parameter; gvir_sandbox_config_network_filterref_get_parameters; gvir_sandbox_config_network_filterref_parameter_get_type; gvir_sandbox_config_network_filterref_parameter_new; gvir_sandbox_config_network_filterref_parameter_get_name; gvir_sandbox_config_network_filterref_parameter_set_name; gvir_sandbox_config_network_filterref_parameter_get_value; gvir_sandbox_config_network_filterref_parameter_set_value; gvir_sandbox_config_network_route_get_type; gvir_sandbox_config_network_route_get_prefix; gvir_sandbox_config_network_route_get_gateway; gvir_sandbox_config_network_route_get_target; gvir_sandbox_config_network_route_new; gvir_sandbox_config_network_route_set_prefix; gvir_sandbox_config_network_route_set_gateway; gvir_sandbox_config_network_route_set_target; gvir_sandbox_config_add_mount; gvir_sandbox_config_add_mount_opts; gvir_sandbox_config_add_mount_strv; gvir_sandbox_config_add_host_include_strv; gvir_sandbox_config_add_host_include_file; gvir_sandbox_config_add_network; gvir_sandbox_config_add_network_opts; gvir_sandbox_config_add_network_strv; gvir_sandbox_config_get_command; gvir_sandbox_config_get_groupid; gvir_sandbox_config_get_homedir; gvir_sandbox_config_get_mounts; gvir_sandbox_config_get_mounts_with_type; gvir_sandbox_config_get_networks; gvir_sandbox_config_get_name; gvir_sandbox_config_get_root; gvir_sandbox_config_get_security_dynamic; gvir_sandbox_config_get_security_label; gvir_sandbox_config_get_shell; gvir_sandbox_config_get_type; gvir_sandbox_config_get_userid; gvir_sandbox_config_get_username; gvir_sandbox_config_get_uuid; gvir_sandbox_config_find_mount; gvir_sandbox_config_has_networks; gvir_sandbox_config_has_mounts; gvir_sandbox_config_has_mounts_with_type; gvir_sandbox_config_has_root_mount; gvir_sandbox_config_load_from_data; gvir_sandbox_config_load_from_path; gvir_sandbox_config_save_to_data; gvir_sandbox_config_save_to_path; gvir_sandbox_config_set_root; gvir_sandbox_config_set_shell; gvir_sandbox_config_set_arch; gvir_sandbox_config_set_kernrelease; gvir_sandbox_config_set_kernpath; gvir_sandbox_config_set_kmodpath; gvir_sandbox_config_set_userid; gvir_sandbox_config_set_groupid; gvir_sandbox_config_set_username; gvir_sandbox_config_set_homedir; gvir_sandbox_config_set_security_dynamic; gvir_sandbox_config_set_security_label; gvir_sandbox_config_set_security_opts; gvir_sandbox_config_set_uuid; gvir_sandbox_config_initrd_add_module; gvir_sandbox_config_initrd_get_init; gvir_sandbox_config_initrd_get_kver; gvir_sandbox_config_initrd_get_kmoddir; gvir_sandbox_config_initrd_get_modules; gvir_sandbox_config_initrd_get_type; gvir_sandbox_config_initrd_new; gvir_sandbox_config_initrd_set_init; gvir_sandbox_config_initrd_set_kver; gvir_sandbox_config_initrd_set_kmoddir; gvir_sandbox_console_get_type; gvir_sandbox_console_get_direct; gvir_sandbox_console_attach; gvir_sandbox_console_attach_stdio; gvir_sandbox_console_attach_stderr; gvir_sandbox_console_detach; gvir_sandbox_console_isolate; gvir_sandbox_console_set_direct; gvir_sandbox_console_raw_get_type; gvir_sandbox_console_raw_new; gvir_sandbox_console_rpc_get_type; gvir_sandbox_console_rpc_new; gvir_sandbox_context_attach; gvir_sandbox_context_detach; gvir_sandbox_context_get_type; gvir_sandbox_context_get_config; gvir_sandbox_context_get_domain; gvir_sandbox_context_get_connection; gvir_sandbox_context_get_log_console; gvir_sandbox_context_get_shell_console; gvir_sandbox_context_is_attached; gvir_sandbox_context_start; gvir_sandbox_context_stop; gvir_sandbox_context_service_get_type; gvir_sandbox_context_service_new; gvir_sandbox_context_service_define; gvir_sandbox_context_service_undefine; gvir_sandbox_context_interactive_get_type; gvir_sandbox_context_interactive_get_app_console; gvir_sandbox_context_interactive_new; gvir_sandbox_cleaner_get_type; gvir_sandbox_cleaner_new; gvir_sandbox_cleaner_run_post_start; gvir_sandbox_cleaner_run_post_stop; gvir_sandbox_cleaner_add_action_post_start; gvir_sandbox_cleaner_add_action_post_stop; gvir_sandbox_builder_construct; gvir_sandbox_builder_get_config; gvir_sandbox_builder_get_connection; gvir_sandbox_builder_get_type; gvir_sandbox_builder_new; gvir_sandbox_builder_machine_get_type; gvir_sandbox_builder_machine_new; gvir_sandbox_builder_container_get_type; gvir_sandbox_builder_container_new; gvir_sandbox_builder_initrd_construct; gvir_sandbox_builder_initrd_get_type; gvir_sandbox_builder_initrd_new; local: *; }; LIBVIRT_SANDBOX_0.6.1 { global: gvir_sandbox_config_add_env; gvir_sandbox_config_add_env_strv; gvir_sandbox_config_add_env_opts; gvir_sandbox_config_env_get_type; gvir_sandbox_config_has_envs; } LIBVIRT_SANDBOX_0.6.0; libvirt-sandbox-0.5.1+git20160404/libvirt-sandbox/tests/000077500000000000000000000000001275305543100225025ustar00rootroot00000000000000libvirt-sandbox-0.5.1+git20160404/libvirt-sandbox/tests/Makefile.am000066400000000000000000000006361275305543100245430ustar00rootroot00000000000000 TESTS = test-config check_PROGRAMS = test-config test_config_SOURCES = test-config.c test_config_LDADD = \ ../libvirt-sandbox-1.0.la \ $(GIO_UNIX_LIBS) \ $(LIBVIRT_GLIB_LIBS) \ $(LIBVIRT_GOBJECT_LIBS) \ $(CYGWIN_EXTRA_LIBADD) test_config_CFLAGS = \ $(COVERAGE_CFLAGS) \ -I$(top_srcdir) \ $(GIO_UNIX_CFLAGS) \ $(LIBVIRT_GLIB_CFLAGS) \ $(LIBVIRT_GOBJECT_CFLAGS) \ $(WARN_CFLAGS) libvirt-sandbox-0.5.1+git20160404/libvirt-sandbox/tests/containers_test.sh000077500000000000000000000011571275305543100262510ustar00rootroot00000000000000#!/bin/bash # # Simple script to setup hundreds of containers at the same time # # In order to create 100 containers execute # containers_test.sh create apache 100 # Start # containers_test.sh start apache 100 # Stop # containers_test.sh stop apache 100 # Delete # containers_test.sh delete apache 100 # create() { virt-sandbox-service create -C -l s0:c$2 -u httpd.service $1 } delete() { virt-sandbox-service delete $1 } start() { systemctl start httpd@$1.service } stop() { systemctl stop httpd@$1.service } command=$1 name=$2 repeat=$3 for i in $(seq 1 $repeat) do eval $command $name$i $i done libvirt-sandbox-0.5.1+git20160404/libvirt-sandbox/tests/test-config.c000066400000000000000000000107751275305543100251020ustar00rootroot00000000000000 #include #include #include #include static gchar *readall(const gchar *path, GError **error) { GFile *f = g_file_new_for_path(path); GFileInputStream *fis = NULL; GFileInfo *info; int len; gchar *ret = NULL; if (!(info = g_file_query_info(f, "standard::*", G_FILE_QUERY_INFO_NONE, NULL, error))) goto cleanup; len = g_file_info_get_size(info); ret = g_new0(gchar, len+1); if (!(fis = g_file_read(f, NULL, error))) goto cleanup; if (!g_input_stream_read_all(G_INPUT_STREAM(fis), ret, len, NULL, NULL, error)) goto cleanup; ret[len] = '\0'; *error = NULL; cleanup: if (*error) { g_free(ret); ret = NULL; } g_object_unref(f); if (fis) g_object_unref(fis); return ret; } int main(int argc, char **argv) { GVirSandboxConfig *cfg1 = NULL; GVirSandboxConfig *cfg2 = NULL; GError *err = NULL; gchar *f1 = NULL; gchar *f2 = NULL; int ret = EXIT_FAILURE; const gchar *mounts[] = { "host-bind:/var/run/hell=/tmp/home", "host-image:/etc=/tmp/home/img.qcow2", "host-image:/etc=/tmp/home,format=qcow2", "host-bind:/tmp=", NULL }; const gchar *envs[] = { "key1=val1", "key2=val2", NULL }; const gchar *disks[] = { "file:dbdata=/tmp/img.blah,format=qcow2", "file:cache=/tmp/img.qcow2", "file:homedir=/tmp/img.qcow2,format=raw", "file:root=/tmp/img.img", NULL }; const gchar *includes[] = { "/etc/nswitch.conf", "/etc/resolve.conf", "/tmp/bar=/var/tmp/foo/bar", NULL, }; const gchar *networks[] = { "address=10.0.0.1/24%10.0.0.255", "address=10.0.0.1/24%10.0.0.255,route=192.168.1.0/24%10.0.0.3", NULL, }; const gchar *command[] = { "/bin/ls", "-l", "--color", NULL, }; unlink("test1.cfg"); unlink("test2.cfg"); if (!gvir_init_object_check(&argc, &argv, &err)) goto cleanup; cfg1 = GVIR_SANDBOX_CONFIG(gvir_sandbox_config_interactive_new("demo")); gvir_sandbox_config_set_root(cfg1, "/tmp"); gvir_sandbox_config_set_arch(cfg1, "ia64"); gvir_sandbox_config_interactive_set_tty(GVIR_SANDBOX_CONFIG_INTERACTIVE(cfg1), TRUE); gvir_sandbox_config_interactive_set_command(GVIR_SANDBOX_CONFIG_INTERACTIVE(cfg1), (gchar**)command); gvir_sandbox_config_set_userid(cfg1, 666); gvir_sandbox_config_set_groupid(cfg1, 666); gvir_sandbox_config_set_username(cfg1, "superdevil"); gvir_sandbox_config_set_homedir(cfg1, "/var/run/hell"); if (!gvir_sandbox_config_add_mount_strv(cfg1, (gchar**)mounts, &err)) goto cleanup; if (!gvir_sandbox_config_add_env_strv(cfg1, (gchar**)envs, &err)) goto cleanup; if (!gvir_sandbox_config_add_disk_strv(cfg1, (gchar**)disks, &err)) goto cleanup; if (!gvir_sandbox_config_add_host_include_strv(cfg1, (gchar**)includes, &err)) goto cleanup; if (!gvir_sandbox_config_add_network_strv(cfg1, (gchar**)networks, &err)) goto cleanup; gvir_sandbox_config_set_security_dynamic(cfg1, FALSE); gvir_sandbox_config_set_security_label(cfg1, "devil_u:devil_r:devil_t:s666:c0.c1023"); unlink("test.cfg"); if (!gvir_sandbox_config_save_to_path(cfg1, "test1.cfg", &err)) goto cleanup; if (!(cfg2 = gvir_sandbox_config_load_from_path("test1.cfg", &err))) goto cleanup; if (!gvir_sandbox_config_save_to_path(cfg2, "test2.cfg", &err)) goto cleanup; if (!(f1 = readall("test1.cfg", &err))) goto cleanup; if (!(f2 = readall("test2.cfg", &err))) goto cleanup; if (!g_str_equal(f1, f2)) { g_set_error(&err, 0, 0, "Different test file content >>>%s<<< >>>%s<<<\n", f1, f2); goto cleanup; } ret = EXIT_SUCCESS; cleanup: if (ret != EXIT_SUCCESS) fprintf(stderr, "Error in test: %s", err && err->message ? err->message : "none"); g_free(f1); g_free(f2); if (cfg1) g_object_unref(cfg1); if (cfg2) g_object_unref(cfg2); unlink("test1.cfg"); unlink("test2.cfg"); exit(ret); } /* * Local variables: * c-indent-level: 4 * c-basic-offset: 4 * indent-tabs-mode: nil * tab-width: 8 * End: */ libvirt-sandbox-0.5.1+git20160404/m4/000077500000000000000000000000001275305543100165515ustar00rootroot00000000000000libvirt-sandbox-0.5.1+git20160404/m4/manywarnings.m4000066400000000000000000000156601275305543100215400ustar00rootroot00000000000000# manywarnings.m4 serial 7 dnl Copyright (C) 2008-2014 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl From Simon Josefsson # gl_MANYWARN_COMPLEMENT(OUTVAR, LISTVAR, REMOVEVAR) # -------------------------------------------------- # Copy LISTVAR to OUTVAR except for the entries in REMOVEVAR. # Elements separated by whitespace. In set logic terms, the function # does OUTVAR = LISTVAR \ REMOVEVAR. AC_DEFUN([gl_MANYWARN_COMPLEMENT], [ gl_warn_set= set x $2; shift for gl_warn_item do case " $3 " in *" $gl_warn_item "*) ;; *) gl_warn_set="$gl_warn_set $gl_warn_item" ;; esac done $1=$gl_warn_set ]) # gl_MANYWARN_ALL_GCC(VARIABLE) # ----------------------------- # Add all documented GCC warning parameters to variable VARIABLE. # Note that you need to test them using gl_WARN_ADD if you want to # make sure your gcc understands it. AC_DEFUN([gl_MANYWARN_ALL_GCC], [ dnl First, check for some issues that only occur when combining multiple dnl gcc warning categories. AC_REQUIRE([AC_PROG_CC]) if test -n "$GCC"; then dnl Check if -W -Werror -Wno-missing-field-initializers is supported dnl with the current $CC $CFLAGS $CPPFLAGS. AC_MSG_CHECKING([whether -Wno-missing-field-initializers is supported]) AC_CACHE_VAL([gl_cv_cc_nomfi_supported], [ gl_save_CFLAGS="$CFLAGS" CFLAGS="$CFLAGS -W -Werror -Wno-missing-field-initializers" AC_COMPILE_IFELSE( [AC_LANG_PROGRAM([[]], [[]])], [gl_cv_cc_nomfi_supported=yes], [gl_cv_cc_nomfi_supported=no]) CFLAGS="$gl_save_CFLAGS"]) AC_MSG_RESULT([$gl_cv_cc_nomfi_supported]) if test "$gl_cv_cc_nomfi_supported" = yes; then dnl Now check whether -Wno-missing-field-initializers is needed dnl for the { 0, } construct. AC_MSG_CHECKING([whether -Wno-missing-field-initializers is needed]) AC_CACHE_VAL([gl_cv_cc_nomfi_needed], [ gl_save_CFLAGS="$CFLAGS" CFLAGS="$CFLAGS -W -Werror" AC_COMPILE_IFELSE( [AC_LANG_PROGRAM( [[void f (void) { typedef struct { int a; int b; } s_t; s_t s1 = { 0, }; } ]], [[]])], [gl_cv_cc_nomfi_needed=no], [gl_cv_cc_nomfi_needed=yes]) CFLAGS="$gl_save_CFLAGS" ]) AC_MSG_RESULT([$gl_cv_cc_nomfi_needed]) fi dnl Next, check if -Werror -Wuninitialized is useful with the dnl user's choice of $CFLAGS; some versions of gcc warn that it dnl has no effect if -O is not also used AC_MSG_CHECKING([whether -Wuninitialized is supported]) AC_CACHE_VAL([gl_cv_cc_uninitialized_supported], [ gl_save_CFLAGS="$CFLAGS" CFLAGS="$CFLAGS -Werror -Wuninitialized" AC_COMPILE_IFELSE( [AC_LANG_PROGRAM([[]], [[]])], [gl_cv_cc_uninitialized_supported=yes], [gl_cv_cc_uninitialized_supported=no]) CFLAGS="$gl_save_CFLAGS"]) AC_MSG_RESULT([$gl_cv_cc_uninitialized_supported]) fi # List all gcc warning categories. # To compare this list to your installed GCC's, run this Bash command: # # comm -3 \ # <(sed -n 's/^ *\(-[^ ]*\) .*/\1/p' manywarnings.m4 | sort) \ # <(gcc --help=warnings | sed -n 's/^ \(-[^ ]*\) .*/\1/p' | sort | # grep -v -x -f <( # awk '/^[^#]/ {print $1}' ../build-aux/gcc-warning.spec)) gl_manywarn_set= for gl_manywarn_item in \ -W \ -Wabi \ -Waddress \ -Waggressive-loop-optimizations \ -Wall \ -Warray-bounds \ -Wattributes \ -Wbad-function-cast \ -Wbuiltin-macro-redefined \ -Wcast-align \ -Wchar-subscripts \ -Wclobbered \ -Wcomment \ -Wcomments \ -Wcoverage-mismatch \ -Wcpp \ -Wdate-time \ -Wdeprecated \ -Wdeprecated-declarations \ -Wdisabled-optimization \ -Wdiv-by-zero \ -Wdouble-promotion \ -Wempty-body \ -Wendif-labels \ -Wenum-compare \ -Wextra \ -Wformat-contains-nul \ -Wformat-extra-args \ -Wformat-nonliteral \ -Wformat-security \ -Wformat-y2k \ -Wformat-zero-length \ -Wfree-nonheap-object \ -Wignored-qualifiers \ -Wimplicit \ -Wimplicit-function-declaration \ -Wimplicit-int \ -Winit-self \ -Winline \ -Wint-to-pointer-cast \ -Winvalid-memory-model \ -Winvalid-pch \ -Wjump-misses-init \ -Wlogical-op \ -Wmain \ -Wmaybe-uninitialized \ -Wmissing-braces \ -Wmissing-declarations \ -Wmissing-field-initializers \ -Wmissing-include-dirs \ -Wmissing-parameter-type \ -Wmissing-prototypes \ -Wmultichar \ -Wnarrowing \ -Wnested-externs \ -Wnonnull \ -Wold-style-declaration \ -Wold-style-definition \ -Wopenmp-simd \ -Woverflow \ -Woverlength-strings \ -Woverride-init \ -Wpacked \ -Wpacked-bitfield-compat \ -Wparentheses \ -Wpointer-arith \ -Wpointer-sign \ -Wpointer-to-int-cast \ -Wpragmas \ -Wreturn-local-addr \ -Wreturn-type \ -Wsequence-point \ -Wshadow \ -Wsizeof-pointer-memaccess \ -Wstack-protector \ -Wstrict-aliasing \ -Wstrict-overflow \ -Wstrict-prototypes \ -Wsuggest-attribute=const \ -Wsuggest-attribute=format \ -Wsuggest-attribute=noreturn \ -Wsuggest-attribute=pure \ -Wswitch \ -Wswitch-default \ -Wsync-nand \ -Wsystem-headers \ -Wtrampolines \ -Wtrigraphs \ -Wtype-limits \ -Wuninitialized \ -Wunknown-pragmas \ -Wunsafe-loop-optimizations \ -Wunused \ -Wunused-but-set-parameter \ -Wunused-but-set-variable \ -Wunused-function \ -Wunused-label \ -Wunused-local-typedefs \ -Wunused-macros \ -Wunused-parameter \ -Wunused-result \ -Wunused-value \ -Wunused-variable \ -Wvarargs \ -Wvariadic-macros \ -Wvector-operation-performance \ -Wvla \ -Wvolatile-register-var \ -Wwrite-strings \ \ ; do gl_manywarn_set="$gl_manywarn_set $gl_manywarn_item" done # gcc --help=warnings outputs an unusual form for this option; list # it here so that the above 'comm' command doesn't report a false match. gl_manywarn_set="$gl_manywarn_set -Wnormalized=nfc" # These are needed for older GCC versions. if test -n "$GCC"; then case `($CC --version) 2>/dev/null` in 'gcc (GCC) '[[0-3]].* | \ 'gcc (GCC) '4.[[0-7]].*) gl_manywarn_set="$gl_manywarn_set -fdiagnostics-show-option" gl_manywarn_set="$gl_manywarn_set -funit-at-a-time" ;; esac fi # Disable specific options as needed. if test "$gl_cv_cc_nomfi_needed" = yes; then gl_manywarn_set="$gl_manywarn_set -Wno-missing-field-initializers" fi if test "$gl_cv_cc_uninitialized_supported" = no; then gl_manywarn_set="$gl_manywarn_set -Wno-uninitialized" fi $1=$gl_manywarn_set ]) libvirt-sandbox-0.5.1+git20160404/m4/virt-capng.m4000066400000000000000000000025361275305543100210730ustar00rootroot00000000000000AC_DEFUN([LIBVIRT_SANDBOX_CAPNG], [ dnl libcap-ng AC_ARG_WITH([capng], AC_HELP_STRING([--with-capng], [use libcap-ng to reduce sandbox privileges @<:@default=check@:>@]), [], [with_capng=check]) dnl dnl This check looks for 'capng_updatev' since that was dnl introduced in 0.4.0 release which need as minimum dnl CAPNG_CFLAGS= CAPNG_LIBS= if test "$with_capng" != "no"; then old_cflags="$CFLAGS" old_libs="$LIBS" if test "$with_capng" = "check"; then AC_CHECK_HEADER([cap-ng.h],[],[with_capng=no]) AC_CHECK_LIB([cap-ng], [capng_updatev],[],[with_capng=no]) if test "$with_capng" != "no"; then with_capng="yes" fi else fail=0 AC_CHECK_HEADER([cap-ng.h],[],[fail=1]) AC_CHECK_LIB([cap-ng], [capng_updatev],[],[fail=1]) test $fail = 1 && AC_MSG_ERROR([You must install the capng >= 0.4.0 development package in order to compile and run virt-sandbox]) fi CFLAGS="$old_cflags" LIBS="$old_libs" fi if test "$with_capng" = "yes"; then CAPNG_LIBS="-lcap-ng" AC_DEFINE_UNQUOTED([HAVE_CAPNG], 1, [whether capng is available for privilege reduction]) fi AM_CONDITIONAL([HAVE_CAPNG], [test "$with_capng" != "no"]) AC_SUBST([CAPNG_CFLAGS]) AC_SUBST([CAPNG_LIBS]) ]) libvirt-sandbox-0.5.1+git20160404/m4/virt-compile-warnings.m4000066400000000000000000000105241275305543100232550ustar00rootroot00000000000000dnl dnl Enable all known GCC compiler warnings, except for those dnl we can't yet cope with dnl AC_DEFUN([LIBVIRT_SANDBOX_COMPILE_WARNINGS],[ dnl ****************************** dnl More compiler warnings dnl ****************************** AC_ARG_ENABLE([werror], AS_HELP_STRING([--enable-werror], [Use -Werror (if supported)]), [set_werror="$enableval"], [if test -d $srcdir/.git; then is_git_version=true set_werror=yes else set_werror=no fi]) # List of warnings that are not relevant / wanted # Don't care about C++ compiler compat dontwarn="$dontwarn -Wc++-compat" dontwarn="$dontwarn -Wabi" dontwarn="$dontwarn -Wdeprecated" # Don't care about ancient C standard compat dontwarn="$dontwarn -Wtraditional" # Don't care about ancient C standard compat dontwarn="$dontwarn -Wtraditional-conversion" # Ignore warnings in /usr/include dontwarn="$dontwarn -Wsystem-headers" # Happy for compiler to add struct padding dontwarn="$dontwarn -Wpadded" # GCC very confused with -O2 dontwarn="$dontwarn -Wunreachable-code" # We explicitly need to remove const sometimes dontwarn="$dontwarn -Wcast-qual" # Allow vars decl in the middle of blocks dontwarn="$dontwarn -Wdeclaration-after-statement" # Using long long is fine dontwarn="$dontwarn -Wlong-long" # Unused macros are ok dontwarn="$dontwarn -Wunused-macros" # g_clear_object & G_ATOMIC_OP_USE_GCC_BUILTINS causes # violations with this. XXX Fix glib ? dontwarn="$dontwarn -Wbad-function-cast" # Get all possible GCC warnings gl_MANYWARN_ALL_GCC([maybewarn]) # Remove the ones we don't want, blacklisted earlier gl_MANYWARN_COMPLEMENT([wantwarn], [$maybewarn], [$dontwarn]) # Check for $CC support of each warning for w in $wantwarn; do gl_WARN_ADD([$w]) done # GNULIB uses '-W' (aka -Wextra) which includes a bunch of stuff. # Unfortunately, this means you can't simply use '-Wsign-compare' # with gl_MANYWARN_COMPLEMENT # So we have -W enabled, and then have to explicitly turn off... gl_WARN_ADD([-Wno-sign-compare]) # Due to gutils.h bug in g_bit_storage gl_WARN_ADD([-Wno-sign-conversion]) gl_WARN_ADD([-Wno-conversion]) gl_WARN_ADD([-Wno-unused-parameter]) # We can't enable this due to horrible spice_usb_device_get_description # signature gl_WARN_ADD([-Wno-format-nonliteral]) # GNULIB expects this to be part of -Wc++-compat, but we turn # that one off, so we need to manually enable this again gl_WARN_ADD([-Wjump-misses-init]) # This should be < 256 really. Currently we're down to 4096, # but using 1024 bytes sized buffers (mostly for virStrerror) # stops us from going down further gl_WARN_ADD([-Wframe-larger-than=4096]) # Use improved glibc headers AH_VERBATIM([FORTIFY_SOURCE], [/* Enable compile-time and run-time bounds-checking, and some warnings, without upsetting newer glibc. */ #if !defined _FORTIFY_SOURCE && defined __OPTIMIZE__ && __OPTIMIZE__ # define _FORTIFY_SOURCE 2 #endif ]) # Extra special flags dnl -fstack-protector stuff passes gl_WARN_ADD with gcc dnl on Mingw32, but fails when actually used case $host in *-*-linux*) dnl Fedora only uses -fstack-protector, but doesn't seem to dnl be great overhead in adding -fstack-protector-all instead dnl gl_WARN_ADD([-fstack-protector]) gl_WARN_ADD([-fstack-protector-all]) gl_WARN_ADD([--param=ssp-buffer-size=4]) ;; esac gl_WARN_ADD([-fexceptions]) gl_WARN_ADD([-fasynchronous-unwind-tables]) gl_WARN_ADD([-fdiagnostics-show-option]) gl_WARN_ADD([-funit-at-a-time]) # Need -fipa-pure-const in order to make -Wsuggest-attribute=pure # fire even without -O. gl_WARN_ADD([-fipa-pure-const]) # We should eventually enable this, but right now there are at # least 75 functions triggering warnings. gl_WARN_ADD([-Wno-suggest-attribute=pure]) gl_WARN_ADD([-Wno-suggest-attribute=const]) if test "$set_werror" = "yes" then gl_WARN_ADD([-Werror]) fi WARN_LDFLAGS=$WARN_CFLAGS AC_SUBST([WARN_CFLAGS]) AC_SUBST([WARN_LDFLAGS]) ]) libvirt-sandbox-0.5.1+git20160404/m4/virt-coverage.m4000066400000000000000000000013211275305543100215650ustar00rootroot00000000000000AC_DEFUN([LIBVIRT_SANDBOX_COVERAGE],[ AC_ARG_ENABLE([test-coverage], [ --enable-test-coverage turn on code coverage instrumentation], [case "${enableval}" in yes|no) ;; *) AC_MSG_ERROR([bad value ${enableval} for test-coverage option]) ;; esac], [enableval=no]) enable_coverage=$enableval if test "${enable_coverage}" = yes; then save_WARN_CFLAGS=$WARN_CFLAGS WARN_CFLAGS= gl_WARN_ADD([-fprofile-arcs]) gl_WARN_ADD([-ftest-coverage]) COVERAGE_FLAGS=$WARN_CFLAGS AC_SUBST([COVERAGE_CFLAGS], [$COVERAGE_FLAGS]) AC_SUBST([COVERAGE_LDFLAGS], [$COVERAGE_FLAGS]) WARN_CFLAGS=$save_WARN_CFLAGS fi ]) libvirt-sandbox-0.5.1+git20160404/m4/virt-gettext.m4000066400000000000000000000013461275305543100214650ustar00rootroot00000000000000AC_DEFUN([LIBVIRT_SANDBOX_GETTEXT],[ # Autoconf 2.61a.99 and earlier don't support linking a file only # in VPATH builds. But since GNUmakefile is for maintainer use # only, it does not matter if we skip the link with older autoconf. # Automake 1.10.1 and earlier try to remove GNUmakefile in non-VPATH # builds, so use a shell variable to bypass this. GNUmakefile=GNUmakefile m4_if(m4_version_compare([2.61a.100], m4_defn([m4_PACKAGE_VERSION])), [1], [], [AC_CONFIG_LINKS([$GNUmakefile:$GNUmakefile], [], [GNUmakefile=$GNUmakefile])]) GETTEXT_PACKAGE=libvirt-sandbox AC_SUBST(GETTEXT_PACKAGE) AC_DEFINE_UNQUOTED([GETTEXT_PACKAGE],"$GETTEXT_PACKAGE", [GETTEXT package name]) ]) libvirt-sandbox-0.5.1+git20160404/m4/virt-gtk-misc.m4000066400000000000000000000003751275305543100215200ustar00rootroot00000000000000AC_DEFUN([LIBVIRT_SANDBOX_GTK_MISC],[ GTK_DOC_CHECK([1.10],[--flavour no-tmpl]) # Setup GLIB_MKENUMS to use glib-mkenums even if GLib is uninstalled. GLIB_MKENUMS=`$PKG_CONFIG --variable=glib_mkenums glib-2.0` AC_SUBST(GLIB_MKENUMS) ]) libvirt-sandbox-0.5.1+git20160404/m4/virt-rpcgen.m4000066400000000000000000000005571275305543100212620ustar00rootroot00000000000000AC_DEFUN([LIBVIRT_SANDBOX_RPCGEN], [ AC_PATH_PROG([PERL], [perl], [no]) AC_PATH_PROG([RPCGEN], [rpcgen], [no]) if test "$ac_cv_path_PERL" = "no" ; then AC_MSG_ERROR([perl is required to build the libvirt-sandbox]) fi if test "$ac_cv_path_RPCGEN" = "no" ; then AC_MSG_ERROR([rpcgen is required to build the libvirt-sandbox]) fi ]) libvirt-sandbox-0.5.1+git20160404/m4/virt-selinux.m4000066400000000000000000000007461275305543100214730ustar00rootroot00000000000000AC_DEFUN([LIBVIRT_SANDBOX_SELINUX], [ fail=0 SELINUX_CFLAGS= SELINUX_LIBS= old_LIBS=$LIBS old_CFLAGS=$CFLAGS AC_CHECK_HEADER([selinux/selinux.h],[],[fail=1]) AC_CHECK_LIB([selinux], [fgetfilecon],[SELINUX_LIBS="$SELINUX_LIBS -lselinux"],[fail=1]) LIBS=$old_LIBS CFLAGS=$old_CFLAGS test $fail = 1 && AC_MSG_ERROR([You must install the libselinux development package in order to compile libvirt-sandbox]) AC_SUBST([SELINUX_CFLAGS]) AC_SUBST([SELINUX_LIBS]) ]) libvirt-sandbox-0.5.1+git20160404/m4/virt-static.m4000066400000000000000000000015321275305543100212650ustar00rootroot00000000000000# LIBVIRT_SANDBOX_STATIC_LIB(NAME, CFLAGS, LDFLAGS, PROLOG, PROGRAM) # ------------------------------------------------------------------ # Check if the program can be linked with static libraries only. # AC_DEFUN([LIBVIRT_SANDBOX_STATIC_LIB], [ AC_MSG_CHECKING([for static $1]) SAVED_LDFLAGS=$LDFLAGS SAVED_CFLAGS=$CFLAGS CFLAGS="$2" LDFLAGS="-static $3" AC_LINK_IFELSE( [AC_LANG_PROGRAM([$4], [$5])], [], [AC_MSG_RESULT([no])] [AC_MSG_ERROR([static $1 is required in order to build virt-sandbox-init-qemu])] ) LDFLAGS=$SAVED_LDFLAGS CFLAGS=$SAVED_CFLAGS AC_MSG_RESULT([yes]) ]) AC_DEFUN([LIBVIRT_SANDBOX_STATIC_LIBC], [ LIBVIRT_SANDBOX_STATIC_LIB( [LIBC], [], [], [#include ], [printf("bar");]) ]) libvirt-sandbox-0.5.1+git20160404/m4/virt-win32.m4000066400000000000000000000015361275305543100207440ustar00rootroot00000000000000AC_DEFUN([LIBVIRT_SANDBOX_WIN32],[ dnl Extra link-time flags for Cygwin. dnl Copied from libxml2 configure.in, but I removed mingw changes dnl for now since I'm not supporting mingw at present. - RWMJ CYGWIN_EXTRA_LDFLAGS= CYGWIN_EXTRA_LIBADD= CYGWIN_EXTRA_PYTHON_LIBADD= MINGW_EXTRA_LDFLAGS= case "$host" in *-*-cygwin*) CYGWIN_EXTRA_LDFLAGS="-no-undefined" CYGWIN_EXTRA_LIBADD="${INTLLIBS}" if test "x$PYTHON_VERSION" != "x"; then CYGWIN_EXTRA_PYTHON_LIBADD="-L/usr/lib/python${PYTHON_VERSION}/config -lpython${PYTHON_VERSION}" fi ;; *-*-mingw*) MINGW_EXTRA_LDFLAGS="-no-undefined" ;; esac AC_SUBST([CYGWIN_EXTRA_LDFLAGS]) AC_SUBST([CYGWIN_EXTRA_LIBADD]) AC_SUBST([CYGWIN_EXTRA_PYTHON_LIBADD]) AC_SUBST([MINGW_EXTRA_LDFLAGS]) ]) libvirt-sandbox-0.5.1+git20160404/m4/warnings.m4000066400000000000000000000056031275305543100206470ustar00rootroot00000000000000# warnings.m4 serial 11 dnl Copyright (C) 2008-2014 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl From Simon Josefsson # gl_AS_VAR_APPEND(VAR, VALUE) # ---------------------------- # Provide the functionality of AS_VAR_APPEND if Autoconf does not have it. m4_ifdef([AS_VAR_APPEND], [m4_copy([AS_VAR_APPEND], [gl_AS_VAR_APPEND])], [m4_define([gl_AS_VAR_APPEND], [AS_VAR_SET([$1], [AS_VAR_GET([$1])$2])])]) # gl_COMPILER_OPTION_IF(OPTION, [IF-SUPPORTED], [IF-NOT-SUPPORTED], # [PROGRAM = AC_LANG_PROGRAM()]) # ----------------------------------------------------------------- # Check if the compiler supports OPTION when compiling PROGRAM. # # FIXME: gl_Warn must be used unquoted until we can assume Autoconf # 2.64 or newer. AC_DEFUN([gl_COMPILER_OPTION_IF], [AS_VAR_PUSHDEF([gl_Warn], [gl_cv_warn_[]_AC_LANG_ABBREV[]_$1])dnl AS_VAR_PUSHDEF([gl_Flags], [_AC_LANG_PREFIX[]FLAGS])dnl AS_LITERAL_IF([$1], [m4_pushdef([gl_Positive], m4_bpatsubst([$1], [^-Wno-], [-W]))], [gl_positive="$1" case $gl_positive in -Wno-*) gl_positive=-W`expr "X$gl_positive" : 'X-Wno-\(.*\)'` ;; esac m4_pushdef([gl_Positive], [$gl_positive])])dnl AC_CACHE_CHECK([whether _AC_LANG compiler handles $1], m4_defn([gl_Warn]), [ gl_save_compiler_FLAGS="$gl_Flags" gl_AS_VAR_APPEND(m4_defn([gl_Flags]), [" $gl_unknown_warnings_are_errors ]m4_defn([gl_Positive])["]) AC_LINK_IFELSE([m4_default([$4], [AC_LANG_PROGRAM([])])], [AS_VAR_SET(gl_Warn, [yes])], [AS_VAR_SET(gl_Warn, [no])]) gl_Flags="$gl_save_compiler_FLAGS" ]) AS_VAR_IF(gl_Warn, [yes], [$2], [$3]) m4_popdef([gl_Positive])dnl AS_VAR_POPDEF([gl_Flags])dnl AS_VAR_POPDEF([gl_Warn])dnl ]) # gl_UNKNOWN_WARNINGS_ARE_ERRORS # ------------------------------ # Clang doesn't complain about unknown warning options unless one also # specifies -Wunknown-warning-option -Werror. Detect this. AC_DEFUN([gl_UNKNOWN_WARNINGS_ARE_ERRORS], [gl_COMPILER_OPTION_IF([-Werror -Wunknown-warning-option], [gl_unknown_warnings_are_errors='-Wunknown-warning-option -Werror'], [gl_unknown_warnings_are_errors=])]) # gl_WARN_ADD(OPTION, [VARIABLE = WARN_CFLAGS], # [PROGRAM = AC_LANG_PROGRAM()]) # --------------------------------------------- # Adds parameter to WARN_CFLAGS if the compiler supports it when # compiling PROGRAM. For example, gl_WARN_ADD([-Wparentheses]). # # If VARIABLE is a variable name, AC_SUBST it. AC_DEFUN([gl_WARN_ADD], [AC_REQUIRE([gl_UNKNOWN_WARNINGS_ARE_ERRORS]) gl_COMPILER_OPTION_IF([$1], [gl_AS_VAR_APPEND(m4_if([$2], [], [[WARN_CFLAGS]], [[$2]]), [" $1"])], [], [$3]) m4_ifval([$2], [AS_LITERAL_IF([$2], [AC_SUBST([$2])])], [AC_SUBST([WARN_CFLAGS])])dnl ]) # Local Variables: # mode: autoconf # End: libvirt-sandbox-0.5.1+git20160404/maint.mk000066400000000000000000001726541275305543100177110ustar00rootroot00000000000000# -*-Makefile-*- # This Makefile fragment tries to be general-purpose enough to be # used by many projects via the gnulib maintainer-makefile module. ## Copyright (C) 2001-2013 Free Software Foundation, Inc. ## ## This program is free software: you can redistribute it and/or modify ## it under the terms of the GNU General Public License as published by ## the Free Software Foundation, either version 3 of the License, or ## (at your option) any later version. ## ## This program is distributed in the hope that it will be useful, ## but WITHOUT ANY WARRANTY; without even the implied warranty of ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ## GNU General Public License for more details. ## ## You should have received a copy of the GNU General Public License ## along with this program. If not, see . # This is reported not to work with make-3.79.1 # ME := $(word $(words $(MAKEFILE_LIST)),$(MAKEFILE_LIST)) ME := maint.mk # Diagnostic for continued use of deprecated variable. # Remove in 2013 ifneq ($(build_aux),) $(error "$(ME): \ set $$(_build-aux) relative to $$(srcdir) instead of $$(build_aux)") endif # Helper variables. _empty = _sp = $(_empty) $(_empty) # _equal,S1,S2 # ------------ # If S1 == S2, return S1, otherwise the empty string. _equal = $(and $(findstring $(1),$(2)),$(findstring $(2),$(1))) # member-check,VARIABLE,VALID-VALUES # ---------------------------------- # Check that $(VARIABLE) is in the space-separated list of VALID-VALUES, and # return it. Die otherwise. member-check = \ $(strip \ $(if $($(1)), \ $(if $(findstring $(_sp),$($(1))), \ $(error invalid $(1): '$($(1))', expected $(2)), \ $(or $(findstring $(_sp)$($(1))$(_sp),$(_sp)$(2)$(_sp)), \ $(error invalid $(1): '$($(1))', expected $(2)))), \ $(error $(1) undefined))) # Do not save the original name or timestamp in the .tar.gz file. # Use --rsyncable if available. gzip_rsyncable := \ $(shell gzip --help 2>/dev/null|grep rsyncable >/dev/null \ && printf %s --rsyncable) GZIP_ENV = '--no-name --best $(gzip_rsyncable)' GIT = git VC = $(GIT) VC_LIST = $(srcdir)/$(_build-aux)/vc-list-files -C $(srcdir) # You can override this variable in cfg.mk to set your own regexp # matching files to ignore. VC_LIST_ALWAYS_EXCLUDE_REGEX ?= ^$$ # This is to preprocess robustly the output of $(VC_LIST), so that even # when $(srcdir) is a pathological name like "....", the leading sed command # removes only the intended prefix. _dot_escaped_srcdir = $(subst .,\.,$(srcdir)) # Post-process $(VC_LIST) output, prepending $(srcdir)/, but only # when $(srcdir) is not ".". ifeq ($(srcdir),.) _prepend_srcdir_prefix = else _prepend_srcdir_prefix = | sed 's|^|$(srcdir)/|' endif # In order to be able to consistently filter "."-relative names, # (i.e., with no $(srcdir) prefix), this definition is careful to # remove any $(srcdir) prefix, and to restore what it removes. _sc_excl = \ $(or $(exclude_file_name_regexp--$@),^$$) VC_LIST_EXCEPT = \ $(VC_LIST) | sed 's|^$(_dot_escaped_srcdir)/||' \ | if test -f $(srcdir)/.x-$@; then grep -vEf $(srcdir)/.x-$@; \ else grep -Ev -e "$${VC_LIST_EXCEPT_DEFAULT-ChangeLog}"; fi \ | grep -Ev -e '($(VC_LIST_ALWAYS_EXCLUDE_REGEX)|$(_sc_excl))' \ $(_prepend_srcdir_prefix) ifeq ($(origin prev_version_file), undefined) prev_version_file = $(srcdir)/.prev-version endif PREV_VERSION := $(shell cat $(prev_version_file) 2>/dev/null) VERSION_REGEXP = $(subst .,\.,$(VERSION)) PREV_VERSION_REGEXP = $(subst .,\.,$(PREV_VERSION)) ifeq ($(VC),$(GIT)) this-vc-tag = v$(VERSION) this-vc-tag-regexp = v$(VERSION_REGEXP) else tag-package = $(shell echo "$(PACKAGE)" | tr '[:lower:]' '[:upper:]') tag-this-version = $(subst .,_,$(VERSION)) this-vc-tag = $(tag-package)-$(tag-this-version) this-vc-tag-regexp = $(this-vc-tag) endif my_distdir = $(PACKAGE)-$(VERSION) # Old releases are stored here. release_archive_dir ?= ../release # If RELEASE_TYPE is undefined, but RELEASE is, use its second word. # But overwrite VERSION. ifdef RELEASE VERSION := $(word 1, $(RELEASE)) RELEASE_TYPE ?= $(word 2, $(RELEASE)) endif # Validate and return $(RELEASE_TYPE), or die. RELEASE_TYPES = alpha beta stable release-type = $(call member-check,RELEASE_TYPE,$(RELEASE_TYPES)) # Override gnu_rel_host and url_dir_list in cfg.mk if these are not right. # Use alpha.gnu.org for alpha and beta releases. # Use ftp.gnu.org for stable releases. gnu_ftp_host-alpha = alpha.gnu.org gnu_ftp_host-beta = alpha.gnu.org gnu_ftp_host-stable = ftp.gnu.org gnu_rel_host ?= $(gnu_ftp_host-$(release-type)) url_dir_list ?= $(if $(call _equal,$(gnu_rel_host),ftp.gnu.org), \ http://ftpmirror.gnu.org/$(PACKAGE), \ ftp://$(gnu_rel_host)/gnu/$(PACKAGE)) # Override this in cfg.mk if you are using a different format in your # NEWS file. today = $(shell date +%Y-%m-%d) # Select which lines of NEWS are searched for $(news-check-regexp). # This is a sed line number spec. The default says that we search # lines 1..10 of NEWS for $(news-check-regexp). # If you want to search only line 3 or only lines 20-22, use "3" or "20,22". news-check-lines-spec ?= 1,10 news-check-regexp ?= '^\*.* $(VERSION_REGEXP) \($(today)\)' # Prevent programs like 'sort' from considering distinct strings to be equal. # Doing it here saves us from having to set LC_ALL elsewhere in this file. export LC_ALL = C ## --------------- ## ## Sanity checks. ## ## --------------- ## _cfg_mk := $(wildcard $(srcdir)/cfg.mk) # Collect the names of rules starting with 'sc_'. syntax-check-rules := $(sort $(shell sed -n 's/^\(sc_[a-zA-Z0-9_-]*\):.*/\1/p' \ $(srcdir)/$(ME) $(_cfg_mk))) .PHONY: $(syntax-check-rules) ifeq ($(shell $(VC_LIST) >/dev/null 2>&1; echo $$?),0) local-checks-available += $(syntax-check-rules) else local-checks-available += no-vc-detected no-vc-detected: @echo "No version control files detected; skipping syntax check" endif .PHONY: $(local-checks-available) # Arrange to print the name of each syntax-checking rule just before running it. $(syntax-check-rules): %: %.m sc_m_rules_ = $(patsubst %, %.m, $(syntax-check-rules)) .PHONY: $(sc_m_rules_) $(sc_m_rules_): @echo $(patsubst sc_%.m, %, $@) @date +%s.%N > .sc-start-$(basename $@) # Compute and print the elapsed time for each syntax-check rule. sc_z_rules_ = $(patsubst %, %.z, $(syntax-check-rules)) .PHONY: $(sc_z_rules_) $(sc_z_rules_): %.z: % @end=$$(date +%s.%N); \ start=$$(cat .sc-start-$*); \ rm -f .sc-start-$*; \ awk -v s=$$start -v e=$$end \ 'END {printf "%.2f $(patsubst sc_%,%,$*)\n", e - s}' < /dev/null # The patsubst here is to replace each sc_% rule with its sc_%.z wrapper # that computes and prints elapsed time. local-check := \ $(patsubst sc_%, sc_%.z, \ $(filter-out $(local-checks-to-skip), $(local-checks-available))) syntax-check: $(local-check) # _sc_search_regexp # # This macro searches for a given construct in the selected files and # then takes some action. # # Parameters (shell variables): # # prohibit | require # # Regular expression (ERE) denoting either a forbidden construct # or a required construct. Those arguments are exclusive. # # exclude # # Regular expression (ERE) denoting lines to ignore that matched # a prohibit construct. For example, this can be used to exclude # comments that mention why the nearby code uses an alternative # construct instead of the simpler prohibited construct. # # in_vc_files | in_files # # grep-E-style regexp selecting the files to check. For in_vc_files, # the regexp is used to select matching files from the list of all # version-controlled files; for in_files, it's from the names printed # by "find $(srcdir)". When neither is specified, use all files that # are under version control. # # containing | non_containing # # Select the files (non) containing strings matching this regexp. # If both arguments are specified then CONTAINING takes # precedence. # # with_grep_options # # Extra options for grep. # # ignore_case # # Ignore case. # # halt # # Message to display before to halting execution. # # Finally, you may exempt files based on an ERE matching file names. # For example, to exempt from the sc_space_tab check all files with the # .diff suffix, set this Make variable: # # exclude_file_name_regexp--sc_space_tab = \.diff$ # # Note that while this functionality is mostly inherited via VC_LIST_EXCEPT, # when filtering by name via in_files, we explicitly filter out matching # names here as well. # Initialize each, so that envvar settings cannot interfere. export require = export prohibit = export exclude = export in_vc_files = export in_files = export containing = export non_containing = export halt = export with_grep_options = # By default, _sc_search_regexp does not ignore case. export ignore_case = _ignore_case = $$(test -n "$$ignore_case" && printf %s -i || :) define _sc_say_and_exit dummy=; : so we do not need a semicolon before each use; \ { printf '%s\n' "$(ME): $$msg" 1>&2; exit 1; }; endef define _sc_search_regexp dummy=; : so we do not need a semicolon before each use; \ \ : Check arguments; \ test -n "$$prohibit" && test -n "$$require" \ && { msg='Cannot specify both prohibit and require' \ $(_sc_say_and_exit) } || :; \ test -z "$$prohibit" && test -z "$$require" \ && { msg='Should specify either prohibit or require' \ $(_sc_say_and_exit) } || :; \ test -z "$$prohibit" && test -n "$$exclude" \ && { msg='Use of exclude requires a prohibit pattern' \ $(_sc_say_and_exit) } || :; \ test -n "$$in_vc_files" && test -n "$$in_files" \ && { msg='Cannot specify both in_vc_files and in_files' \ $(_sc_say_and_exit) } || :; \ test "x$$halt" != x \ || { msg='halt not defined' $(_sc_say_and_exit) }; \ \ : Filter by file name; \ if test -n "$$in_files"; then \ files=$$(find $(srcdir) | grep -E "$$in_files" \ | grep -Ev '$(_sc_excl)'); \ else \ files=$$($(VC_LIST_EXCEPT)); \ if test -n "$$in_vc_files"; then \ files=$$(echo "$$files" | grep -E "$$in_vc_files"); \ fi; \ fi; \ \ : Filter by content; \ test -n "$$files" && test -n "$$containing" \ && { files=$$(grep -l "$$containing" $$files); } || :; \ test -n "$$files" && test -n "$$non_containing" \ && { files=$$(grep -vl "$$non_containing" $$files); } || :; \ \ : Check for the construct; \ if test -n "$$files"; then \ if test -n "$$prohibit"; then \ grep $$with_grep_options $(_ignore_case) -nE "$$prohibit" $$files \ | grep -vE "$${exclude:-^$$}" \ && { msg="$$halt" $(_sc_say_and_exit) } || :; \ else \ grep $$with_grep_options $(_ignore_case) -LE "$$require" $$files \ | grep . \ && { msg="$$halt" $(_sc_say_and_exit) } || :; \ fi \ else :; \ fi || :; endef sc_avoid_if_before_free: @$(srcdir)/$(_build-aux)/useless-if-before-free \ $(useless_free_options) \ $$($(VC_LIST_EXCEPT) | grep -v useless-if-before-free) && \ { echo '$(ME): found useless "if" before "free" above' 1>&2; \ exit 1; } || : sc_cast_of_argument_to_free: @prohibit='\&2; \ exit 1; } || : # Error messages should not start with a capital letter sc_error_message_uppercase: @grep -nEA2 '[^rp]error *\(' $$($(VC_LIST_EXCEPT)) \ | grep -E '"[A-Z]' \ | grep -vE '"FATAL|"WARNING|"Java|"C#|PRIuMAX' && \ { echo '$(ME): found capitalized error message' 1>&2; \ exit 1; } || : # Error messages should not end with a period sc_error_message_period: @grep -nEA2 '[^rp]error *\(' $$($(VC_LIST_EXCEPT)) \ | grep -E '[^."]\."' && \ { echo '$(ME): found error message ending in period' 1>&2; \ exit 1; } || : sc_file_system: @prohibit=file''system \ ignore_case=1 \ halt='found use of "file''system"; spell it "file system"' \ $(_sc_search_regexp) # Don't use cpp tests of this symbol. All code assumes config.h is included. sc_prohibit_have_config_h: @prohibit='^# *if.*HAVE''_CONFIG_H' \ halt='found use of HAVE''_CONFIG_H; remove' \ $(_sc_search_regexp) # Nearly all .c files must include . However, we also permit this # via inclusion of a package-specific header, if cfg.mk specified one. # config_h_header must be suitable for grep -E. config_h_header ?= sc_require_config_h: @require='^# *include $(config_h_header)' \ in_vc_files='\.c$$' \ halt='the above files do not include ' \ $(_sc_search_regexp) # You must include before including any other header file. # This can possibly be via a package-specific header, if given by cfg.mk. sc_require_config_h_first: @if $(VC_LIST_EXCEPT) | grep -l '\.c$$' > /dev/null; then \ fail=0; \ for i in $$($(VC_LIST_EXCEPT) | grep '\.c$$'); do \ grep '^# *include\>' $$i | sed 1q \ | grep -E '^# *include $(config_h_header)' > /dev/null \ || { echo $$i; fail=1; }; \ done; \ test $$fail = 1 && \ { echo '$(ME): the above files include some other header' \ 'before ' 1>&2; exit 1; } || :; \ else :; \ fi sc_prohibit_HAVE_MBRTOWC: @prohibit='\bHAVE_MBRTOWC\b' \ halt="do not use $$prohibit; it is always defined" \ $(_sc_search_regexp) # To use this "command" macro, you must first define two shell variables: # h: the header name, with no enclosing <> or "" # re: a regular expression that matches IFF something provided by $h is used. define _sc_header_without_use dummy=; : so we do not need a semicolon before each use; \ h_esc=`echo '[<"]'"$$h"'[">]'|sed 's/\./\\\\./g'`; \ if $(VC_LIST_EXCEPT) | grep -l '\.c$$' > /dev/null; then \ files=$$(grep -l '^# *include '"$$h_esc" \ $$($(VC_LIST_EXCEPT) | grep '\.c$$')) && \ grep -LE "$$re" $$files | grep . && \ { echo "$(ME): the above files include $$h but don't use it" \ 1>&2; exit 1; } || :; \ else :; \ fi endef # Prohibit the inclusion of assert.h without an actual use of assert. sc_prohibit_assert_without_use: @h='assert.h' re='\new(file => "/dev/stdin")->as_string'|sed 's/\?://g' # Note this was produced by the above: # _xa1 = \ #x(((2n?)?re|c(har)?|n(re|m)|z)alloc|alloc_(oversized|die)|m(alloc|emdup)|strdup) # But we can do better, in at least two ways: # 1) take advantage of two "dup"-suffixed strings: # x(((2n?)?re|c(har)?|n(re|m)|[mz])alloc|alloc_(oversized|die)|(mem|str)dup) # 2) notice that "c(har)?|[mz]" is equivalent to the shorter and more readable # "char|[cmz]" # x(((2n?)?re|char|n(re|m)|[cmz])alloc|alloc_(oversized|die)|(mem|str)dup) _xa1 = x(((2n?)?re|char|n(re|m)|[cmz])alloc|alloc_(oversized|die)|(mem|str)dup) _xa2 = X([CZ]|N?M)ALLOC sc_prohibit_xalloc_without_use: @h='xalloc.h' \ re='\<($(_xa1)|$(_xa2)) *\('\ $(_sc_header_without_use) # Extract function names: # perl -lne '/^(?:extern )?(?:void|char) \*?(\w+) *\(/ and print $1' lib/hash.h _hash_re = \ clear|delete|free|get_(first|next)|insert|lookup|print_statistics|reset_tuning _hash_fn = \<($(_hash_re)) *\( _hash_struct = (struct )?\<[Hh]ash_(table|tuning)\> sc_prohibit_hash_without_use: @h='hash.h' \ re='$(_hash_fn)|$(_hash_struct)'\ $(_sc_header_without_use) sc_prohibit_cloexec_without_use: @h='cloexec.h' re='\<(set_cloexec_flag|dup_cloexec) *\(' \ $(_sc_header_without_use) sc_prohibit_posixver_without_use: @h='posixver.h' re='\' \ halt='do not use HAVE''_FCNTL_H or O'_NDELAY \ $(_sc_search_regexp) # FIXME: warn about definitions of EXIT_FAILURE, EXIT_SUCCESS, STREQ # Each nonempty ChangeLog line must start with a year number, or a TAB. sc_changelog: @prohibit='^[^12 ]' \ in_vc_files='^ChangeLog$$' \ halt='found unexpected prefix in a ChangeLog' \ $(_sc_search_regexp) # Ensure that each .c file containing a "main" function also # calls set_program_name. sc_program_name: @require='set_program_name *\(m?argv\[0\]\);' \ in_vc_files='\.c$$' \ containing='\
/dev/null \ && : || { die=1; echo $$i; } \ done; \ test $$die = 1 && \ { echo 1>&2 '$(ME): the final line in each of the above is not:'; \ echo 1>&2 'Exit something'; \ exit 1; } || :; \ fi sc_trailing_blank: @prohibit='[ ]$$' \ halt='found trailing blank(s)' \ exclude='^Binary file .* matches$$' \ $(_sc_search_regexp) # Match lines like the following, but where there is only one space # between the options and the description: # -D, --all-repeated[=delimit-method] print all duplicate lines\n longopt_re = --[a-z][0-9A-Za-z-]*(\[?=[0-9A-Za-z-]*\]?)? sc_two_space_separator_in_usage: @prohibit='^ *(-[A-Za-z],)? $(longopt_re) [^ ].*\\$$' \ halt='help2man requires at least two spaces between an option and its description'\ $(_sc_search_regexp) # A regexp matching function names like "error" that may be used # to emit translatable messages. _gl_translatable_diag_func_re ?= error # Look for diagnostics that aren't marked for translation. # This won't find any for which error's format string is on a separate line. sc_unmarked_diagnostics: @prohibit='\<$(_gl_translatable_diag_func_re) *\([^"]*"[^"]*[a-z]{3}' \ exclude='(_|ngettext ?)\(' \ halt='found unmarked diagnostic(s)' \ $(_sc_search_regexp) # Avoid useless parentheses like those in this example: # #if defined (SYMBOL) || defined (SYM2) sc_useless_cpp_parens: @prohibit='^# *if .*defined *\(' \ halt='found useless parentheses in cpp directive' \ $(_sc_search_regexp) # List headers for which HAVE_HEADER_H is always true, assuming you are # using the appropriate gnulib module. CAUTION: for each "unnecessary" # #if HAVE_HEADER_H that you remove, be sure that your project explicitly # requires the gnulib module that guarantees the usability of that header. gl_assured_headers_ = \ cd $(gnulib_dir)/lib && echo *.in.h|sed 's/\.in\.h//g' # Convert the list of names to upper case, and replace each space with "|". az_ = abcdefghijklmnopqrstuvwxyz AZ_ = ABCDEFGHIJKLMNOPQRSTUVWXYZ gl_header_upper_case_or_ = \ $$($(gl_assured_headers_) \ | tr $(az_)/.- $(AZ_)___ \ | tr -s ' ' '|' \ ) sc_prohibit_always_true_header_tests: @or=$(gl_header_upper_case_or_); \ re="HAVE_($$or)_H"; \ prohibit='\<'"$$re"'\>' \ halt=$$(printf '%s\n' \ 'do not test the above HAVE_
_H symbol(s);' \ ' with the corresponding gnulib module, they are always true') \ $(_sc_search_regexp) sc_prohibit_defined_have_decl_tests: @prohibit='#[ ]*if(n?def|.*\[ (]+HAVE_DECL_' \ halt='HAVE_DECL macros are always defined' \ $(_sc_search_regexp) # ================================================================== gl_other_headers_ ?= \ intprops.h \ openat.h \ stat-macros.h # Perl -lne code to extract "significant" cpp-defined symbols from a # gnulib header file, eliminating a few common false-positives. # The exempted names below are defined only conditionally in gnulib, # and hence sometimes must/may be defined in application code. gl_extract_significant_defines_ = \ /^\# *define ([^_ (][^ (]*)(\s*\(|\s+\w+)/\ && $$2 !~ /(?:rpl_|_used_without_)/\ && $$1 !~ /^(?:NSIG|ENODATA)$$/\ && $$1 !~ /^(?:SA_RESETHAND|SA_RESTART)$$/\ and print $$1 # Create a list of regular expressions matching the names # of macros that are guaranteed to be defined by parts of gnulib. define def_sym_regex gen_h=$(gl_generated_headers_); \ (cd $(gnulib_dir)/lib; \ for f in *.in.h $(gl_other_headers_); do \ test -f $$f \ && perl -lne '$(gl_extract_significant_defines_)' $$f; \ done; \ ) | sort -u \ | sed 's/^/^ *# *(define|undef) */;s/$$/\\>/' endef # Don't define macros that we already get from gnulib header files. sc_prohibit_always-defined_macros: @if test -d $(gnulib_dir); then \ case $$(echo all: | grep -l -f - Makefile) in Makefile);; *) \ echo '$(ME): skipping $@: you lack GNU grep' 1>&2; exit 0;; \ esac; \ $(def_sym_regex) | grep -E -f - $$($(VC_LIST_EXCEPT)) \ && { echo '$(ME): define the above via some gnulib .h file' \ 1>&2; exit 1; } || :; \ fi # ================================================================== # Prohibit checked in backup files. sc_prohibit_backup_files: @$(VC_LIST) | grep '~$$' && \ { echo '$(ME): found version controlled backup file' 1>&2; \ exit 1; } || : # Require the latest GPL. sc_GPL_version: @prohibit='either ''version [^3]' \ halt='GPL vN, N!=3' \ $(_sc_search_regexp) # Require the latest GFDL. Two regexp, since some .texi files end up # line wrapping between 'Free Documentation License,' and 'Version'. _GFDL_regexp = (Free ''Documentation.*Version 1\.[^3]|Version 1\.[^3] or any) sc_GFDL_version: @prohibit='$(_GFDL_regexp)' \ halt='GFDL vN, N!=3' \ $(_sc_search_regexp) # Don't use Texinfo's @acronym{}. # http://lists.gnu.org/archive/html/bug-gnulib/2010-03/msg00321.html texinfo_suffix_re_ ?= \.(txi|texi(nfo)?)$$ sc_texinfo_acronym: @prohibit='@acronym\{' \ in_vc_files='$(texinfo_suffix_re_)' \ halt='found use of Texinfo @acronym{}' \ $(_sc_search_regexp) cvs_keywords = \ Author|Date|Header|Id|Name|Locker|Log|RCSfile|Revision|Source|State sc_prohibit_cvs_keyword: @prohibit='\$$($(cvs_keywords))\$$' \ halt='do not use CVS keyword expansion' \ $(_sc_search_regexp) # This Perl code is slightly obfuscated. Not only is each "$" doubled # because it's in a Makefile, but the $$c's are comments; we cannot # use "#" due to the way the script ends up concatenated onto one line. # It would be much more concise, and would produce better output (including # counts) if written as: # perl -ln -0777 -e '/\n(\n+)$/ and print "$ARGV: ".length $1' ... # but that would be far less efficient, reading the entire contents # of each file, rather than just the last two bytes of each. # In addition, while the code below detects both blank lines and a missing # newline at EOF, the above detects only the former. # # This is a perl script that is expected to be the single-quoted argument # to a command-line "-le". The remaining arguments are file names. # Print the name of each file that does not end in exactly one newline byte. # I.e., warn if there are blank lines (2 or more newlines), or if the # last byte is not a newline. However, currently we don't complain # about any file that contains exactly one byte. # Exit nonzero if at least one such file is found, otherwise, exit 0. # Warn about, but otherwise ignore open failure. Ignore seek/read failure. # # Use this if you want to remove trailing empty lines from selected files: # perl -pi -0777 -e 's/\n\n+$/\n/' files... # require_exactly_one_NL_at_EOF_ = \ foreach my $$f (@ARGV) \ { \ open F, "<", $$f or (warn "failed to open $$f: $$!\n"), next; \ my $$p = sysseek (F, -2, 2); \ my $$c = "seek failure probably means file has < 2 bytes; ignore"; \ my $$last_two_bytes; \ defined $$p and $$p = sysread F, $$last_two_bytes, 2; \ close F; \ $$c = "ignore read failure"; \ $$p && ($$last_two_bytes eq "\n\n" \ || substr ($$last_two_bytes,1) ne "\n") \ and (print $$f), $$fail=1; \ } \ END { exit defined $$fail } sc_prohibit_empty_lines_at_EOF: @perl -le '$(require_exactly_one_NL_at_EOF_)' $$($(VC_LIST_EXCEPT)) \ || { echo '$(ME): empty line(s) or no newline at EOF' \ 1>&2; exit 1; } || : # Make sure we don't use st_blocks. Use ST_NBLOCKS instead. # This is a bit of a kludge, since it prevents use of the string # even in comments, but for now it does the job with no false positives. sc_prohibit_stat_st_blocks: @prohibit='[.>]st_blocks' \ halt='do not use st_blocks; use ST_NBLOCKS' \ $(_sc_search_regexp) # Make sure we don't define any S_IS* macros in src/*.c files. # They're already defined via gnulib's sys/stat.h replacement. sc_prohibit_S_IS_definition: @prohibit='^ *# *define *S_IS' \ halt='do not define S_IS* macros; include ' \ $(_sc_search_regexp) # Perl block to convert a match to FILE_NAME:LINENO:TEST, # that is shared by two definitions below. perl_filename_lineno_text_ = \ -e ' {' \ -e ' $$n = ($$` =~ tr/\n/\n/ + 1);' \ -e ' ($$v = $$&) =~ s/\n/\\n/g;' \ -e ' print "$$ARGV:$$n:$$v\n";' \ -e ' }' prohibit_doubled_word_RE_ ?= \ /\b(then?|[iao]n|i[fst]|but|f?or|at|and|[dt]o)\s+\1\b/gims prohibit_doubled_word_ = \ -e 'while ($(prohibit_doubled_word_RE_))' \ $(perl_filename_lineno_text_) # Define this to a regular expression that matches # any filename:dd:match lines you want to ignore. # The default is to ignore no matches. ignore_doubled_word_match_RE_ ?= ^$$ sc_prohibit_doubled_word: @perl -n -0777 $(prohibit_doubled_word_) $$($(VC_LIST_EXCEPT)) \ | grep -vE '$(ignore_doubled_word_match_RE_)' \ | grep . && { echo '$(ME): doubled words' 1>&2; exit 1; } || : # A regular expression matching undesirable combinations of words like # "can not"; this matches them even when the two words appear on different # lines, but not when there is an intervening delimiter like "#" or "*". # Similarly undesirable, "See @xref{...}", since an @xref should start # a sentence. Explicitly prohibit any prefix of "see" or "also". # Also prohibit a prefix matching "\w+ +". # @pxref gets the same see/also treatment and should be parenthesized; # presume it must *not* start a sentence. bad_xref_re_ ?= (?:[\w,:;] +|(?:see|also)\s+)\@xref\{ bad_pxref_re_ ?= (?:[.!?]|(?:see|also))\s+\@pxref\{ prohibit_undesirable_word_seq_RE_ ?= \ /(?:\bcan\s+not\b|$(bad_xref_re_)|$(bad_pxref_re_))/gims prohibit_undesirable_word_seq_ = \ -e 'while ($(prohibit_undesirable_word_seq_RE_))' \ $(perl_filename_lineno_text_) # Define this to a regular expression that matches # any filename:dd:match lines you want to ignore. # The default is to ignore no matches. ignore_undesirable_word_sequence_RE_ ?= ^$$ sc_prohibit_undesirable_word_seq: @perl -n -0777 $(prohibit_undesirable_word_seq_) \ $$($(VC_LIST_EXCEPT)) \ | grep -vE '$(ignore_undesirable_word_sequence_RE_)' | grep . \ && { echo '$(ME): undesirable word sequence' >&2; exit 1; } || : _ptm1 = use "test C1 && test C2", not "test C1 -''a C2" _ptm2 = use "test C1 || test C2", not "test C1 -''o C2" # Using test's -a and -o operators is not portable. # We prefer test over [, since the latter is spelled [[ in configure.ac. sc_prohibit_test_minus_ao: @prohibit='(\ /dev/null \ || { fail=1; echo 1>&2 "$(ME): $$p uses proper_name_utf8"; }; \ done; \ test $$fail = 1 && \ { echo 1>&2 '$(ME): the above do not link with any ICONV library'; \ exit 1; } || :; \ fi # Warn about "c0nst struct Foo const foo[]", # but not about "char const *const foo" or "#define const const". sc_redundant_const: @prohibit='\bconst\b[[:space:][:alnum:]]{2,}\bconst\b' \ halt='redundant "const" in declarations' \ $(_sc_search_regexp) sc_const_long_option: @prohibit='^ *static.*struct option ' \ exclude='const struct option|struct option const' \ halt='add "const" to the above declarations' \ $(_sc_search_regexp) NEWS_hash = \ $$(sed -n '/^\*.* $(PREV_VERSION_REGEXP) ([0-9-]*)/,$$p' \ $(srcdir)/NEWS \ | perl -0777 -pe \ 's/^Copyright.+?Free\sSoftware\sFoundation,\sInc\.\n//ms' \ | md5sum - \ | sed 's/ .*//') # Ensure that we don't accidentally insert an entry into an old NEWS block. sc_immutable_NEWS: @if test -f $(srcdir)/NEWS; then \ test "$(NEWS_hash)" = '$(old_NEWS_hash)' && : || \ { echo '$(ME): you have modified old NEWS' 1>&2; exit 1; }; \ fi # Update the hash stored above. Do this after each release and # for any corrections to old entries. update-NEWS-hash: NEWS perl -pi -e 's/^(old_NEWS_hash[ \t]+:?=[ \t]+).*/$${1}'"$(NEWS_hash)/" \ $(srcdir)/cfg.mk # Ensure that we use only the standard $(VAR) notation, # not @...@ in Makefile.am, now that we can rely on automake # to emit a definition for each substituted variable. # However, there is still one case in which @VAR@ use is not just # legitimate, but actually required: when augmenting an automake-defined # variable with a prefix. For example, gettext uses this: # MAKEINFO = env LANG= LC_MESSAGES= LC_ALL= LANGUAGE= @MAKEINFO@ # otherwise, makeinfo would put German or French (current locale) # navigation hints in the otherwise-English documentation. # # Allow the package to add exceptions via a hook in cfg.mk; # for example, @PRAGMA_SYSTEM_HEADER@ can be permitted by # setting this to ' && !/PRAGMA_SYSTEM_HEADER/'. _makefile_at_at_check_exceptions ?= sc_makefile_at_at_check: @perl -ne '/\@\w+\@/' \ -e ' && !/(\w+)\s+=.*\@\1\@$$/' \ -e ''$(_makefile_at_at_check_exceptions) \ -e 'and (print "$$ARGV:$$.: $$_"), $$m=1; END {exit !$$m}' \ $$($(VC_LIST_EXCEPT) | grep -E '(^|/)(Makefile\.am|[^/]+\.mk)$$') \ && { echo '$(ME): use $$(...), not @...@' 1>&2; exit 1; } || : news-check: NEWS $(AM_V_GEN)if sed -n $(news-check-lines-spec)p $< \ | grep -E $(news-check-regexp) >/dev/null; then \ :; \ else \ echo 'NEWS: $$(news-check-regexp) failed to match' 1>&2; \ exit 1; \ fi sc_makefile_TAB_only_indentation: @prohibit='^ [ ]{8}' \ in_vc_files='akefile|\.mk$$' \ halt='found TAB-8-space indentation' \ $(_sc_search_regexp) sc_m4_quote_check: @prohibit='(AC_DEFINE(_UNQUOTED)?|AC_DEFUN)\([^[]' \ in_vc_files='(^configure\.ac|\.m4)$$' \ halt='quote the first arg to AC_DEF*' \ $(_sc_search_regexp) fix_po_file_diag = \ 'you have changed the set of files with translatable diagnostics;\n\ apply the above patch\n' # Verify that all source files using _() (more specifically, files that # match $(_gl_translatable_string_re)) are listed in po/POTFILES.in. po_file ?= $(srcdir)/po/POTFILES.in generated_files ?= $(srcdir)/lib/*.[ch] _gl_translatable_string_re ?= \b(N?_|gettext *)\([^)"]*("|$$) sc_po_check: @if test -f $(po_file); then \ grep -E -v '^(#|$$)' $(po_file) \ | grep -v '^src/false\.c$$' | sort > $@-1; \ files=; \ for file in $$($(VC_LIST_EXCEPT)) $(generated_files); do \ test -r $$file || continue; \ case $$file in \ *.m4|*.mk) continue ;; \ *.?|*.??) ;; \ *) continue;; \ esac; \ case $$file in \ *.[ch]) \ base=`expr " $$file" : ' \(.*\)\..'`; \ { test -f $$base.l || test -f $$base.y; } && continue;; \ esac; \ files="$$files $$file"; \ done; \ grep -E -l '$(_gl_translatable_string_re)' $$files \ | sed 's|^$(_dot_escaped_srcdir)/||' | sort -u > $@-2; \ diff -u -L $(po_file) -L $(po_file) $@-1 $@-2 \ || { printf '$(ME): '$(fix_po_file_diag) 1>&2; exit 1; }; \ rm -f $@-1 $@-2; \ fi # Sometimes it is useful to change the PATH environment variable # in Makefiles. When doing so, it's better not to use the Unix-centric # path separator of ':', but rather the automake-provided '$(PATH_SEPARATOR)'. msg = 'Do not use ":" above; use $$(PATH_SEPARATOR) instead' sc_makefile_path_separator_check: @prohibit='PATH[=].*:' \ in_vc_files='akefile|\.mk$$' \ halt=$(msg) \ $(_sc_search_regexp) # Check that 'make alpha' will not fail at the end of the process, # i.e., when pkg-M.N.tar.xz already exists (either in "." or in ../release) # and is read-only. writable-files: $(AM_V_GEN)if test -d $(release_archive_dir); then \ for file in $(DIST_ARCHIVES); do \ for p in ./ $(release_archive_dir)/; do \ test -e $$p$$file || continue; \ test -w $$p$$file \ || { echo ERROR: $$p$$file is not writable; fail=1; }; \ done; \ done; \ test "$$fail" && exit 1 || : ; \ else :; \ fi v_etc_file = $(gnulib_dir)/lib/version-etc.c sample-test = tests/sample-test texi = doc/$(PACKAGE).texi # Make sure that the copyright date in $(v_etc_file) is up to date. # Do the same for the $(sample-test) and the main doc/.texi file. sc_copyright_check: @require='enum { COPYRIGHT_YEAR = '$$(date +%Y)' };' \ in_files=$(v_etc_file) \ halt='out of date copyright in $(v_etc_file); update it' \ $(_sc_search_regexp) @require='# Copyright \(C\) '$$(date +%Y)' Free' \ in_vc_files=$(sample-test) \ halt='out of date copyright in $(sample-test); update it' \ $(_sc_search_regexp) @require='Copyright @copyright\{\} .*'$$(date +%Y)' Free' \ in_vc_files=$(texi) \ halt='out of date copyright in $(texi); update it' \ $(_sc_search_regexp) # If tests/help-version exists and seems to be new enough, assume that its # use of init.sh and path_prepend_ is correct, and ensure that every other # use of init.sh is identical. # This is useful because help-version cross-checks prog --version # with $(VERSION), which verifies that its path_prepend_ invocation # sets PATH correctly. This is an inexpensive way to ensure that # the other init.sh-using tests also get it right. _hv_file ?= $(srcdir)/tests/help-version _hv_regex_weak ?= ^ *\. .*/init\.sh" # Fix syntax-highlighters " _hv_regex_strong ?= ^ *\. "\$${srcdir=\.}/init\.sh" sc_cross_check_PATH_usage_in_tests: @if test -f $(_hv_file); then \ grep -l 'VERSION mismatch' $(_hv_file) >/dev/null \ || { echo "$@: skipped: no such file: $(_hv_file)" 1>&2; \ exit 0; }; \ grep -lE '$(_hv_regex_strong)' $(_hv_file) >/dev/null \ || { echo "$@: $(_hv_file) lacks conforming use of init.sh" 1>&2; \ exit 1; }; \ good=$$(grep -E '$(_hv_regex_strong)' $(_hv_file)); \ grep -LFx "$$good" \ $$(grep -lE '$(_hv_regex_weak)' $$($(VC_LIST_EXCEPT))) \ | grep . && \ { echo "$(ME): the above files use path_prepend_ inconsistently" \ 1>&2; exit 1; } || :; \ fi # BRE regex of file contents to identify a test script. _test_script_regex ?= \ # In tests, use "compare expected actual", not the reverse. sc_prohibit_reversed_compare_failure: @prohibit='\ vc-diffs || : $(AM_V_at)if test -s vc-diffs; then \ cat vc-diffs; \ echo "Some files are locally modified:" 1>&2; \ exit 1; \ else \ rm vc-diffs; \ fi rel-files = $(DIST_ARCHIVES) gnulib_dir ?= $(srcdir)/gnulib gnulib-version = $$(cd $(gnulib_dir) && git describe) bootstrap-tools ?= autoconf,automake,gnulib # If it's not already specified, derive the GPG key ID from # the signed tag we've just applied to mark this release. gpg_key_ID ?= \ $$(cd $(srcdir) \ && git cat-file tag v$(VERSION) \ | gpgv --status-fd 1 --keyring /dev/null - - 2>/dev/null \ | awk '/^\[GNUPG:\] ERRSIG / {print $$3; exit}') translation_project_ ?= coordinator@translationproject.org # Make info-gnu the default only for a stable release. announcement_Cc_stable = $(translation_project_), $(PACKAGE_BUGREPORT) announcement_mail_headers_stable = \ To: info-gnu@gnu.org \ Cc: $(announcement_Cc_) \ Mail-Followup-To: $(PACKAGE_BUGREPORT) announcement_Cc_alpha = $(translation_project_) announcement_mail_headers_alpha = \ To: $(PACKAGE_BUGREPORT) \ Cc: $(announcement_Cc_) announcement_mail_Cc_beta = $(announcement_mail_Cc_alpha) announcement_mail_headers_beta = $(announcement_mail_headers_alpha) announcement_mail_Cc_ ?= $(announcement_mail_Cc_$(release-type)) announcement_mail_headers_ ?= $(announcement_mail_headers_$(release-type)) announcement: NEWS ChangeLog $(rel-files) # Not $(AM_V_GEN) since the output of this command serves as # announcement message: it would start with " GEN announcement". $(AM_V_at)$(srcdir)/$(_build-aux)/announce-gen \ --mail-headers='$(announcement_mail_headers_)' \ --release-type=$(release-type) \ --package=$(PACKAGE) \ --prev=$(PREV_VERSION) \ --curr=$(VERSION) \ --gpg-key-id=$(gpg_key_ID) \ --srcdir=$(srcdir) \ --news=$(srcdir)/NEWS \ --bootstrap-tools=$(bootstrap-tools) \ $$(case ,$(bootstrap-tools), in (*,gnulib,*) \ echo --gnulib-version=$(gnulib-version);; esac) \ --no-print-checksums \ $(addprefix --url-dir=, $(url_dir_list)) .PHONY: release-commit release-commit: $(AM_V_GEN)cd $(srcdir) \ && $(_build-aux)/do-release-commit-and-tag \ -C $(abs_builddir) $(RELEASE) ## ---------------- ## ## Updating files. ## ## ---------------- ## ftp-gnu = ftp://ftp.gnu.org/gnu www-gnu = http://www.gnu.org upload_dest_dir_ ?= $(PACKAGE) upload_command = \ $(srcdir)/$(_build-aux)/gnupload $(GNUPLOADFLAGS) \ --to $(gnu_rel_host):$(upload_dest_dir_) \ $(rel-files) emit_upload_commands: @echo ===================================== @echo ===================================== @echo '$(upload_command)' @echo '# send the ~/announce-$(my_distdir) e-mail' @echo ===================================== @echo ===================================== .PHONY: upload upload: $(AM_V_GEN)$(upload_command) define emit-commit-log printf '%s\n' 'maint: post-release administrivia' '' \ '* NEWS: Add header line for next release.' \ '* .prev-version: Record previous version.' \ '* cfg.mk (old_NEWS_hash): Auto-update.' endef .PHONY: no-submodule-changes no-submodule-changes: $(AM_V_GEN)if test -d $(srcdir)/.git \ && git --version >/dev/null 2>&1; then \ diff=$$(cd $(srcdir) && git submodule -q foreach \ git diff-index --name-only HEAD) \ || exit 1; \ case $$diff in '') ;; \ *) echo '$(ME): submodule files are locally modified:'; \ echo "$$diff"; exit 1;; esac; \ else \ : ; \ fi submodule-checks ?= no-submodule-changes public-submodule-commit # Ensure that each sub-module commit we're using is public. # Without this, it is too easy to tag and release code that # cannot be built from a fresh clone. .PHONY: public-submodule-commit public-submodule-commit: $(AM_V_GEN)if test -d $(srcdir)/.git \ && git --version >/dev/null 2>&1; then \ cd $(srcdir) && \ git submodule --quiet foreach \ test '"$$(git rev-parse "$$sha1")"' \ = '"$$(git merge-base origin "$$sha1")"' \ || { echo '$(ME): found non-public submodule commit' >&2; \ exit 1; }; \ else \ : ; \ fi # This rule has a high enough utility/cost ratio that it should be a # dependent of "check" by default. However, some of us do occasionally # commit a temporary change that deliberately points to a non-public # submodule commit, and want to be able to use rules like "make check". # In that case, run e.g., "make check gl_public_submodule_commit=" # to disable this test. gl_public_submodule_commit ?= public-submodule-commit check: $(gl_public_submodule_commit) .PHONY: alpha beta stable release ALL_RECURSIVE_TARGETS += alpha beta stable alpha beta stable: $(local-check) writable-files $(submodule-checks) $(AM_V_GEN)test $@ = stable \ && { echo $(VERSION) | grep -E '^[0-9]+(\.[0-9]+)+$$' \ || { echo "invalid version string: $(VERSION)" 1>&2; exit 1;};}\ || : $(AM_V_at)$(MAKE) vc-diff-check $(AM_V_at)$(MAKE) news-check $(AM_V_at)$(MAKE) distcheck $(AM_V_at)$(MAKE) dist $(AM_V_at)$(MAKE) $(release-prep-hook) RELEASE_TYPE=$@ $(AM_V_at)$(MAKE) -s emit_upload_commands RELEASE_TYPE=$@ release: $(AM_V_GEN)$(MAKE) $(release-type) # Override this in cfg.mk if you follow different procedures. release-prep-hook ?= release-prep gl_noteworthy_news_ = * Noteworthy changes in release ?.? (????-??-??) [?] .PHONY: release-prep release-prep: $(AM_V_GEN)$(MAKE) --no-print-directory -s announcement \ > ~/announce-$(my_distdir) $(AM_V_at)if test -d $(release_archive_dir); then \ ln $(rel-files) $(release_archive_dir); \ chmod a-w $(rel-files); \ fi $(AM_V_at)echo $(VERSION) > $(prev_version_file) $(AM_V_at)$(MAKE) update-NEWS-hash $(AM_V_at)perl -pi \ -e '$$. == 3 and print "$(gl_noteworthy_news_)\n\n\n"' \ $(srcdir)/NEWS $(AM_V_at)msg=$$($(emit-commit-log)) || exit 1; \ cd $(srcdir) && $(VC) commit -m "$$msg" -a # Override this with e.g., -s $(srcdir)/some_other_name.texi # if the default $(PACKAGE)-derived name doesn't apply. gendocs_options_ ?= .PHONY: web-manual web-manual: $(AM_V_GEN)test -z "$(manual_title)" \ && { echo define manual_title in cfg.mk 1>&2; exit 1; } || : $(AM_V_at)cd '$(srcdir)/doc'; \ $(SHELL) ../$(_build-aux)/gendocs.sh $(gendocs_options_) \ -o '$(abs_builddir)/doc/manual' \ --email $(PACKAGE_BUGREPORT) $(PACKAGE) \ "$(PACKAGE_NAME) - $(manual_title)" $(AM_V_at)echo " *** Upload the doc/manual directory to web-cvs." .PHONY: web-manual-update web-manual-update: $(AM_V_GEN)cd $(srcdir) \ && $(_build-aux)/gnu-web-doc-update -C $(abs_builddir) # Code Coverage init-coverage: $(MAKE) $(AM_MAKEFLAGS) clean lcov --directory . --zerocounters COVERAGE_CCOPTS ?= "-g --coverage" COVERAGE_OUT ?= doc/coverage build-coverage: $(MAKE) $(AM_MAKEFLAGS) CFLAGS=$(COVERAGE_CCOPTS) CXXFLAGS=$(COVERAGE_CCOPTS) $(MAKE) $(AM_MAKEFLAGS) CFLAGS=$(COVERAGE_CCOPTS) CXXFLAGS=$(COVERAGE_CCOPTS) check mkdir -p $(COVERAGE_OUT) lcov --directory . --output-file $(COVERAGE_OUT)/$(PACKAGE).info \ --capture gen-coverage: genhtml --output-directory $(COVERAGE_OUT) \ $(COVERAGE_OUT)/$(PACKAGE).info \ --highlight --frames --legend \ --title "$(PACKAGE_NAME)" coverage: init-coverage build-coverage gen-coverage # Some projects carry local adjustments for gnulib modules via patches in # a gnulib patch directory whose default name is gl/ (defined in bootstrap # via local_gl_dir=gl). Those patches become stale as the originals evolve # in gnulib. Use this rule to refresh any stale patches. It applies each # patch to the original in $(gnulib_dir) and uses the temporary result to # generate a fuzz-free .diff file. If you customize the name of your local # gnulib patch directory via bootstrap.conf, this rule detects that name. # Run this from a non-VPATH (i.e., srcdir) build directory. .PHONY: refresh-gnulib-patches refresh-gnulib-patches: gl=gl; \ if test -f bootstrap.conf; then \ t=$$(perl -lne '/^\s*local_gl_dir=(\S+)/ and $$d=$$1;' \ -e 'END{defined $$d and print $$d}' bootstrap.conf); \ test -n "$$t" && gl=$$t; \ fi; \ for diff in $$(cd $$gl; git ls-files | grep '\.diff$$'); do \ b=$$(printf %s "$$diff"|sed 's/\.diff$$//'); \ VERSION_CONTROL=none \ patch "$(gnulib_dir)/$$b" "$$gl/$$diff" || exit 1; \ ( cd $(gnulib_dir) || exit 1; \ git diff "$$b" > "../$$gl/$$diff"; \ git checkout $$b ) || exit 1; \ done # Update gettext files. PACKAGE ?= $(shell basename $(PWD)) PO_DOMAIN ?= $(PACKAGE) POURL = http://translationproject.org/latest/$(PO_DOMAIN)/ PODIR ?= po refresh-po: rm -f $(PODIR)/*.po && \ echo "$(ME): getting translations into po (please ignore the robots.txt ERROR 404)..." && \ wget --no-verbose --directory-prefix $(PODIR) --no-directories --recursive --level 1 --accept .po --accept .po.1 $(POURL) && \ echo 'en@boldquot' > $(PODIR)/LINGUAS && \ echo 'en@quot' >> $(PODIR)/LINGUAS && \ ls $(PODIR)/*.po | sed 's/\.po//;s,$(PODIR)/,,' | sort >> $(PODIR)/LINGUAS # Running indent once is not idempotent, but running it twice is. INDENT_SOURCES ?= $(C_SOURCES) .PHONY: indent indent: indent $(INDENT_SOURCES) indent $(INDENT_SOURCES) # If you want to set UPDATE_COPYRIGHT_* environment variables, # put the assignments in this variable. update-copyright-env ?= # Run this rule once per year (usually early in January) # to update all FSF copyright year lists in your project. # If you have an additional project-specific rule, # add it in cfg.mk along with a line 'update-copyright: prereq'. # By default, exclude all variants of COPYING; you can also # add exemptions (such as ChangeLog..* for rotated change logs) # in the file .x-update-copyright. .PHONY: update-copyright update-copyright: $(AM_V_GEN)grep -l -w Copyright \ $$(export VC_LIST_EXCEPT_DEFAULT=COPYING && $(VC_LIST_EXCEPT)) \ | $(update-copyright-env) xargs $(srcdir)/$(_build-aux)/$@ # This tight_scope test is skipped with a warning if $(_gl_TS_headers) is not # overridden and $(_gl_TS_dir)/Makefile.am does not mention noinst_HEADERS. # NOTE: to override any _gl_TS_* default value, you must # define the variable(s) using "export" in cfg.mk. _gl_TS_dir ?= src ALL_RECURSIVE_TARGETS += sc_tight_scope sc_tight_scope: tight-scope.mk @fail=0; \ if ! grep '^ *export _gl_TS_headers *=' $(srcdir)/cfg.mk \ > /dev/null \ && ! grep -w noinst_HEADERS $(srcdir)/$(_gl_TS_dir)/Makefile.am \ > /dev/null 2>&1; then \ echo '$(ME): skipping $@'; \ else \ $(MAKE) -s -C $(_gl_TS_dir) \ -f Makefile \ -f $(abs_top_srcdir)/cfg.mk \ -f $(abs_top_builddir)/$< \ _gl_tight_scope \ || fail=1; \ fi; \ rm -f $<; \ exit $$fail tight-scope.mk: $(ME) @rm -f $@ $@-t @perl -ne '/^# TS-start/.../^# TS-end/ and print' $(srcdir)/$(ME) > $@-t @chmod a=r $@-t && mv $@-t $@ ifeq (a,b) # TS-start # Most functions should have static scope. # Any that don't must be marked with 'extern', but 'main' # and 'usage' are exceptions: they're always extern, but # do not need to be marked. Symbols matching '__.*' are # reserved by the compiler, so are automatically excluded below. _gl_TS_unmarked_extern_functions ?= main usage _gl_TS_function_match ?= /^(?:$(_gl_TS_extern)) +.*?(\S+) *\(/ # If your project uses a macro like "XTERN", then put # the following in cfg.mk to override this default: # export _gl_TS_extern = extern|XTERN _gl_TS_extern ?= extern # The second nm|grep checks for file-scope variables with 'extern' scope. # Without gnulib's progname module, you might put program_name here. # Symbols matching '__.*' are reserved by the compiler, # so are automatically excluded below. _gl_TS_unmarked_extern_vars ?= # NOTE: the _match variables are perl expressions -- not mere regular # expressions -- so that you can extend them to match other patterns # and easily extract matched variable names. # For example, if your project declares some global variables via # a macro like this: GLOBAL(type, var_name, initializer), then you # can override this definition to automatically extract those names: # export _gl_TS_var_match = \ # /^(?:$(_gl_TS_extern)) .*?\**(\w+)(\[.*?\])?;/ || /\bGLOBAL\(.*?,\s*(.*?),/ _gl_TS_var_match ?= /^(?:$(_gl_TS_extern)) .*?(\w+)(\[.*?\])?;/ # The names of object files in (or relative to) $(_gl_TS_dir). _gl_TS_obj_files ?= *.$(OBJEXT) # Files in which to search for the one-line style extern declarations. # $(_gl_TS_dir)-relative. _gl_TS_headers ?= $(noinst_HEADERS) _gl_TS_other_headers ?= *.h .PHONY: _gl_tight_scope _gl_tight_scope: $(bin_PROGRAMS) t=exceptions-$$$$; \ trap 's=$$?; rm -f $$t; exit $$s' 0; \ for sig in 1 2 3 13 15; do \ eval "trap 'v=`expr $$sig + 128`; (exit $$v); exit $$v' $$sig"; \ done; \ src=`for f in $(SOURCES); do \ test -f $$f && d= || d=$(srcdir)/; echo $$d$$f; done`; \ hdr=`for f in $(_gl_TS_headers); do \ test -f $$f && d= || d=$(srcdir)/; echo $$d$$f; done`; \ ( printf '^%s$$\n' '__.*' $(_gl_TS_unmarked_extern_functions); \ grep -h -A1 '^extern .*[^;]$$' $$src \ | grep -vE '^(extern |--)' | sed 's/ .*//'; \ perl -lne \ '$(_gl_TS_function_match) and print "^$$1\$$"' $$hdr; \ ) | sort -u > $$t; \ nm -e $(_gl_TS_obj_files) | sed -n 's/.* T //p'|grep -Ev -f $$t \ && { echo the above functions should have static scope >&2; \ exit 1; } || : ; \ ( printf '^%s$$\n' '__.*' $(_gl_TS_unmarked_extern_vars); \ perl -lne '$(_gl_TS_var_match) and print "^$$1\$$"' \ $$hdr $(_gl_TS_other_headers) \ ) | sort -u > $$t; \ nm -e $(_gl_TS_obj_files) | sed -n 's/.* [BCDGRS] //p' \ | sort -u | grep -Ev -f $$t \ && { echo the above variables should have static scope >&2; \ exit 1; } || : # TS-end endif libvirt-sandbox-0.5.1+git20160404/po/000077500000000000000000000000001275305543100166475ustar00rootroot00000000000000libvirt-sandbox-0.5.1+git20160404/po/LINGUAS000066400000000000000000000005201275305543100176710ustar00rootroot00000000000000af am anp ar as ast bal be bg bn_IN bn bo br brx bs ca cs cy da de_CH de el en_GB eo es et eu fa fi fr gl gu he hi hr hu ia id ilo is it ja ka kk km kn ko kw_GB kw@kkcor kw kw@uccor ky lt lv mai mk ml mn mr ms nb nds ne nl nn nso or pa pl pt_BR pt ro ru si sk sl sq sr@latin sr sv ta te tg th tr tw uk ur vi wba yo zh_CN zh_HK zh_TW zu libvirt-sandbox-0.5.1+git20160404/po/POTFILES.in000066400000000000000000000011031275305543100204170ustar00rootroot00000000000000bin/virt-sandbox.c bin/virt-sandbox-service-util.c libvirt-sandbox/libvirt-sandbox-builder-initrd.c libvirt-sandbox/libvirt-sandbox-builder-machine.c libvirt-sandbox/libvirt-sandbox-config.c libvirt-sandbox/libvirt-sandbox-console.c libvirt-sandbox/libvirt-sandbox-console-raw.c libvirt-sandbox/libvirt-sandbox-console-rpc.c libvirt-sandbox/libvirt-sandbox-context.c libvirt-sandbox/libvirt-sandbox-context-interactive.c libvirt-sandbox/libvirt-sandbox-init-common.c libvirt-sandbox/libvirt-sandbox-rpcpacket.c libvirt-sandbox/libvirt-sandbox-util.c libvirt-sandbox/image/cli.py libvirt-sandbox-0.5.1+git20160404/po/af.po000066400000000000000000000342261275305543100176040ustar00rootroot00000000000000# SOME DESCRIPTIVE TITLE. # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # # Translators: msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2015-02-18 14:55+0000\n" "PO-Revision-Date: 2013-04-08 06:10-0400\n" "Last-Translator: FULL NAME \n" "Language-Team: Afrikaans (http://www.transifex.com/projects/p/fedora/language/af/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Language: af\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" "X-Generator: Zanata 3.5.1\n" #: ../bin/virt-sandbox.c:48 ../bin/virt-sandbox-service-util.c:43 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1149 #, c-format msgid "%s version %s\n" msgstr "" #: ../bin/virt-sandbox.c:84 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1161 msgid "display version information" msgstr "" #: ../bin/virt-sandbox.c:86 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1163 msgid "display verbose information" msgstr "" #: ../bin/virt-sandbox.c:88 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1165 msgid "display debugging information" msgstr "" #: ../bin/virt-sandbox.c:90 msgid "connect to hypervisor" msgstr "" #: ../bin/virt-sandbox.c:92 msgid "name of the sandbox" msgstr "" #: ../bin/virt-sandbox.c:94 msgid "root directory of the sandbox" msgstr "" #: ../bin/virt-sandbox.c:96 msgid "mount a filesystem in the guest" msgstr "" #: ../bin/virt-sandbox.c:98 msgid "file to copy into custom dir" msgstr "" #: ../bin/virt-sandbox.c:100 msgid "file contain list of files to include" msgstr "" #: ../bin/virt-sandbox.c:102 msgid "setup network interface properties" msgstr "" #: ../bin/virt-sandbox.c:104 msgid "security properties" msgstr "" #: ../bin/virt-sandbox.c:106 msgid "run the command privileged" msgstr "" #: ../bin/virt-sandbox.c:108 msgid "start a shell" msgstr "" #: ../bin/virt-sandbox.c:110 msgid "kernel version" msgstr "" #: ../bin/virt-sandbox.c:112 msgid "kernel binary path" msgstr "" #: ../bin/virt-sandbox.c:114 msgid "kernel module directory" msgstr "" #: ../bin/virt-sandbox.c:119 msgid "" "Run 'virt-sandbox --help' to see a full list of available command line " "options" msgstr "" #: ../bin/virt-sandbox.c:129 msgid "Libvirt Sandbox" msgstr "" #: ../bin/virt-sandbox.c:131 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1189 msgid "- Libvirt Sandbox" msgstr "" #: ../bin/virt-sandbox.c:144 #, c-format msgid "" "\n" "Usage: %s [OPTIONS] COMMAND-PATH [ARGS...]\n" "\n" "%s\n" "\n" msgstr "" #: ../bin/virt-sandbox.c:160 ../bin/virt-sandbox-service-util.c:65 #, c-format msgid "Unable to open connection: %s\n" msgstr "" #: ../bin/virt-sandbox.c:161 ../bin/virt-sandbox.c:188 #: ../bin/virt-sandbox.c:194 ../bin/virt-sandbox.c:200 #: ../bin/virt-sandbox.c:206 ../bin/virt-sandbox.c:212 #: ../bin/virt-sandbox.c:227 ../bin/virt-sandbox.c:233 #: ../bin/virt-sandbox.c:240 ../bin/virt-sandbox.c:246 #: ../bin/virt-sandbox.c:254 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1247 msgid "Unknown failure" msgstr "" #: ../bin/virt-sandbox.c:187 #, c-format msgid "Unable to parse mounts: %s\n" msgstr "" #: ../bin/virt-sandbox.c:193 #, c-format msgid "Unable to parse includes: %s\n" msgstr "" #: ../bin/virt-sandbox.c:199 #, c-format msgid "Unable to parse include file: %s\n" msgstr "" #: ../bin/virt-sandbox.c:205 #, c-format msgid "Unable to parse networks: %s\n" msgstr "" #: ../bin/virt-sandbox.c:211 #, c-format msgid "Unable to parse security: %s\n" msgstr "" #: ../bin/virt-sandbox.c:226 #, c-format msgid "Unable to start sandbox: %s\n" msgstr "" #: ../bin/virt-sandbox.c:232 #, c-format msgid "Unable to get log console: %s\n" msgstr "" #: ../bin/virt-sandbox.c:239 ../bin/virt-sandbox.c:253 #, c-format msgid "Unable to attach sandbox console: %s\n" msgstr "" #: ../bin/virt-sandbox.c:245 #, c-format msgid "Unable to get app console: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:66 ../bin/virt-sandbox-service-util.c:72 #: ../bin/virt-sandbox-service-util.c:78 #: ../bin/virt-sandbox-service-util.c:104 #: ../bin/virt-sandbox-service-util.c:110 #: ../bin/virt-sandbox-service-util.c:120 #: ../bin/virt-sandbox-service-util.c:127 #: ../bin/virt-sandbox-service-util.c:159 #: ../bin/virt-sandbox-service-util.c:165 #: ../bin/virt-sandbox-service-util.c:175 #: ../bin/virt-sandbox-service-util.c:182 msgid "unknown" msgstr "" #: ../bin/virt-sandbox-service-util.c:71 #, c-format msgid "Unable to read config file %s: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:77 #, c-format msgid "Unable to create new context service: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:103 #, c-format msgid "Unable to start container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:109 #, c-format msgid "Unable to get log console for container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:119 #, c-format msgid "Unable to attach console to stderr in the container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:126 #: ../bin/virt-sandbox-service-util.c:181 #, c-format msgid "Unable to disconnect console from libvirt: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:158 #: ../bin/virt-sandbox-service-util.c:174 #, c-format msgid "Unable to attach to container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:164 #, c-format msgid "Unable to get shell console for container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:240 msgid "Display version information" msgstr "" #: ../bin/virt-sandbox-service-util.c:242 msgid "Start a container" msgstr "" #: ../bin/virt-sandbox-service-util.c:244 msgid "Attach to a container" msgstr "" #: ../bin/virt-sandbox-service-util.c:246 msgid "Pid of process in container to which the command will run" msgstr "" #: ../bin/virt-sandbox-service-util.c:248 msgid "Connect to hypervisor Default:'lxc:///'" msgstr "" #: ../bin/virt-sandbox-service-util.c:253 msgid "" "Run 'virt-sandbox-service-util --help' to see a full list of available " "command line options\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:263 msgid "- Libvirt Sandbox Service" msgstr "" #: ../bin/virt-sandbox-service-util.c:275 #, c-format msgid "" "Invalid command: You must specify --start or --attach\n" "%s" msgstr "" #: ../bin/virt-sandbox-service-util.c:281 #, c-format msgid "Invalid command CONTAINER_NAME required: %s" msgstr "" #: ../bin/virt-sandbox-service-util.c:288 msgid "Libvirt Sandbox Service" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-initrd.c:171 #, c-format msgid "Unable to create temporary directory %s: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-initrd.c:217 #, c-format msgid "Kernel module dir %s does not exist" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-initrd.c:275 #, c-format msgid "Unable to read entries in %s: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-initrd.c:306 #, c-format msgid "Unable to access %s: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-machine.c:446 #, c-format msgid "Kernel image %s does not exist" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:941 #, c-format msgid "Cannot request DHCP with static routes/addresses" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:963 #, c-format msgid "No assignment in filter parameter configuration" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:999 #, c-format msgid "Cannot set static addresses with DHCP" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1019 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1028 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1082 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1090 #, c-format msgid "Unable to parse address %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1058 #, c-format msgid "Cannot set static routes with DHCP" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1076 #, c-format msgid "Missing gateway in route %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1110 #, c-format msgid "Unknown parameter %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1121 #, c-format msgid "Cannot set static routes without addresses" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1285 #, c-format msgid "No mount type prefix on %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1298 #, c-format msgid "Unknown mount type prefix on %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1311 #, c-format msgid "Missing mount source string on %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1411 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1476 #, c-format msgid "No mount with a prefix under %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1578 #, c-format msgid "Unable to get SELinux context of user: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1587 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1596 #, c-format msgid "Unknown security option '%s'" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1630 msgid "Missing mount target in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1635 msgid "Missing mount type in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1647 #, c-format msgid "Unknown mount type %s in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1654 msgid "Missing mount usage in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1663 msgid "Missing mount source in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:2150 msgid "Missing class name in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:2156 #, c-format msgid "Unknown type name '%s' in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:2163 #, c-format msgid "Type name '%s' in config file had wrong parent" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console.c:326 msgid "Unable to isolate console unless direct access flag is set" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:184 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:350 #, c-format msgid "Unable to query terminal attributes: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:201 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:367 #, c-format msgid "Unable to update terminal attributes: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:224 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:395 #, c-format msgid "Unable to restore terminal attributes: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:630 msgid "No devices found for domain" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:660 #, c-format msgid "No device %s found for domain" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:666 #, c-format msgid "Unable to open console %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:699 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:1110 msgid "Console is already attached to a stream" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:628 #, c-format msgid "Unexpected rpc status %u" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:697 #, c-format msgid "Unexpected rpc proc %u" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:753 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:817 #, c-format msgid "Got rx in unexpected state %d" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:1167 msgid "ConsoleRpc is not attached to a stream" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-context.c:253 #: ../libvirt-sandbox/libvirt-sandbox-context.c:396 #, c-format msgid "Domain is not currently running" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-context.c:323 #: ../libvirt-sandbox/libvirt-sandbox-context.c:340 #: ../libvirt-sandbox/libvirt-sandbox-context.c:363 #, c-format msgid "Sandbox is not currently running" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1065 #, c-format msgid "libvirt-sandbox-init-common: unable to create signal pipe: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1084 #, c-format msgid "libvirt-sandbox-init-common: cannot open %s: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1141 #, c-format msgid "libvirt-sandbox-init-common: %s: cannot execute %s: %s\n" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1167 msgid "config file path" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1170 msgid "Run '" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1180 #, c-format msgid "%s: must be launched as root\n" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1187 msgid "Libvirt Sandbox Init Common" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1205 #, c-format msgid "%s: Unable to load config %s: %s\n" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1231 #, c-format msgid "Unsupported configuration type %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:69 msgid "Unable to decode message length" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:76 #, c-format msgid "packet %u bytes received from server too small, want %u" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:86 #, c-format msgid "packet %u bytes received from server too large, want %d" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:130 msgid "Unable to decode message header" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:174 #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:235 #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:303 #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:329 msgid "Unable to encode message length" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:180 msgid "Unable to encode message header" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:192 msgid "Unable to re-encode message length" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:222 msgid "Unable to encode message payload" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:265 msgid "Unable to decode message payload" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:290 #, c-format msgid "Raw data too long to send (%zu bytes needed, %zu bytes available)" msgstr "" libvirt-sandbox-0.5.1+git20160404/po/am.po000066400000000000000000000342231275305543100176100ustar00rootroot00000000000000# SOME DESCRIPTIVE TITLE. # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # # Translators: msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2015-02-18 14:55+0000\n" "PO-Revision-Date: 2013-04-08 06:10-0400\n" "Last-Translator: FULL NAME \n" "Language-Team: Amharic (http://www.transifex.com/projects/p/fedora/language/am/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Language: am\n" "Plural-Forms: nplurals=2; plural=(n > 1);\n" "X-Generator: Zanata 3.5.1\n" #: ../bin/virt-sandbox.c:48 ../bin/virt-sandbox-service-util.c:43 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1149 #, c-format msgid "%s version %s\n" msgstr "" #: ../bin/virt-sandbox.c:84 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1161 msgid "display version information" msgstr "" #: ../bin/virt-sandbox.c:86 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1163 msgid "display verbose information" msgstr "" #: ../bin/virt-sandbox.c:88 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1165 msgid "display debugging information" msgstr "" #: ../bin/virt-sandbox.c:90 msgid "connect to hypervisor" msgstr "" #: ../bin/virt-sandbox.c:92 msgid "name of the sandbox" msgstr "" #: ../bin/virt-sandbox.c:94 msgid "root directory of the sandbox" msgstr "" #: ../bin/virt-sandbox.c:96 msgid "mount a filesystem in the guest" msgstr "" #: ../bin/virt-sandbox.c:98 msgid "file to copy into custom dir" msgstr "" #: ../bin/virt-sandbox.c:100 msgid "file contain list of files to include" msgstr "" #: ../bin/virt-sandbox.c:102 msgid "setup network interface properties" msgstr "" #: ../bin/virt-sandbox.c:104 msgid "security properties" msgstr "" #: ../bin/virt-sandbox.c:106 msgid "run the command privileged" msgstr "" #: ../bin/virt-sandbox.c:108 msgid "start a shell" msgstr "" #: ../bin/virt-sandbox.c:110 msgid "kernel version" msgstr "" #: ../bin/virt-sandbox.c:112 msgid "kernel binary path" msgstr "" #: ../bin/virt-sandbox.c:114 msgid "kernel module directory" msgstr "" #: ../bin/virt-sandbox.c:119 msgid "" "Run 'virt-sandbox --help' to see a full list of available command line " "options" msgstr "" #: ../bin/virt-sandbox.c:129 msgid "Libvirt Sandbox" msgstr "" #: ../bin/virt-sandbox.c:131 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1189 msgid "- Libvirt Sandbox" msgstr "" #: ../bin/virt-sandbox.c:144 #, c-format msgid "" "\n" "Usage: %s [OPTIONS] COMMAND-PATH [ARGS...]\n" "\n" "%s\n" "\n" msgstr "" #: ../bin/virt-sandbox.c:160 ../bin/virt-sandbox-service-util.c:65 #, c-format msgid "Unable to open connection: %s\n" msgstr "" #: ../bin/virt-sandbox.c:161 ../bin/virt-sandbox.c:188 #: ../bin/virt-sandbox.c:194 ../bin/virt-sandbox.c:200 #: ../bin/virt-sandbox.c:206 ../bin/virt-sandbox.c:212 #: ../bin/virt-sandbox.c:227 ../bin/virt-sandbox.c:233 #: ../bin/virt-sandbox.c:240 ../bin/virt-sandbox.c:246 #: ../bin/virt-sandbox.c:254 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1247 msgid "Unknown failure" msgstr "" #: ../bin/virt-sandbox.c:187 #, c-format msgid "Unable to parse mounts: %s\n" msgstr "" #: ../bin/virt-sandbox.c:193 #, c-format msgid "Unable to parse includes: %s\n" msgstr "" #: ../bin/virt-sandbox.c:199 #, c-format msgid "Unable to parse include file: %s\n" msgstr "" #: ../bin/virt-sandbox.c:205 #, c-format msgid "Unable to parse networks: %s\n" msgstr "" #: ../bin/virt-sandbox.c:211 #, c-format msgid "Unable to parse security: %s\n" msgstr "" #: ../bin/virt-sandbox.c:226 #, c-format msgid "Unable to start sandbox: %s\n" msgstr "" #: ../bin/virt-sandbox.c:232 #, c-format msgid "Unable to get log console: %s\n" msgstr "" #: ../bin/virt-sandbox.c:239 ../bin/virt-sandbox.c:253 #, c-format msgid "Unable to attach sandbox console: %s\n" msgstr "" #: ../bin/virt-sandbox.c:245 #, c-format msgid "Unable to get app console: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:66 ../bin/virt-sandbox-service-util.c:72 #: ../bin/virt-sandbox-service-util.c:78 #: ../bin/virt-sandbox-service-util.c:104 #: ../bin/virt-sandbox-service-util.c:110 #: ../bin/virt-sandbox-service-util.c:120 #: ../bin/virt-sandbox-service-util.c:127 #: ../bin/virt-sandbox-service-util.c:159 #: ../bin/virt-sandbox-service-util.c:165 #: ../bin/virt-sandbox-service-util.c:175 #: ../bin/virt-sandbox-service-util.c:182 msgid "unknown" msgstr "" #: ../bin/virt-sandbox-service-util.c:71 #, c-format msgid "Unable to read config file %s: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:77 #, c-format msgid "Unable to create new context service: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:103 #, c-format msgid "Unable to start container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:109 #, c-format msgid "Unable to get log console for container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:119 #, c-format msgid "Unable to attach console to stderr in the container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:126 #: ../bin/virt-sandbox-service-util.c:181 #, c-format msgid "Unable to disconnect console from libvirt: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:158 #: ../bin/virt-sandbox-service-util.c:174 #, c-format msgid "Unable to attach to container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:164 #, c-format msgid "Unable to get shell console for container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:240 msgid "Display version information" msgstr "" #: ../bin/virt-sandbox-service-util.c:242 msgid "Start a container" msgstr "" #: ../bin/virt-sandbox-service-util.c:244 msgid "Attach to a container" msgstr "" #: ../bin/virt-sandbox-service-util.c:246 msgid "Pid of process in container to which the command will run" msgstr "" #: ../bin/virt-sandbox-service-util.c:248 msgid "Connect to hypervisor Default:'lxc:///'" msgstr "" #: ../bin/virt-sandbox-service-util.c:253 msgid "" "Run 'virt-sandbox-service-util --help' to see a full list of available " "command line options\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:263 msgid "- Libvirt Sandbox Service" msgstr "" #: ../bin/virt-sandbox-service-util.c:275 #, c-format msgid "" "Invalid command: You must specify --start or --attach\n" "%s" msgstr "" #: ../bin/virt-sandbox-service-util.c:281 #, c-format msgid "Invalid command CONTAINER_NAME required: %s" msgstr "" #: ../bin/virt-sandbox-service-util.c:288 msgid "Libvirt Sandbox Service" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-initrd.c:171 #, c-format msgid "Unable to create temporary directory %s: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-initrd.c:217 #, c-format msgid "Kernel module dir %s does not exist" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-initrd.c:275 #, c-format msgid "Unable to read entries in %s: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-initrd.c:306 #, c-format msgid "Unable to access %s: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-machine.c:446 #, c-format msgid "Kernel image %s does not exist" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:941 #, c-format msgid "Cannot request DHCP with static routes/addresses" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:963 #, c-format msgid "No assignment in filter parameter configuration" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:999 #, c-format msgid "Cannot set static addresses with DHCP" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1019 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1028 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1082 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1090 #, c-format msgid "Unable to parse address %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1058 #, c-format msgid "Cannot set static routes with DHCP" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1076 #, c-format msgid "Missing gateway in route %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1110 #, c-format msgid "Unknown parameter %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1121 #, c-format msgid "Cannot set static routes without addresses" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1285 #, c-format msgid "No mount type prefix on %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1298 #, c-format msgid "Unknown mount type prefix on %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1311 #, c-format msgid "Missing mount source string on %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1411 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1476 #, c-format msgid "No mount with a prefix under %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1578 #, c-format msgid "Unable to get SELinux context of user: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1587 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1596 #, c-format msgid "Unknown security option '%s'" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1630 msgid "Missing mount target in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1635 msgid "Missing mount type in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1647 #, c-format msgid "Unknown mount type %s in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1654 msgid "Missing mount usage in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1663 msgid "Missing mount source in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:2150 msgid "Missing class name in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:2156 #, c-format msgid "Unknown type name '%s' in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:2163 #, c-format msgid "Type name '%s' in config file had wrong parent" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console.c:326 msgid "Unable to isolate console unless direct access flag is set" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:184 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:350 #, c-format msgid "Unable to query terminal attributes: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:201 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:367 #, c-format msgid "Unable to update terminal attributes: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:224 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:395 #, c-format msgid "Unable to restore terminal attributes: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:630 msgid "No devices found for domain" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:660 #, c-format msgid "No device %s found for domain" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:666 #, c-format msgid "Unable to open console %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:699 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:1110 msgid "Console is already attached to a stream" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:628 #, c-format msgid "Unexpected rpc status %u" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:697 #, c-format msgid "Unexpected rpc proc %u" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:753 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:817 #, c-format msgid "Got rx in unexpected state %d" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:1167 msgid "ConsoleRpc is not attached to a stream" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-context.c:253 #: ../libvirt-sandbox/libvirt-sandbox-context.c:396 #, c-format msgid "Domain is not currently running" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-context.c:323 #: ../libvirt-sandbox/libvirt-sandbox-context.c:340 #: ../libvirt-sandbox/libvirt-sandbox-context.c:363 #, c-format msgid "Sandbox is not currently running" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1065 #, c-format msgid "libvirt-sandbox-init-common: unable to create signal pipe: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1084 #, c-format msgid "libvirt-sandbox-init-common: cannot open %s: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1141 #, c-format msgid "libvirt-sandbox-init-common: %s: cannot execute %s: %s\n" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1167 msgid "config file path" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1170 msgid "Run '" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1180 #, c-format msgid "%s: must be launched as root\n" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1187 msgid "Libvirt Sandbox Init Common" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1205 #, c-format msgid "%s: Unable to load config %s: %s\n" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1231 #, c-format msgid "Unsupported configuration type %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:69 msgid "Unable to decode message length" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:76 #, c-format msgid "packet %u bytes received from server too small, want %u" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:86 #, c-format msgid "packet %u bytes received from server too large, want %d" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:130 msgid "Unable to decode message header" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:174 #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:235 #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:303 #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:329 msgid "Unable to encode message length" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:180 msgid "Unable to encode message header" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:192 msgid "Unable to re-encode message length" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:222 msgid "Unable to encode message payload" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:265 msgid "Unable to decode message payload" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:290 #, c-format msgid "Raw data too long to send (%zu bytes needed, %zu bytes available)" msgstr "" libvirt-sandbox-0.5.1+git20160404/po/anp.po000066400000000000000000000341021275305543100177650ustar00rootroot00000000000000# SOME DESCRIPTIVE TITLE. # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # FIRST AUTHOR , YEAR. # msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2015-02-18 14:55+0000\n" "PO-Revision-Date: \n" "Last-Translator: \n" "Language-Team: Angika\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Language: anp\n" "Plural-Forms: nplurals=2; plural=(n != 1)\n" "X-Generator: Zanata 3.5.1\n" #: ../bin/virt-sandbox.c:48 ../bin/virt-sandbox-service-util.c:43 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1149 #, c-format msgid "%s version %s\n" msgstr "" #: ../bin/virt-sandbox.c:84 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1161 msgid "display version information" msgstr "" #: ../bin/virt-sandbox.c:86 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1163 msgid "display verbose information" msgstr "" #: ../bin/virt-sandbox.c:88 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1165 msgid "display debugging information" msgstr "" #: ../bin/virt-sandbox.c:90 msgid "connect to hypervisor" msgstr "" #: ../bin/virt-sandbox.c:92 msgid "name of the sandbox" msgstr "" #: ../bin/virt-sandbox.c:94 msgid "root directory of the sandbox" msgstr "" #: ../bin/virt-sandbox.c:96 msgid "mount a filesystem in the guest" msgstr "" #: ../bin/virt-sandbox.c:98 msgid "file to copy into custom dir" msgstr "" #: ../bin/virt-sandbox.c:100 msgid "file contain list of files to include" msgstr "" #: ../bin/virt-sandbox.c:102 msgid "setup network interface properties" msgstr "" #: ../bin/virt-sandbox.c:104 msgid "security properties" msgstr "" #: ../bin/virt-sandbox.c:106 msgid "run the command privileged" msgstr "" #: ../bin/virt-sandbox.c:108 msgid "start a shell" msgstr "" #: ../bin/virt-sandbox.c:110 msgid "kernel version" msgstr "" #: ../bin/virt-sandbox.c:112 msgid "kernel binary path" msgstr "" #: ../bin/virt-sandbox.c:114 msgid "kernel module directory" msgstr "" #: ../bin/virt-sandbox.c:119 msgid "" "Run 'virt-sandbox --help' to see a full list of available command line " "options" msgstr "" #: ../bin/virt-sandbox.c:129 msgid "Libvirt Sandbox" msgstr "" #: ../bin/virt-sandbox.c:131 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1189 msgid "- Libvirt Sandbox" msgstr "" #: ../bin/virt-sandbox.c:144 #, c-format msgid "" "\n" "Usage: %s [OPTIONS] COMMAND-PATH [ARGS...]\n" "\n" "%s\n" "\n" msgstr "" #: ../bin/virt-sandbox.c:160 ../bin/virt-sandbox-service-util.c:65 #, c-format msgid "Unable to open connection: %s\n" msgstr "" #: ../bin/virt-sandbox.c:161 ../bin/virt-sandbox.c:188 #: ../bin/virt-sandbox.c:194 ../bin/virt-sandbox.c:200 #: ../bin/virt-sandbox.c:206 ../bin/virt-sandbox.c:212 #: ../bin/virt-sandbox.c:227 ../bin/virt-sandbox.c:233 #: ../bin/virt-sandbox.c:240 ../bin/virt-sandbox.c:246 #: ../bin/virt-sandbox.c:254 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1247 msgid "Unknown failure" msgstr "" #: ../bin/virt-sandbox.c:187 #, c-format msgid "Unable to parse mounts: %s\n" msgstr "" #: ../bin/virt-sandbox.c:193 #, c-format msgid "Unable to parse includes: %s\n" msgstr "" #: ../bin/virt-sandbox.c:199 #, c-format msgid "Unable to parse include file: %s\n" msgstr "" #: ../bin/virt-sandbox.c:205 #, c-format msgid "Unable to parse networks: %s\n" msgstr "" #: ../bin/virt-sandbox.c:211 #, c-format msgid "Unable to parse security: %s\n" msgstr "" #: ../bin/virt-sandbox.c:226 #, c-format msgid "Unable to start sandbox: %s\n" msgstr "" #: ../bin/virt-sandbox.c:232 #, c-format msgid "Unable to get log console: %s\n" msgstr "" #: ../bin/virt-sandbox.c:239 ../bin/virt-sandbox.c:253 #, c-format msgid "Unable to attach sandbox console: %s\n" msgstr "" #: ../bin/virt-sandbox.c:245 #, c-format msgid "Unable to get app console: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:66 ../bin/virt-sandbox-service-util.c:72 #: ../bin/virt-sandbox-service-util.c:78 #: ../bin/virt-sandbox-service-util.c:104 #: ../bin/virt-sandbox-service-util.c:110 #: ../bin/virt-sandbox-service-util.c:120 #: ../bin/virt-sandbox-service-util.c:127 #: ../bin/virt-sandbox-service-util.c:159 #: ../bin/virt-sandbox-service-util.c:165 #: ../bin/virt-sandbox-service-util.c:175 #: ../bin/virt-sandbox-service-util.c:182 msgid "unknown" msgstr "" #: ../bin/virt-sandbox-service-util.c:71 #, c-format msgid "Unable to read config file %s: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:77 #, c-format msgid "Unable to create new context service: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:103 #, c-format msgid "Unable to start container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:109 #, c-format msgid "Unable to get log console for container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:119 #, c-format msgid "Unable to attach console to stderr in the container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:126 #: ../bin/virt-sandbox-service-util.c:181 #, c-format msgid "Unable to disconnect console from libvirt: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:158 #: ../bin/virt-sandbox-service-util.c:174 #, c-format msgid "Unable to attach to container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:164 #, c-format msgid "Unable to get shell console for container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:240 msgid "Display version information" msgstr "" #: ../bin/virt-sandbox-service-util.c:242 msgid "Start a container" msgstr "" #: ../bin/virt-sandbox-service-util.c:244 msgid "Attach to a container" msgstr "" #: ../bin/virt-sandbox-service-util.c:246 msgid "Pid of process in container to which the command will run" msgstr "" #: ../bin/virt-sandbox-service-util.c:248 msgid "Connect to hypervisor Default:'lxc:///'" msgstr "" #: ../bin/virt-sandbox-service-util.c:253 msgid "" "Run 'virt-sandbox-service-util --help' to see a full list of available " "command line options\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:263 msgid "- Libvirt Sandbox Service" msgstr "" #: ../bin/virt-sandbox-service-util.c:275 #, c-format msgid "" "Invalid command: You must specify --start or --attach\n" "%s" msgstr "" #: ../bin/virt-sandbox-service-util.c:281 #, c-format msgid "Invalid command CONTAINER_NAME required: %s" msgstr "" #: ../bin/virt-sandbox-service-util.c:288 msgid "Libvirt Sandbox Service" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-initrd.c:171 #, c-format msgid "Unable to create temporary directory %s: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-initrd.c:217 #, c-format msgid "Kernel module dir %s does not exist" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-initrd.c:275 #, c-format msgid "Unable to read entries in %s: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-initrd.c:306 #, c-format msgid "Unable to access %s: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-machine.c:446 #, c-format msgid "Kernel image %s does not exist" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:941 #, c-format msgid "Cannot request DHCP with static routes/addresses" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:963 #, c-format msgid "No assignment in filter parameter configuration" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:999 #, c-format msgid "Cannot set static addresses with DHCP" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1019 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1028 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1082 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1090 #, c-format msgid "Unable to parse address %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1058 #, c-format msgid "Cannot set static routes with DHCP" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1076 #, c-format msgid "Missing gateway in route %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1110 #, c-format msgid "Unknown parameter %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1121 #, c-format msgid "Cannot set static routes without addresses" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1285 #, c-format msgid "No mount type prefix on %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1298 #, c-format msgid "Unknown mount type prefix on %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1311 #, c-format msgid "Missing mount source string on %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1411 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1476 #, c-format msgid "No mount with a prefix under %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1578 #, c-format msgid "Unable to get SELinux context of user: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1587 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1596 #, c-format msgid "Unknown security option '%s'" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1630 msgid "Missing mount target in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1635 msgid "Missing mount type in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1647 #, c-format msgid "Unknown mount type %s in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1654 msgid "Missing mount usage in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1663 msgid "Missing mount source in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:2150 msgid "Missing class name in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:2156 #, c-format msgid "Unknown type name '%s' in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:2163 #, c-format msgid "Type name '%s' in config file had wrong parent" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console.c:326 msgid "Unable to isolate console unless direct access flag is set" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:184 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:350 #, c-format msgid "Unable to query terminal attributes: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:201 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:367 #, c-format msgid "Unable to update terminal attributes: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:224 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:395 #, c-format msgid "Unable to restore terminal attributes: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:630 msgid "No devices found for domain" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:660 #, c-format msgid "No device %s found for domain" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:666 #, c-format msgid "Unable to open console %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:699 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:1110 msgid "Console is already attached to a stream" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:628 #, c-format msgid "Unexpected rpc status %u" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:697 #, c-format msgid "Unexpected rpc proc %u" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:753 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:817 #, c-format msgid "Got rx in unexpected state %d" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:1167 msgid "ConsoleRpc is not attached to a stream" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-context.c:253 #: ../libvirt-sandbox/libvirt-sandbox-context.c:396 #, c-format msgid "Domain is not currently running" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-context.c:323 #: ../libvirt-sandbox/libvirt-sandbox-context.c:340 #: ../libvirt-sandbox/libvirt-sandbox-context.c:363 #, c-format msgid "Sandbox is not currently running" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1065 #, c-format msgid "libvirt-sandbox-init-common: unable to create signal pipe: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1084 #, c-format msgid "libvirt-sandbox-init-common: cannot open %s: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1141 #, c-format msgid "libvirt-sandbox-init-common: %s: cannot execute %s: %s\n" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1167 msgid "config file path" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1170 msgid "Run '" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1180 #, c-format msgid "%s: must be launched as root\n" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1187 msgid "Libvirt Sandbox Init Common" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1205 #, c-format msgid "%s: Unable to load config %s: %s\n" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1231 #, c-format msgid "Unsupported configuration type %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:69 msgid "Unable to decode message length" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:76 #, c-format msgid "packet %u bytes received from server too small, want %u" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:86 #, c-format msgid "packet %u bytes received from server too large, want %d" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:130 msgid "Unable to decode message header" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:174 #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:235 #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:303 #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:329 msgid "Unable to encode message length" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:180 msgid "Unable to encode message header" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:192 msgid "Unable to re-encode message length" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:222 msgid "Unable to encode message payload" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:265 msgid "Unable to decode message payload" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:290 #, c-format msgid "Raw data too long to send (%zu bytes needed, %zu bytes available)" msgstr "" libvirt-sandbox-0.5.1+git20160404/po/ar.po000066400000000000000000000343171275305543100176210ustar00rootroot00000000000000# SOME DESCRIPTIVE TITLE. # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # # Translators: msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2015-02-18 14:55+0000\n" "PO-Revision-Date: 2013-04-08 06:10-0400\n" "Last-Translator: FULL NAME \n" "Language-Team: Arabic \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Language: ar\n" "Plural-Forms: nplurals=6; plural=n==0 ? 0 : n==1 ? 1 : n==2 ? 2 : n%100>=3 && n%100<=10 ? 3 : n%100>=11 && n%100<=99 ? 4 : 5;\n" "X-Generator: Zanata 3.5.1\n" #: ../bin/virt-sandbox.c:48 ../bin/virt-sandbox-service-util.c:43 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1149 #, c-format msgid "%s version %s\n" msgstr "" #: ../bin/virt-sandbox.c:84 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1161 msgid "display version information" msgstr "" #: ../bin/virt-sandbox.c:86 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1163 msgid "display verbose information" msgstr "" #: ../bin/virt-sandbox.c:88 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1165 msgid "display debugging information" msgstr "" #: ../bin/virt-sandbox.c:90 msgid "connect to hypervisor" msgstr "" #: ../bin/virt-sandbox.c:92 msgid "name of the sandbox" msgstr "" #: ../bin/virt-sandbox.c:94 msgid "root directory of the sandbox" msgstr "" #: ../bin/virt-sandbox.c:96 msgid "mount a filesystem in the guest" msgstr "" #: ../bin/virt-sandbox.c:98 msgid "file to copy into custom dir" msgstr "" #: ../bin/virt-sandbox.c:100 msgid "file contain list of files to include" msgstr "" #: ../bin/virt-sandbox.c:102 msgid "setup network interface properties" msgstr "" #: ../bin/virt-sandbox.c:104 msgid "security properties" msgstr "" #: ../bin/virt-sandbox.c:106 msgid "run the command privileged" msgstr "" #: ../bin/virt-sandbox.c:108 msgid "start a shell" msgstr "" #: ../bin/virt-sandbox.c:110 msgid "kernel version" msgstr "" #: ../bin/virt-sandbox.c:112 msgid "kernel binary path" msgstr "" #: ../bin/virt-sandbox.c:114 msgid "kernel module directory" msgstr "" #: ../bin/virt-sandbox.c:119 msgid "" "Run 'virt-sandbox --help' to see a full list of available command line " "options" msgstr "" #: ../bin/virt-sandbox.c:129 msgid "Libvirt Sandbox" msgstr "" #: ../bin/virt-sandbox.c:131 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1189 msgid "- Libvirt Sandbox" msgstr "" #: ../bin/virt-sandbox.c:144 #, c-format msgid "" "\n" "Usage: %s [OPTIONS] COMMAND-PATH [ARGS...]\n" "\n" "%s\n" "\n" msgstr "" #: ../bin/virt-sandbox.c:160 ../bin/virt-sandbox-service-util.c:65 #, c-format msgid "Unable to open connection: %s\n" msgstr "" #: ../bin/virt-sandbox.c:161 ../bin/virt-sandbox.c:188 #: ../bin/virt-sandbox.c:194 ../bin/virt-sandbox.c:200 #: ../bin/virt-sandbox.c:206 ../bin/virt-sandbox.c:212 #: ../bin/virt-sandbox.c:227 ../bin/virt-sandbox.c:233 #: ../bin/virt-sandbox.c:240 ../bin/virt-sandbox.c:246 #: ../bin/virt-sandbox.c:254 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1247 msgid "Unknown failure" msgstr "" #: ../bin/virt-sandbox.c:187 #, c-format msgid "Unable to parse mounts: %s\n" msgstr "" #: ../bin/virt-sandbox.c:193 #, c-format msgid "Unable to parse includes: %s\n" msgstr "" #: ../bin/virt-sandbox.c:199 #, c-format msgid "Unable to parse include file: %s\n" msgstr "" #: ../bin/virt-sandbox.c:205 #, c-format msgid "Unable to parse networks: %s\n" msgstr "" #: ../bin/virt-sandbox.c:211 #, c-format msgid "Unable to parse security: %s\n" msgstr "" #: ../bin/virt-sandbox.c:226 #, c-format msgid "Unable to start sandbox: %s\n" msgstr "" #: ../bin/virt-sandbox.c:232 #, c-format msgid "Unable to get log console: %s\n" msgstr "" #: ../bin/virt-sandbox.c:239 ../bin/virt-sandbox.c:253 #, c-format msgid "Unable to attach sandbox console: %s\n" msgstr "" #: ../bin/virt-sandbox.c:245 #, c-format msgid "Unable to get app console: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:66 ../bin/virt-sandbox-service-util.c:72 #: ../bin/virt-sandbox-service-util.c:78 #: ../bin/virt-sandbox-service-util.c:104 #: ../bin/virt-sandbox-service-util.c:110 #: ../bin/virt-sandbox-service-util.c:120 #: ../bin/virt-sandbox-service-util.c:127 #: ../bin/virt-sandbox-service-util.c:159 #: ../bin/virt-sandbox-service-util.c:165 #: ../bin/virt-sandbox-service-util.c:175 #: ../bin/virt-sandbox-service-util.c:182 msgid "unknown" msgstr "" #: ../bin/virt-sandbox-service-util.c:71 #, c-format msgid "Unable to read config file %s: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:77 #, c-format msgid "Unable to create new context service: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:103 #, c-format msgid "Unable to start container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:109 #, c-format msgid "Unable to get log console for container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:119 #, c-format msgid "Unable to attach console to stderr in the container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:126 #: ../bin/virt-sandbox-service-util.c:181 #, c-format msgid "Unable to disconnect console from libvirt: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:158 #: ../bin/virt-sandbox-service-util.c:174 #, c-format msgid "Unable to attach to container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:164 #, c-format msgid "Unable to get shell console for container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:240 msgid "Display version information" msgstr "" #: ../bin/virt-sandbox-service-util.c:242 msgid "Start a container" msgstr "" #: ../bin/virt-sandbox-service-util.c:244 msgid "Attach to a container" msgstr "" #: ../bin/virt-sandbox-service-util.c:246 msgid "Pid of process in container to which the command will run" msgstr "" #: ../bin/virt-sandbox-service-util.c:248 msgid "Connect to hypervisor Default:'lxc:///'" msgstr "" #: ../bin/virt-sandbox-service-util.c:253 msgid "" "Run 'virt-sandbox-service-util --help' to see a full list of available " "command line options\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:263 msgid "- Libvirt Sandbox Service" msgstr "" #: ../bin/virt-sandbox-service-util.c:275 #, c-format msgid "" "Invalid command: You must specify --start or --attach\n" "%s" msgstr "" #: ../bin/virt-sandbox-service-util.c:281 #, c-format msgid "Invalid command CONTAINER_NAME required: %s" msgstr "" #: ../bin/virt-sandbox-service-util.c:288 msgid "Libvirt Sandbox Service" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-initrd.c:171 #, c-format msgid "Unable to create temporary directory %s: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-initrd.c:217 #, c-format msgid "Kernel module dir %s does not exist" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-initrd.c:275 #, c-format msgid "Unable to read entries in %s: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-initrd.c:306 #, c-format msgid "Unable to access %s: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-machine.c:446 #, c-format msgid "Kernel image %s does not exist" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:941 #, c-format msgid "Cannot request DHCP with static routes/addresses" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:963 #, c-format msgid "No assignment in filter parameter configuration" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:999 #, c-format msgid "Cannot set static addresses with DHCP" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1019 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1028 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1082 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1090 #, c-format msgid "Unable to parse address %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1058 #, c-format msgid "Cannot set static routes with DHCP" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1076 #, c-format msgid "Missing gateway in route %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1110 #, c-format msgid "Unknown parameter %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1121 #, c-format msgid "Cannot set static routes without addresses" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1285 #, c-format msgid "No mount type prefix on %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1298 #, c-format msgid "Unknown mount type prefix on %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1311 #, c-format msgid "Missing mount source string on %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1411 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1476 #, c-format msgid "No mount with a prefix under %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1578 #, c-format msgid "Unable to get SELinux context of user: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1587 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1596 #, c-format msgid "Unknown security option '%s'" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1630 msgid "Missing mount target in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1635 msgid "Missing mount type in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1647 #, c-format msgid "Unknown mount type %s in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1654 msgid "Missing mount usage in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1663 msgid "Missing mount source in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:2150 msgid "Missing class name in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:2156 #, c-format msgid "Unknown type name '%s' in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:2163 #, c-format msgid "Type name '%s' in config file had wrong parent" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console.c:326 msgid "Unable to isolate console unless direct access flag is set" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:184 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:350 #, c-format msgid "Unable to query terminal attributes: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:201 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:367 #, c-format msgid "Unable to update terminal attributes: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:224 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:395 #, c-format msgid "Unable to restore terminal attributes: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:630 msgid "No devices found for domain" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:660 #, c-format msgid "No device %s found for domain" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:666 #, c-format msgid "Unable to open console %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:699 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:1110 msgid "Console is already attached to a stream" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:628 #, c-format msgid "Unexpected rpc status %u" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:697 #, c-format msgid "Unexpected rpc proc %u" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:753 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:817 #, c-format msgid "Got rx in unexpected state %d" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:1167 msgid "ConsoleRpc is not attached to a stream" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-context.c:253 #: ../libvirt-sandbox/libvirt-sandbox-context.c:396 #, c-format msgid "Domain is not currently running" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-context.c:323 #: ../libvirt-sandbox/libvirt-sandbox-context.c:340 #: ../libvirt-sandbox/libvirt-sandbox-context.c:363 #, c-format msgid "Sandbox is not currently running" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1065 #, c-format msgid "libvirt-sandbox-init-common: unable to create signal pipe: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1084 #, c-format msgid "libvirt-sandbox-init-common: cannot open %s: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1141 #, c-format msgid "libvirt-sandbox-init-common: %s: cannot execute %s: %s\n" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1167 msgid "config file path" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1170 msgid "Run '" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1180 #, c-format msgid "%s: must be launched as root\n" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1187 msgid "Libvirt Sandbox Init Common" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1205 #, c-format msgid "%s: Unable to load config %s: %s\n" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1231 #, c-format msgid "Unsupported configuration type %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:69 msgid "Unable to decode message length" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:76 #, c-format msgid "packet %u bytes received from server too small, want %u" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:86 #, c-format msgid "packet %u bytes received from server too large, want %d" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:130 msgid "Unable to decode message header" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:174 #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:235 #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:303 #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:329 msgid "Unable to encode message length" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:180 msgid "Unable to encode message header" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:192 msgid "Unable to re-encode message length" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:222 msgid "Unable to encode message payload" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:265 msgid "Unable to decode message payload" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:290 #, c-format msgid "Raw data too long to send (%zu bytes needed, %zu bytes available)" msgstr "" libvirt-sandbox-0.5.1+git20160404/po/as.po000066400000000000000000000342251275305543100176200ustar00rootroot00000000000000# SOME DESCRIPTIVE TITLE. # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # # Translators: msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2015-02-18 14:55+0000\n" "PO-Revision-Date: 2013-04-08 06:10-0400\n" "Last-Translator: FULL NAME \n" "Language-Team: Assamese (http://www.transifex.com/projects/p/fedora/language/as/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Language: as\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" "X-Generator: Zanata 3.5.1\n" #: ../bin/virt-sandbox.c:48 ../bin/virt-sandbox-service-util.c:43 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1149 #, c-format msgid "%s version %s\n" msgstr "" #: ../bin/virt-sandbox.c:84 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1161 msgid "display version information" msgstr "" #: ../bin/virt-sandbox.c:86 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1163 msgid "display verbose information" msgstr "" #: ../bin/virt-sandbox.c:88 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1165 msgid "display debugging information" msgstr "" #: ../bin/virt-sandbox.c:90 msgid "connect to hypervisor" msgstr "" #: ../bin/virt-sandbox.c:92 msgid "name of the sandbox" msgstr "" #: ../bin/virt-sandbox.c:94 msgid "root directory of the sandbox" msgstr "" #: ../bin/virt-sandbox.c:96 msgid "mount a filesystem in the guest" msgstr "" #: ../bin/virt-sandbox.c:98 msgid "file to copy into custom dir" msgstr "" #: ../bin/virt-sandbox.c:100 msgid "file contain list of files to include" msgstr "" #: ../bin/virt-sandbox.c:102 msgid "setup network interface properties" msgstr "" #: ../bin/virt-sandbox.c:104 msgid "security properties" msgstr "" #: ../bin/virt-sandbox.c:106 msgid "run the command privileged" msgstr "" #: ../bin/virt-sandbox.c:108 msgid "start a shell" msgstr "" #: ../bin/virt-sandbox.c:110 msgid "kernel version" msgstr "" #: ../bin/virt-sandbox.c:112 msgid "kernel binary path" msgstr "" #: ../bin/virt-sandbox.c:114 msgid "kernel module directory" msgstr "" #: ../bin/virt-sandbox.c:119 msgid "" "Run 'virt-sandbox --help' to see a full list of available command line " "options" msgstr "" #: ../bin/virt-sandbox.c:129 msgid "Libvirt Sandbox" msgstr "" #: ../bin/virt-sandbox.c:131 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1189 msgid "- Libvirt Sandbox" msgstr "" #: ../bin/virt-sandbox.c:144 #, c-format msgid "" "\n" "Usage: %s [OPTIONS] COMMAND-PATH [ARGS...]\n" "\n" "%s\n" "\n" msgstr "" #: ../bin/virt-sandbox.c:160 ../bin/virt-sandbox-service-util.c:65 #, c-format msgid "Unable to open connection: %s\n" msgstr "" #: ../bin/virt-sandbox.c:161 ../bin/virt-sandbox.c:188 #: ../bin/virt-sandbox.c:194 ../bin/virt-sandbox.c:200 #: ../bin/virt-sandbox.c:206 ../bin/virt-sandbox.c:212 #: ../bin/virt-sandbox.c:227 ../bin/virt-sandbox.c:233 #: ../bin/virt-sandbox.c:240 ../bin/virt-sandbox.c:246 #: ../bin/virt-sandbox.c:254 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1247 msgid "Unknown failure" msgstr "" #: ../bin/virt-sandbox.c:187 #, c-format msgid "Unable to parse mounts: %s\n" msgstr "" #: ../bin/virt-sandbox.c:193 #, c-format msgid "Unable to parse includes: %s\n" msgstr "" #: ../bin/virt-sandbox.c:199 #, c-format msgid "Unable to parse include file: %s\n" msgstr "" #: ../bin/virt-sandbox.c:205 #, c-format msgid "Unable to parse networks: %s\n" msgstr "" #: ../bin/virt-sandbox.c:211 #, c-format msgid "Unable to parse security: %s\n" msgstr "" #: ../bin/virt-sandbox.c:226 #, c-format msgid "Unable to start sandbox: %s\n" msgstr "" #: ../bin/virt-sandbox.c:232 #, c-format msgid "Unable to get log console: %s\n" msgstr "" #: ../bin/virt-sandbox.c:239 ../bin/virt-sandbox.c:253 #, c-format msgid "Unable to attach sandbox console: %s\n" msgstr "" #: ../bin/virt-sandbox.c:245 #, c-format msgid "Unable to get app console: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:66 ../bin/virt-sandbox-service-util.c:72 #: ../bin/virt-sandbox-service-util.c:78 #: ../bin/virt-sandbox-service-util.c:104 #: ../bin/virt-sandbox-service-util.c:110 #: ../bin/virt-sandbox-service-util.c:120 #: ../bin/virt-sandbox-service-util.c:127 #: ../bin/virt-sandbox-service-util.c:159 #: ../bin/virt-sandbox-service-util.c:165 #: ../bin/virt-sandbox-service-util.c:175 #: ../bin/virt-sandbox-service-util.c:182 msgid "unknown" msgstr "" #: ../bin/virt-sandbox-service-util.c:71 #, c-format msgid "Unable to read config file %s: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:77 #, c-format msgid "Unable to create new context service: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:103 #, c-format msgid "Unable to start container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:109 #, c-format msgid "Unable to get log console for container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:119 #, c-format msgid "Unable to attach console to stderr in the container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:126 #: ../bin/virt-sandbox-service-util.c:181 #, c-format msgid "Unable to disconnect console from libvirt: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:158 #: ../bin/virt-sandbox-service-util.c:174 #, c-format msgid "Unable to attach to container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:164 #, c-format msgid "Unable to get shell console for container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:240 msgid "Display version information" msgstr "" #: ../bin/virt-sandbox-service-util.c:242 msgid "Start a container" msgstr "" #: ../bin/virt-sandbox-service-util.c:244 msgid "Attach to a container" msgstr "" #: ../bin/virt-sandbox-service-util.c:246 msgid "Pid of process in container to which the command will run" msgstr "" #: ../bin/virt-sandbox-service-util.c:248 msgid "Connect to hypervisor Default:'lxc:///'" msgstr "" #: ../bin/virt-sandbox-service-util.c:253 msgid "" "Run 'virt-sandbox-service-util --help' to see a full list of available " "command line options\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:263 msgid "- Libvirt Sandbox Service" msgstr "" #: ../bin/virt-sandbox-service-util.c:275 #, c-format msgid "" "Invalid command: You must specify --start or --attach\n" "%s" msgstr "" #: ../bin/virt-sandbox-service-util.c:281 #, c-format msgid "Invalid command CONTAINER_NAME required: %s" msgstr "" #: ../bin/virt-sandbox-service-util.c:288 msgid "Libvirt Sandbox Service" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-initrd.c:171 #, c-format msgid "Unable to create temporary directory %s: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-initrd.c:217 #, c-format msgid "Kernel module dir %s does not exist" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-initrd.c:275 #, c-format msgid "Unable to read entries in %s: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-initrd.c:306 #, c-format msgid "Unable to access %s: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-machine.c:446 #, c-format msgid "Kernel image %s does not exist" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:941 #, c-format msgid "Cannot request DHCP with static routes/addresses" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:963 #, c-format msgid "No assignment in filter parameter configuration" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:999 #, c-format msgid "Cannot set static addresses with DHCP" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1019 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1028 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1082 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1090 #, c-format msgid "Unable to parse address %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1058 #, c-format msgid "Cannot set static routes with DHCP" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1076 #, c-format msgid "Missing gateway in route %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1110 #, c-format msgid "Unknown parameter %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1121 #, c-format msgid "Cannot set static routes without addresses" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1285 #, c-format msgid "No mount type prefix on %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1298 #, c-format msgid "Unknown mount type prefix on %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1311 #, c-format msgid "Missing mount source string on %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1411 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1476 #, c-format msgid "No mount with a prefix under %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1578 #, c-format msgid "Unable to get SELinux context of user: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1587 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1596 #, c-format msgid "Unknown security option '%s'" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1630 msgid "Missing mount target in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1635 msgid "Missing mount type in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1647 #, c-format msgid "Unknown mount type %s in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1654 msgid "Missing mount usage in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1663 msgid "Missing mount source in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:2150 msgid "Missing class name in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:2156 #, c-format msgid "Unknown type name '%s' in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:2163 #, c-format msgid "Type name '%s' in config file had wrong parent" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console.c:326 msgid "Unable to isolate console unless direct access flag is set" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:184 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:350 #, c-format msgid "Unable to query terminal attributes: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:201 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:367 #, c-format msgid "Unable to update terminal attributes: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:224 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:395 #, c-format msgid "Unable to restore terminal attributes: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:630 msgid "No devices found for domain" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:660 #, c-format msgid "No device %s found for domain" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:666 #, c-format msgid "Unable to open console %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:699 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:1110 msgid "Console is already attached to a stream" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:628 #, c-format msgid "Unexpected rpc status %u" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:697 #, c-format msgid "Unexpected rpc proc %u" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:753 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:817 #, c-format msgid "Got rx in unexpected state %d" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:1167 msgid "ConsoleRpc is not attached to a stream" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-context.c:253 #: ../libvirt-sandbox/libvirt-sandbox-context.c:396 #, c-format msgid "Domain is not currently running" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-context.c:323 #: ../libvirt-sandbox/libvirt-sandbox-context.c:340 #: ../libvirt-sandbox/libvirt-sandbox-context.c:363 #, c-format msgid "Sandbox is not currently running" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1065 #, c-format msgid "libvirt-sandbox-init-common: unable to create signal pipe: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1084 #, c-format msgid "libvirt-sandbox-init-common: cannot open %s: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1141 #, c-format msgid "libvirt-sandbox-init-common: %s: cannot execute %s: %s\n" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1167 msgid "config file path" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1170 msgid "Run '" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1180 #, c-format msgid "%s: must be launched as root\n" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1187 msgid "Libvirt Sandbox Init Common" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1205 #, c-format msgid "%s: Unable to load config %s: %s\n" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1231 #, c-format msgid "Unsupported configuration type %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:69 msgid "Unable to decode message length" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:76 #, c-format msgid "packet %u bytes received from server too small, want %u" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:86 #, c-format msgid "packet %u bytes received from server too large, want %d" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:130 msgid "Unable to decode message header" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:174 #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:235 #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:303 #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:329 msgid "Unable to encode message length" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:180 msgid "Unable to encode message header" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:192 msgid "Unable to re-encode message length" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:222 msgid "Unable to encode message payload" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:265 msgid "Unable to decode message payload" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:290 #, c-format msgid "Raw data too long to send (%zu bytes needed, %zu bytes available)" msgstr "" libvirt-sandbox-0.5.1+git20160404/po/ast.po000066400000000000000000000342271275305543100200060ustar00rootroot00000000000000# SOME DESCRIPTIVE TITLE. # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # # Translators: msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2015-02-18 14:55+0000\n" "PO-Revision-Date: 2013-04-08 06:10-0400\n" "Last-Translator: FULL NAME \n" "Language-Team: Asturian (http://www.transifex.com/projects/p/fedora/language/ast/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Language: ast\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" "X-Generator: Zanata 3.5.1\n" #: ../bin/virt-sandbox.c:48 ../bin/virt-sandbox-service-util.c:43 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1149 #, c-format msgid "%s version %s\n" msgstr "" #: ../bin/virt-sandbox.c:84 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1161 msgid "display version information" msgstr "" #: ../bin/virt-sandbox.c:86 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1163 msgid "display verbose information" msgstr "" #: ../bin/virt-sandbox.c:88 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1165 msgid "display debugging information" msgstr "" #: ../bin/virt-sandbox.c:90 msgid "connect to hypervisor" msgstr "" #: ../bin/virt-sandbox.c:92 msgid "name of the sandbox" msgstr "" #: ../bin/virt-sandbox.c:94 msgid "root directory of the sandbox" msgstr "" #: ../bin/virt-sandbox.c:96 msgid "mount a filesystem in the guest" msgstr "" #: ../bin/virt-sandbox.c:98 msgid "file to copy into custom dir" msgstr "" #: ../bin/virt-sandbox.c:100 msgid "file contain list of files to include" msgstr "" #: ../bin/virt-sandbox.c:102 msgid "setup network interface properties" msgstr "" #: ../bin/virt-sandbox.c:104 msgid "security properties" msgstr "" #: ../bin/virt-sandbox.c:106 msgid "run the command privileged" msgstr "" #: ../bin/virt-sandbox.c:108 msgid "start a shell" msgstr "" #: ../bin/virt-sandbox.c:110 msgid "kernel version" msgstr "" #: ../bin/virt-sandbox.c:112 msgid "kernel binary path" msgstr "" #: ../bin/virt-sandbox.c:114 msgid "kernel module directory" msgstr "" #: ../bin/virt-sandbox.c:119 msgid "" "Run 'virt-sandbox --help' to see a full list of available command line " "options" msgstr "" #: ../bin/virt-sandbox.c:129 msgid "Libvirt Sandbox" msgstr "" #: ../bin/virt-sandbox.c:131 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1189 msgid "- Libvirt Sandbox" msgstr "" #: ../bin/virt-sandbox.c:144 #, c-format msgid "" "\n" "Usage: %s [OPTIONS] COMMAND-PATH [ARGS...]\n" "\n" "%s\n" "\n" msgstr "" #: ../bin/virt-sandbox.c:160 ../bin/virt-sandbox-service-util.c:65 #, c-format msgid "Unable to open connection: %s\n" msgstr "" #: ../bin/virt-sandbox.c:161 ../bin/virt-sandbox.c:188 #: ../bin/virt-sandbox.c:194 ../bin/virt-sandbox.c:200 #: ../bin/virt-sandbox.c:206 ../bin/virt-sandbox.c:212 #: ../bin/virt-sandbox.c:227 ../bin/virt-sandbox.c:233 #: ../bin/virt-sandbox.c:240 ../bin/virt-sandbox.c:246 #: ../bin/virt-sandbox.c:254 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1247 msgid "Unknown failure" msgstr "" #: ../bin/virt-sandbox.c:187 #, c-format msgid "Unable to parse mounts: %s\n" msgstr "" #: ../bin/virt-sandbox.c:193 #, c-format msgid "Unable to parse includes: %s\n" msgstr "" #: ../bin/virt-sandbox.c:199 #, c-format msgid "Unable to parse include file: %s\n" msgstr "" #: ../bin/virt-sandbox.c:205 #, c-format msgid "Unable to parse networks: %s\n" msgstr "" #: ../bin/virt-sandbox.c:211 #, c-format msgid "Unable to parse security: %s\n" msgstr "" #: ../bin/virt-sandbox.c:226 #, c-format msgid "Unable to start sandbox: %s\n" msgstr "" #: ../bin/virt-sandbox.c:232 #, c-format msgid "Unable to get log console: %s\n" msgstr "" #: ../bin/virt-sandbox.c:239 ../bin/virt-sandbox.c:253 #, c-format msgid "Unable to attach sandbox console: %s\n" msgstr "" #: ../bin/virt-sandbox.c:245 #, c-format msgid "Unable to get app console: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:66 ../bin/virt-sandbox-service-util.c:72 #: ../bin/virt-sandbox-service-util.c:78 #: ../bin/virt-sandbox-service-util.c:104 #: ../bin/virt-sandbox-service-util.c:110 #: ../bin/virt-sandbox-service-util.c:120 #: ../bin/virt-sandbox-service-util.c:127 #: ../bin/virt-sandbox-service-util.c:159 #: ../bin/virt-sandbox-service-util.c:165 #: ../bin/virt-sandbox-service-util.c:175 #: ../bin/virt-sandbox-service-util.c:182 msgid "unknown" msgstr "" #: ../bin/virt-sandbox-service-util.c:71 #, c-format msgid "Unable to read config file %s: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:77 #, c-format msgid "Unable to create new context service: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:103 #, c-format msgid "Unable to start container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:109 #, c-format msgid "Unable to get log console for container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:119 #, c-format msgid "Unable to attach console to stderr in the container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:126 #: ../bin/virt-sandbox-service-util.c:181 #, c-format msgid "Unable to disconnect console from libvirt: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:158 #: ../bin/virt-sandbox-service-util.c:174 #, c-format msgid "Unable to attach to container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:164 #, c-format msgid "Unable to get shell console for container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:240 msgid "Display version information" msgstr "" #: ../bin/virt-sandbox-service-util.c:242 msgid "Start a container" msgstr "" #: ../bin/virt-sandbox-service-util.c:244 msgid "Attach to a container" msgstr "" #: ../bin/virt-sandbox-service-util.c:246 msgid "Pid of process in container to which the command will run" msgstr "" #: ../bin/virt-sandbox-service-util.c:248 msgid "Connect to hypervisor Default:'lxc:///'" msgstr "" #: ../bin/virt-sandbox-service-util.c:253 msgid "" "Run 'virt-sandbox-service-util --help' to see a full list of available " "command line options\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:263 msgid "- Libvirt Sandbox Service" msgstr "" #: ../bin/virt-sandbox-service-util.c:275 #, c-format msgid "" "Invalid command: You must specify --start or --attach\n" "%s" msgstr "" #: ../bin/virt-sandbox-service-util.c:281 #, c-format msgid "Invalid command CONTAINER_NAME required: %s" msgstr "" #: ../bin/virt-sandbox-service-util.c:288 msgid "Libvirt Sandbox Service" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-initrd.c:171 #, c-format msgid "Unable to create temporary directory %s: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-initrd.c:217 #, c-format msgid "Kernel module dir %s does not exist" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-initrd.c:275 #, c-format msgid "Unable to read entries in %s: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-initrd.c:306 #, c-format msgid "Unable to access %s: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-machine.c:446 #, c-format msgid "Kernel image %s does not exist" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:941 #, c-format msgid "Cannot request DHCP with static routes/addresses" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:963 #, c-format msgid "No assignment in filter parameter configuration" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:999 #, c-format msgid "Cannot set static addresses with DHCP" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1019 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1028 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1082 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1090 #, c-format msgid "Unable to parse address %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1058 #, c-format msgid "Cannot set static routes with DHCP" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1076 #, c-format msgid "Missing gateway in route %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1110 #, c-format msgid "Unknown parameter %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1121 #, c-format msgid "Cannot set static routes without addresses" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1285 #, c-format msgid "No mount type prefix on %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1298 #, c-format msgid "Unknown mount type prefix on %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1311 #, c-format msgid "Missing mount source string on %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1411 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1476 #, c-format msgid "No mount with a prefix under %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1578 #, c-format msgid "Unable to get SELinux context of user: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1587 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1596 #, c-format msgid "Unknown security option '%s'" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1630 msgid "Missing mount target in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1635 msgid "Missing mount type in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1647 #, c-format msgid "Unknown mount type %s in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1654 msgid "Missing mount usage in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1663 msgid "Missing mount source in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:2150 msgid "Missing class name in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:2156 #, c-format msgid "Unknown type name '%s' in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:2163 #, c-format msgid "Type name '%s' in config file had wrong parent" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console.c:326 msgid "Unable to isolate console unless direct access flag is set" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:184 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:350 #, c-format msgid "Unable to query terminal attributes: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:201 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:367 #, c-format msgid "Unable to update terminal attributes: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:224 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:395 #, c-format msgid "Unable to restore terminal attributes: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:630 msgid "No devices found for domain" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:660 #, c-format msgid "No device %s found for domain" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:666 #, c-format msgid "Unable to open console %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:699 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:1110 msgid "Console is already attached to a stream" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:628 #, c-format msgid "Unexpected rpc status %u" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:697 #, c-format msgid "Unexpected rpc proc %u" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:753 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:817 #, c-format msgid "Got rx in unexpected state %d" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:1167 msgid "ConsoleRpc is not attached to a stream" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-context.c:253 #: ../libvirt-sandbox/libvirt-sandbox-context.c:396 #, c-format msgid "Domain is not currently running" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-context.c:323 #: ../libvirt-sandbox/libvirt-sandbox-context.c:340 #: ../libvirt-sandbox/libvirt-sandbox-context.c:363 #, c-format msgid "Sandbox is not currently running" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1065 #, c-format msgid "libvirt-sandbox-init-common: unable to create signal pipe: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1084 #, c-format msgid "libvirt-sandbox-init-common: cannot open %s: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1141 #, c-format msgid "libvirt-sandbox-init-common: %s: cannot execute %s: %s\n" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1167 msgid "config file path" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1170 msgid "Run '" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1180 #, c-format msgid "%s: must be launched as root\n" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1187 msgid "Libvirt Sandbox Init Common" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1205 #, c-format msgid "%s: Unable to load config %s: %s\n" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1231 #, c-format msgid "Unsupported configuration type %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:69 msgid "Unable to decode message length" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:76 #, c-format msgid "packet %u bytes received from server too small, want %u" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:86 #, c-format msgid "packet %u bytes received from server too large, want %d" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:130 msgid "Unable to decode message header" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:174 #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:235 #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:303 #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:329 msgid "Unable to encode message length" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:180 msgid "Unable to encode message header" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:192 msgid "Unable to re-encode message length" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:222 msgid "Unable to encode message payload" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:265 msgid "Unable to decode message payload" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:290 #, c-format msgid "Raw data too long to send (%zu bytes needed, %zu bytes available)" msgstr "" libvirt-sandbox-0.5.1+git20160404/po/bal.po000066400000000000000000000341771275305543100177610ustar00rootroot00000000000000# SOME DESCRIPTIVE TITLE. # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # # Translators: msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2015-02-18 14:55+0000\n" "PO-Revision-Date: 2013-04-08 06:10-0400\n" "Last-Translator: FULL NAME \n" "Language-Team: Balochi \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Language: bal\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" "X-Generator: Zanata 3.5.1\n" #: ../bin/virt-sandbox.c:48 ../bin/virt-sandbox-service-util.c:43 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1149 #, c-format msgid "%s version %s\n" msgstr "" #: ../bin/virt-sandbox.c:84 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1161 msgid "display version information" msgstr "" #: ../bin/virt-sandbox.c:86 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1163 msgid "display verbose information" msgstr "" #: ../bin/virt-sandbox.c:88 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1165 msgid "display debugging information" msgstr "" #: ../bin/virt-sandbox.c:90 msgid "connect to hypervisor" msgstr "" #: ../bin/virt-sandbox.c:92 msgid "name of the sandbox" msgstr "" #: ../bin/virt-sandbox.c:94 msgid "root directory of the sandbox" msgstr "" #: ../bin/virt-sandbox.c:96 msgid "mount a filesystem in the guest" msgstr "" #: ../bin/virt-sandbox.c:98 msgid "file to copy into custom dir" msgstr "" #: ../bin/virt-sandbox.c:100 msgid "file contain list of files to include" msgstr "" #: ../bin/virt-sandbox.c:102 msgid "setup network interface properties" msgstr "" #: ../bin/virt-sandbox.c:104 msgid "security properties" msgstr "" #: ../bin/virt-sandbox.c:106 msgid "run the command privileged" msgstr "" #: ../bin/virt-sandbox.c:108 msgid "start a shell" msgstr "" #: ../bin/virt-sandbox.c:110 msgid "kernel version" msgstr "" #: ../bin/virt-sandbox.c:112 msgid "kernel binary path" msgstr "" #: ../bin/virt-sandbox.c:114 msgid "kernel module directory" msgstr "" #: ../bin/virt-sandbox.c:119 msgid "" "Run 'virt-sandbox --help' to see a full list of available command line " "options" msgstr "" #: ../bin/virt-sandbox.c:129 msgid "Libvirt Sandbox" msgstr "" #: ../bin/virt-sandbox.c:131 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1189 msgid "- Libvirt Sandbox" msgstr "" #: ../bin/virt-sandbox.c:144 #, c-format msgid "" "\n" "Usage: %s [OPTIONS] COMMAND-PATH [ARGS...]\n" "\n" "%s\n" "\n" msgstr "" #: ../bin/virt-sandbox.c:160 ../bin/virt-sandbox-service-util.c:65 #, c-format msgid "Unable to open connection: %s\n" msgstr "" #: ../bin/virt-sandbox.c:161 ../bin/virt-sandbox.c:188 #: ../bin/virt-sandbox.c:194 ../bin/virt-sandbox.c:200 #: ../bin/virt-sandbox.c:206 ../bin/virt-sandbox.c:212 #: ../bin/virt-sandbox.c:227 ../bin/virt-sandbox.c:233 #: ../bin/virt-sandbox.c:240 ../bin/virt-sandbox.c:246 #: ../bin/virt-sandbox.c:254 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1247 msgid "Unknown failure" msgstr "" #: ../bin/virt-sandbox.c:187 #, c-format msgid "Unable to parse mounts: %s\n" msgstr "" #: ../bin/virt-sandbox.c:193 #, c-format msgid "Unable to parse includes: %s\n" msgstr "" #: ../bin/virt-sandbox.c:199 #, c-format msgid "Unable to parse include file: %s\n" msgstr "" #: ../bin/virt-sandbox.c:205 #, c-format msgid "Unable to parse networks: %s\n" msgstr "" #: ../bin/virt-sandbox.c:211 #, c-format msgid "Unable to parse security: %s\n" msgstr "" #: ../bin/virt-sandbox.c:226 #, c-format msgid "Unable to start sandbox: %s\n" msgstr "" #: ../bin/virt-sandbox.c:232 #, c-format msgid "Unable to get log console: %s\n" msgstr "" #: ../bin/virt-sandbox.c:239 ../bin/virt-sandbox.c:253 #, c-format msgid "Unable to attach sandbox console: %s\n" msgstr "" #: ../bin/virt-sandbox.c:245 #, c-format msgid "Unable to get app console: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:66 ../bin/virt-sandbox-service-util.c:72 #: ../bin/virt-sandbox-service-util.c:78 #: ../bin/virt-sandbox-service-util.c:104 #: ../bin/virt-sandbox-service-util.c:110 #: ../bin/virt-sandbox-service-util.c:120 #: ../bin/virt-sandbox-service-util.c:127 #: ../bin/virt-sandbox-service-util.c:159 #: ../bin/virt-sandbox-service-util.c:165 #: ../bin/virt-sandbox-service-util.c:175 #: ../bin/virt-sandbox-service-util.c:182 msgid "unknown" msgstr "" #: ../bin/virt-sandbox-service-util.c:71 #, c-format msgid "Unable to read config file %s: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:77 #, c-format msgid "Unable to create new context service: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:103 #, c-format msgid "Unable to start container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:109 #, c-format msgid "Unable to get log console for container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:119 #, c-format msgid "Unable to attach console to stderr in the container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:126 #: ../bin/virt-sandbox-service-util.c:181 #, c-format msgid "Unable to disconnect console from libvirt: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:158 #: ../bin/virt-sandbox-service-util.c:174 #, c-format msgid "Unable to attach to container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:164 #, c-format msgid "Unable to get shell console for container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:240 msgid "Display version information" msgstr "" #: ../bin/virt-sandbox-service-util.c:242 msgid "Start a container" msgstr "" #: ../bin/virt-sandbox-service-util.c:244 msgid "Attach to a container" msgstr "" #: ../bin/virt-sandbox-service-util.c:246 msgid "Pid of process in container to which the command will run" msgstr "" #: ../bin/virt-sandbox-service-util.c:248 msgid "Connect to hypervisor Default:'lxc:///'" msgstr "" #: ../bin/virt-sandbox-service-util.c:253 msgid "" "Run 'virt-sandbox-service-util --help' to see a full list of available " "command line options\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:263 msgid "- Libvirt Sandbox Service" msgstr "" #: ../bin/virt-sandbox-service-util.c:275 #, c-format msgid "" "Invalid command: You must specify --start or --attach\n" "%s" msgstr "" #: ../bin/virt-sandbox-service-util.c:281 #, c-format msgid "Invalid command CONTAINER_NAME required: %s" msgstr "" #: ../bin/virt-sandbox-service-util.c:288 msgid "Libvirt Sandbox Service" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-initrd.c:171 #, c-format msgid "Unable to create temporary directory %s: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-initrd.c:217 #, c-format msgid "Kernel module dir %s does not exist" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-initrd.c:275 #, c-format msgid "Unable to read entries in %s: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-initrd.c:306 #, c-format msgid "Unable to access %s: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-machine.c:446 #, c-format msgid "Kernel image %s does not exist" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:941 #, c-format msgid "Cannot request DHCP with static routes/addresses" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:963 #, c-format msgid "No assignment in filter parameter configuration" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:999 #, c-format msgid "Cannot set static addresses with DHCP" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1019 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1028 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1082 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1090 #, c-format msgid "Unable to parse address %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1058 #, c-format msgid "Cannot set static routes with DHCP" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1076 #, c-format msgid "Missing gateway in route %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1110 #, c-format msgid "Unknown parameter %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1121 #, c-format msgid "Cannot set static routes without addresses" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1285 #, c-format msgid "No mount type prefix on %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1298 #, c-format msgid "Unknown mount type prefix on %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1311 #, c-format msgid "Missing mount source string on %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1411 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1476 #, c-format msgid "No mount with a prefix under %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1578 #, c-format msgid "Unable to get SELinux context of user: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1587 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1596 #, c-format msgid "Unknown security option '%s'" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1630 msgid "Missing mount target in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1635 msgid "Missing mount type in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1647 #, c-format msgid "Unknown mount type %s in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1654 msgid "Missing mount usage in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1663 msgid "Missing mount source in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:2150 msgid "Missing class name in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:2156 #, c-format msgid "Unknown type name '%s' in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:2163 #, c-format msgid "Type name '%s' in config file had wrong parent" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console.c:326 msgid "Unable to isolate console unless direct access flag is set" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:184 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:350 #, c-format msgid "Unable to query terminal attributes: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:201 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:367 #, c-format msgid "Unable to update terminal attributes: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:224 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:395 #, c-format msgid "Unable to restore terminal attributes: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:630 msgid "No devices found for domain" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:660 #, c-format msgid "No device %s found for domain" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:666 #, c-format msgid "Unable to open console %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:699 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:1110 msgid "Console is already attached to a stream" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:628 #, c-format msgid "Unexpected rpc status %u" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:697 #, c-format msgid "Unexpected rpc proc %u" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:753 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:817 #, c-format msgid "Got rx in unexpected state %d" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:1167 msgid "ConsoleRpc is not attached to a stream" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-context.c:253 #: ../libvirt-sandbox/libvirt-sandbox-context.c:396 #, c-format msgid "Domain is not currently running" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-context.c:323 #: ../libvirt-sandbox/libvirt-sandbox-context.c:340 #: ../libvirt-sandbox/libvirt-sandbox-context.c:363 #, c-format msgid "Sandbox is not currently running" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1065 #, c-format msgid "libvirt-sandbox-init-common: unable to create signal pipe: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1084 #, c-format msgid "libvirt-sandbox-init-common: cannot open %s: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1141 #, c-format msgid "libvirt-sandbox-init-common: %s: cannot execute %s: %s\n" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1167 msgid "config file path" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1170 msgid "Run '" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1180 #, c-format msgid "%s: must be launched as root\n" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1187 msgid "Libvirt Sandbox Init Common" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1205 #, c-format msgid "%s: Unable to load config %s: %s\n" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1231 #, c-format msgid "Unsupported configuration type %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:69 msgid "Unable to decode message length" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:76 #, c-format msgid "packet %u bytes received from server too small, want %u" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:86 #, c-format msgid "packet %u bytes received from server too large, want %d" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:130 msgid "Unable to decode message header" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:174 #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:235 #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:303 #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:329 msgid "Unable to encode message length" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:180 msgid "Unable to encode message header" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:192 msgid "Unable to re-encode message length" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:222 msgid "Unable to encode message payload" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:265 msgid "Unable to decode message payload" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:290 #, c-format msgid "Raw data too long to send (%zu bytes needed, %zu bytes available)" msgstr "" libvirt-sandbox-0.5.1+git20160404/po/be.po000066400000000000000000000343411275305543100176020ustar00rootroot00000000000000# SOME DESCRIPTIVE TITLE. # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # # Translators: msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2015-02-18 14:55+0000\n" "PO-Revision-Date: 2013-04-08 06:10-0400\n" "Last-Translator: FULL NAME \n" "Language-Team: Belarusian (http://www.transifex.com/projects/p/fedora/language/be/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Language: be\n" "Plural-Forms: nplurals=4; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n" "X-Generator: Zanata 3.5.1\n" #: ../bin/virt-sandbox.c:48 ../bin/virt-sandbox-service-util.c:43 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1149 #, c-format msgid "%s version %s\n" msgstr "" #: ../bin/virt-sandbox.c:84 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1161 msgid "display version information" msgstr "" #: ../bin/virt-sandbox.c:86 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1163 msgid "display verbose information" msgstr "" #: ../bin/virt-sandbox.c:88 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1165 msgid "display debugging information" msgstr "" #: ../bin/virt-sandbox.c:90 msgid "connect to hypervisor" msgstr "" #: ../bin/virt-sandbox.c:92 msgid "name of the sandbox" msgstr "" #: ../bin/virt-sandbox.c:94 msgid "root directory of the sandbox" msgstr "" #: ../bin/virt-sandbox.c:96 msgid "mount a filesystem in the guest" msgstr "" #: ../bin/virt-sandbox.c:98 msgid "file to copy into custom dir" msgstr "" #: ../bin/virt-sandbox.c:100 msgid "file contain list of files to include" msgstr "" #: ../bin/virt-sandbox.c:102 msgid "setup network interface properties" msgstr "" #: ../bin/virt-sandbox.c:104 msgid "security properties" msgstr "" #: ../bin/virt-sandbox.c:106 msgid "run the command privileged" msgstr "" #: ../bin/virt-sandbox.c:108 msgid "start a shell" msgstr "" #: ../bin/virt-sandbox.c:110 msgid "kernel version" msgstr "" #: ../bin/virt-sandbox.c:112 msgid "kernel binary path" msgstr "" #: ../bin/virt-sandbox.c:114 msgid "kernel module directory" msgstr "" #: ../bin/virt-sandbox.c:119 msgid "" "Run 'virt-sandbox --help' to see a full list of available command line " "options" msgstr "" #: ../bin/virt-sandbox.c:129 msgid "Libvirt Sandbox" msgstr "" #: ../bin/virt-sandbox.c:131 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1189 msgid "- Libvirt Sandbox" msgstr "" #: ../bin/virt-sandbox.c:144 #, c-format msgid "" "\n" "Usage: %s [OPTIONS] COMMAND-PATH [ARGS...]\n" "\n" "%s\n" "\n" msgstr "" #: ../bin/virt-sandbox.c:160 ../bin/virt-sandbox-service-util.c:65 #, c-format msgid "Unable to open connection: %s\n" msgstr "" #: ../bin/virt-sandbox.c:161 ../bin/virt-sandbox.c:188 #: ../bin/virt-sandbox.c:194 ../bin/virt-sandbox.c:200 #: ../bin/virt-sandbox.c:206 ../bin/virt-sandbox.c:212 #: ../bin/virt-sandbox.c:227 ../bin/virt-sandbox.c:233 #: ../bin/virt-sandbox.c:240 ../bin/virt-sandbox.c:246 #: ../bin/virt-sandbox.c:254 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1247 msgid "Unknown failure" msgstr "" #: ../bin/virt-sandbox.c:187 #, c-format msgid "Unable to parse mounts: %s\n" msgstr "" #: ../bin/virt-sandbox.c:193 #, c-format msgid "Unable to parse includes: %s\n" msgstr "" #: ../bin/virt-sandbox.c:199 #, c-format msgid "Unable to parse include file: %s\n" msgstr "" #: ../bin/virt-sandbox.c:205 #, c-format msgid "Unable to parse networks: %s\n" msgstr "" #: ../bin/virt-sandbox.c:211 #, c-format msgid "Unable to parse security: %s\n" msgstr "" #: ../bin/virt-sandbox.c:226 #, c-format msgid "Unable to start sandbox: %s\n" msgstr "" #: ../bin/virt-sandbox.c:232 #, c-format msgid "Unable to get log console: %s\n" msgstr "" #: ../bin/virt-sandbox.c:239 ../bin/virt-sandbox.c:253 #, c-format msgid "Unable to attach sandbox console: %s\n" msgstr "" #: ../bin/virt-sandbox.c:245 #, c-format msgid "Unable to get app console: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:66 ../bin/virt-sandbox-service-util.c:72 #: ../bin/virt-sandbox-service-util.c:78 #: ../bin/virt-sandbox-service-util.c:104 #: ../bin/virt-sandbox-service-util.c:110 #: ../bin/virt-sandbox-service-util.c:120 #: ../bin/virt-sandbox-service-util.c:127 #: ../bin/virt-sandbox-service-util.c:159 #: ../bin/virt-sandbox-service-util.c:165 #: ../bin/virt-sandbox-service-util.c:175 #: ../bin/virt-sandbox-service-util.c:182 msgid "unknown" msgstr "" #: ../bin/virt-sandbox-service-util.c:71 #, c-format msgid "Unable to read config file %s: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:77 #, c-format msgid "Unable to create new context service: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:103 #, c-format msgid "Unable to start container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:109 #, c-format msgid "Unable to get log console for container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:119 #, c-format msgid "Unable to attach console to stderr in the container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:126 #: ../bin/virt-sandbox-service-util.c:181 #, c-format msgid "Unable to disconnect console from libvirt: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:158 #: ../bin/virt-sandbox-service-util.c:174 #, c-format msgid "Unable to attach to container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:164 #, c-format msgid "Unable to get shell console for container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:240 msgid "Display version information" msgstr "" #: ../bin/virt-sandbox-service-util.c:242 msgid "Start a container" msgstr "" #: ../bin/virt-sandbox-service-util.c:244 msgid "Attach to a container" msgstr "" #: ../bin/virt-sandbox-service-util.c:246 msgid "Pid of process in container to which the command will run" msgstr "" #: ../bin/virt-sandbox-service-util.c:248 msgid "Connect to hypervisor Default:'lxc:///'" msgstr "" #: ../bin/virt-sandbox-service-util.c:253 msgid "" "Run 'virt-sandbox-service-util --help' to see a full list of available " "command line options\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:263 msgid "- Libvirt Sandbox Service" msgstr "" #: ../bin/virt-sandbox-service-util.c:275 #, c-format msgid "" "Invalid command: You must specify --start or --attach\n" "%s" msgstr "" #: ../bin/virt-sandbox-service-util.c:281 #, c-format msgid "Invalid command CONTAINER_NAME required: %s" msgstr "" #: ../bin/virt-sandbox-service-util.c:288 msgid "Libvirt Sandbox Service" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-initrd.c:171 #, c-format msgid "Unable to create temporary directory %s: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-initrd.c:217 #, c-format msgid "Kernel module dir %s does not exist" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-initrd.c:275 #, c-format msgid "Unable to read entries in %s: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-initrd.c:306 #, c-format msgid "Unable to access %s: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-machine.c:446 #, c-format msgid "Kernel image %s does not exist" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:941 #, c-format msgid "Cannot request DHCP with static routes/addresses" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:963 #, c-format msgid "No assignment in filter parameter configuration" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:999 #, c-format msgid "Cannot set static addresses with DHCP" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1019 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1028 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1082 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1090 #, c-format msgid "Unable to parse address %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1058 #, c-format msgid "Cannot set static routes with DHCP" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1076 #, c-format msgid "Missing gateway in route %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1110 #, c-format msgid "Unknown parameter %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1121 #, c-format msgid "Cannot set static routes without addresses" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1285 #, c-format msgid "No mount type prefix on %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1298 #, c-format msgid "Unknown mount type prefix on %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1311 #, c-format msgid "Missing mount source string on %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1411 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1476 #, c-format msgid "No mount with a prefix under %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1578 #, c-format msgid "Unable to get SELinux context of user: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1587 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1596 #, c-format msgid "Unknown security option '%s'" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1630 msgid "Missing mount target in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1635 msgid "Missing mount type in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1647 #, c-format msgid "Unknown mount type %s in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1654 msgid "Missing mount usage in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1663 msgid "Missing mount source in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:2150 msgid "Missing class name in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:2156 #, c-format msgid "Unknown type name '%s' in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:2163 #, c-format msgid "Type name '%s' in config file had wrong parent" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console.c:326 msgid "Unable to isolate console unless direct access flag is set" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:184 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:350 #, c-format msgid "Unable to query terminal attributes: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:201 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:367 #, c-format msgid "Unable to update terminal attributes: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:224 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:395 #, c-format msgid "Unable to restore terminal attributes: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:630 msgid "No devices found for domain" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:660 #, c-format msgid "No device %s found for domain" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:666 #, c-format msgid "Unable to open console %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:699 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:1110 msgid "Console is already attached to a stream" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:628 #, c-format msgid "Unexpected rpc status %u" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:697 #, c-format msgid "Unexpected rpc proc %u" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:753 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:817 #, c-format msgid "Got rx in unexpected state %d" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:1167 msgid "ConsoleRpc is not attached to a stream" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-context.c:253 #: ../libvirt-sandbox/libvirt-sandbox-context.c:396 #, c-format msgid "Domain is not currently running" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-context.c:323 #: ../libvirt-sandbox/libvirt-sandbox-context.c:340 #: ../libvirt-sandbox/libvirt-sandbox-context.c:363 #, c-format msgid "Sandbox is not currently running" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1065 #, c-format msgid "libvirt-sandbox-init-common: unable to create signal pipe: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1084 #, c-format msgid "libvirt-sandbox-init-common: cannot open %s: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1141 #, c-format msgid "libvirt-sandbox-init-common: %s: cannot execute %s: %s\n" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1167 msgid "config file path" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1170 msgid "Run '" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1180 #, c-format msgid "%s: must be launched as root\n" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1187 msgid "Libvirt Sandbox Init Common" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1205 #, c-format msgid "%s: Unable to load config %s: %s\n" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1231 #, c-format msgid "Unsupported configuration type %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:69 msgid "Unable to decode message length" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:76 #, c-format msgid "packet %u bytes received from server too small, want %u" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:86 #, c-format msgid "packet %u bytes received from server too large, want %d" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:130 msgid "Unable to decode message header" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:174 #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:235 #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:303 #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:329 msgid "Unable to encode message length" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:180 msgid "Unable to encode message header" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:192 msgid "Unable to re-encode message length" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:222 msgid "Unable to encode message payload" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:265 msgid "Unable to decode message payload" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:290 #, c-format msgid "Raw data too long to send (%zu bytes needed, %zu bytes available)" msgstr "" libvirt-sandbox-0.5.1+git20160404/po/bg.po000066400000000000000000000341771275305543100176130ustar00rootroot00000000000000# SOME DESCRIPTIVE TITLE. # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # # Translators: msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2015-02-18 14:55+0000\n" "PO-Revision-Date: 2013-04-08 06:10-0400\n" "Last-Translator: FULL NAME \n" "Language-Team: Bulgarian \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Language: bg\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" "X-Generator: Zanata 3.5.1\n" #: ../bin/virt-sandbox.c:48 ../bin/virt-sandbox-service-util.c:43 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1149 #, c-format msgid "%s version %s\n" msgstr "" #: ../bin/virt-sandbox.c:84 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1161 msgid "display version information" msgstr "" #: ../bin/virt-sandbox.c:86 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1163 msgid "display verbose information" msgstr "" #: ../bin/virt-sandbox.c:88 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1165 msgid "display debugging information" msgstr "" #: ../bin/virt-sandbox.c:90 msgid "connect to hypervisor" msgstr "" #: ../bin/virt-sandbox.c:92 msgid "name of the sandbox" msgstr "" #: ../bin/virt-sandbox.c:94 msgid "root directory of the sandbox" msgstr "" #: ../bin/virt-sandbox.c:96 msgid "mount a filesystem in the guest" msgstr "" #: ../bin/virt-sandbox.c:98 msgid "file to copy into custom dir" msgstr "" #: ../bin/virt-sandbox.c:100 msgid "file contain list of files to include" msgstr "" #: ../bin/virt-sandbox.c:102 msgid "setup network interface properties" msgstr "" #: ../bin/virt-sandbox.c:104 msgid "security properties" msgstr "" #: ../bin/virt-sandbox.c:106 msgid "run the command privileged" msgstr "" #: ../bin/virt-sandbox.c:108 msgid "start a shell" msgstr "" #: ../bin/virt-sandbox.c:110 msgid "kernel version" msgstr "" #: ../bin/virt-sandbox.c:112 msgid "kernel binary path" msgstr "" #: ../bin/virt-sandbox.c:114 msgid "kernel module directory" msgstr "" #: ../bin/virt-sandbox.c:119 msgid "" "Run 'virt-sandbox --help' to see a full list of available command line " "options" msgstr "" #: ../bin/virt-sandbox.c:129 msgid "Libvirt Sandbox" msgstr "" #: ../bin/virt-sandbox.c:131 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1189 msgid "- Libvirt Sandbox" msgstr "" #: ../bin/virt-sandbox.c:144 #, c-format msgid "" "\n" "Usage: %s [OPTIONS] COMMAND-PATH [ARGS...]\n" "\n" "%s\n" "\n" msgstr "" #: ../bin/virt-sandbox.c:160 ../bin/virt-sandbox-service-util.c:65 #, c-format msgid "Unable to open connection: %s\n" msgstr "" #: ../bin/virt-sandbox.c:161 ../bin/virt-sandbox.c:188 #: ../bin/virt-sandbox.c:194 ../bin/virt-sandbox.c:200 #: ../bin/virt-sandbox.c:206 ../bin/virt-sandbox.c:212 #: ../bin/virt-sandbox.c:227 ../bin/virt-sandbox.c:233 #: ../bin/virt-sandbox.c:240 ../bin/virt-sandbox.c:246 #: ../bin/virt-sandbox.c:254 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1247 msgid "Unknown failure" msgstr "" #: ../bin/virt-sandbox.c:187 #, c-format msgid "Unable to parse mounts: %s\n" msgstr "" #: ../bin/virt-sandbox.c:193 #, c-format msgid "Unable to parse includes: %s\n" msgstr "" #: ../bin/virt-sandbox.c:199 #, c-format msgid "Unable to parse include file: %s\n" msgstr "" #: ../bin/virt-sandbox.c:205 #, c-format msgid "Unable to parse networks: %s\n" msgstr "" #: ../bin/virt-sandbox.c:211 #, c-format msgid "Unable to parse security: %s\n" msgstr "" #: ../bin/virt-sandbox.c:226 #, c-format msgid "Unable to start sandbox: %s\n" msgstr "" #: ../bin/virt-sandbox.c:232 #, c-format msgid "Unable to get log console: %s\n" msgstr "" #: ../bin/virt-sandbox.c:239 ../bin/virt-sandbox.c:253 #, c-format msgid "Unable to attach sandbox console: %s\n" msgstr "" #: ../bin/virt-sandbox.c:245 #, c-format msgid "Unable to get app console: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:66 ../bin/virt-sandbox-service-util.c:72 #: ../bin/virt-sandbox-service-util.c:78 #: ../bin/virt-sandbox-service-util.c:104 #: ../bin/virt-sandbox-service-util.c:110 #: ../bin/virt-sandbox-service-util.c:120 #: ../bin/virt-sandbox-service-util.c:127 #: ../bin/virt-sandbox-service-util.c:159 #: ../bin/virt-sandbox-service-util.c:165 #: ../bin/virt-sandbox-service-util.c:175 #: ../bin/virt-sandbox-service-util.c:182 msgid "unknown" msgstr "" #: ../bin/virt-sandbox-service-util.c:71 #, c-format msgid "Unable to read config file %s: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:77 #, c-format msgid "Unable to create new context service: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:103 #, c-format msgid "Unable to start container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:109 #, c-format msgid "Unable to get log console for container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:119 #, c-format msgid "Unable to attach console to stderr in the container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:126 #: ../bin/virt-sandbox-service-util.c:181 #, c-format msgid "Unable to disconnect console from libvirt: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:158 #: ../bin/virt-sandbox-service-util.c:174 #, c-format msgid "Unable to attach to container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:164 #, c-format msgid "Unable to get shell console for container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:240 msgid "Display version information" msgstr "" #: ../bin/virt-sandbox-service-util.c:242 msgid "Start a container" msgstr "" #: ../bin/virt-sandbox-service-util.c:244 msgid "Attach to a container" msgstr "" #: ../bin/virt-sandbox-service-util.c:246 msgid "Pid of process in container to which the command will run" msgstr "" #: ../bin/virt-sandbox-service-util.c:248 msgid "Connect to hypervisor Default:'lxc:///'" msgstr "" #: ../bin/virt-sandbox-service-util.c:253 msgid "" "Run 'virt-sandbox-service-util --help' to see a full list of available " "command line options\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:263 msgid "- Libvirt Sandbox Service" msgstr "" #: ../bin/virt-sandbox-service-util.c:275 #, c-format msgid "" "Invalid command: You must specify --start or --attach\n" "%s" msgstr "" #: ../bin/virt-sandbox-service-util.c:281 #, c-format msgid "Invalid command CONTAINER_NAME required: %s" msgstr "" #: ../bin/virt-sandbox-service-util.c:288 msgid "Libvirt Sandbox Service" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-initrd.c:171 #, c-format msgid "Unable to create temporary directory %s: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-initrd.c:217 #, c-format msgid "Kernel module dir %s does not exist" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-initrd.c:275 #, c-format msgid "Unable to read entries in %s: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-initrd.c:306 #, c-format msgid "Unable to access %s: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-machine.c:446 #, c-format msgid "Kernel image %s does not exist" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:941 #, c-format msgid "Cannot request DHCP with static routes/addresses" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:963 #, c-format msgid "No assignment in filter parameter configuration" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:999 #, c-format msgid "Cannot set static addresses with DHCP" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1019 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1028 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1082 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1090 #, c-format msgid "Unable to parse address %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1058 #, c-format msgid "Cannot set static routes with DHCP" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1076 #, c-format msgid "Missing gateway in route %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1110 #, c-format msgid "Unknown parameter %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1121 #, c-format msgid "Cannot set static routes without addresses" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1285 #, c-format msgid "No mount type prefix on %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1298 #, c-format msgid "Unknown mount type prefix on %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1311 #, c-format msgid "Missing mount source string on %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1411 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1476 #, c-format msgid "No mount with a prefix under %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1578 #, c-format msgid "Unable to get SELinux context of user: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1587 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1596 #, c-format msgid "Unknown security option '%s'" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1630 msgid "Missing mount target in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1635 msgid "Missing mount type in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1647 #, c-format msgid "Unknown mount type %s in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1654 msgid "Missing mount usage in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1663 msgid "Missing mount source in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:2150 msgid "Missing class name in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:2156 #, c-format msgid "Unknown type name '%s' in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:2163 #, c-format msgid "Type name '%s' in config file had wrong parent" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console.c:326 msgid "Unable to isolate console unless direct access flag is set" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:184 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:350 #, c-format msgid "Unable to query terminal attributes: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:201 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:367 #, c-format msgid "Unable to update terminal attributes: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:224 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:395 #, c-format msgid "Unable to restore terminal attributes: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:630 msgid "No devices found for domain" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:660 #, c-format msgid "No device %s found for domain" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:666 #, c-format msgid "Unable to open console %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:699 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:1110 msgid "Console is already attached to a stream" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:628 #, c-format msgid "Unexpected rpc status %u" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:697 #, c-format msgid "Unexpected rpc proc %u" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:753 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:817 #, c-format msgid "Got rx in unexpected state %d" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:1167 msgid "ConsoleRpc is not attached to a stream" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-context.c:253 #: ../libvirt-sandbox/libvirt-sandbox-context.c:396 #, c-format msgid "Domain is not currently running" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-context.c:323 #: ../libvirt-sandbox/libvirt-sandbox-context.c:340 #: ../libvirt-sandbox/libvirt-sandbox-context.c:363 #, c-format msgid "Sandbox is not currently running" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1065 #, c-format msgid "libvirt-sandbox-init-common: unable to create signal pipe: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1084 #, c-format msgid "libvirt-sandbox-init-common: cannot open %s: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1141 #, c-format msgid "libvirt-sandbox-init-common: %s: cannot execute %s: %s\n" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1167 msgid "config file path" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1170 msgid "Run '" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1180 #, c-format msgid "%s: must be launched as root\n" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1187 msgid "Libvirt Sandbox Init Common" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1205 #, c-format msgid "%s: Unable to load config %s: %s\n" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1231 #, c-format msgid "Unsupported configuration type %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:69 msgid "Unable to decode message length" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:76 #, c-format msgid "packet %u bytes received from server too small, want %u" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:86 #, c-format msgid "packet %u bytes received from server too large, want %d" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:130 msgid "Unable to decode message header" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:174 #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:235 #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:303 #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:329 msgid "Unable to encode message length" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:180 msgid "Unable to encode message header" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:192 msgid "Unable to re-encode message length" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:222 msgid "Unable to encode message payload" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:265 msgid "Unable to decode message payload" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:290 #, c-format msgid "Raw data too long to send (%zu bytes needed, %zu bytes available)" msgstr "" libvirt-sandbox-0.5.1+git20160404/po/bn.po000066400000000000000000000341561275305543100176170ustar00rootroot00000000000000# SOME DESCRIPTIVE TITLE. # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # # Translators: msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2015-02-18 14:55+0000\n" "PO-Revision-Date: 2013-04-08 06:10-0400\n" "Last-Translator: FULL NAME \n" "Language-Team: Bengali \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Language: bn\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" "X-Generator: Zanata 3.5.1\n" #: ../bin/virt-sandbox.c:48 ../bin/virt-sandbox-service-util.c:43 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1149 #, c-format msgid "%s version %s\n" msgstr "" #: ../bin/virt-sandbox.c:84 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1161 msgid "display version information" msgstr "" #: ../bin/virt-sandbox.c:86 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1163 msgid "display verbose information" msgstr "" #: ../bin/virt-sandbox.c:88 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1165 msgid "display debugging information" msgstr "" #: ../bin/virt-sandbox.c:90 msgid "connect to hypervisor" msgstr "" #: ../bin/virt-sandbox.c:92 msgid "name of the sandbox" msgstr "" #: ../bin/virt-sandbox.c:94 msgid "root directory of the sandbox" msgstr "" #: ../bin/virt-sandbox.c:96 msgid "mount a filesystem in the guest" msgstr "" #: ../bin/virt-sandbox.c:98 msgid "file to copy into custom dir" msgstr "" #: ../bin/virt-sandbox.c:100 msgid "file contain list of files to include" msgstr "" #: ../bin/virt-sandbox.c:102 msgid "setup network interface properties" msgstr "" #: ../bin/virt-sandbox.c:104 msgid "security properties" msgstr "" #: ../bin/virt-sandbox.c:106 msgid "run the command privileged" msgstr "" #: ../bin/virt-sandbox.c:108 msgid "start a shell" msgstr "" #: ../bin/virt-sandbox.c:110 msgid "kernel version" msgstr "" #: ../bin/virt-sandbox.c:112 msgid "kernel binary path" msgstr "" #: ../bin/virt-sandbox.c:114 msgid "kernel module directory" msgstr "" #: ../bin/virt-sandbox.c:119 msgid "" "Run 'virt-sandbox --help' to see a full list of available command line " "options" msgstr "" #: ../bin/virt-sandbox.c:129 msgid "Libvirt Sandbox" msgstr "" #: ../bin/virt-sandbox.c:131 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1189 msgid "- Libvirt Sandbox" msgstr "" #: ../bin/virt-sandbox.c:144 #, c-format msgid "" "\n" "Usage: %s [OPTIONS] COMMAND-PATH [ARGS...]\n" "\n" "%s\n" "\n" msgstr "" #: ../bin/virt-sandbox.c:160 ../bin/virt-sandbox-service-util.c:65 #, c-format msgid "Unable to open connection: %s\n" msgstr "" #: ../bin/virt-sandbox.c:161 ../bin/virt-sandbox.c:188 #: ../bin/virt-sandbox.c:194 ../bin/virt-sandbox.c:200 #: ../bin/virt-sandbox.c:206 ../bin/virt-sandbox.c:212 #: ../bin/virt-sandbox.c:227 ../bin/virt-sandbox.c:233 #: ../bin/virt-sandbox.c:240 ../bin/virt-sandbox.c:246 #: ../bin/virt-sandbox.c:254 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1247 msgid "Unknown failure" msgstr "" #: ../bin/virt-sandbox.c:187 #, c-format msgid "Unable to parse mounts: %s\n" msgstr "" #: ../bin/virt-sandbox.c:193 #, c-format msgid "Unable to parse includes: %s\n" msgstr "" #: ../bin/virt-sandbox.c:199 #, c-format msgid "Unable to parse include file: %s\n" msgstr "" #: ../bin/virt-sandbox.c:205 #, c-format msgid "Unable to parse networks: %s\n" msgstr "" #: ../bin/virt-sandbox.c:211 #, c-format msgid "Unable to parse security: %s\n" msgstr "" #: ../bin/virt-sandbox.c:226 #, c-format msgid "Unable to start sandbox: %s\n" msgstr "" #: ../bin/virt-sandbox.c:232 #, c-format msgid "Unable to get log console: %s\n" msgstr "" #: ../bin/virt-sandbox.c:239 ../bin/virt-sandbox.c:253 #, c-format msgid "Unable to attach sandbox console: %s\n" msgstr "" #: ../bin/virt-sandbox.c:245 #, c-format msgid "Unable to get app console: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:66 ../bin/virt-sandbox-service-util.c:72 #: ../bin/virt-sandbox-service-util.c:78 #: ../bin/virt-sandbox-service-util.c:104 #: ../bin/virt-sandbox-service-util.c:110 #: ../bin/virt-sandbox-service-util.c:120 #: ../bin/virt-sandbox-service-util.c:127 #: ../bin/virt-sandbox-service-util.c:159 #: ../bin/virt-sandbox-service-util.c:165 #: ../bin/virt-sandbox-service-util.c:175 #: ../bin/virt-sandbox-service-util.c:182 msgid "unknown" msgstr "" #: ../bin/virt-sandbox-service-util.c:71 #, c-format msgid "Unable to read config file %s: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:77 #, c-format msgid "Unable to create new context service: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:103 #, c-format msgid "Unable to start container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:109 #, c-format msgid "Unable to get log console for container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:119 #, c-format msgid "Unable to attach console to stderr in the container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:126 #: ../bin/virt-sandbox-service-util.c:181 #, c-format msgid "Unable to disconnect console from libvirt: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:158 #: ../bin/virt-sandbox-service-util.c:174 #, c-format msgid "Unable to attach to container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:164 #, c-format msgid "Unable to get shell console for container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:240 msgid "Display version information" msgstr "" #: ../bin/virt-sandbox-service-util.c:242 msgid "Start a container" msgstr "" #: ../bin/virt-sandbox-service-util.c:244 msgid "Attach to a container" msgstr "" #: ../bin/virt-sandbox-service-util.c:246 msgid "Pid of process in container to which the command will run" msgstr "" #: ../bin/virt-sandbox-service-util.c:248 msgid "Connect to hypervisor Default:'lxc:///'" msgstr "" #: ../bin/virt-sandbox-service-util.c:253 msgid "" "Run 'virt-sandbox-service-util --help' to see a full list of available " "command line options\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:263 msgid "- Libvirt Sandbox Service" msgstr "" #: ../bin/virt-sandbox-service-util.c:275 #, c-format msgid "" "Invalid command: You must specify --start or --attach\n" "%s" msgstr "" #: ../bin/virt-sandbox-service-util.c:281 #, c-format msgid "Invalid command CONTAINER_NAME required: %s" msgstr "" #: ../bin/virt-sandbox-service-util.c:288 msgid "Libvirt Sandbox Service" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-initrd.c:171 #, c-format msgid "Unable to create temporary directory %s: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-initrd.c:217 #, c-format msgid "Kernel module dir %s does not exist" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-initrd.c:275 #, c-format msgid "Unable to read entries in %s: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-initrd.c:306 #, c-format msgid "Unable to access %s: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-machine.c:446 #, c-format msgid "Kernel image %s does not exist" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:941 #, c-format msgid "Cannot request DHCP with static routes/addresses" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:963 #, c-format msgid "No assignment in filter parameter configuration" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:999 #, c-format msgid "Cannot set static addresses with DHCP" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1019 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1028 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1082 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1090 #, c-format msgid "Unable to parse address %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1058 #, c-format msgid "Cannot set static routes with DHCP" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1076 #, c-format msgid "Missing gateway in route %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1110 #, c-format msgid "Unknown parameter %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1121 #, c-format msgid "Cannot set static routes without addresses" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1285 #, c-format msgid "No mount type prefix on %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1298 #, c-format msgid "Unknown mount type prefix on %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1311 #, c-format msgid "Missing mount source string on %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1411 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1476 #, c-format msgid "No mount with a prefix under %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1578 #, c-format msgid "Unable to get SELinux context of user: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1587 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1596 #, c-format msgid "Unknown security option '%s'" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1630 msgid "Missing mount target in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1635 msgid "Missing mount type in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1647 #, c-format msgid "Unknown mount type %s in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1654 msgid "Missing mount usage in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1663 msgid "Missing mount source in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:2150 msgid "Missing class name in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:2156 #, c-format msgid "Unknown type name '%s' in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:2163 #, c-format msgid "Type name '%s' in config file had wrong parent" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console.c:326 msgid "Unable to isolate console unless direct access flag is set" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:184 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:350 #, c-format msgid "Unable to query terminal attributes: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:201 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:367 #, c-format msgid "Unable to update terminal attributes: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:224 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:395 #, c-format msgid "Unable to restore terminal attributes: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:630 msgid "No devices found for domain" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:660 #, c-format msgid "No device %s found for domain" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:666 #, c-format msgid "Unable to open console %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:699 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:1110 msgid "Console is already attached to a stream" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:628 #, c-format msgid "Unexpected rpc status %u" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:697 #, c-format msgid "Unexpected rpc proc %u" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:753 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:817 #, c-format msgid "Got rx in unexpected state %d" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:1167 msgid "ConsoleRpc is not attached to a stream" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-context.c:253 #: ../libvirt-sandbox/libvirt-sandbox-context.c:396 #, c-format msgid "Domain is not currently running" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-context.c:323 #: ../libvirt-sandbox/libvirt-sandbox-context.c:340 #: ../libvirt-sandbox/libvirt-sandbox-context.c:363 #, c-format msgid "Sandbox is not currently running" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1065 #, c-format msgid "libvirt-sandbox-init-common: unable to create signal pipe: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1084 #, c-format msgid "libvirt-sandbox-init-common: cannot open %s: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1141 #, c-format msgid "libvirt-sandbox-init-common: %s: cannot execute %s: %s\n" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1167 msgid "config file path" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1170 msgid "Run '" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1180 #, c-format msgid "%s: must be launched as root\n" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1187 msgid "Libvirt Sandbox Init Common" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1205 #, c-format msgid "%s: Unable to load config %s: %s\n" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1231 #, c-format msgid "Unsupported configuration type %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:69 msgid "Unable to decode message length" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:76 #, c-format msgid "packet %u bytes received from server too small, want %u" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:86 #, c-format msgid "packet %u bytes received from server too large, want %d" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:130 msgid "Unable to decode message header" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:174 #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:235 #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:303 #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:329 msgid "Unable to encode message length" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:180 msgid "Unable to encode message header" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:192 msgid "Unable to re-encode message length" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:222 msgid "Unable to encode message payload" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:265 msgid "Unable to decode message payload" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:290 #, c-format msgid "Raw data too long to send (%zu bytes needed, %zu bytes available)" msgstr "" libvirt-sandbox-0.5.1+git20160404/po/bn_IN.po000066400000000000000000000342011275305543100201740ustar00rootroot00000000000000# SOME DESCRIPTIVE TITLE. # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # # Translators: msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2015-02-18 14:55+0000\n" "PO-Revision-Date: 2013-04-08 06:10-0400\n" "Last-Translator: FULL NAME \n" "Language-Team: Bengali (India) \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Language: bn-IN\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" "X-Generator: Zanata 3.5.1\n" #: ../bin/virt-sandbox.c:48 ../bin/virt-sandbox-service-util.c:43 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1149 #, c-format msgid "%s version %s\n" msgstr "" #: ../bin/virt-sandbox.c:84 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1161 msgid "display version information" msgstr "" #: ../bin/virt-sandbox.c:86 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1163 msgid "display verbose information" msgstr "" #: ../bin/virt-sandbox.c:88 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1165 msgid "display debugging information" msgstr "" #: ../bin/virt-sandbox.c:90 msgid "connect to hypervisor" msgstr "" #: ../bin/virt-sandbox.c:92 msgid "name of the sandbox" msgstr "" #: ../bin/virt-sandbox.c:94 msgid "root directory of the sandbox" msgstr "" #: ../bin/virt-sandbox.c:96 msgid "mount a filesystem in the guest" msgstr "" #: ../bin/virt-sandbox.c:98 msgid "file to copy into custom dir" msgstr "" #: ../bin/virt-sandbox.c:100 msgid "file contain list of files to include" msgstr "" #: ../bin/virt-sandbox.c:102 msgid "setup network interface properties" msgstr "" #: ../bin/virt-sandbox.c:104 msgid "security properties" msgstr "" #: ../bin/virt-sandbox.c:106 msgid "run the command privileged" msgstr "" #: ../bin/virt-sandbox.c:108 msgid "start a shell" msgstr "" #: ../bin/virt-sandbox.c:110 msgid "kernel version" msgstr "" #: ../bin/virt-sandbox.c:112 msgid "kernel binary path" msgstr "" #: ../bin/virt-sandbox.c:114 msgid "kernel module directory" msgstr "" #: ../bin/virt-sandbox.c:119 msgid "" "Run 'virt-sandbox --help' to see a full list of available command line " "options" msgstr "" #: ../bin/virt-sandbox.c:129 msgid "Libvirt Sandbox" msgstr "" #: ../bin/virt-sandbox.c:131 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1189 msgid "- Libvirt Sandbox" msgstr "" #: ../bin/virt-sandbox.c:144 #, c-format msgid "" "\n" "Usage: %s [OPTIONS] COMMAND-PATH [ARGS...]\n" "\n" "%s\n" "\n" msgstr "" #: ../bin/virt-sandbox.c:160 ../bin/virt-sandbox-service-util.c:65 #, c-format msgid "Unable to open connection: %s\n" msgstr "" #: ../bin/virt-sandbox.c:161 ../bin/virt-sandbox.c:188 #: ../bin/virt-sandbox.c:194 ../bin/virt-sandbox.c:200 #: ../bin/virt-sandbox.c:206 ../bin/virt-sandbox.c:212 #: ../bin/virt-sandbox.c:227 ../bin/virt-sandbox.c:233 #: ../bin/virt-sandbox.c:240 ../bin/virt-sandbox.c:246 #: ../bin/virt-sandbox.c:254 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1247 msgid "Unknown failure" msgstr "" #: ../bin/virt-sandbox.c:187 #, c-format msgid "Unable to parse mounts: %s\n" msgstr "" #: ../bin/virt-sandbox.c:193 #, c-format msgid "Unable to parse includes: %s\n" msgstr "" #: ../bin/virt-sandbox.c:199 #, c-format msgid "Unable to parse include file: %s\n" msgstr "" #: ../bin/virt-sandbox.c:205 #, c-format msgid "Unable to parse networks: %s\n" msgstr "" #: ../bin/virt-sandbox.c:211 #, c-format msgid "Unable to parse security: %s\n" msgstr "" #: ../bin/virt-sandbox.c:226 #, c-format msgid "Unable to start sandbox: %s\n" msgstr "" #: ../bin/virt-sandbox.c:232 #, c-format msgid "Unable to get log console: %s\n" msgstr "" #: ../bin/virt-sandbox.c:239 ../bin/virt-sandbox.c:253 #, c-format msgid "Unable to attach sandbox console: %s\n" msgstr "" #: ../bin/virt-sandbox.c:245 #, c-format msgid "Unable to get app console: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:66 ../bin/virt-sandbox-service-util.c:72 #: ../bin/virt-sandbox-service-util.c:78 #: ../bin/virt-sandbox-service-util.c:104 #: ../bin/virt-sandbox-service-util.c:110 #: ../bin/virt-sandbox-service-util.c:120 #: ../bin/virt-sandbox-service-util.c:127 #: ../bin/virt-sandbox-service-util.c:159 #: ../bin/virt-sandbox-service-util.c:165 #: ../bin/virt-sandbox-service-util.c:175 #: ../bin/virt-sandbox-service-util.c:182 msgid "unknown" msgstr "" #: ../bin/virt-sandbox-service-util.c:71 #, c-format msgid "Unable to read config file %s: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:77 #, c-format msgid "Unable to create new context service: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:103 #, c-format msgid "Unable to start container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:109 #, c-format msgid "Unable to get log console for container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:119 #, c-format msgid "Unable to attach console to stderr in the container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:126 #: ../bin/virt-sandbox-service-util.c:181 #, c-format msgid "Unable to disconnect console from libvirt: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:158 #: ../bin/virt-sandbox-service-util.c:174 #, c-format msgid "Unable to attach to container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:164 #, c-format msgid "Unable to get shell console for container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:240 msgid "Display version information" msgstr "" #: ../bin/virt-sandbox-service-util.c:242 msgid "Start a container" msgstr "" #: ../bin/virt-sandbox-service-util.c:244 msgid "Attach to a container" msgstr "" #: ../bin/virt-sandbox-service-util.c:246 msgid "Pid of process in container to which the command will run" msgstr "" #: ../bin/virt-sandbox-service-util.c:248 msgid "Connect to hypervisor Default:'lxc:///'" msgstr "" #: ../bin/virt-sandbox-service-util.c:253 msgid "" "Run 'virt-sandbox-service-util --help' to see a full list of available " "command line options\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:263 msgid "- Libvirt Sandbox Service" msgstr "" #: ../bin/virt-sandbox-service-util.c:275 #, c-format msgid "" "Invalid command: You must specify --start or --attach\n" "%s" msgstr "" #: ../bin/virt-sandbox-service-util.c:281 #, c-format msgid "Invalid command CONTAINER_NAME required: %s" msgstr "" #: ../bin/virt-sandbox-service-util.c:288 msgid "Libvirt Sandbox Service" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-initrd.c:171 #, c-format msgid "Unable to create temporary directory %s: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-initrd.c:217 #, c-format msgid "Kernel module dir %s does not exist" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-initrd.c:275 #, c-format msgid "Unable to read entries in %s: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-initrd.c:306 #, c-format msgid "Unable to access %s: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-machine.c:446 #, c-format msgid "Kernel image %s does not exist" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:941 #, c-format msgid "Cannot request DHCP with static routes/addresses" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:963 #, c-format msgid "No assignment in filter parameter configuration" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:999 #, c-format msgid "Cannot set static addresses with DHCP" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1019 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1028 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1082 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1090 #, c-format msgid "Unable to parse address %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1058 #, c-format msgid "Cannot set static routes with DHCP" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1076 #, c-format msgid "Missing gateway in route %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1110 #, c-format msgid "Unknown parameter %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1121 #, c-format msgid "Cannot set static routes without addresses" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1285 #, c-format msgid "No mount type prefix on %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1298 #, c-format msgid "Unknown mount type prefix on %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1311 #, c-format msgid "Missing mount source string on %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1411 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1476 #, c-format msgid "No mount with a prefix under %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1578 #, c-format msgid "Unable to get SELinux context of user: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1587 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1596 #, c-format msgid "Unknown security option '%s'" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1630 msgid "Missing mount target in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1635 msgid "Missing mount type in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1647 #, c-format msgid "Unknown mount type %s in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1654 msgid "Missing mount usage in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1663 msgid "Missing mount source in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:2150 msgid "Missing class name in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:2156 #, c-format msgid "Unknown type name '%s' in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:2163 #, c-format msgid "Type name '%s' in config file had wrong parent" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console.c:326 msgid "Unable to isolate console unless direct access flag is set" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:184 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:350 #, c-format msgid "Unable to query terminal attributes: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:201 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:367 #, c-format msgid "Unable to update terminal attributes: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:224 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:395 #, c-format msgid "Unable to restore terminal attributes: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:630 msgid "No devices found for domain" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:660 #, c-format msgid "No device %s found for domain" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:666 #, c-format msgid "Unable to open console %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:699 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:1110 msgid "Console is already attached to a stream" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:628 #, c-format msgid "Unexpected rpc status %u" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:697 #, c-format msgid "Unexpected rpc proc %u" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:753 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:817 #, c-format msgid "Got rx in unexpected state %d" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:1167 msgid "ConsoleRpc is not attached to a stream" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-context.c:253 #: ../libvirt-sandbox/libvirt-sandbox-context.c:396 #, c-format msgid "Domain is not currently running" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-context.c:323 #: ../libvirt-sandbox/libvirt-sandbox-context.c:340 #: ../libvirt-sandbox/libvirt-sandbox-context.c:363 #, c-format msgid "Sandbox is not currently running" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1065 #, c-format msgid "libvirt-sandbox-init-common: unable to create signal pipe: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1084 #, c-format msgid "libvirt-sandbox-init-common: cannot open %s: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1141 #, c-format msgid "libvirt-sandbox-init-common: %s: cannot execute %s: %s\n" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1167 msgid "config file path" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1170 msgid "Run '" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1180 #, c-format msgid "%s: must be launched as root\n" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1187 msgid "Libvirt Sandbox Init Common" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1205 #, c-format msgid "%s: Unable to load config %s: %s\n" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1231 #, c-format msgid "Unsupported configuration type %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:69 msgid "Unable to decode message length" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:76 #, c-format msgid "packet %u bytes received from server too small, want %u" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:86 #, c-format msgid "packet %u bytes received from server too large, want %d" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:130 msgid "Unable to decode message header" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:174 #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:235 #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:303 #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:329 msgid "Unable to encode message length" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:180 msgid "Unable to encode message header" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:192 msgid "Unable to re-encode message length" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:222 msgid "Unable to encode message payload" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:265 msgid "Unable to decode message payload" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:290 #, c-format msgid "Raw data too long to send (%zu bytes needed, %zu bytes available)" msgstr "" libvirt-sandbox-0.5.1+git20160404/po/bo.po000066400000000000000000000342111275305543100176100ustar00rootroot00000000000000# SOME DESCRIPTIVE TITLE. # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # # Translators: msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2015-02-18 14:55+0000\n" "PO-Revision-Date: 2013-07-09 03:50-0400\n" "Last-Translator: Daniel Berrange \n" "Language-Team: Tibetan \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Language: bo\n" "Plural-Forms: nplurals=1; plural=0;\n" "X-Generator: Zanata 3.5.1\n" #: ../bin/virt-sandbox.c:48 ../bin/virt-sandbox-service-util.c:43 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1149 #, c-format msgid "%s version %s\n" msgstr "" #: ../bin/virt-sandbox.c:84 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1161 msgid "display version information" msgstr "" #: ../bin/virt-sandbox.c:86 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1163 msgid "display verbose information" msgstr "" #: ../bin/virt-sandbox.c:88 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1165 msgid "display debugging information" msgstr "" #: ../bin/virt-sandbox.c:90 msgid "connect to hypervisor" msgstr "" #: ../bin/virt-sandbox.c:92 msgid "name of the sandbox" msgstr "" #: ../bin/virt-sandbox.c:94 msgid "root directory of the sandbox" msgstr "" #: ../bin/virt-sandbox.c:96 msgid "mount a filesystem in the guest" msgstr "" #: ../bin/virt-sandbox.c:98 msgid "file to copy into custom dir" msgstr "" #: ../bin/virt-sandbox.c:100 msgid "file contain list of files to include" msgstr "" #: ../bin/virt-sandbox.c:102 msgid "setup network interface properties" msgstr "" #: ../bin/virt-sandbox.c:104 msgid "security properties" msgstr "" #: ../bin/virt-sandbox.c:106 msgid "run the command privileged" msgstr "" #: ../bin/virt-sandbox.c:108 msgid "start a shell" msgstr "" #: ../bin/virt-sandbox.c:110 msgid "kernel version" msgstr "" #: ../bin/virt-sandbox.c:112 msgid "kernel binary path" msgstr "" #: ../bin/virt-sandbox.c:114 msgid "kernel module directory" msgstr "" #: ../bin/virt-sandbox.c:119 msgid "" "Run 'virt-sandbox --help' to see a full list of available command line " "options" msgstr "" #: ../bin/virt-sandbox.c:129 msgid "Libvirt Sandbox" msgstr "" #: ../bin/virt-sandbox.c:131 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1189 msgid "- Libvirt Sandbox" msgstr "" #: ../bin/virt-sandbox.c:144 #, c-format msgid "" "\n" "Usage: %s [OPTIONS] COMMAND-PATH [ARGS...]\n" "\n" "%s\n" "\n" msgstr "" #: ../bin/virt-sandbox.c:160 ../bin/virt-sandbox-service-util.c:65 #, c-format msgid "Unable to open connection: %s\n" msgstr "" #: ../bin/virt-sandbox.c:161 ../bin/virt-sandbox.c:188 #: ../bin/virt-sandbox.c:194 ../bin/virt-sandbox.c:200 #: ../bin/virt-sandbox.c:206 ../bin/virt-sandbox.c:212 #: ../bin/virt-sandbox.c:227 ../bin/virt-sandbox.c:233 #: ../bin/virt-sandbox.c:240 ../bin/virt-sandbox.c:246 #: ../bin/virt-sandbox.c:254 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1247 msgid "Unknown failure" msgstr "" #: ../bin/virt-sandbox.c:187 #, c-format msgid "Unable to parse mounts: %s\n" msgstr "" #: ../bin/virt-sandbox.c:193 #, c-format msgid "Unable to parse includes: %s\n" msgstr "" #: ../bin/virt-sandbox.c:199 #, c-format msgid "Unable to parse include file: %s\n" msgstr "" #: ../bin/virt-sandbox.c:205 #, c-format msgid "Unable to parse networks: %s\n" msgstr "" #: ../bin/virt-sandbox.c:211 #, c-format msgid "Unable to parse security: %s\n" msgstr "" #: ../bin/virt-sandbox.c:226 #, c-format msgid "Unable to start sandbox: %s\n" msgstr "" #: ../bin/virt-sandbox.c:232 #, c-format msgid "Unable to get log console: %s\n" msgstr "" #: ../bin/virt-sandbox.c:239 ../bin/virt-sandbox.c:253 #, c-format msgid "Unable to attach sandbox console: %s\n" msgstr "" #: ../bin/virt-sandbox.c:245 #, c-format msgid "Unable to get app console: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:66 ../bin/virt-sandbox-service-util.c:72 #: ../bin/virt-sandbox-service-util.c:78 #: ../bin/virt-sandbox-service-util.c:104 #: ../bin/virt-sandbox-service-util.c:110 #: ../bin/virt-sandbox-service-util.c:120 #: ../bin/virt-sandbox-service-util.c:127 #: ../bin/virt-sandbox-service-util.c:159 #: ../bin/virt-sandbox-service-util.c:165 #: ../bin/virt-sandbox-service-util.c:175 #: ../bin/virt-sandbox-service-util.c:182 msgid "unknown" msgstr "" #: ../bin/virt-sandbox-service-util.c:71 #, c-format msgid "Unable to read config file %s: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:77 #, c-format msgid "Unable to create new context service: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:103 #, c-format msgid "Unable to start container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:109 #, c-format msgid "Unable to get log console for container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:119 #, c-format msgid "Unable to attach console to stderr in the container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:126 #: ../bin/virt-sandbox-service-util.c:181 #, c-format msgid "Unable to disconnect console from libvirt: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:158 #: ../bin/virt-sandbox-service-util.c:174 #, c-format msgid "Unable to attach to container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:164 #, c-format msgid "Unable to get shell console for container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:240 msgid "Display version information" msgstr "" #: ../bin/virt-sandbox-service-util.c:242 msgid "Start a container" msgstr "" #: ../bin/virt-sandbox-service-util.c:244 msgid "Attach to a container" msgstr "" #: ../bin/virt-sandbox-service-util.c:246 msgid "Pid of process in container to which the command will run" msgstr "" #: ../bin/virt-sandbox-service-util.c:248 msgid "Connect to hypervisor Default:'lxc:///'" msgstr "" #: ../bin/virt-sandbox-service-util.c:253 msgid "" "Run 'virt-sandbox-service-util --help' to see a full list of available " "command line options\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:263 msgid "- Libvirt Sandbox Service" msgstr "" #: ../bin/virt-sandbox-service-util.c:275 #, c-format msgid "" "Invalid command: You must specify --start or --attach\n" "%s" msgstr "" #: ../bin/virt-sandbox-service-util.c:281 #, c-format msgid "Invalid command CONTAINER_NAME required: %s" msgstr "" #: ../bin/virt-sandbox-service-util.c:288 msgid "Libvirt Sandbox Service" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-initrd.c:171 #, c-format msgid "Unable to create temporary directory %s: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-initrd.c:217 #, c-format msgid "Kernel module dir %s does not exist" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-initrd.c:275 #, c-format msgid "Unable to read entries in %s: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-initrd.c:306 #, c-format msgid "Unable to access %s: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-machine.c:446 #, c-format msgid "Kernel image %s does not exist" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:941 #, c-format msgid "Cannot request DHCP with static routes/addresses" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:963 #, c-format msgid "No assignment in filter parameter configuration" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:999 #, c-format msgid "Cannot set static addresses with DHCP" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1019 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1028 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1082 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1090 #, c-format msgid "Unable to parse address %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1058 #, c-format msgid "Cannot set static routes with DHCP" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1076 #, c-format msgid "Missing gateway in route %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1110 #, c-format msgid "Unknown parameter %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1121 #, c-format msgid "Cannot set static routes without addresses" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1285 #, c-format msgid "No mount type prefix on %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1298 #, c-format msgid "Unknown mount type prefix on %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1311 #, c-format msgid "Missing mount source string on %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1411 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1476 #, c-format msgid "No mount with a prefix under %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1578 #, c-format msgid "Unable to get SELinux context of user: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1587 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1596 #, c-format msgid "Unknown security option '%s'" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1630 msgid "Missing mount target in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1635 msgid "Missing mount type in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1647 #, c-format msgid "Unknown mount type %s in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1654 msgid "Missing mount usage in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1663 msgid "Missing mount source in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:2150 msgid "Missing class name in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:2156 #, c-format msgid "Unknown type name '%s' in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:2163 #, c-format msgid "Type name '%s' in config file had wrong parent" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console.c:326 msgid "Unable to isolate console unless direct access flag is set" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:184 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:350 #, c-format msgid "Unable to query terminal attributes: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:201 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:367 #, c-format msgid "Unable to update terminal attributes: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:224 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:395 #, c-format msgid "Unable to restore terminal attributes: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:630 msgid "No devices found for domain" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:660 #, c-format msgid "No device %s found for domain" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:666 #, c-format msgid "Unable to open console %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:699 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:1110 msgid "Console is already attached to a stream" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:628 #, c-format msgid "Unexpected rpc status %u" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:697 #, c-format msgid "Unexpected rpc proc %u" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:753 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:817 #, c-format msgid "Got rx in unexpected state %d" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:1167 msgid "ConsoleRpc is not attached to a stream" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-context.c:253 #: ../libvirt-sandbox/libvirt-sandbox-context.c:396 #, c-format msgid "Domain is not currently running" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-context.c:323 #: ../libvirt-sandbox/libvirt-sandbox-context.c:340 #: ../libvirt-sandbox/libvirt-sandbox-context.c:363 #, c-format msgid "Sandbox is not currently running" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1065 #, c-format msgid "libvirt-sandbox-init-common: unable to create signal pipe: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1084 #, c-format msgid "libvirt-sandbox-init-common: cannot open %s: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1141 #, c-format msgid "libvirt-sandbox-init-common: %s: cannot execute %s: %s\n" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1167 msgid "config file path" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1170 msgid "Run '" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1180 #, c-format msgid "%s: must be launched as root\n" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1187 msgid "Libvirt Sandbox Init Common" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1205 #, c-format msgid "%s: Unable to load config %s: %s\n" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1231 #, c-format msgid "Unsupported configuration type %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:69 msgid "Unable to decode message length" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:76 #, c-format msgid "packet %u bytes received from server too small, want %u" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:86 #, c-format msgid "packet %u bytes received from server too large, want %d" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:130 msgid "Unable to decode message header" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:174 #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:235 #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:303 #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:329 msgid "Unable to encode message length" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:180 msgid "Unable to encode message header" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:192 msgid "Unable to re-encode message length" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:222 msgid "Unable to encode message payload" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:265 msgid "Unable to decode message payload" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:290 #, c-format msgid "Raw data too long to send (%zu bytes needed, %zu bytes available)" msgstr "" libvirt-sandbox-0.5.1+git20160404/po/br.po000066400000000000000000000342221275305543100176150ustar00rootroot00000000000000# SOME DESCRIPTIVE TITLE. # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # # Translators: msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2015-02-18 14:55+0000\n" "PO-Revision-Date: 2013-04-08 06:10-0400\n" "Last-Translator: FULL NAME \n" "Language-Team: Breton (http://www.transifex.com/projects/p/fedora/language/br/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Language: br\n" "Plural-Forms: nplurals=2; plural=(n > 1);\n" "X-Generator: Zanata 3.5.1\n" #: ../bin/virt-sandbox.c:48 ../bin/virt-sandbox-service-util.c:43 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1149 #, c-format msgid "%s version %s\n" msgstr "" #: ../bin/virt-sandbox.c:84 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1161 msgid "display version information" msgstr "" #: ../bin/virt-sandbox.c:86 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1163 msgid "display verbose information" msgstr "" #: ../bin/virt-sandbox.c:88 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1165 msgid "display debugging information" msgstr "" #: ../bin/virt-sandbox.c:90 msgid "connect to hypervisor" msgstr "" #: ../bin/virt-sandbox.c:92 msgid "name of the sandbox" msgstr "" #: ../bin/virt-sandbox.c:94 msgid "root directory of the sandbox" msgstr "" #: ../bin/virt-sandbox.c:96 msgid "mount a filesystem in the guest" msgstr "" #: ../bin/virt-sandbox.c:98 msgid "file to copy into custom dir" msgstr "" #: ../bin/virt-sandbox.c:100 msgid "file contain list of files to include" msgstr "" #: ../bin/virt-sandbox.c:102 msgid "setup network interface properties" msgstr "" #: ../bin/virt-sandbox.c:104 msgid "security properties" msgstr "" #: ../bin/virt-sandbox.c:106 msgid "run the command privileged" msgstr "" #: ../bin/virt-sandbox.c:108 msgid "start a shell" msgstr "" #: ../bin/virt-sandbox.c:110 msgid "kernel version" msgstr "" #: ../bin/virt-sandbox.c:112 msgid "kernel binary path" msgstr "" #: ../bin/virt-sandbox.c:114 msgid "kernel module directory" msgstr "" #: ../bin/virt-sandbox.c:119 msgid "" "Run 'virt-sandbox --help' to see a full list of available command line " "options" msgstr "" #: ../bin/virt-sandbox.c:129 msgid "Libvirt Sandbox" msgstr "" #: ../bin/virt-sandbox.c:131 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1189 msgid "- Libvirt Sandbox" msgstr "" #: ../bin/virt-sandbox.c:144 #, c-format msgid "" "\n" "Usage: %s [OPTIONS] COMMAND-PATH [ARGS...]\n" "\n" "%s\n" "\n" msgstr "" #: ../bin/virt-sandbox.c:160 ../bin/virt-sandbox-service-util.c:65 #, c-format msgid "Unable to open connection: %s\n" msgstr "" #: ../bin/virt-sandbox.c:161 ../bin/virt-sandbox.c:188 #: ../bin/virt-sandbox.c:194 ../bin/virt-sandbox.c:200 #: ../bin/virt-sandbox.c:206 ../bin/virt-sandbox.c:212 #: ../bin/virt-sandbox.c:227 ../bin/virt-sandbox.c:233 #: ../bin/virt-sandbox.c:240 ../bin/virt-sandbox.c:246 #: ../bin/virt-sandbox.c:254 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1247 msgid "Unknown failure" msgstr "" #: ../bin/virt-sandbox.c:187 #, c-format msgid "Unable to parse mounts: %s\n" msgstr "" #: ../bin/virt-sandbox.c:193 #, c-format msgid "Unable to parse includes: %s\n" msgstr "" #: ../bin/virt-sandbox.c:199 #, c-format msgid "Unable to parse include file: %s\n" msgstr "" #: ../bin/virt-sandbox.c:205 #, c-format msgid "Unable to parse networks: %s\n" msgstr "" #: ../bin/virt-sandbox.c:211 #, c-format msgid "Unable to parse security: %s\n" msgstr "" #: ../bin/virt-sandbox.c:226 #, c-format msgid "Unable to start sandbox: %s\n" msgstr "" #: ../bin/virt-sandbox.c:232 #, c-format msgid "Unable to get log console: %s\n" msgstr "" #: ../bin/virt-sandbox.c:239 ../bin/virt-sandbox.c:253 #, c-format msgid "Unable to attach sandbox console: %s\n" msgstr "" #: ../bin/virt-sandbox.c:245 #, c-format msgid "Unable to get app console: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:66 ../bin/virt-sandbox-service-util.c:72 #: ../bin/virt-sandbox-service-util.c:78 #: ../bin/virt-sandbox-service-util.c:104 #: ../bin/virt-sandbox-service-util.c:110 #: ../bin/virt-sandbox-service-util.c:120 #: ../bin/virt-sandbox-service-util.c:127 #: ../bin/virt-sandbox-service-util.c:159 #: ../bin/virt-sandbox-service-util.c:165 #: ../bin/virt-sandbox-service-util.c:175 #: ../bin/virt-sandbox-service-util.c:182 msgid "unknown" msgstr "" #: ../bin/virt-sandbox-service-util.c:71 #, c-format msgid "Unable to read config file %s: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:77 #, c-format msgid "Unable to create new context service: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:103 #, c-format msgid "Unable to start container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:109 #, c-format msgid "Unable to get log console for container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:119 #, c-format msgid "Unable to attach console to stderr in the container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:126 #: ../bin/virt-sandbox-service-util.c:181 #, c-format msgid "Unable to disconnect console from libvirt: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:158 #: ../bin/virt-sandbox-service-util.c:174 #, c-format msgid "Unable to attach to container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:164 #, c-format msgid "Unable to get shell console for container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:240 msgid "Display version information" msgstr "" #: ../bin/virt-sandbox-service-util.c:242 msgid "Start a container" msgstr "" #: ../bin/virt-sandbox-service-util.c:244 msgid "Attach to a container" msgstr "" #: ../bin/virt-sandbox-service-util.c:246 msgid "Pid of process in container to which the command will run" msgstr "" #: ../bin/virt-sandbox-service-util.c:248 msgid "Connect to hypervisor Default:'lxc:///'" msgstr "" #: ../bin/virt-sandbox-service-util.c:253 msgid "" "Run 'virt-sandbox-service-util --help' to see a full list of available " "command line options\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:263 msgid "- Libvirt Sandbox Service" msgstr "" #: ../bin/virt-sandbox-service-util.c:275 #, c-format msgid "" "Invalid command: You must specify --start or --attach\n" "%s" msgstr "" #: ../bin/virt-sandbox-service-util.c:281 #, c-format msgid "Invalid command CONTAINER_NAME required: %s" msgstr "" #: ../bin/virt-sandbox-service-util.c:288 msgid "Libvirt Sandbox Service" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-initrd.c:171 #, c-format msgid "Unable to create temporary directory %s: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-initrd.c:217 #, c-format msgid "Kernel module dir %s does not exist" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-initrd.c:275 #, c-format msgid "Unable to read entries in %s: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-initrd.c:306 #, c-format msgid "Unable to access %s: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-machine.c:446 #, c-format msgid "Kernel image %s does not exist" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:941 #, c-format msgid "Cannot request DHCP with static routes/addresses" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:963 #, c-format msgid "No assignment in filter parameter configuration" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:999 #, c-format msgid "Cannot set static addresses with DHCP" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1019 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1028 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1082 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1090 #, c-format msgid "Unable to parse address %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1058 #, c-format msgid "Cannot set static routes with DHCP" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1076 #, c-format msgid "Missing gateway in route %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1110 #, c-format msgid "Unknown parameter %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1121 #, c-format msgid "Cannot set static routes without addresses" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1285 #, c-format msgid "No mount type prefix on %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1298 #, c-format msgid "Unknown mount type prefix on %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1311 #, c-format msgid "Missing mount source string on %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1411 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1476 #, c-format msgid "No mount with a prefix under %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1578 #, c-format msgid "Unable to get SELinux context of user: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1587 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1596 #, c-format msgid "Unknown security option '%s'" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1630 msgid "Missing mount target in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1635 msgid "Missing mount type in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1647 #, c-format msgid "Unknown mount type %s in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1654 msgid "Missing mount usage in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1663 msgid "Missing mount source in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:2150 msgid "Missing class name in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:2156 #, c-format msgid "Unknown type name '%s' in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:2163 #, c-format msgid "Type name '%s' in config file had wrong parent" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console.c:326 msgid "Unable to isolate console unless direct access flag is set" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:184 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:350 #, c-format msgid "Unable to query terminal attributes: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:201 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:367 #, c-format msgid "Unable to update terminal attributes: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:224 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:395 #, c-format msgid "Unable to restore terminal attributes: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:630 msgid "No devices found for domain" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:660 #, c-format msgid "No device %s found for domain" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:666 #, c-format msgid "Unable to open console %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:699 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:1110 msgid "Console is already attached to a stream" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:628 #, c-format msgid "Unexpected rpc status %u" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:697 #, c-format msgid "Unexpected rpc proc %u" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:753 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:817 #, c-format msgid "Got rx in unexpected state %d" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:1167 msgid "ConsoleRpc is not attached to a stream" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-context.c:253 #: ../libvirt-sandbox/libvirt-sandbox-context.c:396 #, c-format msgid "Domain is not currently running" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-context.c:323 #: ../libvirt-sandbox/libvirt-sandbox-context.c:340 #: ../libvirt-sandbox/libvirt-sandbox-context.c:363 #, c-format msgid "Sandbox is not currently running" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1065 #, c-format msgid "libvirt-sandbox-init-common: unable to create signal pipe: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1084 #, c-format msgid "libvirt-sandbox-init-common: cannot open %s: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1141 #, c-format msgid "libvirt-sandbox-init-common: %s: cannot execute %s: %s\n" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1167 msgid "config file path" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1170 msgid "Run '" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1180 #, c-format msgid "%s: must be launched as root\n" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1187 msgid "Libvirt Sandbox Init Common" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1205 #, c-format msgid "%s: Unable to load config %s: %s\n" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1231 #, c-format msgid "Unsupported configuration type %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:69 msgid "Unable to decode message length" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:76 #, c-format msgid "packet %u bytes received from server too small, want %u" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:86 #, c-format msgid "packet %u bytes received from server too large, want %d" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:130 msgid "Unable to decode message header" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:174 #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:235 #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:303 #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:329 msgid "Unable to encode message length" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:180 msgid "Unable to encode message header" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:192 msgid "Unable to re-encode message length" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:222 msgid "Unable to encode message payload" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:265 msgid "Unable to decode message payload" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:290 #, c-format msgid "Raw data too long to send (%zu bytes needed, %zu bytes available)" msgstr "" libvirt-sandbox-0.5.1+git20160404/po/brx.po000066400000000000000000000342231275305543100200060ustar00rootroot00000000000000# SOME DESCRIPTIVE TITLE. # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # # Translators: msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2015-02-18 14:55+0000\n" "PO-Revision-Date: 2013-04-08 06:10-0400\n" "Last-Translator: FULL NAME \n" "Language-Team: Bodo (http://www.transifex.com/projects/p/fedora/language/brx/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Language: brx\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" "X-Generator: Zanata 3.5.1\n" #: ../bin/virt-sandbox.c:48 ../bin/virt-sandbox-service-util.c:43 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1149 #, c-format msgid "%s version %s\n" msgstr "" #: ../bin/virt-sandbox.c:84 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1161 msgid "display version information" msgstr "" #: ../bin/virt-sandbox.c:86 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1163 msgid "display verbose information" msgstr "" #: ../bin/virt-sandbox.c:88 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1165 msgid "display debugging information" msgstr "" #: ../bin/virt-sandbox.c:90 msgid "connect to hypervisor" msgstr "" #: ../bin/virt-sandbox.c:92 msgid "name of the sandbox" msgstr "" #: ../bin/virt-sandbox.c:94 msgid "root directory of the sandbox" msgstr "" #: ../bin/virt-sandbox.c:96 msgid "mount a filesystem in the guest" msgstr "" #: ../bin/virt-sandbox.c:98 msgid "file to copy into custom dir" msgstr "" #: ../bin/virt-sandbox.c:100 msgid "file contain list of files to include" msgstr "" #: ../bin/virt-sandbox.c:102 msgid "setup network interface properties" msgstr "" #: ../bin/virt-sandbox.c:104 msgid "security properties" msgstr "" #: ../bin/virt-sandbox.c:106 msgid "run the command privileged" msgstr "" #: ../bin/virt-sandbox.c:108 msgid "start a shell" msgstr "" #: ../bin/virt-sandbox.c:110 msgid "kernel version" msgstr "" #: ../bin/virt-sandbox.c:112 msgid "kernel binary path" msgstr "" #: ../bin/virt-sandbox.c:114 msgid "kernel module directory" msgstr "" #: ../bin/virt-sandbox.c:119 msgid "" "Run 'virt-sandbox --help' to see a full list of available command line " "options" msgstr "" #: ../bin/virt-sandbox.c:129 msgid "Libvirt Sandbox" msgstr "" #: ../bin/virt-sandbox.c:131 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1189 msgid "- Libvirt Sandbox" msgstr "" #: ../bin/virt-sandbox.c:144 #, c-format msgid "" "\n" "Usage: %s [OPTIONS] COMMAND-PATH [ARGS...]\n" "\n" "%s\n" "\n" msgstr "" #: ../bin/virt-sandbox.c:160 ../bin/virt-sandbox-service-util.c:65 #, c-format msgid "Unable to open connection: %s\n" msgstr "" #: ../bin/virt-sandbox.c:161 ../bin/virt-sandbox.c:188 #: ../bin/virt-sandbox.c:194 ../bin/virt-sandbox.c:200 #: ../bin/virt-sandbox.c:206 ../bin/virt-sandbox.c:212 #: ../bin/virt-sandbox.c:227 ../bin/virt-sandbox.c:233 #: ../bin/virt-sandbox.c:240 ../bin/virt-sandbox.c:246 #: ../bin/virt-sandbox.c:254 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1247 msgid "Unknown failure" msgstr "" #: ../bin/virt-sandbox.c:187 #, c-format msgid "Unable to parse mounts: %s\n" msgstr "" #: ../bin/virt-sandbox.c:193 #, c-format msgid "Unable to parse includes: %s\n" msgstr "" #: ../bin/virt-sandbox.c:199 #, c-format msgid "Unable to parse include file: %s\n" msgstr "" #: ../bin/virt-sandbox.c:205 #, c-format msgid "Unable to parse networks: %s\n" msgstr "" #: ../bin/virt-sandbox.c:211 #, c-format msgid "Unable to parse security: %s\n" msgstr "" #: ../bin/virt-sandbox.c:226 #, c-format msgid "Unable to start sandbox: %s\n" msgstr "" #: ../bin/virt-sandbox.c:232 #, c-format msgid "Unable to get log console: %s\n" msgstr "" #: ../bin/virt-sandbox.c:239 ../bin/virt-sandbox.c:253 #, c-format msgid "Unable to attach sandbox console: %s\n" msgstr "" #: ../bin/virt-sandbox.c:245 #, c-format msgid "Unable to get app console: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:66 ../bin/virt-sandbox-service-util.c:72 #: ../bin/virt-sandbox-service-util.c:78 #: ../bin/virt-sandbox-service-util.c:104 #: ../bin/virt-sandbox-service-util.c:110 #: ../bin/virt-sandbox-service-util.c:120 #: ../bin/virt-sandbox-service-util.c:127 #: ../bin/virt-sandbox-service-util.c:159 #: ../bin/virt-sandbox-service-util.c:165 #: ../bin/virt-sandbox-service-util.c:175 #: ../bin/virt-sandbox-service-util.c:182 msgid "unknown" msgstr "" #: ../bin/virt-sandbox-service-util.c:71 #, c-format msgid "Unable to read config file %s: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:77 #, c-format msgid "Unable to create new context service: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:103 #, c-format msgid "Unable to start container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:109 #, c-format msgid "Unable to get log console for container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:119 #, c-format msgid "Unable to attach console to stderr in the container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:126 #: ../bin/virt-sandbox-service-util.c:181 #, c-format msgid "Unable to disconnect console from libvirt: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:158 #: ../bin/virt-sandbox-service-util.c:174 #, c-format msgid "Unable to attach to container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:164 #, c-format msgid "Unable to get shell console for container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:240 msgid "Display version information" msgstr "" #: ../bin/virt-sandbox-service-util.c:242 msgid "Start a container" msgstr "" #: ../bin/virt-sandbox-service-util.c:244 msgid "Attach to a container" msgstr "" #: ../bin/virt-sandbox-service-util.c:246 msgid "Pid of process in container to which the command will run" msgstr "" #: ../bin/virt-sandbox-service-util.c:248 msgid "Connect to hypervisor Default:'lxc:///'" msgstr "" #: ../bin/virt-sandbox-service-util.c:253 msgid "" "Run 'virt-sandbox-service-util --help' to see a full list of available " "command line options\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:263 msgid "- Libvirt Sandbox Service" msgstr "" #: ../bin/virt-sandbox-service-util.c:275 #, c-format msgid "" "Invalid command: You must specify --start or --attach\n" "%s" msgstr "" #: ../bin/virt-sandbox-service-util.c:281 #, c-format msgid "Invalid command CONTAINER_NAME required: %s" msgstr "" #: ../bin/virt-sandbox-service-util.c:288 msgid "Libvirt Sandbox Service" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-initrd.c:171 #, c-format msgid "Unable to create temporary directory %s: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-initrd.c:217 #, c-format msgid "Kernel module dir %s does not exist" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-initrd.c:275 #, c-format msgid "Unable to read entries in %s: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-initrd.c:306 #, c-format msgid "Unable to access %s: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-machine.c:446 #, c-format msgid "Kernel image %s does not exist" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:941 #, c-format msgid "Cannot request DHCP with static routes/addresses" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:963 #, c-format msgid "No assignment in filter parameter configuration" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:999 #, c-format msgid "Cannot set static addresses with DHCP" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1019 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1028 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1082 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1090 #, c-format msgid "Unable to parse address %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1058 #, c-format msgid "Cannot set static routes with DHCP" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1076 #, c-format msgid "Missing gateway in route %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1110 #, c-format msgid "Unknown parameter %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1121 #, c-format msgid "Cannot set static routes without addresses" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1285 #, c-format msgid "No mount type prefix on %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1298 #, c-format msgid "Unknown mount type prefix on %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1311 #, c-format msgid "Missing mount source string on %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1411 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1476 #, c-format msgid "No mount with a prefix under %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1578 #, c-format msgid "Unable to get SELinux context of user: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1587 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1596 #, c-format msgid "Unknown security option '%s'" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1630 msgid "Missing mount target in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1635 msgid "Missing mount type in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1647 #, c-format msgid "Unknown mount type %s in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1654 msgid "Missing mount usage in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1663 msgid "Missing mount source in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:2150 msgid "Missing class name in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:2156 #, c-format msgid "Unknown type name '%s' in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:2163 #, c-format msgid "Type name '%s' in config file had wrong parent" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console.c:326 msgid "Unable to isolate console unless direct access flag is set" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:184 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:350 #, c-format msgid "Unable to query terminal attributes: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:201 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:367 #, c-format msgid "Unable to update terminal attributes: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:224 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:395 #, c-format msgid "Unable to restore terminal attributes: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:630 msgid "No devices found for domain" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:660 #, c-format msgid "No device %s found for domain" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:666 #, c-format msgid "Unable to open console %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:699 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:1110 msgid "Console is already attached to a stream" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:628 #, c-format msgid "Unexpected rpc status %u" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:697 #, c-format msgid "Unexpected rpc proc %u" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:753 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:817 #, c-format msgid "Got rx in unexpected state %d" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:1167 msgid "ConsoleRpc is not attached to a stream" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-context.c:253 #: ../libvirt-sandbox/libvirt-sandbox-context.c:396 #, c-format msgid "Domain is not currently running" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-context.c:323 #: ../libvirt-sandbox/libvirt-sandbox-context.c:340 #: ../libvirt-sandbox/libvirt-sandbox-context.c:363 #, c-format msgid "Sandbox is not currently running" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1065 #, c-format msgid "libvirt-sandbox-init-common: unable to create signal pipe: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1084 #, c-format msgid "libvirt-sandbox-init-common: cannot open %s: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1141 #, c-format msgid "libvirt-sandbox-init-common: %s: cannot execute %s: %s\n" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1167 msgid "config file path" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1170 msgid "Run '" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1180 #, c-format msgid "%s: must be launched as root\n" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1187 msgid "Libvirt Sandbox Init Common" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1205 #, c-format msgid "%s: Unable to load config %s: %s\n" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1231 #, c-format msgid "Unsupported configuration type %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:69 msgid "Unable to decode message length" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:76 #, c-format msgid "packet %u bytes received from server too small, want %u" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:86 #, c-format msgid "packet %u bytes received from server too large, want %d" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:130 msgid "Unable to decode message header" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:174 #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:235 #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:303 #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:329 msgid "Unable to encode message length" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:180 msgid "Unable to encode message header" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:192 msgid "Unable to re-encode message length" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:222 msgid "Unable to encode message payload" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:265 msgid "Unable to decode message payload" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:290 #, c-format msgid "Raw data too long to send (%zu bytes needed, %zu bytes available)" msgstr "" libvirt-sandbox-0.5.1+git20160404/po/bs.po000066400000000000000000000343361275305543100176240ustar00rootroot00000000000000# SOME DESCRIPTIVE TITLE. # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # # Translators: msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2015-02-18 14:55+0000\n" "PO-Revision-Date: 2013-04-08 06:10-0400\n" "Last-Translator: FULL NAME \n" "Language-Team: Bosnian (http://www.transifex.com/projects/p/fedora/language/bs/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Language: bs\n" "Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n" "X-Generator: Zanata 3.5.1\n" #: ../bin/virt-sandbox.c:48 ../bin/virt-sandbox-service-util.c:43 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1149 #, c-format msgid "%s version %s\n" msgstr "" #: ../bin/virt-sandbox.c:84 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1161 msgid "display version information" msgstr "" #: ../bin/virt-sandbox.c:86 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1163 msgid "display verbose information" msgstr "" #: ../bin/virt-sandbox.c:88 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1165 msgid "display debugging information" msgstr "" #: ../bin/virt-sandbox.c:90 msgid "connect to hypervisor" msgstr "" #: ../bin/virt-sandbox.c:92 msgid "name of the sandbox" msgstr "" #: ../bin/virt-sandbox.c:94 msgid "root directory of the sandbox" msgstr "" #: ../bin/virt-sandbox.c:96 msgid "mount a filesystem in the guest" msgstr "" #: ../bin/virt-sandbox.c:98 msgid "file to copy into custom dir" msgstr "" #: ../bin/virt-sandbox.c:100 msgid "file contain list of files to include" msgstr "" #: ../bin/virt-sandbox.c:102 msgid "setup network interface properties" msgstr "" #: ../bin/virt-sandbox.c:104 msgid "security properties" msgstr "" #: ../bin/virt-sandbox.c:106 msgid "run the command privileged" msgstr "" #: ../bin/virt-sandbox.c:108 msgid "start a shell" msgstr "" #: ../bin/virt-sandbox.c:110 msgid "kernel version" msgstr "" #: ../bin/virt-sandbox.c:112 msgid "kernel binary path" msgstr "" #: ../bin/virt-sandbox.c:114 msgid "kernel module directory" msgstr "" #: ../bin/virt-sandbox.c:119 msgid "" "Run 'virt-sandbox --help' to see a full list of available command line " "options" msgstr "" #: ../bin/virt-sandbox.c:129 msgid "Libvirt Sandbox" msgstr "" #: ../bin/virt-sandbox.c:131 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1189 msgid "- Libvirt Sandbox" msgstr "" #: ../bin/virt-sandbox.c:144 #, c-format msgid "" "\n" "Usage: %s [OPTIONS] COMMAND-PATH [ARGS...]\n" "\n" "%s\n" "\n" msgstr "" #: ../bin/virt-sandbox.c:160 ../bin/virt-sandbox-service-util.c:65 #, c-format msgid "Unable to open connection: %s\n" msgstr "" #: ../bin/virt-sandbox.c:161 ../bin/virt-sandbox.c:188 #: ../bin/virt-sandbox.c:194 ../bin/virt-sandbox.c:200 #: ../bin/virt-sandbox.c:206 ../bin/virt-sandbox.c:212 #: ../bin/virt-sandbox.c:227 ../bin/virt-sandbox.c:233 #: ../bin/virt-sandbox.c:240 ../bin/virt-sandbox.c:246 #: ../bin/virt-sandbox.c:254 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1247 msgid "Unknown failure" msgstr "" #: ../bin/virt-sandbox.c:187 #, c-format msgid "Unable to parse mounts: %s\n" msgstr "" #: ../bin/virt-sandbox.c:193 #, c-format msgid "Unable to parse includes: %s\n" msgstr "" #: ../bin/virt-sandbox.c:199 #, c-format msgid "Unable to parse include file: %s\n" msgstr "" #: ../bin/virt-sandbox.c:205 #, c-format msgid "Unable to parse networks: %s\n" msgstr "" #: ../bin/virt-sandbox.c:211 #, c-format msgid "Unable to parse security: %s\n" msgstr "" #: ../bin/virt-sandbox.c:226 #, c-format msgid "Unable to start sandbox: %s\n" msgstr "" #: ../bin/virt-sandbox.c:232 #, c-format msgid "Unable to get log console: %s\n" msgstr "" #: ../bin/virt-sandbox.c:239 ../bin/virt-sandbox.c:253 #, c-format msgid "Unable to attach sandbox console: %s\n" msgstr "" #: ../bin/virt-sandbox.c:245 #, c-format msgid "Unable to get app console: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:66 ../bin/virt-sandbox-service-util.c:72 #: ../bin/virt-sandbox-service-util.c:78 #: ../bin/virt-sandbox-service-util.c:104 #: ../bin/virt-sandbox-service-util.c:110 #: ../bin/virt-sandbox-service-util.c:120 #: ../bin/virt-sandbox-service-util.c:127 #: ../bin/virt-sandbox-service-util.c:159 #: ../bin/virt-sandbox-service-util.c:165 #: ../bin/virt-sandbox-service-util.c:175 #: ../bin/virt-sandbox-service-util.c:182 msgid "unknown" msgstr "" #: ../bin/virt-sandbox-service-util.c:71 #, c-format msgid "Unable to read config file %s: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:77 #, c-format msgid "Unable to create new context service: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:103 #, c-format msgid "Unable to start container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:109 #, c-format msgid "Unable to get log console for container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:119 #, c-format msgid "Unable to attach console to stderr in the container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:126 #: ../bin/virt-sandbox-service-util.c:181 #, c-format msgid "Unable to disconnect console from libvirt: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:158 #: ../bin/virt-sandbox-service-util.c:174 #, c-format msgid "Unable to attach to container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:164 #, c-format msgid "Unable to get shell console for container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:240 msgid "Display version information" msgstr "" #: ../bin/virt-sandbox-service-util.c:242 msgid "Start a container" msgstr "" #: ../bin/virt-sandbox-service-util.c:244 msgid "Attach to a container" msgstr "" #: ../bin/virt-sandbox-service-util.c:246 msgid "Pid of process in container to which the command will run" msgstr "" #: ../bin/virt-sandbox-service-util.c:248 msgid "Connect to hypervisor Default:'lxc:///'" msgstr "" #: ../bin/virt-sandbox-service-util.c:253 msgid "" "Run 'virt-sandbox-service-util --help' to see a full list of available " "command line options\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:263 msgid "- Libvirt Sandbox Service" msgstr "" #: ../bin/virt-sandbox-service-util.c:275 #, c-format msgid "" "Invalid command: You must specify --start or --attach\n" "%s" msgstr "" #: ../bin/virt-sandbox-service-util.c:281 #, c-format msgid "Invalid command CONTAINER_NAME required: %s" msgstr "" #: ../bin/virt-sandbox-service-util.c:288 msgid "Libvirt Sandbox Service" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-initrd.c:171 #, c-format msgid "Unable to create temporary directory %s: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-initrd.c:217 #, c-format msgid "Kernel module dir %s does not exist" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-initrd.c:275 #, c-format msgid "Unable to read entries in %s: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-initrd.c:306 #, c-format msgid "Unable to access %s: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-machine.c:446 #, c-format msgid "Kernel image %s does not exist" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:941 #, c-format msgid "Cannot request DHCP with static routes/addresses" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:963 #, c-format msgid "No assignment in filter parameter configuration" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:999 #, c-format msgid "Cannot set static addresses with DHCP" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1019 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1028 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1082 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1090 #, c-format msgid "Unable to parse address %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1058 #, c-format msgid "Cannot set static routes with DHCP" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1076 #, c-format msgid "Missing gateway in route %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1110 #, c-format msgid "Unknown parameter %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1121 #, c-format msgid "Cannot set static routes without addresses" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1285 #, c-format msgid "No mount type prefix on %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1298 #, c-format msgid "Unknown mount type prefix on %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1311 #, c-format msgid "Missing mount source string on %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1411 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1476 #, c-format msgid "No mount with a prefix under %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1578 #, c-format msgid "Unable to get SELinux context of user: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1587 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1596 #, c-format msgid "Unknown security option '%s'" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1630 msgid "Missing mount target in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1635 msgid "Missing mount type in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1647 #, c-format msgid "Unknown mount type %s in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1654 msgid "Missing mount usage in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1663 msgid "Missing mount source in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:2150 msgid "Missing class name in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:2156 #, c-format msgid "Unknown type name '%s' in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:2163 #, c-format msgid "Type name '%s' in config file had wrong parent" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console.c:326 msgid "Unable to isolate console unless direct access flag is set" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:184 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:350 #, c-format msgid "Unable to query terminal attributes: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:201 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:367 #, c-format msgid "Unable to update terminal attributes: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:224 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:395 #, c-format msgid "Unable to restore terminal attributes: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:630 msgid "No devices found for domain" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:660 #, c-format msgid "No device %s found for domain" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:666 #, c-format msgid "Unable to open console %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:699 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:1110 msgid "Console is already attached to a stream" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:628 #, c-format msgid "Unexpected rpc status %u" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:697 #, c-format msgid "Unexpected rpc proc %u" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:753 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:817 #, c-format msgid "Got rx in unexpected state %d" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:1167 msgid "ConsoleRpc is not attached to a stream" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-context.c:253 #: ../libvirt-sandbox/libvirt-sandbox-context.c:396 #, c-format msgid "Domain is not currently running" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-context.c:323 #: ../libvirt-sandbox/libvirt-sandbox-context.c:340 #: ../libvirt-sandbox/libvirt-sandbox-context.c:363 #, c-format msgid "Sandbox is not currently running" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1065 #, c-format msgid "libvirt-sandbox-init-common: unable to create signal pipe: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1084 #, c-format msgid "libvirt-sandbox-init-common: cannot open %s: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1141 #, c-format msgid "libvirt-sandbox-init-common: %s: cannot execute %s: %s\n" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1167 msgid "config file path" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1170 msgid "Run '" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1180 #, c-format msgid "%s: must be launched as root\n" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1187 msgid "Libvirt Sandbox Init Common" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1205 #, c-format msgid "%s: Unable to load config %s: %s\n" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1231 #, c-format msgid "Unsupported configuration type %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:69 msgid "Unable to decode message length" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:76 #, c-format msgid "packet %u bytes received from server too small, want %u" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:86 #, c-format msgid "packet %u bytes received from server too large, want %d" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:130 msgid "Unable to decode message header" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:174 #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:235 #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:303 #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:329 msgid "Unable to encode message length" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:180 msgid "Unable to encode message header" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:192 msgid "Unable to re-encode message length" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:222 msgid "Unable to encode message payload" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:265 msgid "Unable to decode message payload" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:290 #, c-format msgid "Raw data too long to send (%zu bytes needed, %zu bytes available)" msgstr "" libvirt-sandbox-0.5.1+git20160404/po/ca.po000066400000000000000000000341721275305543100176010ustar00rootroot00000000000000# SOME DESCRIPTIVE TITLE. # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # # Translators: msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2015-02-18 14:55+0000\n" "PO-Revision-Date: 2013-04-08 06:10-0400\n" "Last-Translator: FULL NAME \n" "Language-Team: Catalan \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Language: ca\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" "X-Generator: Zanata 3.5.1\n" #: ../bin/virt-sandbox.c:48 ../bin/virt-sandbox-service-util.c:43 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1149 #, c-format msgid "%s version %s\n" msgstr "" #: ../bin/virt-sandbox.c:84 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1161 msgid "display version information" msgstr "" #: ../bin/virt-sandbox.c:86 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1163 msgid "display verbose information" msgstr "" #: ../bin/virt-sandbox.c:88 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1165 msgid "display debugging information" msgstr "" #: ../bin/virt-sandbox.c:90 msgid "connect to hypervisor" msgstr "" #: ../bin/virt-sandbox.c:92 msgid "name of the sandbox" msgstr "" #: ../bin/virt-sandbox.c:94 msgid "root directory of the sandbox" msgstr "" #: ../bin/virt-sandbox.c:96 msgid "mount a filesystem in the guest" msgstr "" #: ../bin/virt-sandbox.c:98 msgid "file to copy into custom dir" msgstr "" #: ../bin/virt-sandbox.c:100 msgid "file contain list of files to include" msgstr "" #: ../bin/virt-sandbox.c:102 msgid "setup network interface properties" msgstr "" #: ../bin/virt-sandbox.c:104 msgid "security properties" msgstr "" #: ../bin/virt-sandbox.c:106 msgid "run the command privileged" msgstr "" #: ../bin/virt-sandbox.c:108 msgid "start a shell" msgstr "" #: ../bin/virt-sandbox.c:110 msgid "kernel version" msgstr "" #: ../bin/virt-sandbox.c:112 msgid "kernel binary path" msgstr "" #: ../bin/virt-sandbox.c:114 msgid "kernel module directory" msgstr "" #: ../bin/virt-sandbox.c:119 msgid "" "Run 'virt-sandbox --help' to see a full list of available command line " "options" msgstr "" #: ../bin/virt-sandbox.c:129 msgid "Libvirt Sandbox" msgstr "" #: ../bin/virt-sandbox.c:131 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1189 msgid "- Libvirt Sandbox" msgstr "" #: ../bin/virt-sandbox.c:144 #, c-format msgid "" "\n" "Usage: %s [OPTIONS] COMMAND-PATH [ARGS...]\n" "\n" "%s\n" "\n" msgstr "" #: ../bin/virt-sandbox.c:160 ../bin/virt-sandbox-service-util.c:65 #, c-format msgid "Unable to open connection: %s\n" msgstr "" #: ../bin/virt-sandbox.c:161 ../bin/virt-sandbox.c:188 #: ../bin/virt-sandbox.c:194 ../bin/virt-sandbox.c:200 #: ../bin/virt-sandbox.c:206 ../bin/virt-sandbox.c:212 #: ../bin/virt-sandbox.c:227 ../bin/virt-sandbox.c:233 #: ../bin/virt-sandbox.c:240 ../bin/virt-sandbox.c:246 #: ../bin/virt-sandbox.c:254 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1247 msgid "Unknown failure" msgstr "" #: ../bin/virt-sandbox.c:187 #, c-format msgid "Unable to parse mounts: %s\n" msgstr "" #: ../bin/virt-sandbox.c:193 #, c-format msgid "Unable to parse includes: %s\n" msgstr "" #: ../bin/virt-sandbox.c:199 #, c-format msgid "Unable to parse include file: %s\n" msgstr "" #: ../bin/virt-sandbox.c:205 #, c-format msgid "Unable to parse networks: %s\n" msgstr "" #: ../bin/virt-sandbox.c:211 #, c-format msgid "Unable to parse security: %s\n" msgstr "" #: ../bin/virt-sandbox.c:226 #, c-format msgid "Unable to start sandbox: %s\n" msgstr "" #: ../bin/virt-sandbox.c:232 #, c-format msgid "Unable to get log console: %s\n" msgstr "" #: ../bin/virt-sandbox.c:239 ../bin/virt-sandbox.c:253 #, c-format msgid "Unable to attach sandbox console: %s\n" msgstr "" #: ../bin/virt-sandbox.c:245 #, c-format msgid "Unable to get app console: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:66 ../bin/virt-sandbox-service-util.c:72 #: ../bin/virt-sandbox-service-util.c:78 #: ../bin/virt-sandbox-service-util.c:104 #: ../bin/virt-sandbox-service-util.c:110 #: ../bin/virt-sandbox-service-util.c:120 #: ../bin/virt-sandbox-service-util.c:127 #: ../bin/virt-sandbox-service-util.c:159 #: ../bin/virt-sandbox-service-util.c:165 #: ../bin/virt-sandbox-service-util.c:175 #: ../bin/virt-sandbox-service-util.c:182 msgid "unknown" msgstr "" #: ../bin/virt-sandbox-service-util.c:71 #, c-format msgid "Unable to read config file %s: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:77 #, c-format msgid "Unable to create new context service: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:103 #, c-format msgid "Unable to start container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:109 #, c-format msgid "Unable to get log console for container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:119 #, c-format msgid "Unable to attach console to stderr in the container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:126 #: ../bin/virt-sandbox-service-util.c:181 #, c-format msgid "Unable to disconnect console from libvirt: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:158 #: ../bin/virt-sandbox-service-util.c:174 #, c-format msgid "Unable to attach to container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:164 #, c-format msgid "Unable to get shell console for container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:240 msgid "Display version information" msgstr "" #: ../bin/virt-sandbox-service-util.c:242 msgid "Start a container" msgstr "" #: ../bin/virt-sandbox-service-util.c:244 msgid "Attach to a container" msgstr "" #: ../bin/virt-sandbox-service-util.c:246 msgid "Pid of process in container to which the command will run" msgstr "" #: ../bin/virt-sandbox-service-util.c:248 msgid "Connect to hypervisor Default:'lxc:///'" msgstr "" #: ../bin/virt-sandbox-service-util.c:253 msgid "" "Run 'virt-sandbox-service-util --help' to see a full list of available " "command line options\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:263 msgid "- Libvirt Sandbox Service" msgstr "" #: ../bin/virt-sandbox-service-util.c:275 #, c-format msgid "" "Invalid command: You must specify --start or --attach\n" "%s" msgstr "" #: ../bin/virt-sandbox-service-util.c:281 #, c-format msgid "Invalid command CONTAINER_NAME required: %s" msgstr "" #: ../bin/virt-sandbox-service-util.c:288 msgid "Libvirt Sandbox Service" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-initrd.c:171 #, c-format msgid "Unable to create temporary directory %s: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-initrd.c:217 #, c-format msgid "Kernel module dir %s does not exist" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-initrd.c:275 #, c-format msgid "Unable to read entries in %s: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-initrd.c:306 #, c-format msgid "Unable to access %s: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-machine.c:446 #, c-format msgid "Kernel image %s does not exist" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:941 #, c-format msgid "Cannot request DHCP with static routes/addresses" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:963 #, c-format msgid "No assignment in filter parameter configuration" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:999 #, c-format msgid "Cannot set static addresses with DHCP" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1019 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1028 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1082 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1090 #, c-format msgid "Unable to parse address %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1058 #, c-format msgid "Cannot set static routes with DHCP" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1076 #, c-format msgid "Missing gateway in route %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1110 #, c-format msgid "Unknown parameter %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1121 #, c-format msgid "Cannot set static routes without addresses" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1285 #, c-format msgid "No mount type prefix on %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1298 #, c-format msgid "Unknown mount type prefix on %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1311 #, c-format msgid "Missing mount source string on %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1411 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1476 #, c-format msgid "No mount with a prefix under %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1578 #, c-format msgid "Unable to get SELinux context of user: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1587 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1596 #, c-format msgid "Unknown security option '%s'" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1630 msgid "Missing mount target in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1635 msgid "Missing mount type in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1647 #, c-format msgid "Unknown mount type %s in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1654 msgid "Missing mount usage in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1663 msgid "Missing mount source in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:2150 msgid "Missing class name in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:2156 #, c-format msgid "Unknown type name '%s' in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:2163 #, c-format msgid "Type name '%s' in config file had wrong parent" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console.c:326 msgid "Unable to isolate console unless direct access flag is set" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:184 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:350 #, c-format msgid "Unable to query terminal attributes: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:201 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:367 #, c-format msgid "Unable to update terminal attributes: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:224 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:395 #, c-format msgid "Unable to restore terminal attributes: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:630 msgid "No devices found for domain" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:660 #, c-format msgid "No device %s found for domain" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:666 #, c-format msgid "Unable to open console %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:699 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:1110 msgid "Console is already attached to a stream" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:628 #, c-format msgid "Unexpected rpc status %u" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:697 #, c-format msgid "Unexpected rpc proc %u" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:753 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:817 #, c-format msgid "Got rx in unexpected state %d" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:1167 msgid "ConsoleRpc is not attached to a stream" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-context.c:253 #: ../libvirt-sandbox/libvirt-sandbox-context.c:396 #, c-format msgid "Domain is not currently running" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-context.c:323 #: ../libvirt-sandbox/libvirt-sandbox-context.c:340 #: ../libvirt-sandbox/libvirt-sandbox-context.c:363 #, c-format msgid "Sandbox is not currently running" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1065 #, c-format msgid "libvirt-sandbox-init-common: unable to create signal pipe: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1084 #, c-format msgid "libvirt-sandbox-init-common: cannot open %s: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1141 #, c-format msgid "libvirt-sandbox-init-common: %s: cannot execute %s: %s\n" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1167 msgid "config file path" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1170 msgid "Run '" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1180 #, c-format msgid "%s: must be launched as root\n" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1187 msgid "Libvirt Sandbox Init Common" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1205 #, c-format msgid "%s: Unable to load config %s: %s\n" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1231 #, c-format msgid "Unsupported configuration type %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:69 msgid "Unable to decode message length" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:76 #, c-format msgid "packet %u bytes received from server too small, want %u" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:86 #, c-format msgid "packet %u bytes received from server too large, want %d" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:130 msgid "Unable to decode message header" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:174 #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:235 #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:303 #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:329 msgid "Unable to encode message length" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:180 msgid "Unable to encode message header" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:192 msgid "Unable to re-encode message length" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:222 msgid "Unable to encode message payload" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:265 msgid "Unable to decode message payload" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:290 #, c-format msgid "Raw data too long to send (%zu bytes needed, %zu bytes available)" msgstr "" libvirt-sandbox-0.5.1+git20160404/po/cs.po000066400000000000000000000343001275305543100176140ustar00rootroot00000000000000# SOME DESCRIPTIVE TITLE. # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # # Translators: msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2015-02-18 14:55+0000\n" "PO-Revision-Date: 2013-07-09 03:50-0400\n" "Last-Translator: Daniel Berrange \n" "Language-Team: Czech (http://www.transifex.com/projects/p/fedora/language/cs/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Language: cs\n" "Plural-Forms: nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;\n" "X-Generator: Zanata 3.5.1\n" #: ../bin/virt-sandbox.c:48 ../bin/virt-sandbox-service-util.c:43 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1149 #, c-format msgid "%s version %s\n" msgstr "" #: ../bin/virt-sandbox.c:84 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1161 msgid "display version information" msgstr "" #: ../bin/virt-sandbox.c:86 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1163 msgid "display verbose information" msgstr "" #: ../bin/virt-sandbox.c:88 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1165 msgid "display debugging information" msgstr "" #: ../bin/virt-sandbox.c:90 msgid "connect to hypervisor" msgstr "" #: ../bin/virt-sandbox.c:92 msgid "name of the sandbox" msgstr "" #: ../bin/virt-sandbox.c:94 msgid "root directory of the sandbox" msgstr "" #: ../bin/virt-sandbox.c:96 msgid "mount a filesystem in the guest" msgstr "" #: ../bin/virt-sandbox.c:98 msgid "file to copy into custom dir" msgstr "" #: ../bin/virt-sandbox.c:100 msgid "file contain list of files to include" msgstr "" #: ../bin/virt-sandbox.c:102 msgid "setup network interface properties" msgstr "" #: ../bin/virt-sandbox.c:104 msgid "security properties" msgstr "" #: ../bin/virt-sandbox.c:106 msgid "run the command privileged" msgstr "" #: ../bin/virt-sandbox.c:108 msgid "start a shell" msgstr "" #: ../bin/virt-sandbox.c:110 msgid "kernel version" msgstr "" #: ../bin/virt-sandbox.c:112 msgid "kernel binary path" msgstr "" #: ../bin/virt-sandbox.c:114 msgid "kernel module directory" msgstr "" #: ../bin/virt-sandbox.c:119 msgid "" "Run 'virt-sandbox --help' to see a full list of available command line " "options" msgstr "" #: ../bin/virt-sandbox.c:129 msgid "Libvirt Sandbox" msgstr "" #: ../bin/virt-sandbox.c:131 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1189 msgid "- Libvirt Sandbox" msgstr "" #: ../bin/virt-sandbox.c:144 #, c-format msgid "" "\n" "Usage: %s [OPTIONS] COMMAND-PATH [ARGS...]\n" "\n" "%s\n" "\n" msgstr "" #: ../bin/virt-sandbox.c:160 ../bin/virt-sandbox-service-util.c:65 #, c-format msgid "Unable to open connection: %s\n" msgstr "" #: ../bin/virt-sandbox.c:161 ../bin/virt-sandbox.c:188 #: ../bin/virt-sandbox.c:194 ../bin/virt-sandbox.c:200 #: ../bin/virt-sandbox.c:206 ../bin/virt-sandbox.c:212 #: ../bin/virt-sandbox.c:227 ../bin/virt-sandbox.c:233 #: ../bin/virt-sandbox.c:240 ../bin/virt-sandbox.c:246 #: ../bin/virt-sandbox.c:254 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1247 msgid "Unknown failure" msgstr "" #: ../bin/virt-sandbox.c:187 #, c-format msgid "Unable to parse mounts: %s\n" msgstr "" #: ../bin/virt-sandbox.c:193 #, c-format msgid "Unable to parse includes: %s\n" msgstr "" #: ../bin/virt-sandbox.c:199 #, c-format msgid "Unable to parse include file: %s\n" msgstr "" #: ../bin/virt-sandbox.c:205 #, c-format msgid "Unable to parse networks: %s\n" msgstr "" #: ../bin/virt-sandbox.c:211 #, c-format msgid "Unable to parse security: %s\n" msgstr "" #: ../bin/virt-sandbox.c:226 #, c-format msgid "Unable to start sandbox: %s\n" msgstr "" #: ../bin/virt-sandbox.c:232 #, c-format msgid "Unable to get log console: %s\n" msgstr "" #: ../bin/virt-sandbox.c:239 ../bin/virt-sandbox.c:253 #, c-format msgid "Unable to attach sandbox console: %s\n" msgstr "" #: ../bin/virt-sandbox.c:245 #, c-format msgid "Unable to get app console: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:66 ../bin/virt-sandbox-service-util.c:72 #: ../bin/virt-sandbox-service-util.c:78 #: ../bin/virt-sandbox-service-util.c:104 #: ../bin/virt-sandbox-service-util.c:110 #: ../bin/virt-sandbox-service-util.c:120 #: ../bin/virt-sandbox-service-util.c:127 #: ../bin/virt-sandbox-service-util.c:159 #: ../bin/virt-sandbox-service-util.c:165 #: ../bin/virt-sandbox-service-util.c:175 #: ../bin/virt-sandbox-service-util.c:182 msgid "unknown" msgstr "" #: ../bin/virt-sandbox-service-util.c:71 #, c-format msgid "Unable to read config file %s: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:77 #, c-format msgid "Unable to create new context service: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:103 #, c-format msgid "Unable to start container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:109 #, c-format msgid "Unable to get log console for container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:119 #, c-format msgid "Unable to attach console to stderr in the container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:126 #: ../bin/virt-sandbox-service-util.c:181 #, c-format msgid "Unable to disconnect console from libvirt: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:158 #: ../bin/virt-sandbox-service-util.c:174 #, c-format msgid "Unable to attach to container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:164 #, c-format msgid "Unable to get shell console for container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:240 msgid "Display version information" msgstr "" #: ../bin/virt-sandbox-service-util.c:242 msgid "Start a container" msgstr "" #: ../bin/virt-sandbox-service-util.c:244 msgid "Attach to a container" msgstr "" #: ../bin/virt-sandbox-service-util.c:246 msgid "Pid of process in container to which the command will run" msgstr "" #: ../bin/virt-sandbox-service-util.c:248 msgid "Connect to hypervisor Default:'lxc:///'" msgstr "" #: ../bin/virt-sandbox-service-util.c:253 msgid "" "Run 'virt-sandbox-service-util --help' to see a full list of available " "command line options\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:263 msgid "- Libvirt Sandbox Service" msgstr "" #: ../bin/virt-sandbox-service-util.c:275 #, c-format msgid "" "Invalid command: You must specify --start or --attach\n" "%s" msgstr "" #: ../bin/virt-sandbox-service-util.c:281 #, c-format msgid "Invalid command CONTAINER_NAME required: %s" msgstr "" #: ../bin/virt-sandbox-service-util.c:288 msgid "Libvirt Sandbox Service" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-initrd.c:171 #, c-format msgid "Unable to create temporary directory %s: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-initrd.c:217 #, c-format msgid "Kernel module dir %s does not exist" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-initrd.c:275 #, c-format msgid "Unable to read entries in %s: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-initrd.c:306 #, c-format msgid "Unable to access %s: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-machine.c:446 #, c-format msgid "Kernel image %s does not exist" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:941 #, c-format msgid "Cannot request DHCP with static routes/addresses" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:963 #, c-format msgid "No assignment in filter parameter configuration" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:999 #, c-format msgid "Cannot set static addresses with DHCP" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1019 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1028 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1082 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1090 #, c-format msgid "Unable to parse address %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1058 #, c-format msgid "Cannot set static routes with DHCP" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1076 #, c-format msgid "Missing gateway in route %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1110 #, c-format msgid "Unknown parameter %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1121 #, c-format msgid "Cannot set static routes without addresses" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1285 #, c-format msgid "No mount type prefix on %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1298 #, c-format msgid "Unknown mount type prefix on %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1311 #, c-format msgid "Missing mount source string on %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1411 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1476 #, c-format msgid "No mount with a prefix under %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1578 #, c-format msgid "Unable to get SELinux context of user: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1587 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1596 #, c-format msgid "Unknown security option '%s'" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1630 msgid "Missing mount target in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1635 msgid "Missing mount type in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1647 #, c-format msgid "Unknown mount type %s in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1654 msgid "Missing mount usage in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1663 msgid "Missing mount source in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:2150 msgid "Missing class name in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:2156 #, c-format msgid "Unknown type name '%s' in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:2163 #, c-format msgid "Type name '%s' in config file had wrong parent" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console.c:326 msgid "Unable to isolate console unless direct access flag is set" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:184 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:350 #, c-format msgid "Unable to query terminal attributes: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:201 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:367 #, c-format msgid "Unable to update terminal attributes: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:224 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:395 #, c-format msgid "Unable to restore terminal attributes: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:630 msgid "No devices found for domain" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:660 #, c-format msgid "No device %s found for domain" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:666 #, c-format msgid "Unable to open console %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:699 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:1110 msgid "Console is already attached to a stream" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:628 #, c-format msgid "Unexpected rpc status %u" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:697 #, c-format msgid "Unexpected rpc proc %u" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:753 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:817 #, c-format msgid "Got rx in unexpected state %d" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:1167 msgid "ConsoleRpc is not attached to a stream" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-context.c:253 #: ../libvirt-sandbox/libvirt-sandbox-context.c:396 #, c-format msgid "Domain is not currently running" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-context.c:323 #: ../libvirt-sandbox/libvirt-sandbox-context.c:340 #: ../libvirt-sandbox/libvirt-sandbox-context.c:363 #, c-format msgid "Sandbox is not currently running" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1065 #, c-format msgid "libvirt-sandbox-init-common: unable to create signal pipe: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1084 #, c-format msgid "libvirt-sandbox-init-common: cannot open %s: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1141 #, c-format msgid "libvirt-sandbox-init-common: %s: cannot execute %s: %s\n" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1167 msgid "config file path" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1170 msgid "Run '" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1180 #, c-format msgid "%s: must be launched as root\n" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1187 msgid "Libvirt Sandbox Init Common" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1205 #, c-format msgid "%s: Unable to load config %s: %s\n" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1231 #, c-format msgid "Unsupported configuration type %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:69 msgid "Unable to decode message length" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:76 #, c-format msgid "packet %u bytes received from server too small, want %u" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:86 #, c-format msgid "packet %u bytes received from server too large, want %d" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:130 msgid "Unable to decode message header" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:174 #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:235 #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:303 #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:329 msgid "Unable to encode message length" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:180 msgid "Unable to encode message header" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:192 msgid "Unable to re-encode message length" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:222 msgid "Unable to encode message payload" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:265 msgid "Unable to decode message payload" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:290 #, c-format msgid "Raw data too long to send (%zu bytes needed, %zu bytes available)" msgstr "" libvirt-sandbox-0.5.1+git20160404/po/cy.po000066400000000000000000000342771275305543100176370ustar00rootroot00000000000000# SOME DESCRIPTIVE TITLE. # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # # Translators: msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2015-02-18 14:55+0000\n" "PO-Revision-Date: 2013-04-08 06:10-0400\n" "Last-Translator: FULL NAME \n" "Language-Team: Welsh (http://www.transifex.com/projects/p/fedora/language/cy/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Language: cy\n" "Plural-Forms: nplurals=4; plural=(n==1) ? 0 : (n==2) ? 1 : (n != 8 && n != 11) ? 2 : 3;\n" "X-Generator: Zanata 3.5.1\n" #: ../bin/virt-sandbox.c:48 ../bin/virt-sandbox-service-util.c:43 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1149 #, c-format msgid "%s version %s\n" msgstr "" #: ../bin/virt-sandbox.c:84 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1161 msgid "display version information" msgstr "" #: ../bin/virt-sandbox.c:86 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1163 msgid "display verbose information" msgstr "" #: ../bin/virt-sandbox.c:88 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1165 msgid "display debugging information" msgstr "" #: ../bin/virt-sandbox.c:90 msgid "connect to hypervisor" msgstr "" #: ../bin/virt-sandbox.c:92 msgid "name of the sandbox" msgstr "" #: ../bin/virt-sandbox.c:94 msgid "root directory of the sandbox" msgstr "" #: ../bin/virt-sandbox.c:96 msgid "mount a filesystem in the guest" msgstr "" #: ../bin/virt-sandbox.c:98 msgid "file to copy into custom dir" msgstr "" #: ../bin/virt-sandbox.c:100 msgid "file contain list of files to include" msgstr "" #: ../bin/virt-sandbox.c:102 msgid "setup network interface properties" msgstr "" #: ../bin/virt-sandbox.c:104 msgid "security properties" msgstr "" #: ../bin/virt-sandbox.c:106 msgid "run the command privileged" msgstr "" #: ../bin/virt-sandbox.c:108 msgid "start a shell" msgstr "" #: ../bin/virt-sandbox.c:110 msgid "kernel version" msgstr "" #: ../bin/virt-sandbox.c:112 msgid "kernel binary path" msgstr "" #: ../bin/virt-sandbox.c:114 msgid "kernel module directory" msgstr "" #: ../bin/virt-sandbox.c:119 msgid "" "Run 'virt-sandbox --help' to see a full list of available command line " "options" msgstr "" #: ../bin/virt-sandbox.c:129 msgid "Libvirt Sandbox" msgstr "" #: ../bin/virt-sandbox.c:131 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1189 msgid "- Libvirt Sandbox" msgstr "" #: ../bin/virt-sandbox.c:144 #, c-format msgid "" "\n" "Usage: %s [OPTIONS] COMMAND-PATH [ARGS...]\n" "\n" "%s\n" "\n" msgstr "" #: ../bin/virt-sandbox.c:160 ../bin/virt-sandbox-service-util.c:65 #, c-format msgid "Unable to open connection: %s\n" msgstr "" #: ../bin/virt-sandbox.c:161 ../bin/virt-sandbox.c:188 #: ../bin/virt-sandbox.c:194 ../bin/virt-sandbox.c:200 #: ../bin/virt-sandbox.c:206 ../bin/virt-sandbox.c:212 #: ../bin/virt-sandbox.c:227 ../bin/virt-sandbox.c:233 #: ../bin/virt-sandbox.c:240 ../bin/virt-sandbox.c:246 #: ../bin/virt-sandbox.c:254 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1247 msgid "Unknown failure" msgstr "" #: ../bin/virt-sandbox.c:187 #, c-format msgid "Unable to parse mounts: %s\n" msgstr "" #: ../bin/virt-sandbox.c:193 #, c-format msgid "Unable to parse includes: %s\n" msgstr "" #: ../bin/virt-sandbox.c:199 #, c-format msgid "Unable to parse include file: %s\n" msgstr "" #: ../bin/virt-sandbox.c:205 #, c-format msgid "Unable to parse networks: %s\n" msgstr "" #: ../bin/virt-sandbox.c:211 #, c-format msgid "Unable to parse security: %s\n" msgstr "" #: ../bin/virt-sandbox.c:226 #, c-format msgid "Unable to start sandbox: %s\n" msgstr "" #: ../bin/virt-sandbox.c:232 #, c-format msgid "Unable to get log console: %s\n" msgstr "" #: ../bin/virt-sandbox.c:239 ../bin/virt-sandbox.c:253 #, c-format msgid "Unable to attach sandbox console: %s\n" msgstr "" #: ../bin/virt-sandbox.c:245 #, c-format msgid "Unable to get app console: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:66 ../bin/virt-sandbox-service-util.c:72 #: ../bin/virt-sandbox-service-util.c:78 #: ../bin/virt-sandbox-service-util.c:104 #: ../bin/virt-sandbox-service-util.c:110 #: ../bin/virt-sandbox-service-util.c:120 #: ../bin/virt-sandbox-service-util.c:127 #: ../bin/virt-sandbox-service-util.c:159 #: ../bin/virt-sandbox-service-util.c:165 #: ../bin/virt-sandbox-service-util.c:175 #: ../bin/virt-sandbox-service-util.c:182 msgid "unknown" msgstr "" #: ../bin/virt-sandbox-service-util.c:71 #, c-format msgid "Unable to read config file %s: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:77 #, c-format msgid "Unable to create new context service: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:103 #, c-format msgid "Unable to start container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:109 #, c-format msgid "Unable to get log console for container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:119 #, c-format msgid "Unable to attach console to stderr in the container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:126 #: ../bin/virt-sandbox-service-util.c:181 #, c-format msgid "Unable to disconnect console from libvirt: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:158 #: ../bin/virt-sandbox-service-util.c:174 #, c-format msgid "Unable to attach to container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:164 #, c-format msgid "Unable to get shell console for container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:240 msgid "Display version information" msgstr "" #: ../bin/virt-sandbox-service-util.c:242 msgid "Start a container" msgstr "" #: ../bin/virt-sandbox-service-util.c:244 msgid "Attach to a container" msgstr "" #: ../bin/virt-sandbox-service-util.c:246 msgid "Pid of process in container to which the command will run" msgstr "" #: ../bin/virt-sandbox-service-util.c:248 msgid "Connect to hypervisor Default:'lxc:///'" msgstr "" #: ../bin/virt-sandbox-service-util.c:253 msgid "" "Run 'virt-sandbox-service-util --help' to see a full list of available " "command line options\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:263 msgid "- Libvirt Sandbox Service" msgstr "" #: ../bin/virt-sandbox-service-util.c:275 #, c-format msgid "" "Invalid command: You must specify --start or --attach\n" "%s" msgstr "" #: ../bin/virt-sandbox-service-util.c:281 #, c-format msgid "Invalid command CONTAINER_NAME required: %s" msgstr "" #: ../bin/virt-sandbox-service-util.c:288 msgid "Libvirt Sandbox Service" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-initrd.c:171 #, c-format msgid "Unable to create temporary directory %s: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-initrd.c:217 #, c-format msgid "Kernel module dir %s does not exist" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-initrd.c:275 #, c-format msgid "Unable to read entries in %s: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-initrd.c:306 #, c-format msgid "Unable to access %s: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-machine.c:446 #, c-format msgid "Kernel image %s does not exist" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:941 #, c-format msgid "Cannot request DHCP with static routes/addresses" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:963 #, c-format msgid "No assignment in filter parameter configuration" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:999 #, c-format msgid "Cannot set static addresses with DHCP" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1019 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1028 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1082 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1090 #, c-format msgid "Unable to parse address %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1058 #, c-format msgid "Cannot set static routes with DHCP" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1076 #, c-format msgid "Missing gateway in route %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1110 #, c-format msgid "Unknown parameter %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1121 #, c-format msgid "Cannot set static routes without addresses" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1285 #, c-format msgid "No mount type prefix on %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1298 #, c-format msgid "Unknown mount type prefix on %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1311 #, c-format msgid "Missing mount source string on %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1411 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1476 #, c-format msgid "No mount with a prefix under %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1578 #, c-format msgid "Unable to get SELinux context of user: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1587 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1596 #, c-format msgid "Unknown security option '%s'" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1630 msgid "Missing mount target in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1635 msgid "Missing mount type in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1647 #, c-format msgid "Unknown mount type %s in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1654 msgid "Missing mount usage in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1663 msgid "Missing mount source in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:2150 msgid "Missing class name in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:2156 #, c-format msgid "Unknown type name '%s' in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:2163 #, c-format msgid "Type name '%s' in config file had wrong parent" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console.c:326 msgid "Unable to isolate console unless direct access flag is set" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:184 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:350 #, c-format msgid "Unable to query terminal attributes: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:201 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:367 #, c-format msgid "Unable to update terminal attributes: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:224 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:395 #, c-format msgid "Unable to restore terminal attributes: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:630 msgid "No devices found for domain" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:660 #, c-format msgid "No device %s found for domain" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:666 #, c-format msgid "Unable to open console %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:699 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:1110 msgid "Console is already attached to a stream" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:628 #, c-format msgid "Unexpected rpc status %u" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:697 #, c-format msgid "Unexpected rpc proc %u" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:753 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:817 #, c-format msgid "Got rx in unexpected state %d" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:1167 msgid "ConsoleRpc is not attached to a stream" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-context.c:253 #: ../libvirt-sandbox/libvirt-sandbox-context.c:396 #, c-format msgid "Domain is not currently running" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-context.c:323 #: ../libvirt-sandbox/libvirt-sandbox-context.c:340 #: ../libvirt-sandbox/libvirt-sandbox-context.c:363 #, c-format msgid "Sandbox is not currently running" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1065 #, c-format msgid "libvirt-sandbox-init-common: unable to create signal pipe: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1084 #, c-format msgid "libvirt-sandbox-init-common: cannot open %s: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1141 #, c-format msgid "libvirt-sandbox-init-common: %s: cannot execute %s: %s\n" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1167 msgid "config file path" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1170 msgid "Run '" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1180 #, c-format msgid "%s: must be launched as root\n" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1187 msgid "Libvirt Sandbox Init Common" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1205 #, c-format msgid "%s: Unable to load config %s: %s\n" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1231 #, c-format msgid "Unsupported configuration type %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:69 msgid "Unable to decode message length" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:76 #, c-format msgid "packet %u bytes received from server too small, want %u" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:86 #, c-format msgid "packet %u bytes received from server too large, want %d" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:130 msgid "Unable to decode message header" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:174 #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:235 #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:303 #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:329 msgid "Unable to encode message length" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:180 msgid "Unable to encode message header" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:192 msgid "Unable to re-encode message length" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:222 msgid "Unable to encode message payload" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:265 msgid "Unable to decode message payload" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:290 #, c-format msgid "Raw data too long to send (%zu bytes needed, %zu bytes available)" msgstr "" libvirt-sandbox-0.5.1+git20160404/po/da.po000066400000000000000000000341621275305543100176010ustar00rootroot00000000000000# SOME DESCRIPTIVE TITLE. # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # # Translators: msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2015-02-18 14:55+0000\n" "PO-Revision-Date: 2013-04-08 06:10-0400\n" "Last-Translator: FULL NAME \n" "Language-Team: Danish \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Language: da\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" "X-Generator: Zanata 3.5.1\n" #: ../bin/virt-sandbox.c:48 ../bin/virt-sandbox-service-util.c:43 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1149 #, c-format msgid "%s version %s\n" msgstr "" #: ../bin/virt-sandbox.c:84 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1161 msgid "display version information" msgstr "" #: ../bin/virt-sandbox.c:86 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1163 msgid "display verbose information" msgstr "" #: ../bin/virt-sandbox.c:88 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1165 msgid "display debugging information" msgstr "" #: ../bin/virt-sandbox.c:90 msgid "connect to hypervisor" msgstr "" #: ../bin/virt-sandbox.c:92 msgid "name of the sandbox" msgstr "" #: ../bin/virt-sandbox.c:94 msgid "root directory of the sandbox" msgstr "" #: ../bin/virt-sandbox.c:96 msgid "mount a filesystem in the guest" msgstr "" #: ../bin/virt-sandbox.c:98 msgid "file to copy into custom dir" msgstr "" #: ../bin/virt-sandbox.c:100 msgid "file contain list of files to include" msgstr "" #: ../bin/virt-sandbox.c:102 msgid "setup network interface properties" msgstr "" #: ../bin/virt-sandbox.c:104 msgid "security properties" msgstr "" #: ../bin/virt-sandbox.c:106 msgid "run the command privileged" msgstr "" #: ../bin/virt-sandbox.c:108 msgid "start a shell" msgstr "" #: ../bin/virt-sandbox.c:110 msgid "kernel version" msgstr "" #: ../bin/virt-sandbox.c:112 msgid "kernel binary path" msgstr "" #: ../bin/virt-sandbox.c:114 msgid "kernel module directory" msgstr "" #: ../bin/virt-sandbox.c:119 msgid "" "Run 'virt-sandbox --help' to see a full list of available command line " "options" msgstr "" #: ../bin/virt-sandbox.c:129 msgid "Libvirt Sandbox" msgstr "" #: ../bin/virt-sandbox.c:131 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1189 msgid "- Libvirt Sandbox" msgstr "" #: ../bin/virt-sandbox.c:144 #, c-format msgid "" "\n" "Usage: %s [OPTIONS] COMMAND-PATH [ARGS...]\n" "\n" "%s\n" "\n" msgstr "" #: ../bin/virt-sandbox.c:160 ../bin/virt-sandbox-service-util.c:65 #, c-format msgid "Unable to open connection: %s\n" msgstr "" #: ../bin/virt-sandbox.c:161 ../bin/virt-sandbox.c:188 #: ../bin/virt-sandbox.c:194 ../bin/virt-sandbox.c:200 #: ../bin/virt-sandbox.c:206 ../bin/virt-sandbox.c:212 #: ../bin/virt-sandbox.c:227 ../bin/virt-sandbox.c:233 #: ../bin/virt-sandbox.c:240 ../bin/virt-sandbox.c:246 #: ../bin/virt-sandbox.c:254 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1247 msgid "Unknown failure" msgstr "" #: ../bin/virt-sandbox.c:187 #, c-format msgid "Unable to parse mounts: %s\n" msgstr "" #: ../bin/virt-sandbox.c:193 #, c-format msgid "Unable to parse includes: %s\n" msgstr "" #: ../bin/virt-sandbox.c:199 #, c-format msgid "Unable to parse include file: %s\n" msgstr "" #: ../bin/virt-sandbox.c:205 #, c-format msgid "Unable to parse networks: %s\n" msgstr "" #: ../bin/virt-sandbox.c:211 #, c-format msgid "Unable to parse security: %s\n" msgstr "" #: ../bin/virt-sandbox.c:226 #, c-format msgid "Unable to start sandbox: %s\n" msgstr "" #: ../bin/virt-sandbox.c:232 #, c-format msgid "Unable to get log console: %s\n" msgstr "" #: ../bin/virt-sandbox.c:239 ../bin/virt-sandbox.c:253 #, c-format msgid "Unable to attach sandbox console: %s\n" msgstr "" #: ../bin/virt-sandbox.c:245 #, c-format msgid "Unable to get app console: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:66 ../bin/virt-sandbox-service-util.c:72 #: ../bin/virt-sandbox-service-util.c:78 #: ../bin/virt-sandbox-service-util.c:104 #: ../bin/virt-sandbox-service-util.c:110 #: ../bin/virt-sandbox-service-util.c:120 #: ../bin/virt-sandbox-service-util.c:127 #: ../bin/virt-sandbox-service-util.c:159 #: ../bin/virt-sandbox-service-util.c:165 #: ../bin/virt-sandbox-service-util.c:175 #: ../bin/virt-sandbox-service-util.c:182 msgid "unknown" msgstr "" #: ../bin/virt-sandbox-service-util.c:71 #, c-format msgid "Unable to read config file %s: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:77 #, c-format msgid "Unable to create new context service: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:103 #, c-format msgid "Unable to start container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:109 #, c-format msgid "Unable to get log console for container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:119 #, c-format msgid "Unable to attach console to stderr in the container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:126 #: ../bin/virt-sandbox-service-util.c:181 #, c-format msgid "Unable to disconnect console from libvirt: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:158 #: ../bin/virt-sandbox-service-util.c:174 #, c-format msgid "Unable to attach to container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:164 #, c-format msgid "Unable to get shell console for container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:240 msgid "Display version information" msgstr "" #: ../bin/virt-sandbox-service-util.c:242 msgid "Start a container" msgstr "" #: ../bin/virt-sandbox-service-util.c:244 msgid "Attach to a container" msgstr "" #: ../bin/virt-sandbox-service-util.c:246 msgid "Pid of process in container to which the command will run" msgstr "" #: ../bin/virt-sandbox-service-util.c:248 msgid "Connect to hypervisor Default:'lxc:///'" msgstr "" #: ../bin/virt-sandbox-service-util.c:253 msgid "" "Run 'virt-sandbox-service-util --help' to see a full list of available " "command line options\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:263 msgid "- Libvirt Sandbox Service" msgstr "" #: ../bin/virt-sandbox-service-util.c:275 #, c-format msgid "" "Invalid command: You must specify --start or --attach\n" "%s" msgstr "" #: ../bin/virt-sandbox-service-util.c:281 #, c-format msgid "Invalid command CONTAINER_NAME required: %s" msgstr "" #: ../bin/virt-sandbox-service-util.c:288 msgid "Libvirt Sandbox Service" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-initrd.c:171 #, c-format msgid "Unable to create temporary directory %s: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-initrd.c:217 #, c-format msgid "Kernel module dir %s does not exist" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-initrd.c:275 #, c-format msgid "Unable to read entries in %s: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-initrd.c:306 #, c-format msgid "Unable to access %s: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-machine.c:446 #, c-format msgid "Kernel image %s does not exist" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:941 #, c-format msgid "Cannot request DHCP with static routes/addresses" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:963 #, c-format msgid "No assignment in filter parameter configuration" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:999 #, c-format msgid "Cannot set static addresses with DHCP" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1019 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1028 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1082 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1090 #, c-format msgid "Unable to parse address %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1058 #, c-format msgid "Cannot set static routes with DHCP" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1076 #, c-format msgid "Missing gateway in route %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1110 #, c-format msgid "Unknown parameter %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1121 #, c-format msgid "Cannot set static routes without addresses" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1285 #, c-format msgid "No mount type prefix on %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1298 #, c-format msgid "Unknown mount type prefix on %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1311 #, c-format msgid "Missing mount source string on %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1411 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1476 #, c-format msgid "No mount with a prefix under %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1578 #, c-format msgid "Unable to get SELinux context of user: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1587 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1596 #, c-format msgid "Unknown security option '%s'" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1630 msgid "Missing mount target in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1635 msgid "Missing mount type in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1647 #, c-format msgid "Unknown mount type %s in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1654 msgid "Missing mount usage in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1663 msgid "Missing mount source in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:2150 msgid "Missing class name in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:2156 #, c-format msgid "Unknown type name '%s' in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:2163 #, c-format msgid "Type name '%s' in config file had wrong parent" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console.c:326 msgid "Unable to isolate console unless direct access flag is set" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:184 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:350 #, c-format msgid "Unable to query terminal attributes: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:201 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:367 #, c-format msgid "Unable to update terminal attributes: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:224 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:395 #, c-format msgid "Unable to restore terminal attributes: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:630 msgid "No devices found for domain" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:660 #, c-format msgid "No device %s found for domain" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:666 #, c-format msgid "Unable to open console %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:699 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:1110 msgid "Console is already attached to a stream" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:628 #, c-format msgid "Unexpected rpc status %u" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:697 #, c-format msgid "Unexpected rpc proc %u" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:753 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:817 #, c-format msgid "Got rx in unexpected state %d" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:1167 msgid "ConsoleRpc is not attached to a stream" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-context.c:253 #: ../libvirt-sandbox/libvirt-sandbox-context.c:396 #, c-format msgid "Domain is not currently running" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-context.c:323 #: ../libvirt-sandbox/libvirt-sandbox-context.c:340 #: ../libvirt-sandbox/libvirt-sandbox-context.c:363 #, c-format msgid "Sandbox is not currently running" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1065 #, c-format msgid "libvirt-sandbox-init-common: unable to create signal pipe: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1084 #, c-format msgid "libvirt-sandbox-init-common: cannot open %s: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1141 #, c-format msgid "libvirt-sandbox-init-common: %s: cannot execute %s: %s\n" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1167 msgid "config file path" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1170 msgid "Run '" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1180 #, c-format msgid "%s: must be launched as root\n" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1187 msgid "Libvirt Sandbox Init Common" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1205 #, c-format msgid "%s: Unable to load config %s: %s\n" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1231 #, c-format msgid "Unsupported configuration type %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:69 msgid "Unable to decode message length" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:76 #, c-format msgid "packet %u bytes received from server too small, want %u" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:86 #, c-format msgid "packet %u bytes received from server too large, want %d" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:130 msgid "Unable to decode message header" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:174 #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:235 #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:303 #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:329 msgid "Unable to encode message length" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:180 msgid "Unable to encode message header" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:192 msgid "Unable to re-encode message length" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:222 msgid "Unable to encode message payload" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:265 msgid "Unable to decode message payload" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:290 #, c-format msgid "Raw data too long to send (%zu bytes needed, %zu bytes available)" msgstr "" libvirt-sandbox-0.5.1+git20160404/po/de.po000066400000000000000000000357111275305543100176060ustar00rootroot00000000000000# SOME DESCRIPTIVE TITLE. # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # # Translators: # Fabian Affolter , 2013 msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2015-02-18 14:55+0000\n" "PO-Revision-Date: 2013-07-09 03:50-0400\n" "Last-Translator: Daniel Berrange \n" "Language-Team: German \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Language: de\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" "X-Generator: Zanata 3.5.1\n" #: ../bin/virt-sandbox.c:48 ../bin/virt-sandbox-service-util.c:43 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1149 #, c-format msgid "%s version %s\n" msgstr "%s version %s\n" #: ../bin/virt-sandbox.c:84 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1161 msgid "display version information" msgstr "Version-Information anzeigen" #: ../bin/virt-sandbox.c:86 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1163 msgid "display verbose information" msgstr "Umfangreichere Information anzeigen" #: ../bin/virt-sandbox.c:88 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1165 msgid "display debugging information" msgstr "Debug-Information anzeigen" #: ../bin/virt-sandbox.c:90 msgid "connect to hypervisor" msgstr "Mit Hypervisor verbinden" #: ../bin/virt-sandbox.c:92 msgid "name of the sandbox" msgstr "Name der Sandbox" #: ../bin/virt-sandbox.c:94 msgid "root directory of the sandbox" msgstr "" #: ../bin/virt-sandbox.c:96 msgid "mount a filesystem in the guest" msgstr "Dateisystem in den Gast einbinden" #: ../bin/virt-sandbox.c:98 msgid "file to copy into custom dir" msgstr "Datei in benutzerdefiniertes Verzeichnis kopieren" #: ../bin/virt-sandbox.c:100 msgid "file contain list of files to include" msgstr "Datei enthält eine Dateiliste zum Einschliessen" #: ../bin/virt-sandbox.c:102 msgid "setup network interface properties" msgstr "Netzwerkschnittstellen-Einstellungen einrichten" #: ../bin/virt-sandbox.c:104 msgid "security properties" msgstr "Sicherheits-Einstellungen" #: ../bin/virt-sandbox.c:106 msgid "run the command privileged" msgstr "" #: ../bin/virt-sandbox.c:108 msgid "start a shell" msgstr "Eine Shell starten" #: ../bin/virt-sandbox.c:110 msgid "kernel version" msgstr "" #: ../bin/virt-sandbox.c:112 msgid "kernel binary path" msgstr "" #: ../bin/virt-sandbox.c:114 msgid "kernel module directory" msgstr "" #: ../bin/virt-sandbox.c:119 msgid "" "Run 'virt-sandbox --help' to see a full list of available command line " "options" msgstr "" #: ../bin/virt-sandbox.c:129 msgid "Libvirt Sandbox" msgstr "Libvirt Sandbox" #: ../bin/virt-sandbox.c:131 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1189 msgid "- Libvirt Sandbox" msgstr "- Libvirt Sandbox" #: ../bin/virt-sandbox.c:144 #, c-format msgid "" "\n" "Usage: %s [OPTIONS] COMMAND-PATH [ARGS...]\n" "\n" "%s\n" "\n" msgstr "" #: ../bin/virt-sandbox.c:160 ../bin/virt-sandbox-service-util.c:65 #, c-format msgid "Unable to open connection: %s\n" msgstr "" #: ../bin/virt-sandbox.c:161 ../bin/virt-sandbox.c:188 #: ../bin/virt-sandbox.c:194 ../bin/virt-sandbox.c:200 #: ../bin/virt-sandbox.c:206 ../bin/virt-sandbox.c:212 #: ../bin/virt-sandbox.c:227 ../bin/virt-sandbox.c:233 #: ../bin/virt-sandbox.c:240 ../bin/virt-sandbox.c:246 #: ../bin/virt-sandbox.c:254 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1247 msgid "Unknown failure" msgstr "Unbekannter Fehler" #: ../bin/virt-sandbox.c:187 #, c-format msgid "Unable to parse mounts: %s\n" msgstr "" #: ../bin/virt-sandbox.c:193 #, c-format msgid "Unable to parse includes: %s\n" msgstr "" #: ../bin/virt-sandbox.c:199 #, c-format msgid "Unable to parse include file: %s\n" msgstr "" #: ../bin/virt-sandbox.c:205 #, c-format msgid "Unable to parse networks: %s\n" msgstr "" #: ../bin/virt-sandbox.c:211 #, c-format msgid "Unable to parse security: %s\n" msgstr "" #: ../bin/virt-sandbox.c:226 #, c-format msgid "Unable to start sandbox: %s\n" msgstr "" #: ../bin/virt-sandbox.c:232 #, c-format msgid "Unable to get log console: %s\n" msgstr "" #: ../bin/virt-sandbox.c:239 ../bin/virt-sandbox.c:253 #, c-format msgid "Unable to attach sandbox console: %s\n" msgstr "" #: ../bin/virt-sandbox.c:245 #, c-format msgid "Unable to get app console: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:66 ../bin/virt-sandbox-service-util.c:72 #: ../bin/virt-sandbox-service-util.c:78 #: ../bin/virt-sandbox-service-util.c:104 #: ../bin/virt-sandbox-service-util.c:110 #: ../bin/virt-sandbox-service-util.c:120 #: ../bin/virt-sandbox-service-util.c:127 #: ../bin/virt-sandbox-service-util.c:159 #: ../bin/virt-sandbox-service-util.c:165 #: ../bin/virt-sandbox-service-util.c:175 #: ../bin/virt-sandbox-service-util.c:182 msgid "unknown" msgstr "unbekannt" #: ../bin/virt-sandbox-service-util.c:71 #, c-format msgid "Unable to read config file %s: %s\n" msgstr "Lesen der Konfigurationsdatei %s nicht möglich: %s\n" #: ../bin/virt-sandbox-service-util.c:77 #, c-format msgid "Unable to create new context service: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:103 #, c-format msgid "Unable to start container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:109 #, c-format msgid "Unable to get log console for container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:119 #, c-format msgid "Unable to attach console to stderr in the container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:126 #: ../bin/virt-sandbox-service-util.c:181 #, c-format msgid "Unable to disconnect console from libvirt: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:158 #: ../bin/virt-sandbox-service-util.c:174 #, c-format msgid "Unable to attach to container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:164 #, c-format msgid "Unable to get shell console for container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:240 msgid "Display version information" msgstr "Version-Information anzeigen" #: ../bin/virt-sandbox-service-util.c:242 msgid "Start a container" msgstr "Starten eines Container" #: ../bin/virt-sandbox-service-util.c:244 msgid "Attach to a container" msgstr "An einen Container anhängen" #: ../bin/virt-sandbox-service-util.c:246 msgid "Pid of process in container to which the command will run" msgstr "" #: ../bin/virt-sandbox-service-util.c:248 msgid "Connect to hypervisor Default:'lxc:///'" msgstr "" #: ../bin/virt-sandbox-service-util.c:253 msgid "" "Run 'virt-sandbox-service-util --help' to see a full list of available " "command line options\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:263 msgid "- Libvirt Sandbox Service" msgstr "" #: ../bin/virt-sandbox-service-util.c:275 #, c-format msgid "" "Invalid command: You must specify --start or --attach\n" "%s" msgstr "" #: ../bin/virt-sandbox-service-util.c:281 #, c-format msgid "Invalid command CONTAINER_NAME required: %s" msgstr "" #: ../bin/virt-sandbox-service-util.c:288 msgid "Libvirt Sandbox Service" msgstr "Libvirt Sandbox-Dienst" #: ../libvirt-sandbox/libvirt-sandbox-builder-initrd.c:171 #, c-format msgid "Unable to create temporary directory %s: %s" msgstr "Erzeugen des temporären Verzeichnis %s nicht möglich: %s" #: ../libvirt-sandbox/libvirt-sandbox-builder-initrd.c:217 #, c-format msgid "Kernel module dir %s does not exist" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-initrd.c:275 #, c-format msgid "Unable to read entries in %s: %s" msgstr "Lesen der Einträge in %s nicht möglich: %s" #: ../libvirt-sandbox/libvirt-sandbox-builder-initrd.c:306 #, c-format msgid "Unable to access %s: %s" msgstr "Zugriff auf %s nicht möglich: %s" #: ../libvirt-sandbox/libvirt-sandbox-builder-machine.c:446 #, c-format msgid "Kernel image %s does not exist" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:941 #, c-format msgid "Cannot request DHCP with static routes/addresses" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:963 #, c-format msgid "No assignment in filter parameter configuration" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:999 #, c-format msgid "Cannot set static addresses with DHCP" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1019 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1028 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1082 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1090 #, c-format msgid "Unable to parse address %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1058 #, c-format msgid "Cannot set static routes with DHCP" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1076 #, c-format msgid "Missing gateway in route %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1110 #, c-format msgid "Unknown parameter %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1121 #, c-format msgid "Cannot set static routes without addresses" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1285 #, c-format msgid "No mount type prefix on %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1298 #, c-format msgid "Unknown mount type prefix on %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1311 #, c-format msgid "Missing mount source string on %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1411 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1476 #, c-format msgid "No mount with a prefix under %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1578 #, c-format msgid "Unable to get SELinux context of user: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1587 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1596 #, c-format msgid "Unknown security option '%s'" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1630 msgid "Missing mount target in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1635 msgid "Missing mount type in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1647 #, c-format msgid "Unknown mount type %s in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1654 msgid "Missing mount usage in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1663 msgid "Missing mount source in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:2150 msgid "Missing class name in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:2156 #, c-format msgid "Unknown type name '%s' in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:2163 #, c-format msgid "Type name '%s' in config file had wrong parent" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console.c:326 msgid "Unable to isolate console unless direct access flag is set" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:184 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:350 #, c-format msgid "Unable to query terminal attributes: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:201 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:367 #, c-format msgid "Unable to update terminal attributes: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:224 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:395 #, c-format msgid "Unable to restore terminal attributes: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:630 msgid "No devices found for domain" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:660 #, c-format msgid "No device %s found for domain" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:666 #, c-format msgid "Unable to open console %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:699 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:1110 msgid "Console is already attached to a stream" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:628 #, c-format msgid "Unexpected rpc status %u" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:697 #, c-format msgid "Unexpected rpc proc %u" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:753 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:817 #, c-format msgid "Got rx in unexpected state %d" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:1167 msgid "ConsoleRpc is not attached to a stream" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-context.c:253 #: ../libvirt-sandbox/libvirt-sandbox-context.c:396 #, c-format msgid "Domain is not currently running" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-context.c:323 #: ../libvirt-sandbox/libvirt-sandbox-context.c:340 #: ../libvirt-sandbox/libvirt-sandbox-context.c:363 #, c-format msgid "Sandbox is not currently running" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1065 #, c-format msgid "libvirt-sandbox-init-common: unable to create signal pipe: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1084 #, c-format msgid "libvirt-sandbox-init-common: cannot open %s: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1141 #, c-format msgid "libvirt-sandbox-init-common: %s: cannot execute %s: %s\n" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1167 msgid "config file path" msgstr "Konfigurationsdatei-Pfad" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1170 msgid "Run '" msgstr "Ausführen '" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1180 #, c-format msgid "%s: must be launched as root\n" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1187 msgid "Libvirt Sandbox Init Common" msgstr "Libvirt Sandbox Init allgemein" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1205 #, c-format msgid "%s: Unable to load config %s: %s\n" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1231 #, c-format msgid "Unsupported configuration type %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:69 msgid "Unable to decode message length" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:76 #, c-format msgid "packet %u bytes received from server too small, want %u" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:86 #, c-format msgid "packet %u bytes received from server too large, want %d" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:130 msgid "Unable to decode message header" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:174 #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:235 #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:303 #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:329 msgid "Unable to encode message length" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:180 msgid "Unable to encode message header" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:192 msgid "Unable to re-encode message length" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:222 msgid "Unable to encode message payload" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:265 msgid "Unable to decode message payload" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:290 #, c-format msgid "Raw data too long to send (%zu bytes needed, %zu bytes available)" msgstr "" libvirt-sandbox-0.5.1+git20160404/po/de_CH.po000066400000000000000000000342471275305543100201630ustar00rootroot00000000000000# SOME DESCRIPTIVE TITLE. # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # # Translators: msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2015-02-18 14:55+0000\n" "PO-Revision-Date: 2013-04-08 06:10-0400\n" "Last-Translator: FULL NAME \n" "Language-Team: German (Switzerland) (http://www.transifex.com/projects/p/fedora/language/de_CH/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Language: de-CH\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" "X-Generator: Zanata 3.5.1\n" #: ../bin/virt-sandbox.c:48 ../bin/virt-sandbox-service-util.c:43 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1149 #, c-format msgid "%s version %s\n" msgstr "" #: ../bin/virt-sandbox.c:84 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1161 msgid "display version information" msgstr "" #: ../bin/virt-sandbox.c:86 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1163 msgid "display verbose information" msgstr "" #: ../bin/virt-sandbox.c:88 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1165 msgid "display debugging information" msgstr "" #: ../bin/virt-sandbox.c:90 msgid "connect to hypervisor" msgstr "" #: ../bin/virt-sandbox.c:92 msgid "name of the sandbox" msgstr "" #: ../bin/virt-sandbox.c:94 msgid "root directory of the sandbox" msgstr "" #: ../bin/virt-sandbox.c:96 msgid "mount a filesystem in the guest" msgstr "" #: ../bin/virt-sandbox.c:98 msgid "file to copy into custom dir" msgstr "" #: ../bin/virt-sandbox.c:100 msgid "file contain list of files to include" msgstr "" #: ../bin/virt-sandbox.c:102 msgid "setup network interface properties" msgstr "" #: ../bin/virt-sandbox.c:104 msgid "security properties" msgstr "" #: ../bin/virt-sandbox.c:106 msgid "run the command privileged" msgstr "" #: ../bin/virt-sandbox.c:108 msgid "start a shell" msgstr "" #: ../bin/virt-sandbox.c:110 msgid "kernel version" msgstr "" #: ../bin/virt-sandbox.c:112 msgid "kernel binary path" msgstr "" #: ../bin/virt-sandbox.c:114 msgid "kernel module directory" msgstr "" #: ../bin/virt-sandbox.c:119 msgid "" "Run 'virt-sandbox --help' to see a full list of available command line " "options" msgstr "" #: ../bin/virt-sandbox.c:129 msgid "Libvirt Sandbox" msgstr "" #: ../bin/virt-sandbox.c:131 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1189 msgid "- Libvirt Sandbox" msgstr "" #: ../bin/virt-sandbox.c:144 #, c-format msgid "" "\n" "Usage: %s [OPTIONS] COMMAND-PATH [ARGS...]\n" "\n" "%s\n" "\n" msgstr "" #: ../bin/virt-sandbox.c:160 ../bin/virt-sandbox-service-util.c:65 #, c-format msgid "Unable to open connection: %s\n" msgstr "" #: ../bin/virt-sandbox.c:161 ../bin/virt-sandbox.c:188 #: ../bin/virt-sandbox.c:194 ../bin/virt-sandbox.c:200 #: ../bin/virt-sandbox.c:206 ../bin/virt-sandbox.c:212 #: ../bin/virt-sandbox.c:227 ../bin/virt-sandbox.c:233 #: ../bin/virt-sandbox.c:240 ../bin/virt-sandbox.c:246 #: ../bin/virt-sandbox.c:254 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1247 msgid "Unknown failure" msgstr "" #: ../bin/virt-sandbox.c:187 #, c-format msgid "Unable to parse mounts: %s\n" msgstr "" #: ../bin/virt-sandbox.c:193 #, c-format msgid "Unable to parse includes: %s\n" msgstr "" #: ../bin/virt-sandbox.c:199 #, c-format msgid "Unable to parse include file: %s\n" msgstr "" #: ../bin/virt-sandbox.c:205 #, c-format msgid "Unable to parse networks: %s\n" msgstr "" #: ../bin/virt-sandbox.c:211 #, c-format msgid "Unable to parse security: %s\n" msgstr "" #: ../bin/virt-sandbox.c:226 #, c-format msgid "Unable to start sandbox: %s\n" msgstr "" #: ../bin/virt-sandbox.c:232 #, c-format msgid "Unable to get log console: %s\n" msgstr "" #: ../bin/virt-sandbox.c:239 ../bin/virt-sandbox.c:253 #, c-format msgid "Unable to attach sandbox console: %s\n" msgstr "" #: ../bin/virt-sandbox.c:245 #, c-format msgid "Unable to get app console: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:66 ../bin/virt-sandbox-service-util.c:72 #: ../bin/virt-sandbox-service-util.c:78 #: ../bin/virt-sandbox-service-util.c:104 #: ../bin/virt-sandbox-service-util.c:110 #: ../bin/virt-sandbox-service-util.c:120 #: ../bin/virt-sandbox-service-util.c:127 #: ../bin/virt-sandbox-service-util.c:159 #: ../bin/virt-sandbox-service-util.c:165 #: ../bin/virt-sandbox-service-util.c:175 #: ../bin/virt-sandbox-service-util.c:182 msgid "unknown" msgstr "" #: ../bin/virt-sandbox-service-util.c:71 #, c-format msgid "Unable to read config file %s: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:77 #, c-format msgid "Unable to create new context service: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:103 #, c-format msgid "Unable to start container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:109 #, c-format msgid "Unable to get log console for container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:119 #, c-format msgid "Unable to attach console to stderr in the container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:126 #: ../bin/virt-sandbox-service-util.c:181 #, c-format msgid "Unable to disconnect console from libvirt: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:158 #: ../bin/virt-sandbox-service-util.c:174 #, c-format msgid "Unable to attach to container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:164 #, c-format msgid "Unable to get shell console for container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:240 msgid "Display version information" msgstr "" #: ../bin/virt-sandbox-service-util.c:242 msgid "Start a container" msgstr "" #: ../bin/virt-sandbox-service-util.c:244 msgid "Attach to a container" msgstr "" #: ../bin/virt-sandbox-service-util.c:246 msgid "Pid of process in container to which the command will run" msgstr "" #: ../bin/virt-sandbox-service-util.c:248 msgid "Connect to hypervisor Default:'lxc:///'" msgstr "" #: ../bin/virt-sandbox-service-util.c:253 msgid "" "Run 'virt-sandbox-service-util --help' to see a full list of available " "command line options\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:263 msgid "- Libvirt Sandbox Service" msgstr "" #: ../bin/virt-sandbox-service-util.c:275 #, c-format msgid "" "Invalid command: You must specify --start or --attach\n" "%s" msgstr "" #: ../bin/virt-sandbox-service-util.c:281 #, c-format msgid "Invalid command CONTAINER_NAME required: %s" msgstr "" #: ../bin/virt-sandbox-service-util.c:288 msgid "Libvirt Sandbox Service" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-initrd.c:171 #, c-format msgid "Unable to create temporary directory %s: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-initrd.c:217 #, c-format msgid "Kernel module dir %s does not exist" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-initrd.c:275 #, c-format msgid "Unable to read entries in %s: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-initrd.c:306 #, c-format msgid "Unable to access %s: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-machine.c:446 #, c-format msgid "Kernel image %s does not exist" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:941 #, c-format msgid "Cannot request DHCP with static routes/addresses" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:963 #, c-format msgid "No assignment in filter parameter configuration" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:999 #, c-format msgid "Cannot set static addresses with DHCP" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1019 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1028 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1082 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1090 #, c-format msgid "Unable to parse address %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1058 #, c-format msgid "Cannot set static routes with DHCP" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1076 #, c-format msgid "Missing gateway in route %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1110 #, c-format msgid "Unknown parameter %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1121 #, c-format msgid "Cannot set static routes without addresses" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1285 #, c-format msgid "No mount type prefix on %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1298 #, c-format msgid "Unknown mount type prefix on %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1311 #, c-format msgid "Missing mount source string on %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1411 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1476 #, c-format msgid "No mount with a prefix under %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1578 #, c-format msgid "Unable to get SELinux context of user: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1587 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1596 #, c-format msgid "Unknown security option '%s'" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1630 msgid "Missing mount target in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1635 msgid "Missing mount type in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1647 #, c-format msgid "Unknown mount type %s in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1654 msgid "Missing mount usage in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1663 msgid "Missing mount source in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:2150 msgid "Missing class name in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:2156 #, c-format msgid "Unknown type name '%s' in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:2163 #, c-format msgid "Type name '%s' in config file had wrong parent" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console.c:326 msgid "Unable to isolate console unless direct access flag is set" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:184 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:350 #, c-format msgid "Unable to query terminal attributes: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:201 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:367 #, c-format msgid "Unable to update terminal attributes: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:224 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:395 #, c-format msgid "Unable to restore terminal attributes: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:630 msgid "No devices found for domain" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:660 #, c-format msgid "No device %s found for domain" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:666 #, c-format msgid "Unable to open console %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:699 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:1110 msgid "Console is already attached to a stream" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:628 #, c-format msgid "Unexpected rpc status %u" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:697 #, c-format msgid "Unexpected rpc proc %u" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:753 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:817 #, c-format msgid "Got rx in unexpected state %d" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:1167 msgid "ConsoleRpc is not attached to a stream" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-context.c:253 #: ../libvirt-sandbox/libvirt-sandbox-context.c:396 #, c-format msgid "Domain is not currently running" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-context.c:323 #: ../libvirt-sandbox/libvirt-sandbox-context.c:340 #: ../libvirt-sandbox/libvirt-sandbox-context.c:363 #, c-format msgid "Sandbox is not currently running" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1065 #, c-format msgid "libvirt-sandbox-init-common: unable to create signal pipe: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1084 #, c-format msgid "libvirt-sandbox-init-common: cannot open %s: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1141 #, c-format msgid "libvirt-sandbox-init-common: %s: cannot execute %s: %s\n" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1167 msgid "config file path" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1170 msgid "Run '" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1180 #, c-format msgid "%s: must be launched as root\n" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1187 msgid "Libvirt Sandbox Init Common" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1205 #, c-format msgid "%s: Unable to load config %s: %s\n" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1231 #, c-format msgid "Unsupported configuration type %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:69 msgid "Unable to decode message length" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:76 #, c-format msgid "packet %u bytes received from server too small, want %u" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:86 #, c-format msgid "packet %u bytes received from server too large, want %d" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:130 msgid "Unable to decode message header" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:174 #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:235 #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:303 #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:329 msgid "Unable to encode message length" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:180 msgid "Unable to encode message header" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:192 msgid "Unable to re-encode message length" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:222 msgid "Unable to encode message payload" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:265 msgid "Unable to decode message payload" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:290 #, c-format msgid "Raw data too long to send (%zu bytes needed, %zu bytes available)" msgstr "" libvirt-sandbox-0.5.1+git20160404/po/el.po000066400000000000000000000342161275305543100176150ustar00rootroot00000000000000# SOME DESCRIPTIVE TITLE. # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # # Translators: msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2015-02-18 14:55+0000\n" "PO-Revision-Date: 2013-07-09 03:50-0400\n" "Last-Translator: Daniel Berrange \n" "Language-Team: Greek \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Language: el\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" "X-Generator: Zanata 3.5.1\n" #: ../bin/virt-sandbox.c:48 ../bin/virt-sandbox-service-util.c:43 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1149 #, c-format msgid "%s version %s\n" msgstr "" #: ../bin/virt-sandbox.c:84 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1161 msgid "display version information" msgstr "" #: ../bin/virt-sandbox.c:86 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1163 msgid "display verbose information" msgstr "" #: ../bin/virt-sandbox.c:88 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1165 msgid "display debugging information" msgstr "" #: ../bin/virt-sandbox.c:90 msgid "connect to hypervisor" msgstr "" #: ../bin/virt-sandbox.c:92 msgid "name of the sandbox" msgstr "" #: ../bin/virt-sandbox.c:94 msgid "root directory of the sandbox" msgstr "" #: ../bin/virt-sandbox.c:96 msgid "mount a filesystem in the guest" msgstr "" #: ../bin/virt-sandbox.c:98 msgid "file to copy into custom dir" msgstr "" #: ../bin/virt-sandbox.c:100 msgid "file contain list of files to include" msgstr "" #: ../bin/virt-sandbox.c:102 msgid "setup network interface properties" msgstr "" #: ../bin/virt-sandbox.c:104 msgid "security properties" msgstr "" #: ../bin/virt-sandbox.c:106 msgid "run the command privileged" msgstr "" #: ../bin/virt-sandbox.c:108 msgid "start a shell" msgstr "" #: ../bin/virt-sandbox.c:110 msgid "kernel version" msgstr "" #: ../bin/virt-sandbox.c:112 msgid "kernel binary path" msgstr "" #: ../bin/virt-sandbox.c:114 msgid "kernel module directory" msgstr "" #: ../bin/virt-sandbox.c:119 msgid "" "Run 'virt-sandbox --help' to see a full list of available command line " "options" msgstr "" #: ../bin/virt-sandbox.c:129 msgid "Libvirt Sandbox" msgstr "" #: ../bin/virt-sandbox.c:131 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1189 msgid "- Libvirt Sandbox" msgstr "" #: ../bin/virt-sandbox.c:144 #, c-format msgid "" "\n" "Usage: %s [OPTIONS] COMMAND-PATH [ARGS...]\n" "\n" "%s\n" "\n" msgstr "" #: ../bin/virt-sandbox.c:160 ../bin/virt-sandbox-service-util.c:65 #, c-format msgid "Unable to open connection: %s\n" msgstr "" #: ../bin/virt-sandbox.c:161 ../bin/virt-sandbox.c:188 #: ../bin/virt-sandbox.c:194 ../bin/virt-sandbox.c:200 #: ../bin/virt-sandbox.c:206 ../bin/virt-sandbox.c:212 #: ../bin/virt-sandbox.c:227 ../bin/virt-sandbox.c:233 #: ../bin/virt-sandbox.c:240 ../bin/virt-sandbox.c:246 #: ../bin/virt-sandbox.c:254 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1247 msgid "Unknown failure" msgstr "" #: ../bin/virt-sandbox.c:187 #, c-format msgid "Unable to parse mounts: %s\n" msgstr "" #: ../bin/virt-sandbox.c:193 #, c-format msgid "Unable to parse includes: %s\n" msgstr "" #: ../bin/virt-sandbox.c:199 #, c-format msgid "Unable to parse include file: %s\n" msgstr "" #: ../bin/virt-sandbox.c:205 #, c-format msgid "Unable to parse networks: %s\n" msgstr "" #: ../bin/virt-sandbox.c:211 #, c-format msgid "Unable to parse security: %s\n" msgstr "" #: ../bin/virt-sandbox.c:226 #, c-format msgid "Unable to start sandbox: %s\n" msgstr "" #: ../bin/virt-sandbox.c:232 #, c-format msgid "Unable to get log console: %s\n" msgstr "" #: ../bin/virt-sandbox.c:239 ../bin/virt-sandbox.c:253 #, c-format msgid "Unable to attach sandbox console: %s\n" msgstr "" #: ../bin/virt-sandbox.c:245 #, c-format msgid "Unable to get app console: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:66 ../bin/virt-sandbox-service-util.c:72 #: ../bin/virt-sandbox-service-util.c:78 #: ../bin/virt-sandbox-service-util.c:104 #: ../bin/virt-sandbox-service-util.c:110 #: ../bin/virt-sandbox-service-util.c:120 #: ../bin/virt-sandbox-service-util.c:127 #: ../bin/virt-sandbox-service-util.c:159 #: ../bin/virt-sandbox-service-util.c:165 #: ../bin/virt-sandbox-service-util.c:175 #: ../bin/virt-sandbox-service-util.c:182 msgid "unknown" msgstr "" #: ../bin/virt-sandbox-service-util.c:71 #, c-format msgid "Unable to read config file %s: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:77 #, c-format msgid "Unable to create new context service: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:103 #, c-format msgid "Unable to start container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:109 #, c-format msgid "Unable to get log console for container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:119 #, c-format msgid "Unable to attach console to stderr in the container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:126 #: ../bin/virt-sandbox-service-util.c:181 #, c-format msgid "Unable to disconnect console from libvirt: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:158 #: ../bin/virt-sandbox-service-util.c:174 #, c-format msgid "Unable to attach to container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:164 #, c-format msgid "Unable to get shell console for container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:240 msgid "Display version information" msgstr "" #: ../bin/virt-sandbox-service-util.c:242 msgid "Start a container" msgstr "" #: ../bin/virt-sandbox-service-util.c:244 msgid "Attach to a container" msgstr "" #: ../bin/virt-sandbox-service-util.c:246 msgid "Pid of process in container to which the command will run" msgstr "" #: ../bin/virt-sandbox-service-util.c:248 msgid "Connect to hypervisor Default:'lxc:///'" msgstr "" #: ../bin/virt-sandbox-service-util.c:253 msgid "" "Run 'virt-sandbox-service-util --help' to see a full list of available " "command line options\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:263 msgid "- Libvirt Sandbox Service" msgstr "" #: ../bin/virt-sandbox-service-util.c:275 #, c-format msgid "" "Invalid command: You must specify --start or --attach\n" "%s" msgstr "" #: ../bin/virt-sandbox-service-util.c:281 #, c-format msgid "Invalid command CONTAINER_NAME required: %s" msgstr "" #: ../bin/virt-sandbox-service-util.c:288 msgid "Libvirt Sandbox Service" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-initrd.c:171 #, c-format msgid "Unable to create temporary directory %s: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-initrd.c:217 #, c-format msgid "Kernel module dir %s does not exist" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-initrd.c:275 #, c-format msgid "Unable to read entries in %s: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-initrd.c:306 #, c-format msgid "Unable to access %s: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-machine.c:446 #, c-format msgid "Kernel image %s does not exist" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:941 #, c-format msgid "Cannot request DHCP with static routes/addresses" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:963 #, c-format msgid "No assignment in filter parameter configuration" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:999 #, c-format msgid "Cannot set static addresses with DHCP" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1019 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1028 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1082 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1090 #, c-format msgid "Unable to parse address %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1058 #, c-format msgid "Cannot set static routes with DHCP" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1076 #, c-format msgid "Missing gateway in route %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1110 #, c-format msgid "Unknown parameter %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1121 #, c-format msgid "Cannot set static routes without addresses" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1285 #, c-format msgid "No mount type prefix on %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1298 #, c-format msgid "Unknown mount type prefix on %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1311 #, c-format msgid "Missing mount source string on %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1411 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1476 #, c-format msgid "No mount with a prefix under %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1578 #, c-format msgid "Unable to get SELinux context of user: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1587 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1596 #, c-format msgid "Unknown security option '%s'" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1630 msgid "Missing mount target in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1635 msgid "Missing mount type in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1647 #, c-format msgid "Unknown mount type %s in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1654 msgid "Missing mount usage in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1663 msgid "Missing mount source in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:2150 msgid "Missing class name in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:2156 #, c-format msgid "Unknown type name '%s' in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:2163 #, c-format msgid "Type name '%s' in config file had wrong parent" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console.c:326 msgid "Unable to isolate console unless direct access flag is set" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:184 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:350 #, c-format msgid "Unable to query terminal attributes: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:201 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:367 #, c-format msgid "Unable to update terminal attributes: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:224 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:395 #, c-format msgid "Unable to restore terminal attributes: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:630 msgid "No devices found for domain" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:660 #, c-format msgid "No device %s found for domain" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:666 #, c-format msgid "Unable to open console %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:699 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:1110 msgid "Console is already attached to a stream" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:628 #, c-format msgid "Unexpected rpc status %u" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:697 #, c-format msgid "Unexpected rpc proc %u" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:753 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:817 #, c-format msgid "Got rx in unexpected state %d" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:1167 msgid "ConsoleRpc is not attached to a stream" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-context.c:253 #: ../libvirt-sandbox/libvirt-sandbox-context.c:396 #, c-format msgid "Domain is not currently running" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-context.c:323 #: ../libvirt-sandbox/libvirt-sandbox-context.c:340 #: ../libvirt-sandbox/libvirt-sandbox-context.c:363 #, c-format msgid "Sandbox is not currently running" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1065 #, c-format msgid "libvirt-sandbox-init-common: unable to create signal pipe: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1084 #, c-format msgid "libvirt-sandbox-init-common: cannot open %s: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1141 #, c-format msgid "libvirt-sandbox-init-common: %s: cannot execute %s: %s\n" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1167 msgid "config file path" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1170 msgid "Run '" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1180 #, c-format msgid "%s: must be launched as root\n" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1187 msgid "Libvirt Sandbox Init Common" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1205 #, c-format msgid "%s: Unable to load config %s: %s\n" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1231 #, c-format msgid "Unsupported configuration type %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:69 msgid "Unable to decode message length" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:76 #, c-format msgid "packet %u bytes received from server too small, want %u" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:86 #, c-format msgid "packet %u bytes received from server too large, want %d" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:130 msgid "Unable to decode message header" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:174 #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:235 #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:303 #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:329 msgid "Unable to encode message length" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:180 msgid "Unable to encode message header" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:192 msgid "Unable to re-encode message length" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:222 msgid "Unable to encode message payload" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:265 msgid "Unable to decode message payload" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:290 #, c-format msgid "Raw data too long to send (%zu bytes needed, %zu bytes available)" msgstr "" libvirt-sandbox-0.5.1+git20160404/po/en_GB.po000066400000000000000000000342531275305543100201700ustar00rootroot00000000000000# SOME DESCRIPTIVE TITLE. # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # # Translators: msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2015-02-18 14:55+0000\n" "PO-Revision-Date: 2013-04-08 06:10-0400\n" "Last-Translator: FULL NAME \n" "Language-Team: English (United Kingdom) (http://www.transifex.com/projects/p/fedora/language/en_GB/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Language: en-GB\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" "X-Generator: Zanata 3.5.1\n" #: ../bin/virt-sandbox.c:48 ../bin/virt-sandbox-service-util.c:43 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1149 #, c-format msgid "%s version %s\n" msgstr "" #: ../bin/virt-sandbox.c:84 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1161 msgid "display version information" msgstr "" #: ../bin/virt-sandbox.c:86 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1163 msgid "display verbose information" msgstr "" #: ../bin/virt-sandbox.c:88 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1165 msgid "display debugging information" msgstr "" #: ../bin/virt-sandbox.c:90 msgid "connect to hypervisor" msgstr "" #: ../bin/virt-sandbox.c:92 msgid "name of the sandbox" msgstr "" #: ../bin/virt-sandbox.c:94 msgid "root directory of the sandbox" msgstr "" #: ../bin/virt-sandbox.c:96 msgid "mount a filesystem in the guest" msgstr "" #: ../bin/virt-sandbox.c:98 msgid "file to copy into custom dir" msgstr "" #: ../bin/virt-sandbox.c:100 msgid "file contain list of files to include" msgstr "" #: ../bin/virt-sandbox.c:102 msgid "setup network interface properties" msgstr "" #: ../bin/virt-sandbox.c:104 msgid "security properties" msgstr "" #: ../bin/virt-sandbox.c:106 msgid "run the command privileged" msgstr "" #: ../bin/virt-sandbox.c:108 msgid "start a shell" msgstr "" #: ../bin/virt-sandbox.c:110 msgid "kernel version" msgstr "" #: ../bin/virt-sandbox.c:112 msgid "kernel binary path" msgstr "" #: ../bin/virt-sandbox.c:114 msgid "kernel module directory" msgstr "" #: ../bin/virt-sandbox.c:119 msgid "" "Run 'virt-sandbox --help' to see a full list of available command line " "options" msgstr "" #: ../bin/virt-sandbox.c:129 msgid "Libvirt Sandbox" msgstr "" #: ../bin/virt-sandbox.c:131 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1189 msgid "- Libvirt Sandbox" msgstr "" #: ../bin/virt-sandbox.c:144 #, c-format msgid "" "\n" "Usage: %s [OPTIONS] COMMAND-PATH [ARGS...]\n" "\n" "%s\n" "\n" msgstr "" #: ../bin/virt-sandbox.c:160 ../bin/virt-sandbox-service-util.c:65 #, c-format msgid "Unable to open connection: %s\n" msgstr "" #: ../bin/virt-sandbox.c:161 ../bin/virt-sandbox.c:188 #: ../bin/virt-sandbox.c:194 ../bin/virt-sandbox.c:200 #: ../bin/virt-sandbox.c:206 ../bin/virt-sandbox.c:212 #: ../bin/virt-sandbox.c:227 ../bin/virt-sandbox.c:233 #: ../bin/virt-sandbox.c:240 ../bin/virt-sandbox.c:246 #: ../bin/virt-sandbox.c:254 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1247 msgid "Unknown failure" msgstr "" #: ../bin/virt-sandbox.c:187 #, c-format msgid "Unable to parse mounts: %s\n" msgstr "" #: ../bin/virt-sandbox.c:193 #, c-format msgid "Unable to parse includes: %s\n" msgstr "" #: ../bin/virt-sandbox.c:199 #, c-format msgid "Unable to parse include file: %s\n" msgstr "" #: ../bin/virt-sandbox.c:205 #, c-format msgid "Unable to parse networks: %s\n" msgstr "" #: ../bin/virt-sandbox.c:211 #, c-format msgid "Unable to parse security: %s\n" msgstr "" #: ../bin/virt-sandbox.c:226 #, c-format msgid "Unable to start sandbox: %s\n" msgstr "" #: ../bin/virt-sandbox.c:232 #, c-format msgid "Unable to get log console: %s\n" msgstr "" #: ../bin/virt-sandbox.c:239 ../bin/virt-sandbox.c:253 #, c-format msgid "Unable to attach sandbox console: %s\n" msgstr "" #: ../bin/virt-sandbox.c:245 #, c-format msgid "Unable to get app console: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:66 ../bin/virt-sandbox-service-util.c:72 #: ../bin/virt-sandbox-service-util.c:78 #: ../bin/virt-sandbox-service-util.c:104 #: ../bin/virt-sandbox-service-util.c:110 #: ../bin/virt-sandbox-service-util.c:120 #: ../bin/virt-sandbox-service-util.c:127 #: ../bin/virt-sandbox-service-util.c:159 #: ../bin/virt-sandbox-service-util.c:165 #: ../bin/virt-sandbox-service-util.c:175 #: ../bin/virt-sandbox-service-util.c:182 msgid "unknown" msgstr "" #: ../bin/virt-sandbox-service-util.c:71 #, c-format msgid "Unable to read config file %s: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:77 #, c-format msgid "Unable to create new context service: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:103 #, c-format msgid "Unable to start container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:109 #, c-format msgid "Unable to get log console for container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:119 #, c-format msgid "Unable to attach console to stderr in the container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:126 #: ../bin/virt-sandbox-service-util.c:181 #, c-format msgid "Unable to disconnect console from libvirt: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:158 #: ../bin/virt-sandbox-service-util.c:174 #, c-format msgid "Unable to attach to container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:164 #, c-format msgid "Unable to get shell console for container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:240 msgid "Display version information" msgstr "" #: ../bin/virt-sandbox-service-util.c:242 msgid "Start a container" msgstr "" #: ../bin/virt-sandbox-service-util.c:244 msgid "Attach to a container" msgstr "" #: ../bin/virt-sandbox-service-util.c:246 msgid "Pid of process in container to which the command will run" msgstr "" #: ../bin/virt-sandbox-service-util.c:248 msgid "Connect to hypervisor Default:'lxc:///'" msgstr "" #: ../bin/virt-sandbox-service-util.c:253 msgid "" "Run 'virt-sandbox-service-util --help' to see a full list of available " "command line options\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:263 msgid "- Libvirt Sandbox Service" msgstr "" #: ../bin/virt-sandbox-service-util.c:275 #, c-format msgid "" "Invalid command: You must specify --start or --attach\n" "%s" msgstr "" #: ../bin/virt-sandbox-service-util.c:281 #, c-format msgid "Invalid command CONTAINER_NAME required: %s" msgstr "" #: ../bin/virt-sandbox-service-util.c:288 msgid "Libvirt Sandbox Service" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-initrd.c:171 #, c-format msgid "Unable to create temporary directory %s: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-initrd.c:217 #, c-format msgid "Kernel module dir %s does not exist" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-initrd.c:275 #, c-format msgid "Unable to read entries in %s: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-initrd.c:306 #, c-format msgid "Unable to access %s: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-machine.c:446 #, c-format msgid "Kernel image %s does not exist" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:941 #, c-format msgid "Cannot request DHCP with static routes/addresses" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:963 #, c-format msgid "No assignment in filter parameter configuration" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:999 #, c-format msgid "Cannot set static addresses with DHCP" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1019 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1028 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1082 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1090 #, c-format msgid "Unable to parse address %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1058 #, c-format msgid "Cannot set static routes with DHCP" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1076 #, c-format msgid "Missing gateway in route %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1110 #, c-format msgid "Unknown parameter %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1121 #, c-format msgid "Cannot set static routes without addresses" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1285 #, c-format msgid "No mount type prefix on %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1298 #, c-format msgid "Unknown mount type prefix on %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1311 #, c-format msgid "Missing mount source string on %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1411 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1476 #, c-format msgid "No mount with a prefix under %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1578 #, c-format msgid "Unable to get SELinux context of user: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1587 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1596 #, c-format msgid "Unknown security option '%s'" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1630 msgid "Missing mount target in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1635 msgid "Missing mount type in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1647 #, c-format msgid "Unknown mount type %s in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1654 msgid "Missing mount usage in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1663 msgid "Missing mount source in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:2150 msgid "Missing class name in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:2156 #, c-format msgid "Unknown type name '%s' in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:2163 #, c-format msgid "Type name '%s' in config file had wrong parent" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console.c:326 msgid "Unable to isolate console unless direct access flag is set" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:184 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:350 #, c-format msgid "Unable to query terminal attributes: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:201 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:367 #, c-format msgid "Unable to update terminal attributes: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:224 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:395 #, c-format msgid "Unable to restore terminal attributes: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:630 msgid "No devices found for domain" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:660 #, c-format msgid "No device %s found for domain" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:666 #, c-format msgid "Unable to open console %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:699 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:1110 msgid "Console is already attached to a stream" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:628 #, c-format msgid "Unexpected rpc status %u" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:697 #, c-format msgid "Unexpected rpc proc %u" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:753 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:817 #, c-format msgid "Got rx in unexpected state %d" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:1167 msgid "ConsoleRpc is not attached to a stream" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-context.c:253 #: ../libvirt-sandbox/libvirt-sandbox-context.c:396 #, c-format msgid "Domain is not currently running" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-context.c:323 #: ../libvirt-sandbox/libvirt-sandbox-context.c:340 #: ../libvirt-sandbox/libvirt-sandbox-context.c:363 #, c-format msgid "Sandbox is not currently running" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1065 #, c-format msgid "libvirt-sandbox-init-common: unable to create signal pipe: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1084 #, c-format msgid "libvirt-sandbox-init-common: cannot open %s: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1141 #, c-format msgid "libvirt-sandbox-init-common: %s: cannot execute %s: %s\n" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1167 msgid "config file path" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1170 msgid "Run '" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1180 #, c-format msgid "%s: must be launched as root\n" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1187 msgid "Libvirt Sandbox Init Common" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1205 #, c-format msgid "%s: Unable to load config %s: %s\n" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1231 #, c-format msgid "Unsupported configuration type %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:69 msgid "Unable to decode message length" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:76 #, c-format msgid "packet %u bytes received from server too small, want %u" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:86 #, c-format msgid "packet %u bytes received from server too large, want %d" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:130 msgid "Unable to decode message header" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:174 #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:235 #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:303 #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:329 msgid "Unable to encode message length" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:180 msgid "Unable to encode message header" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:192 msgid "Unable to re-encode message length" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:222 msgid "Unable to encode message payload" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:265 msgid "Unable to decode message payload" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:290 #, c-format msgid "Raw data too long to send (%zu bytes needed, %zu bytes available)" msgstr "" libvirt-sandbox-0.5.1+git20160404/po/eo.po000066400000000000000000000342261275305543100176210ustar00rootroot00000000000000# SOME DESCRIPTIVE TITLE. # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # # Translators: msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2015-02-18 14:55+0000\n" "PO-Revision-Date: 2013-04-08 06:10-0400\n" "Last-Translator: FULL NAME \n" "Language-Team: Esperanto (http://www.transifex.com/projects/p/fedora/language/eo/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Language: eo\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" "X-Generator: Zanata 3.5.1\n" #: ../bin/virt-sandbox.c:48 ../bin/virt-sandbox-service-util.c:43 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1149 #, c-format msgid "%s version %s\n" msgstr "" #: ../bin/virt-sandbox.c:84 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1161 msgid "display version information" msgstr "" #: ../bin/virt-sandbox.c:86 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1163 msgid "display verbose information" msgstr "" #: ../bin/virt-sandbox.c:88 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1165 msgid "display debugging information" msgstr "" #: ../bin/virt-sandbox.c:90 msgid "connect to hypervisor" msgstr "" #: ../bin/virt-sandbox.c:92 msgid "name of the sandbox" msgstr "" #: ../bin/virt-sandbox.c:94 msgid "root directory of the sandbox" msgstr "" #: ../bin/virt-sandbox.c:96 msgid "mount a filesystem in the guest" msgstr "" #: ../bin/virt-sandbox.c:98 msgid "file to copy into custom dir" msgstr "" #: ../bin/virt-sandbox.c:100 msgid "file contain list of files to include" msgstr "" #: ../bin/virt-sandbox.c:102 msgid "setup network interface properties" msgstr "" #: ../bin/virt-sandbox.c:104 msgid "security properties" msgstr "" #: ../bin/virt-sandbox.c:106 msgid "run the command privileged" msgstr "" #: ../bin/virt-sandbox.c:108 msgid "start a shell" msgstr "" #: ../bin/virt-sandbox.c:110 msgid "kernel version" msgstr "" #: ../bin/virt-sandbox.c:112 msgid "kernel binary path" msgstr "" #: ../bin/virt-sandbox.c:114 msgid "kernel module directory" msgstr "" #: ../bin/virt-sandbox.c:119 msgid "" "Run 'virt-sandbox --help' to see a full list of available command line " "options" msgstr "" #: ../bin/virt-sandbox.c:129 msgid "Libvirt Sandbox" msgstr "" #: ../bin/virt-sandbox.c:131 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1189 msgid "- Libvirt Sandbox" msgstr "" #: ../bin/virt-sandbox.c:144 #, c-format msgid "" "\n" "Usage: %s [OPTIONS] COMMAND-PATH [ARGS...]\n" "\n" "%s\n" "\n" msgstr "" #: ../bin/virt-sandbox.c:160 ../bin/virt-sandbox-service-util.c:65 #, c-format msgid "Unable to open connection: %s\n" msgstr "" #: ../bin/virt-sandbox.c:161 ../bin/virt-sandbox.c:188 #: ../bin/virt-sandbox.c:194 ../bin/virt-sandbox.c:200 #: ../bin/virt-sandbox.c:206 ../bin/virt-sandbox.c:212 #: ../bin/virt-sandbox.c:227 ../bin/virt-sandbox.c:233 #: ../bin/virt-sandbox.c:240 ../bin/virt-sandbox.c:246 #: ../bin/virt-sandbox.c:254 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1247 msgid "Unknown failure" msgstr "" #: ../bin/virt-sandbox.c:187 #, c-format msgid "Unable to parse mounts: %s\n" msgstr "" #: ../bin/virt-sandbox.c:193 #, c-format msgid "Unable to parse includes: %s\n" msgstr "" #: ../bin/virt-sandbox.c:199 #, c-format msgid "Unable to parse include file: %s\n" msgstr "" #: ../bin/virt-sandbox.c:205 #, c-format msgid "Unable to parse networks: %s\n" msgstr "" #: ../bin/virt-sandbox.c:211 #, c-format msgid "Unable to parse security: %s\n" msgstr "" #: ../bin/virt-sandbox.c:226 #, c-format msgid "Unable to start sandbox: %s\n" msgstr "" #: ../bin/virt-sandbox.c:232 #, c-format msgid "Unable to get log console: %s\n" msgstr "" #: ../bin/virt-sandbox.c:239 ../bin/virt-sandbox.c:253 #, c-format msgid "Unable to attach sandbox console: %s\n" msgstr "" #: ../bin/virt-sandbox.c:245 #, c-format msgid "Unable to get app console: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:66 ../bin/virt-sandbox-service-util.c:72 #: ../bin/virt-sandbox-service-util.c:78 #: ../bin/virt-sandbox-service-util.c:104 #: ../bin/virt-sandbox-service-util.c:110 #: ../bin/virt-sandbox-service-util.c:120 #: ../bin/virt-sandbox-service-util.c:127 #: ../bin/virt-sandbox-service-util.c:159 #: ../bin/virt-sandbox-service-util.c:165 #: ../bin/virt-sandbox-service-util.c:175 #: ../bin/virt-sandbox-service-util.c:182 msgid "unknown" msgstr "" #: ../bin/virt-sandbox-service-util.c:71 #, c-format msgid "Unable to read config file %s: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:77 #, c-format msgid "Unable to create new context service: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:103 #, c-format msgid "Unable to start container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:109 #, c-format msgid "Unable to get log console for container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:119 #, c-format msgid "Unable to attach console to stderr in the container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:126 #: ../bin/virt-sandbox-service-util.c:181 #, c-format msgid "Unable to disconnect console from libvirt: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:158 #: ../bin/virt-sandbox-service-util.c:174 #, c-format msgid "Unable to attach to container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:164 #, c-format msgid "Unable to get shell console for container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:240 msgid "Display version information" msgstr "" #: ../bin/virt-sandbox-service-util.c:242 msgid "Start a container" msgstr "" #: ../bin/virt-sandbox-service-util.c:244 msgid "Attach to a container" msgstr "" #: ../bin/virt-sandbox-service-util.c:246 msgid "Pid of process in container to which the command will run" msgstr "" #: ../bin/virt-sandbox-service-util.c:248 msgid "Connect to hypervisor Default:'lxc:///'" msgstr "" #: ../bin/virt-sandbox-service-util.c:253 msgid "" "Run 'virt-sandbox-service-util --help' to see a full list of available " "command line options\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:263 msgid "- Libvirt Sandbox Service" msgstr "" #: ../bin/virt-sandbox-service-util.c:275 #, c-format msgid "" "Invalid command: You must specify --start or --attach\n" "%s" msgstr "" #: ../bin/virt-sandbox-service-util.c:281 #, c-format msgid "Invalid command CONTAINER_NAME required: %s" msgstr "" #: ../bin/virt-sandbox-service-util.c:288 msgid "Libvirt Sandbox Service" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-initrd.c:171 #, c-format msgid "Unable to create temporary directory %s: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-initrd.c:217 #, c-format msgid "Kernel module dir %s does not exist" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-initrd.c:275 #, c-format msgid "Unable to read entries in %s: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-initrd.c:306 #, c-format msgid "Unable to access %s: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-machine.c:446 #, c-format msgid "Kernel image %s does not exist" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:941 #, c-format msgid "Cannot request DHCP with static routes/addresses" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:963 #, c-format msgid "No assignment in filter parameter configuration" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:999 #, c-format msgid "Cannot set static addresses with DHCP" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1019 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1028 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1082 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1090 #, c-format msgid "Unable to parse address %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1058 #, c-format msgid "Cannot set static routes with DHCP" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1076 #, c-format msgid "Missing gateway in route %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1110 #, c-format msgid "Unknown parameter %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1121 #, c-format msgid "Cannot set static routes without addresses" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1285 #, c-format msgid "No mount type prefix on %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1298 #, c-format msgid "Unknown mount type prefix on %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1311 #, c-format msgid "Missing mount source string on %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1411 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1476 #, c-format msgid "No mount with a prefix under %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1578 #, c-format msgid "Unable to get SELinux context of user: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1587 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1596 #, c-format msgid "Unknown security option '%s'" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1630 msgid "Missing mount target in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1635 msgid "Missing mount type in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1647 #, c-format msgid "Unknown mount type %s in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1654 msgid "Missing mount usage in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1663 msgid "Missing mount source in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:2150 msgid "Missing class name in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:2156 #, c-format msgid "Unknown type name '%s' in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:2163 #, c-format msgid "Type name '%s' in config file had wrong parent" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console.c:326 msgid "Unable to isolate console unless direct access flag is set" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:184 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:350 #, c-format msgid "Unable to query terminal attributes: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:201 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:367 #, c-format msgid "Unable to update terminal attributes: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:224 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:395 #, c-format msgid "Unable to restore terminal attributes: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:630 msgid "No devices found for domain" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:660 #, c-format msgid "No device %s found for domain" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:666 #, c-format msgid "Unable to open console %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:699 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:1110 msgid "Console is already attached to a stream" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:628 #, c-format msgid "Unexpected rpc status %u" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:697 #, c-format msgid "Unexpected rpc proc %u" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:753 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:817 #, c-format msgid "Got rx in unexpected state %d" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:1167 msgid "ConsoleRpc is not attached to a stream" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-context.c:253 #: ../libvirt-sandbox/libvirt-sandbox-context.c:396 #, c-format msgid "Domain is not currently running" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-context.c:323 #: ../libvirt-sandbox/libvirt-sandbox-context.c:340 #: ../libvirt-sandbox/libvirt-sandbox-context.c:363 #, c-format msgid "Sandbox is not currently running" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1065 #, c-format msgid "libvirt-sandbox-init-common: unable to create signal pipe: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1084 #, c-format msgid "libvirt-sandbox-init-common: cannot open %s: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1141 #, c-format msgid "libvirt-sandbox-init-common: %s: cannot execute %s: %s\n" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1167 msgid "config file path" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1170 msgid "Run '" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1180 #, c-format msgid "%s: must be launched as root\n" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1187 msgid "Libvirt Sandbox Init Common" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1205 #, c-format msgid "%s: Unable to load config %s: %s\n" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1231 #, c-format msgid "Unsupported configuration type %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:69 msgid "Unable to decode message length" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:76 #, c-format msgid "packet %u bytes received from server too small, want %u" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:86 #, c-format msgid "packet %u bytes received from server too large, want %d" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:130 msgid "Unable to decode message header" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:174 #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:235 #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:303 #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:329 msgid "Unable to encode message length" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:180 msgid "Unable to encode message header" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:192 msgid "Unable to re-encode message length" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:222 msgid "Unable to encode message payload" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:265 msgid "Unable to decode message payload" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:290 #, c-format msgid "Raw data too long to send (%zu bytes needed, %zu bytes available)" msgstr "" libvirt-sandbox-0.5.1+git20160404/po/es.po000066400000000000000000000352101275305543100176170ustar00rootroot00000000000000# SOME DESCRIPTIVE TITLE. # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # # Translators: msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2015-02-18 14:55+0000\n" "PO-Revision-Date: 2013-07-09 03:50-0400\n" "Last-Translator: Daniel Berrange \n" "Language-Team: Spanish \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Language: es\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" "X-Generator: Zanata 3.5.1\n" #: ../bin/virt-sandbox.c:48 ../bin/virt-sandbox-service-util.c:43 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1149 #, c-format msgid "%s version %s\n" msgstr "%s version %s\n" #: ../bin/virt-sandbox.c:84 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1161 msgid "display version information" msgstr "mostrar información de versión" #: ../bin/virt-sandbox.c:86 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1163 msgid "display verbose information" msgstr "" #: ../bin/virt-sandbox.c:88 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1165 msgid "display debugging information" msgstr "" #: ../bin/virt-sandbox.c:90 msgid "connect to hypervisor" msgstr "conectar a hypervisor" #: ../bin/virt-sandbox.c:92 msgid "name of the sandbox" msgstr "" #: ../bin/virt-sandbox.c:94 msgid "root directory of the sandbox" msgstr "" #: ../bin/virt-sandbox.c:96 msgid "mount a filesystem in the guest" msgstr "" #: ../bin/virt-sandbox.c:98 msgid "file to copy into custom dir" msgstr "" #: ../bin/virt-sandbox.c:100 msgid "file contain list of files to include" msgstr "" #: ../bin/virt-sandbox.c:102 msgid "setup network interface properties" msgstr "" #: ../bin/virt-sandbox.c:104 msgid "security properties" msgstr "propiedades de seguridad" #: ../bin/virt-sandbox.c:106 msgid "run the command privileged" msgstr "" #: ../bin/virt-sandbox.c:108 msgid "start a shell" msgstr "" #: ../bin/virt-sandbox.c:110 msgid "kernel version" msgstr "" #: ../bin/virt-sandbox.c:112 msgid "kernel binary path" msgstr "" #: ../bin/virt-sandbox.c:114 msgid "kernel module directory" msgstr "" #: ../bin/virt-sandbox.c:119 msgid "" "Run 'virt-sandbox --help' to see a full list of available command line " "options" msgstr "" #: ../bin/virt-sandbox.c:129 msgid "Libvirt Sandbox" msgstr "" #: ../bin/virt-sandbox.c:131 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1189 msgid "- Libvirt Sandbox" msgstr "" #: ../bin/virt-sandbox.c:144 #, c-format msgid "" "\n" "Usage: %s [OPTIONS] COMMAND-PATH [ARGS...]\n" "\n" "%s\n" "\n" msgstr "" #: ../bin/virt-sandbox.c:160 ../bin/virt-sandbox-service-util.c:65 #, c-format msgid "Unable to open connection: %s\n" msgstr "" #: ../bin/virt-sandbox.c:161 ../bin/virt-sandbox.c:188 #: ../bin/virt-sandbox.c:194 ../bin/virt-sandbox.c:200 #: ../bin/virt-sandbox.c:206 ../bin/virt-sandbox.c:212 #: ../bin/virt-sandbox.c:227 ../bin/virt-sandbox.c:233 #: ../bin/virt-sandbox.c:240 ../bin/virt-sandbox.c:246 #: ../bin/virt-sandbox.c:254 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1247 msgid "Unknown failure" msgstr "Fallo desconocido" #: ../bin/virt-sandbox.c:187 #, c-format msgid "Unable to parse mounts: %s\n" msgstr "" #: ../bin/virt-sandbox.c:193 #, c-format msgid "Unable to parse includes: %s\n" msgstr "" #: ../bin/virt-sandbox.c:199 #, c-format msgid "Unable to parse include file: %s\n" msgstr "" #: ../bin/virt-sandbox.c:205 #, c-format msgid "Unable to parse networks: %s\n" msgstr "" #: ../bin/virt-sandbox.c:211 #, c-format msgid "Unable to parse security: %s\n" msgstr "" #: ../bin/virt-sandbox.c:226 #, c-format msgid "Unable to start sandbox: %s\n" msgstr "" #: ../bin/virt-sandbox.c:232 #, c-format msgid "Unable to get log console: %s\n" msgstr "" #: ../bin/virt-sandbox.c:239 ../bin/virt-sandbox.c:253 #, c-format msgid "Unable to attach sandbox console: %s\n" msgstr "" #: ../bin/virt-sandbox.c:245 #, c-format msgid "Unable to get app console: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:66 ../bin/virt-sandbox-service-util.c:72 #: ../bin/virt-sandbox-service-util.c:78 #: ../bin/virt-sandbox-service-util.c:104 #: ../bin/virt-sandbox-service-util.c:110 #: ../bin/virt-sandbox-service-util.c:120 #: ../bin/virt-sandbox-service-util.c:127 #: ../bin/virt-sandbox-service-util.c:159 #: ../bin/virt-sandbox-service-util.c:165 #: ../bin/virt-sandbox-service-util.c:175 #: ../bin/virt-sandbox-service-util.c:182 msgid "unknown" msgstr "desconocido" #: ../bin/virt-sandbox-service-util.c:71 #, c-format msgid "Unable to read config file %s: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:77 #, c-format msgid "Unable to create new context service: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:103 #, c-format msgid "Unable to start container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:109 #, c-format msgid "Unable to get log console for container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:119 #, c-format msgid "Unable to attach console to stderr in the container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:126 #: ../bin/virt-sandbox-service-util.c:181 #, c-format msgid "Unable to disconnect console from libvirt: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:158 #: ../bin/virt-sandbox-service-util.c:174 #, c-format msgid "Unable to attach to container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:164 #, c-format msgid "Unable to get shell console for container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:240 msgid "Display version information" msgstr "" #: ../bin/virt-sandbox-service-util.c:242 msgid "Start a container" msgstr "Iniciar un contenedor" #: ../bin/virt-sandbox-service-util.c:244 msgid "Attach to a container" msgstr "Agregar a un contenedor" #: ../bin/virt-sandbox-service-util.c:246 msgid "Pid of process in container to which the command will run" msgstr "" #: ../bin/virt-sandbox-service-util.c:248 msgid "Connect to hypervisor Default:'lxc:///'" msgstr "" #: ../bin/virt-sandbox-service-util.c:253 msgid "" "Run 'virt-sandbox-service-util --help' to see a full list of available " "command line options\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:263 msgid "- Libvirt Sandbox Service" msgstr "" #: ../bin/virt-sandbox-service-util.c:275 #, c-format msgid "" "Invalid command: You must specify --start or --attach\n" "%s" msgstr "" #: ../bin/virt-sandbox-service-util.c:281 #, c-format msgid "Invalid command CONTAINER_NAME required: %s" msgstr "" #: ../bin/virt-sandbox-service-util.c:288 msgid "Libvirt Sandbox Service" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-initrd.c:171 #, c-format msgid "Unable to create temporary directory %s: %s" msgstr "Incapaz de crear un directorio temporal %s: %s" #: ../libvirt-sandbox/libvirt-sandbox-builder-initrd.c:217 #, c-format msgid "Kernel module dir %s does not exist" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-initrd.c:275 #, c-format msgid "Unable to read entries in %s: %s" msgstr "Incapaz de leer entradas %s: %s" #: ../libvirt-sandbox/libvirt-sandbox-builder-initrd.c:306 #, c-format msgid "Unable to access %s: %s" msgstr "Incapaz de acceder %s: %s" #: ../libvirt-sandbox/libvirt-sandbox-builder-machine.c:446 #, c-format msgid "Kernel image %s does not exist" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:941 #, c-format msgid "Cannot request DHCP with static routes/addresses" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:963 #, c-format msgid "No assignment in filter parameter configuration" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:999 #, c-format msgid "Cannot set static addresses with DHCP" msgstr "No se pueden establecer direcciones estáticas con DHCP" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1019 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1028 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1082 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1090 #, c-format msgid "Unable to parse address %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1058 #, c-format msgid "Cannot set static routes with DHCP" msgstr "No se pueden establecer rutas con DHCP" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1076 #, c-format msgid "Missing gateway in route %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1110 #, c-format msgid "Unknown parameter %s" msgstr "Parámetro desconocido %s" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1121 #, c-format msgid "Cannot set static routes without addresses" msgstr "No se pueden establecer rutas sin direcciones" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1285 #, c-format msgid "No mount type prefix on %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1298 #, c-format msgid "Unknown mount type prefix on %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1311 #, c-format msgid "Missing mount source string on %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1411 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1476 #, c-format msgid "No mount with a prefix under %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1578 #, c-format msgid "Unable to get SELinux context of user: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1587 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1596 #, c-format msgid "Unknown security option '%s'" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1630 msgid "Missing mount target in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1635 msgid "Missing mount type in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1647 #, c-format msgid "Unknown mount type %s in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1654 msgid "Missing mount usage in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1663 msgid "Missing mount source in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:2150 msgid "Missing class name in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:2156 #, c-format msgid "Unknown type name '%s' in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:2163 #, c-format msgid "Type name '%s' in config file had wrong parent" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console.c:326 msgid "Unable to isolate console unless direct access flag is set" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:184 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:350 #, c-format msgid "Unable to query terminal attributes: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:201 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:367 #, c-format msgid "Unable to update terminal attributes: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:224 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:395 #, c-format msgid "Unable to restore terminal attributes: %s" msgstr "Incapaz de restaurar los atributos del terminal: %s" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:630 msgid "No devices found for domain" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:660 #, c-format msgid "No device %s found for domain" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:666 #, c-format msgid "Unable to open console %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:699 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:1110 msgid "Console is already attached to a stream" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:628 #, c-format msgid "Unexpected rpc status %u" msgstr "Estado rpc inesperado %u" #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:697 #, c-format msgid "Unexpected rpc proc %u" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:753 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:817 #, c-format msgid "Got rx in unexpected state %d" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:1167 msgid "ConsoleRpc is not attached to a stream" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-context.c:253 #: ../libvirt-sandbox/libvirt-sandbox-context.c:396 #, c-format msgid "Domain is not currently running" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-context.c:323 #: ../libvirt-sandbox/libvirt-sandbox-context.c:340 #: ../libvirt-sandbox/libvirt-sandbox-context.c:363 #, c-format msgid "Sandbox is not currently running" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1065 #, c-format msgid "libvirt-sandbox-init-common: unable to create signal pipe: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1084 #, c-format msgid "libvirt-sandbox-init-common: cannot open %s: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1141 #, c-format msgid "libvirt-sandbox-init-common: %s: cannot execute %s: %s\n" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1167 msgid "config file path" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1170 msgid "Run '" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1180 #, c-format msgid "%s: must be launched as root\n" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1187 msgid "Libvirt Sandbox Init Common" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1205 #, c-format msgid "%s: Unable to load config %s: %s\n" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1231 #, c-format msgid "Unsupported configuration type %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:69 msgid "Unable to decode message length" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:76 #, c-format msgid "packet %u bytes received from server too small, want %u" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:86 #, c-format msgid "packet %u bytes received from server too large, want %d" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:130 msgid "Unable to decode message header" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:174 #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:235 #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:303 #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:329 msgid "Unable to encode message length" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:180 msgid "Unable to encode message header" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:192 msgid "Unable to re-encode message length" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:222 msgid "Unable to encode message payload" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:265 msgid "Unable to decode message payload" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:290 #, c-format msgid "Raw data too long to send (%zu bytes needed, %zu bytes available)" msgstr "" libvirt-sandbox-0.5.1+git20160404/po/et.po000066400000000000000000000342251275305543100176250ustar00rootroot00000000000000# SOME DESCRIPTIVE TITLE. # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # # Translators: msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2015-02-18 14:55+0000\n" "PO-Revision-Date: 2013-04-08 06:10-0400\n" "Last-Translator: FULL NAME \n" "Language-Team: Estonian (http://www.transifex.com/projects/p/fedora/language/et/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Language: et\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" "X-Generator: Zanata 3.5.1\n" #: ../bin/virt-sandbox.c:48 ../bin/virt-sandbox-service-util.c:43 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1149 #, c-format msgid "%s version %s\n" msgstr "" #: ../bin/virt-sandbox.c:84 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1161 msgid "display version information" msgstr "" #: ../bin/virt-sandbox.c:86 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1163 msgid "display verbose information" msgstr "" #: ../bin/virt-sandbox.c:88 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1165 msgid "display debugging information" msgstr "" #: ../bin/virt-sandbox.c:90 msgid "connect to hypervisor" msgstr "" #: ../bin/virt-sandbox.c:92 msgid "name of the sandbox" msgstr "" #: ../bin/virt-sandbox.c:94 msgid "root directory of the sandbox" msgstr "" #: ../bin/virt-sandbox.c:96 msgid "mount a filesystem in the guest" msgstr "" #: ../bin/virt-sandbox.c:98 msgid "file to copy into custom dir" msgstr "" #: ../bin/virt-sandbox.c:100 msgid "file contain list of files to include" msgstr "" #: ../bin/virt-sandbox.c:102 msgid "setup network interface properties" msgstr "" #: ../bin/virt-sandbox.c:104 msgid "security properties" msgstr "" #: ../bin/virt-sandbox.c:106 msgid "run the command privileged" msgstr "" #: ../bin/virt-sandbox.c:108 msgid "start a shell" msgstr "" #: ../bin/virt-sandbox.c:110 msgid "kernel version" msgstr "" #: ../bin/virt-sandbox.c:112 msgid "kernel binary path" msgstr "" #: ../bin/virt-sandbox.c:114 msgid "kernel module directory" msgstr "" #: ../bin/virt-sandbox.c:119 msgid "" "Run 'virt-sandbox --help' to see a full list of available command line " "options" msgstr "" #: ../bin/virt-sandbox.c:129 msgid "Libvirt Sandbox" msgstr "" #: ../bin/virt-sandbox.c:131 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1189 msgid "- Libvirt Sandbox" msgstr "" #: ../bin/virt-sandbox.c:144 #, c-format msgid "" "\n" "Usage: %s [OPTIONS] COMMAND-PATH [ARGS...]\n" "\n" "%s\n" "\n" msgstr "" #: ../bin/virt-sandbox.c:160 ../bin/virt-sandbox-service-util.c:65 #, c-format msgid "Unable to open connection: %s\n" msgstr "" #: ../bin/virt-sandbox.c:161 ../bin/virt-sandbox.c:188 #: ../bin/virt-sandbox.c:194 ../bin/virt-sandbox.c:200 #: ../bin/virt-sandbox.c:206 ../bin/virt-sandbox.c:212 #: ../bin/virt-sandbox.c:227 ../bin/virt-sandbox.c:233 #: ../bin/virt-sandbox.c:240 ../bin/virt-sandbox.c:246 #: ../bin/virt-sandbox.c:254 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1247 msgid "Unknown failure" msgstr "" #: ../bin/virt-sandbox.c:187 #, c-format msgid "Unable to parse mounts: %s\n" msgstr "" #: ../bin/virt-sandbox.c:193 #, c-format msgid "Unable to parse includes: %s\n" msgstr "" #: ../bin/virt-sandbox.c:199 #, c-format msgid "Unable to parse include file: %s\n" msgstr "" #: ../bin/virt-sandbox.c:205 #, c-format msgid "Unable to parse networks: %s\n" msgstr "" #: ../bin/virt-sandbox.c:211 #, c-format msgid "Unable to parse security: %s\n" msgstr "" #: ../bin/virt-sandbox.c:226 #, c-format msgid "Unable to start sandbox: %s\n" msgstr "" #: ../bin/virt-sandbox.c:232 #, c-format msgid "Unable to get log console: %s\n" msgstr "" #: ../bin/virt-sandbox.c:239 ../bin/virt-sandbox.c:253 #, c-format msgid "Unable to attach sandbox console: %s\n" msgstr "" #: ../bin/virt-sandbox.c:245 #, c-format msgid "Unable to get app console: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:66 ../bin/virt-sandbox-service-util.c:72 #: ../bin/virt-sandbox-service-util.c:78 #: ../bin/virt-sandbox-service-util.c:104 #: ../bin/virt-sandbox-service-util.c:110 #: ../bin/virt-sandbox-service-util.c:120 #: ../bin/virt-sandbox-service-util.c:127 #: ../bin/virt-sandbox-service-util.c:159 #: ../bin/virt-sandbox-service-util.c:165 #: ../bin/virt-sandbox-service-util.c:175 #: ../bin/virt-sandbox-service-util.c:182 msgid "unknown" msgstr "" #: ../bin/virt-sandbox-service-util.c:71 #, c-format msgid "Unable to read config file %s: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:77 #, c-format msgid "Unable to create new context service: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:103 #, c-format msgid "Unable to start container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:109 #, c-format msgid "Unable to get log console for container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:119 #, c-format msgid "Unable to attach console to stderr in the container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:126 #: ../bin/virt-sandbox-service-util.c:181 #, c-format msgid "Unable to disconnect console from libvirt: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:158 #: ../bin/virt-sandbox-service-util.c:174 #, c-format msgid "Unable to attach to container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:164 #, c-format msgid "Unable to get shell console for container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:240 msgid "Display version information" msgstr "" #: ../bin/virt-sandbox-service-util.c:242 msgid "Start a container" msgstr "" #: ../bin/virt-sandbox-service-util.c:244 msgid "Attach to a container" msgstr "" #: ../bin/virt-sandbox-service-util.c:246 msgid "Pid of process in container to which the command will run" msgstr "" #: ../bin/virt-sandbox-service-util.c:248 msgid "Connect to hypervisor Default:'lxc:///'" msgstr "" #: ../bin/virt-sandbox-service-util.c:253 msgid "" "Run 'virt-sandbox-service-util --help' to see a full list of available " "command line options\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:263 msgid "- Libvirt Sandbox Service" msgstr "" #: ../bin/virt-sandbox-service-util.c:275 #, c-format msgid "" "Invalid command: You must specify --start or --attach\n" "%s" msgstr "" #: ../bin/virt-sandbox-service-util.c:281 #, c-format msgid "Invalid command CONTAINER_NAME required: %s" msgstr "" #: ../bin/virt-sandbox-service-util.c:288 msgid "Libvirt Sandbox Service" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-initrd.c:171 #, c-format msgid "Unable to create temporary directory %s: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-initrd.c:217 #, c-format msgid "Kernel module dir %s does not exist" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-initrd.c:275 #, c-format msgid "Unable to read entries in %s: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-initrd.c:306 #, c-format msgid "Unable to access %s: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-machine.c:446 #, c-format msgid "Kernel image %s does not exist" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:941 #, c-format msgid "Cannot request DHCP with static routes/addresses" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:963 #, c-format msgid "No assignment in filter parameter configuration" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:999 #, c-format msgid "Cannot set static addresses with DHCP" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1019 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1028 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1082 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1090 #, c-format msgid "Unable to parse address %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1058 #, c-format msgid "Cannot set static routes with DHCP" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1076 #, c-format msgid "Missing gateway in route %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1110 #, c-format msgid "Unknown parameter %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1121 #, c-format msgid "Cannot set static routes without addresses" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1285 #, c-format msgid "No mount type prefix on %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1298 #, c-format msgid "Unknown mount type prefix on %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1311 #, c-format msgid "Missing mount source string on %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1411 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1476 #, c-format msgid "No mount with a prefix under %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1578 #, c-format msgid "Unable to get SELinux context of user: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1587 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1596 #, c-format msgid "Unknown security option '%s'" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1630 msgid "Missing mount target in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1635 msgid "Missing mount type in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1647 #, c-format msgid "Unknown mount type %s in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1654 msgid "Missing mount usage in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1663 msgid "Missing mount source in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:2150 msgid "Missing class name in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:2156 #, c-format msgid "Unknown type name '%s' in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:2163 #, c-format msgid "Type name '%s' in config file had wrong parent" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console.c:326 msgid "Unable to isolate console unless direct access flag is set" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:184 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:350 #, c-format msgid "Unable to query terminal attributes: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:201 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:367 #, c-format msgid "Unable to update terminal attributes: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:224 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:395 #, c-format msgid "Unable to restore terminal attributes: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:630 msgid "No devices found for domain" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:660 #, c-format msgid "No device %s found for domain" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:666 #, c-format msgid "Unable to open console %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:699 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:1110 msgid "Console is already attached to a stream" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:628 #, c-format msgid "Unexpected rpc status %u" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:697 #, c-format msgid "Unexpected rpc proc %u" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:753 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:817 #, c-format msgid "Got rx in unexpected state %d" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:1167 msgid "ConsoleRpc is not attached to a stream" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-context.c:253 #: ../libvirt-sandbox/libvirt-sandbox-context.c:396 #, c-format msgid "Domain is not currently running" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-context.c:323 #: ../libvirt-sandbox/libvirt-sandbox-context.c:340 #: ../libvirt-sandbox/libvirt-sandbox-context.c:363 #, c-format msgid "Sandbox is not currently running" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1065 #, c-format msgid "libvirt-sandbox-init-common: unable to create signal pipe: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1084 #, c-format msgid "libvirt-sandbox-init-common: cannot open %s: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1141 #, c-format msgid "libvirt-sandbox-init-common: %s: cannot execute %s: %s\n" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1167 msgid "config file path" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1170 msgid "Run '" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1180 #, c-format msgid "%s: must be launched as root\n" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1187 msgid "Libvirt Sandbox Init Common" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1205 #, c-format msgid "%s: Unable to load config %s: %s\n" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1231 #, c-format msgid "Unsupported configuration type %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:69 msgid "Unable to decode message length" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:76 #, c-format msgid "packet %u bytes received from server too small, want %u" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:86 #, c-format msgid "packet %u bytes received from server too large, want %d" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:130 msgid "Unable to decode message header" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:174 #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:235 #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:303 #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:329 msgid "Unable to encode message length" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:180 msgid "Unable to encode message header" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:192 msgid "Unable to re-encode message length" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:222 msgid "Unable to encode message payload" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:265 msgid "Unable to decode message payload" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:290 #, c-format msgid "Raw data too long to send (%zu bytes needed, %zu bytes available)" msgstr "" libvirt-sandbox-0.5.1+git20160404/po/eu.po000066400000000000000000000342231275305543100176240ustar00rootroot00000000000000# SOME DESCRIPTIVE TITLE. # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # # Translators: msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2015-02-18 14:55+0000\n" "PO-Revision-Date: 2013-04-08 06:10-0400\n" "Last-Translator: FULL NAME \n" "Language-Team: Basque (http://www.transifex.com/projects/p/fedora/language/eu/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Language: eu\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" "X-Generator: Zanata 3.5.1\n" #: ../bin/virt-sandbox.c:48 ../bin/virt-sandbox-service-util.c:43 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1149 #, c-format msgid "%s version %s\n" msgstr "" #: ../bin/virt-sandbox.c:84 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1161 msgid "display version information" msgstr "" #: ../bin/virt-sandbox.c:86 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1163 msgid "display verbose information" msgstr "" #: ../bin/virt-sandbox.c:88 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1165 msgid "display debugging information" msgstr "" #: ../bin/virt-sandbox.c:90 msgid "connect to hypervisor" msgstr "" #: ../bin/virt-sandbox.c:92 msgid "name of the sandbox" msgstr "" #: ../bin/virt-sandbox.c:94 msgid "root directory of the sandbox" msgstr "" #: ../bin/virt-sandbox.c:96 msgid "mount a filesystem in the guest" msgstr "" #: ../bin/virt-sandbox.c:98 msgid "file to copy into custom dir" msgstr "" #: ../bin/virt-sandbox.c:100 msgid "file contain list of files to include" msgstr "" #: ../bin/virt-sandbox.c:102 msgid "setup network interface properties" msgstr "" #: ../bin/virt-sandbox.c:104 msgid "security properties" msgstr "" #: ../bin/virt-sandbox.c:106 msgid "run the command privileged" msgstr "" #: ../bin/virt-sandbox.c:108 msgid "start a shell" msgstr "" #: ../bin/virt-sandbox.c:110 msgid "kernel version" msgstr "" #: ../bin/virt-sandbox.c:112 msgid "kernel binary path" msgstr "" #: ../bin/virt-sandbox.c:114 msgid "kernel module directory" msgstr "" #: ../bin/virt-sandbox.c:119 msgid "" "Run 'virt-sandbox --help' to see a full list of available command line " "options" msgstr "" #: ../bin/virt-sandbox.c:129 msgid "Libvirt Sandbox" msgstr "" #: ../bin/virt-sandbox.c:131 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1189 msgid "- Libvirt Sandbox" msgstr "" #: ../bin/virt-sandbox.c:144 #, c-format msgid "" "\n" "Usage: %s [OPTIONS] COMMAND-PATH [ARGS...]\n" "\n" "%s\n" "\n" msgstr "" #: ../bin/virt-sandbox.c:160 ../bin/virt-sandbox-service-util.c:65 #, c-format msgid "Unable to open connection: %s\n" msgstr "" #: ../bin/virt-sandbox.c:161 ../bin/virt-sandbox.c:188 #: ../bin/virt-sandbox.c:194 ../bin/virt-sandbox.c:200 #: ../bin/virt-sandbox.c:206 ../bin/virt-sandbox.c:212 #: ../bin/virt-sandbox.c:227 ../bin/virt-sandbox.c:233 #: ../bin/virt-sandbox.c:240 ../bin/virt-sandbox.c:246 #: ../bin/virt-sandbox.c:254 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1247 msgid "Unknown failure" msgstr "" #: ../bin/virt-sandbox.c:187 #, c-format msgid "Unable to parse mounts: %s\n" msgstr "" #: ../bin/virt-sandbox.c:193 #, c-format msgid "Unable to parse includes: %s\n" msgstr "" #: ../bin/virt-sandbox.c:199 #, c-format msgid "Unable to parse include file: %s\n" msgstr "" #: ../bin/virt-sandbox.c:205 #, c-format msgid "Unable to parse networks: %s\n" msgstr "" #: ../bin/virt-sandbox.c:211 #, c-format msgid "Unable to parse security: %s\n" msgstr "" #: ../bin/virt-sandbox.c:226 #, c-format msgid "Unable to start sandbox: %s\n" msgstr "" #: ../bin/virt-sandbox.c:232 #, c-format msgid "Unable to get log console: %s\n" msgstr "" #: ../bin/virt-sandbox.c:239 ../bin/virt-sandbox.c:253 #, c-format msgid "Unable to attach sandbox console: %s\n" msgstr "" #: ../bin/virt-sandbox.c:245 #, c-format msgid "Unable to get app console: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:66 ../bin/virt-sandbox-service-util.c:72 #: ../bin/virt-sandbox-service-util.c:78 #: ../bin/virt-sandbox-service-util.c:104 #: ../bin/virt-sandbox-service-util.c:110 #: ../bin/virt-sandbox-service-util.c:120 #: ../bin/virt-sandbox-service-util.c:127 #: ../bin/virt-sandbox-service-util.c:159 #: ../bin/virt-sandbox-service-util.c:165 #: ../bin/virt-sandbox-service-util.c:175 #: ../bin/virt-sandbox-service-util.c:182 msgid "unknown" msgstr "" #: ../bin/virt-sandbox-service-util.c:71 #, c-format msgid "Unable to read config file %s: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:77 #, c-format msgid "Unable to create new context service: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:103 #, c-format msgid "Unable to start container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:109 #, c-format msgid "Unable to get log console for container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:119 #, c-format msgid "Unable to attach console to stderr in the container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:126 #: ../bin/virt-sandbox-service-util.c:181 #, c-format msgid "Unable to disconnect console from libvirt: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:158 #: ../bin/virt-sandbox-service-util.c:174 #, c-format msgid "Unable to attach to container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:164 #, c-format msgid "Unable to get shell console for container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:240 msgid "Display version information" msgstr "" #: ../bin/virt-sandbox-service-util.c:242 msgid "Start a container" msgstr "" #: ../bin/virt-sandbox-service-util.c:244 msgid "Attach to a container" msgstr "" #: ../bin/virt-sandbox-service-util.c:246 msgid "Pid of process in container to which the command will run" msgstr "" #: ../bin/virt-sandbox-service-util.c:248 msgid "Connect to hypervisor Default:'lxc:///'" msgstr "" #: ../bin/virt-sandbox-service-util.c:253 msgid "" "Run 'virt-sandbox-service-util --help' to see a full list of available " "command line options\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:263 msgid "- Libvirt Sandbox Service" msgstr "" #: ../bin/virt-sandbox-service-util.c:275 #, c-format msgid "" "Invalid command: You must specify --start or --attach\n" "%s" msgstr "" #: ../bin/virt-sandbox-service-util.c:281 #, c-format msgid "Invalid command CONTAINER_NAME required: %s" msgstr "" #: ../bin/virt-sandbox-service-util.c:288 msgid "Libvirt Sandbox Service" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-initrd.c:171 #, c-format msgid "Unable to create temporary directory %s: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-initrd.c:217 #, c-format msgid "Kernel module dir %s does not exist" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-initrd.c:275 #, c-format msgid "Unable to read entries in %s: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-initrd.c:306 #, c-format msgid "Unable to access %s: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-machine.c:446 #, c-format msgid "Kernel image %s does not exist" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:941 #, c-format msgid "Cannot request DHCP with static routes/addresses" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:963 #, c-format msgid "No assignment in filter parameter configuration" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:999 #, c-format msgid "Cannot set static addresses with DHCP" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1019 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1028 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1082 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1090 #, c-format msgid "Unable to parse address %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1058 #, c-format msgid "Cannot set static routes with DHCP" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1076 #, c-format msgid "Missing gateway in route %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1110 #, c-format msgid "Unknown parameter %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1121 #, c-format msgid "Cannot set static routes without addresses" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1285 #, c-format msgid "No mount type prefix on %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1298 #, c-format msgid "Unknown mount type prefix on %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1311 #, c-format msgid "Missing mount source string on %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1411 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1476 #, c-format msgid "No mount with a prefix under %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1578 #, c-format msgid "Unable to get SELinux context of user: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1587 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1596 #, c-format msgid "Unknown security option '%s'" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1630 msgid "Missing mount target in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1635 msgid "Missing mount type in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1647 #, c-format msgid "Unknown mount type %s in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1654 msgid "Missing mount usage in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1663 msgid "Missing mount source in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:2150 msgid "Missing class name in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:2156 #, c-format msgid "Unknown type name '%s' in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:2163 #, c-format msgid "Type name '%s' in config file had wrong parent" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console.c:326 msgid "Unable to isolate console unless direct access flag is set" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:184 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:350 #, c-format msgid "Unable to query terminal attributes: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:201 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:367 #, c-format msgid "Unable to update terminal attributes: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:224 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:395 #, c-format msgid "Unable to restore terminal attributes: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:630 msgid "No devices found for domain" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:660 #, c-format msgid "No device %s found for domain" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:666 #, c-format msgid "Unable to open console %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:699 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:1110 msgid "Console is already attached to a stream" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:628 #, c-format msgid "Unexpected rpc status %u" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:697 #, c-format msgid "Unexpected rpc proc %u" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:753 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:817 #, c-format msgid "Got rx in unexpected state %d" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:1167 msgid "ConsoleRpc is not attached to a stream" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-context.c:253 #: ../libvirt-sandbox/libvirt-sandbox-context.c:396 #, c-format msgid "Domain is not currently running" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-context.c:323 #: ../libvirt-sandbox/libvirt-sandbox-context.c:340 #: ../libvirt-sandbox/libvirt-sandbox-context.c:363 #, c-format msgid "Sandbox is not currently running" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1065 #, c-format msgid "libvirt-sandbox-init-common: unable to create signal pipe: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1084 #, c-format msgid "libvirt-sandbox-init-common: cannot open %s: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1141 #, c-format msgid "libvirt-sandbox-init-common: %s: cannot execute %s: %s\n" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1167 msgid "config file path" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1170 msgid "Run '" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1180 #, c-format msgid "%s: must be launched as root\n" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1187 msgid "Libvirt Sandbox Init Common" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1205 #, c-format msgid "%s: Unable to load config %s: %s\n" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1231 #, c-format msgid "Unsupported configuration type %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:69 msgid "Unable to decode message length" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:76 #, c-format msgid "packet %u bytes received from server too small, want %u" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:86 #, c-format msgid "packet %u bytes received from server too large, want %d" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:130 msgid "Unable to decode message header" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:174 #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:235 #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:303 #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:329 msgid "Unable to encode message length" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:180 msgid "Unable to encode message header" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:192 msgid "Unable to re-encode message length" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:222 msgid "Unable to encode message payload" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:265 msgid "Unable to decode message payload" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:290 #, c-format msgid "Raw data too long to send (%zu bytes needed, %zu bytes available)" msgstr "" libvirt-sandbox-0.5.1+git20160404/po/fa.po000066400000000000000000000342151275305543100176020ustar00rootroot00000000000000# SOME DESCRIPTIVE TITLE. # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # # Translators: msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2015-02-18 14:55+0000\n" "PO-Revision-Date: 2013-04-08 06:10-0400\n" "Last-Translator: FULL NAME \n" "Language-Team: Persian (http://www.transifex.com/projects/p/fedora/language/fa/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Language: fa\n" "Plural-Forms: nplurals=1; plural=0;\n" "X-Generator: Zanata 3.5.1\n" #: ../bin/virt-sandbox.c:48 ../bin/virt-sandbox-service-util.c:43 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1149 #, c-format msgid "%s version %s\n" msgstr "" #: ../bin/virt-sandbox.c:84 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1161 msgid "display version information" msgstr "" #: ../bin/virt-sandbox.c:86 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1163 msgid "display verbose information" msgstr "" #: ../bin/virt-sandbox.c:88 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1165 msgid "display debugging information" msgstr "" #: ../bin/virt-sandbox.c:90 msgid "connect to hypervisor" msgstr "" #: ../bin/virt-sandbox.c:92 msgid "name of the sandbox" msgstr "" #: ../bin/virt-sandbox.c:94 msgid "root directory of the sandbox" msgstr "" #: ../bin/virt-sandbox.c:96 msgid "mount a filesystem in the guest" msgstr "" #: ../bin/virt-sandbox.c:98 msgid "file to copy into custom dir" msgstr "" #: ../bin/virt-sandbox.c:100 msgid "file contain list of files to include" msgstr "" #: ../bin/virt-sandbox.c:102 msgid "setup network interface properties" msgstr "" #: ../bin/virt-sandbox.c:104 msgid "security properties" msgstr "" #: ../bin/virt-sandbox.c:106 msgid "run the command privileged" msgstr "" #: ../bin/virt-sandbox.c:108 msgid "start a shell" msgstr "" #: ../bin/virt-sandbox.c:110 msgid "kernel version" msgstr "" #: ../bin/virt-sandbox.c:112 msgid "kernel binary path" msgstr "" #: ../bin/virt-sandbox.c:114 msgid "kernel module directory" msgstr "" #: ../bin/virt-sandbox.c:119 msgid "" "Run 'virt-sandbox --help' to see a full list of available command line " "options" msgstr "" #: ../bin/virt-sandbox.c:129 msgid "Libvirt Sandbox" msgstr "" #: ../bin/virt-sandbox.c:131 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1189 msgid "- Libvirt Sandbox" msgstr "" #: ../bin/virt-sandbox.c:144 #, c-format msgid "" "\n" "Usage: %s [OPTIONS] COMMAND-PATH [ARGS...]\n" "\n" "%s\n" "\n" msgstr "" #: ../bin/virt-sandbox.c:160 ../bin/virt-sandbox-service-util.c:65 #, c-format msgid "Unable to open connection: %s\n" msgstr "" #: ../bin/virt-sandbox.c:161 ../bin/virt-sandbox.c:188 #: ../bin/virt-sandbox.c:194 ../bin/virt-sandbox.c:200 #: ../bin/virt-sandbox.c:206 ../bin/virt-sandbox.c:212 #: ../bin/virt-sandbox.c:227 ../bin/virt-sandbox.c:233 #: ../bin/virt-sandbox.c:240 ../bin/virt-sandbox.c:246 #: ../bin/virt-sandbox.c:254 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1247 msgid "Unknown failure" msgstr "" #: ../bin/virt-sandbox.c:187 #, c-format msgid "Unable to parse mounts: %s\n" msgstr "" #: ../bin/virt-sandbox.c:193 #, c-format msgid "Unable to parse includes: %s\n" msgstr "" #: ../bin/virt-sandbox.c:199 #, c-format msgid "Unable to parse include file: %s\n" msgstr "" #: ../bin/virt-sandbox.c:205 #, c-format msgid "Unable to parse networks: %s\n" msgstr "" #: ../bin/virt-sandbox.c:211 #, c-format msgid "Unable to parse security: %s\n" msgstr "" #: ../bin/virt-sandbox.c:226 #, c-format msgid "Unable to start sandbox: %s\n" msgstr "" #: ../bin/virt-sandbox.c:232 #, c-format msgid "Unable to get log console: %s\n" msgstr "" #: ../bin/virt-sandbox.c:239 ../bin/virt-sandbox.c:253 #, c-format msgid "Unable to attach sandbox console: %s\n" msgstr "" #: ../bin/virt-sandbox.c:245 #, c-format msgid "Unable to get app console: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:66 ../bin/virt-sandbox-service-util.c:72 #: ../bin/virt-sandbox-service-util.c:78 #: ../bin/virt-sandbox-service-util.c:104 #: ../bin/virt-sandbox-service-util.c:110 #: ../bin/virt-sandbox-service-util.c:120 #: ../bin/virt-sandbox-service-util.c:127 #: ../bin/virt-sandbox-service-util.c:159 #: ../bin/virt-sandbox-service-util.c:165 #: ../bin/virt-sandbox-service-util.c:175 #: ../bin/virt-sandbox-service-util.c:182 msgid "unknown" msgstr "" #: ../bin/virt-sandbox-service-util.c:71 #, c-format msgid "Unable to read config file %s: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:77 #, c-format msgid "Unable to create new context service: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:103 #, c-format msgid "Unable to start container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:109 #, c-format msgid "Unable to get log console for container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:119 #, c-format msgid "Unable to attach console to stderr in the container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:126 #: ../bin/virt-sandbox-service-util.c:181 #, c-format msgid "Unable to disconnect console from libvirt: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:158 #: ../bin/virt-sandbox-service-util.c:174 #, c-format msgid "Unable to attach to container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:164 #, c-format msgid "Unable to get shell console for container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:240 msgid "Display version information" msgstr "" #: ../bin/virt-sandbox-service-util.c:242 msgid "Start a container" msgstr "" #: ../bin/virt-sandbox-service-util.c:244 msgid "Attach to a container" msgstr "" #: ../bin/virt-sandbox-service-util.c:246 msgid "Pid of process in container to which the command will run" msgstr "" #: ../bin/virt-sandbox-service-util.c:248 msgid "Connect to hypervisor Default:'lxc:///'" msgstr "" #: ../bin/virt-sandbox-service-util.c:253 msgid "" "Run 'virt-sandbox-service-util --help' to see a full list of available " "command line options\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:263 msgid "- Libvirt Sandbox Service" msgstr "" #: ../bin/virt-sandbox-service-util.c:275 #, c-format msgid "" "Invalid command: You must specify --start or --attach\n" "%s" msgstr "" #: ../bin/virt-sandbox-service-util.c:281 #, c-format msgid "Invalid command CONTAINER_NAME required: %s" msgstr "" #: ../bin/virt-sandbox-service-util.c:288 msgid "Libvirt Sandbox Service" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-initrd.c:171 #, c-format msgid "Unable to create temporary directory %s: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-initrd.c:217 #, c-format msgid "Kernel module dir %s does not exist" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-initrd.c:275 #, c-format msgid "Unable to read entries in %s: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-initrd.c:306 #, c-format msgid "Unable to access %s: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-machine.c:446 #, c-format msgid "Kernel image %s does not exist" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:941 #, c-format msgid "Cannot request DHCP with static routes/addresses" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:963 #, c-format msgid "No assignment in filter parameter configuration" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:999 #, c-format msgid "Cannot set static addresses with DHCP" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1019 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1028 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1082 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1090 #, c-format msgid "Unable to parse address %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1058 #, c-format msgid "Cannot set static routes with DHCP" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1076 #, c-format msgid "Missing gateway in route %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1110 #, c-format msgid "Unknown parameter %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1121 #, c-format msgid "Cannot set static routes without addresses" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1285 #, c-format msgid "No mount type prefix on %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1298 #, c-format msgid "Unknown mount type prefix on %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1311 #, c-format msgid "Missing mount source string on %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1411 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1476 #, c-format msgid "No mount with a prefix under %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1578 #, c-format msgid "Unable to get SELinux context of user: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1587 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1596 #, c-format msgid "Unknown security option '%s'" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1630 msgid "Missing mount target in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1635 msgid "Missing mount type in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1647 #, c-format msgid "Unknown mount type %s in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1654 msgid "Missing mount usage in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1663 msgid "Missing mount source in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:2150 msgid "Missing class name in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:2156 #, c-format msgid "Unknown type name '%s' in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:2163 #, c-format msgid "Type name '%s' in config file had wrong parent" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console.c:326 msgid "Unable to isolate console unless direct access flag is set" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:184 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:350 #, c-format msgid "Unable to query terminal attributes: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:201 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:367 #, c-format msgid "Unable to update terminal attributes: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:224 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:395 #, c-format msgid "Unable to restore terminal attributes: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:630 msgid "No devices found for domain" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:660 #, c-format msgid "No device %s found for domain" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:666 #, c-format msgid "Unable to open console %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:699 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:1110 msgid "Console is already attached to a stream" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:628 #, c-format msgid "Unexpected rpc status %u" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:697 #, c-format msgid "Unexpected rpc proc %u" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:753 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:817 #, c-format msgid "Got rx in unexpected state %d" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:1167 msgid "ConsoleRpc is not attached to a stream" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-context.c:253 #: ../libvirt-sandbox/libvirt-sandbox-context.c:396 #, c-format msgid "Domain is not currently running" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-context.c:323 #: ../libvirt-sandbox/libvirt-sandbox-context.c:340 #: ../libvirt-sandbox/libvirt-sandbox-context.c:363 #, c-format msgid "Sandbox is not currently running" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1065 #, c-format msgid "libvirt-sandbox-init-common: unable to create signal pipe: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1084 #, c-format msgid "libvirt-sandbox-init-common: cannot open %s: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1141 #, c-format msgid "libvirt-sandbox-init-common: %s: cannot execute %s: %s\n" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1167 msgid "config file path" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1170 msgid "Run '" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1180 #, c-format msgid "%s: must be launched as root\n" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1187 msgid "Libvirt Sandbox Init Common" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1205 #, c-format msgid "%s: Unable to load config %s: %s\n" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1231 #, c-format msgid "Unsupported configuration type %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:69 msgid "Unable to decode message length" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:76 #, c-format msgid "packet %u bytes received from server too small, want %u" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:86 #, c-format msgid "packet %u bytes received from server too large, want %d" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:130 msgid "Unable to decode message header" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:174 #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:235 #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:303 #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:329 msgid "Unable to encode message length" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:180 msgid "Unable to encode message header" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:192 msgid "Unable to re-encode message length" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:222 msgid "Unable to encode message payload" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:265 msgid "Unable to decode message payload" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:290 #, c-format msgid "Raw data too long to send (%zu bytes needed, %zu bytes available)" msgstr "" libvirt-sandbox-0.5.1+git20160404/po/fi.po000066400000000000000000000342241275305543100176120ustar00rootroot00000000000000# SOME DESCRIPTIVE TITLE. # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # # Translators: msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2015-02-18 14:55+0000\n" "PO-Revision-Date: 2013-04-08 06:10-0400\n" "Last-Translator: FULL NAME \n" "Language-Team: Finnish (http://www.transifex.com/projects/p/fedora/language/fi/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Language: fi\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" "X-Generator: Zanata 3.5.1\n" #: ../bin/virt-sandbox.c:48 ../bin/virt-sandbox-service-util.c:43 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1149 #, c-format msgid "%s version %s\n" msgstr "" #: ../bin/virt-sandbox.c:84 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1161 msgid "display version information" msgstr "" #: ../bin/virt-sandbox.c:86 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1163 msgid "display verbose information" msgstr "" #: ../bin/virt-sandbox.c:88 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1165 msgid "display debugging information" msgstr "" #: ../bin/virt-sandbox.c:90 msgid "connect to hypervisor" msgstr "" #: ../bin/virt-sandbox.c:92 msgid "name of the sandbox" msgstr "" #: ../bin/virt-sandbox.c:94 msgid "root directory of the sandbox" msgstr "" #: ../bin/virt-sandbox.c:96 msgid "mount a filesystem in the guest" msgstr "" #: ../bin/virt-sandbox.c:98 msgid "file to copy into custom dir" msgstr "" #: ../bin/virt-sandbox.c:100 msgid "file contain list of files to include" msgstr "" #: ../bin/virt-sandbox.c:102 msgid "setup network interface properties" msgstr "" #: ../bin/virt-sandbox.c:104 msgid "security properties" msgstr "" #: ../bin/virt-sandbox.c:106 msgid "run the command privileged" msgstr "" #: ../bin/virt-sandbox.c:108 msgid "start a shell" msgstr "" #: ../bin/virt-sandbox.c:110 msgid "kernel version" msgstr "" #: ../bin/virt-sandbox.c:112 msgid "kernel binary path" msgstr "" #: ../bin/virt-sandbox.c:114 msgid "kernel module directory" msgstr "" #: ../bin/virt-sandbox.c:119 msgid "" "Run 'virt-sandbox --help' to see a full list of available command line " "options" msgstr "" #: ../bin/virt-sandbox.c:129 msgid "Libvirt Sandbox" msgstr "" #: ../bin/virt-sandbox.c:131 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1189 msgid "- Libvirt Sandbox" msgstr "" #: ../bin/virt-sandbox.c:144 #, c-format msgid "" "\n" "Usage: %s [OPTIONS] COMMAND-PATH [ARGS...]\n" "\n" "%s\n" "\n" msgstr "" #: ../bin/virt-sandbox.c:160 ../bin/virt-sandbox-service-util.c:65 #, c-format msgid "Unable to open connection: %s\n" msgstr "" #: ../bin/virt-sandbox.c:161 ../bin/virt-sandbox.c:188 #: ../bin/virt-sandbox.c:194 ../bin/virt-sandbox.c:200 #: ../bin/virt-sandbox.c:206 ../bin/virt-sandbox.c:212 #: ../bin/virt-sandbox.c:227 ../bin/virt-sandbox.c:233 #: ../bin/virt-sandbox.c:240 ../bin/virt-sandbox.c:246 #: ../bin/virt-sandbox.c:254 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1247 msgid "Unknown failure" msgstr "" #: ../bin/virt-sandbox.c:187 #, c-format msgid "Unable to parse mounts: %s\n" msgstr "" #: ../bin/virt-sandbox.c:193 #, c-format msgid "Unable to parse includes: %s\n" msgstr "" #: ../bin/virt-sandbox.c:199 #, c-format msgid "Unable to parse include file: %s\n" msgstr "" #: ../bin/virt-sandbox.c:205 #, c-format msgid "Unable to parse networks: %s\n" msgstr "" #: ../bin/virt-sandbox.c:211 #, c-format msgid "Unable to parse security: %s\n" msgstr "" #: ../bin/virt-sandbox.c:226 #, c-format msgid "Unable to start sandbox: %s\n" msgstr "" #: ../bin/virt-sandbox.c:232 #, c-format msgid "Unable to get log console: %s\n" msgstr "" #: ../bin/virt-sandbox.c:239 ../bin/virt-sandbox.c:253 #, c-format msgid "Unable to attach sandbox console: %s\n" msgstr "" #: ../bin/virt-sandbox.c:245 #, c-format msgid "Unable to get app console: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:66 ../bin/virt-sandbox-service-util.c:72 #: ../bin/virt-sandbox-service-util.c:78 #: ../bin/virt-sandbox-service-util.c:104 #: ../bin/virt-sandbox-service-util.c:110 #: ../bin/virt-sandbox-service-util.c:120 #: ../bin/virt-sandbox-service-util.c:127 #: ../bin/virt-sandbox-service-util.c:159 #: ../bin/virt-sandbox-service-util.c:165 #: ../bin/virt-sandbox-service-util.c:175 #: ../bin/virt-sandbox-service-util.c:182 msgid "unknown" msgstr "" #: ../bin/virt-sandbox-service-util.c:71 #, c-format msgid "Unable to read config file %s: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:77 #, c-format msgid "Unable to create new context service: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:103 #, c-format msgid "Unable to start container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:109 #, c-format msgid "Unable to get log console for container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:119 #, c-format msgid "Unable to attach console to stderr in the container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:126 #: ../bin/virt-sandbox-service-util.c:181 #, c-format msgid "Unable to disconnect console from libvirt: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:158 #: ../bin/virt-sandbox-service-util.c:174 #, c-format msgid "Unable to attach to container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:164 #, c-format msgid "Unable to get shell console for container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:240 msgid "Display version information" msgstr "" #: ../bin/virt-sandbox-service-util.c:242 msgid "Start a container" msgstr "" #: ../bin/virt-sandbox-service-util.c:244 msgid "Attach to a container" msgstr "" #: ../bin/virt-sandbox-service-util.c:246 msgid "Pid of process in container to which the command will run" msgstr "" #: ../bin/virt-sandbox-service-util.c:248 msgid "Connect to hypervisor Default:'lxc:///'" msgstr "" #: ../bin/virt-sandbox-service-util.c:253 msgid "" "Run 'virt-sandbox-service-util --help' to see a full list of available " "command line options\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:263 msgid "- Libvirt Sandbox Service" msgstr "" #: ../bin/virt-sandbox-service-util.c:275 #, c-format msgid "" "Invalid command: You must specify --start or --attach\n" "%s" msgstr "" #: ../bin/virt-sandbox-service-util.c:281 #, c-format msgid "Invalid command CONTAINER_NAME required: %s" msgstr "" #: ../bin/virt-sandbox-service-util.c:288 msgid "Libvirt Sandbox Service" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-initrd.c:171 #, c-format msgid "Unable to create temporary directory %s: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-initrd.c:217 #, c-format msgid "Kernel module dir %s does not exist" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-initrd.c:275 #, c-format msgid "Unable to read entries in %s: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-initrd.c:306 #, c-format msgid "Unable to access %s: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-machine.c:446 #, c-format msgid "Kernel image %s does not exist" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:941 #, c-format msgid "Cannot request DHCP with static routes/addresses" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:963 #, c-format msgid "No assignment in filter parameter configuration" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:999 #, c-format msgid "Cannot set static addresses with DHCP" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1019 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1028 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1082 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1090 #, c-format msgid "Unable to parse address %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1058 #, c-format msgid "Cannot set static routes with DHCP" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1076 #, c-format msgid "Missing gateway in route %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1110 #, c-format msgid "Unknown parameter %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1121 #, c-format msgid "Cannot set static routes without addresses" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1285 #, c-format msgid "No mount type prefix on %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1298 #, c-format msgid "Unknown mount type prefix on %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1311 #, c-format msgid "Missing mount source string on %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1411 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1476 #, c-format msgid "No mount with a prefix under %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1578 #, c-format msgid "Unable to get SELinux context of user: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1587 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1596 #, c-format msgid "Unknown security option '%s'" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1630 msgid "Missing mount target in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1635 msgid "Missing mount type in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1647 #, c-format msgid "Unknown mount type %s in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1654 msgid "Missing mount usage in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1663 msgid "Missing mount source in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:2150 msgid "Missing class name in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:2156 #, c-format msgid "Unknown type name '%s' in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:2163 #, c-format msgid "Type name '%s' in config file had wrong parent" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console.c:326 msgid "Unable to isolate console unless direct access flag is set" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:184 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:350 #, c-format msgid "Unable to query terminal attributes: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:201 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:367 #, c-format msgid "Unable to update terminal attributes: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:224 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:395 #, c-format msgid "Unable to restore terminal attributes: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:630 msgid "No devices found for domain" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:660 #, c-format msgid "No device %s found for domain" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:666 #, c-format msgid "Unable to open console %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:699 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:1110 msgid "Console is already attached to a stream" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:628 #, c-format msgid "Unexpected rpc status %u" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:697 #, c-format msgid "Unexpected rpc proc %u" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:753 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:817 #, c-format msgid "Got rx in unexpected state %d" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:1167 msgid "ConsoleRpc is not attached to a stream" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-context.c:253 #: ../libvirt-sandbox/libvirt-sandbox-context.c:396 #, c-format msgid "Domain is not currently running" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-context.c:323 #: ../libvirt-sandbox/libvirt-sandbox-context.c:340 #: ../libvirt-sandbox/libvirt-sandbox-context.c:363 #, c-format msgid "Sandbox is not currently running" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1065 #, c-format msgid "libvirt-sandbox-init-common: unable to create signal pipe: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1084 #, c-format msgid "libvirt-sandbox-init-common: cannot open %s: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1141 #, c-format msgid "libvirt-sandbox-init-common: %s: cannot execute %s: %s\n" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1167 msgid "config file path" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1170 msgid "Run '" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1180 #, c-format msgid "%s: must be launched as root\n" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1187 msgid "Libvirt Sandbox Init Common" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1205 #, c-format msgid "%s: Unable to load config %s: %s\n" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1231 #, c-format msgid "Unsupported configuration type %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:69 msgid "Unable to decode message length" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:76 #, c-format msgid "packet %u bytes received from server too small, want %u" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:86 #, c-format msgid "packet %u bytes received from server too large, want %d" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:130 msgid "Unable to decode message header" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:174 #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:235 #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:303 #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:329 msgid "Unable to encode message length" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:180 msgid "Unable to encode message header" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:192 msgid "Unable to re-encode message length" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:222 msgid "Unable to encode message payload" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:265 msgid "Unable to decode message payload" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:290 #, c-format msgid "Raw data too long to send (%zu bytes needed, %zu bytes available)" msgstr "" libvirt-sandbox-0.5.1+git20160404/po/fr.po000066400000000000000000000451751275305543100176320ustar00rootroot00000000000000# SOME DESCRIPTIVE TITLE. # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # # Translators: # Jérôme Fenal , 2013 # KAT.RAT12 , 2013 msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2015-02-18 14:55+0000\n" "PO-Revision-Date: 2013-07-09 03:50-0400\n" "Last-Translator: Daniel Berrange \n" "Language-Team: French \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Language: fr\n" "Plural-Forms: nplurals=2; plural=(n > 1);\n" "X-Generator: Zanata 3.5.1\n" #: ../bin/virt-sandbox.c:48 ../bin/virt-sandbox-service-util.c:43 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1149 #, c-format msgid "%s version %s\n" msgstr "%s version %s\n" #: ../bin/virt-sandbox.c:84 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1161 msgid "display version information" msgstr "afficher les information de version " #: ../bin/virt-sandbox.c:86 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1163 msgid "display verbose information" msgstr "afficher les informations verbeuses" #: ../bin/virt-sandbox.c:88 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1165 msgid "display debugging information" msgstr "afficher les informations de débogage" #: ../bin/virt-sandbox.c:90 msgid "connect to hypervisor" msgstr "se connecter à l'hyperviseur" #: ../bin/virt-sandbox.c:92 msgid "name of the sandbox" msgstr "nom du bac à sable" #: ../bin/virt-sandbox.c:94 msgid "root directory of the sandbox" msgstr "" #: ../bin/virt-sandbox.c:96 msgid "mount a filesystem in the guest" msgstr "monter un système de fichier a l'invité" #: ../bin/virt-sandbox.c:98 msgid "file to copy into custom dir" msgstr "fichier pour copier dans un répertoire personnalisé" #: ../bin/virt-sandbox.c:100 msgid "file contain list of files to include" msgstr "fichier qui contient une liste de fichiers pour inclure" #: ../bin/virt-sandbox.c:102 msgid "setup network interface properties" msgstr "configurer les propriétés d'interface du réseau " #: ../bin/virt-sandbox.c:104 msgid "security properties" msgstr "propriétés de sécurité" #: ../bin/virt-sandbox.c:106 msgid "run the command privileged" msgstr "lancer la commande des privilèges" #: ../bin/virt-sandbox.c:108 msgid "start a shell" msgstr "démarrer un interpréteur de commandes" #: ../bin/virt-sandbox.c:110 msgid "kernel version" msgstr "" #: ../bin/virt-sandbox.c:112 msgid "kernel binary path" msgstr "" #: ../bin/virt-sandbox.c:114 msgid "kernel module directory" msgstr "" #: ../bin/virt-sandbox.c:119 msgid "" "Run 'virt-sandbox --help' to see a full list of available command line " "options" msgstr "" "Exécuter « virt-sandbox --help » pour voir la liste complète des options de" " commande disponibles en ligne " #: ../bin/virt-sandbox.c:129 msgid "Libvirt Sandbox" msgstr "Libvirt Sandbox" #: ../bin/virt-sandbox.c:131 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1189 msgid "- Libvirt Sandbox" msgstr "- Libvirt Sandbox" #: ../bin/virt-sandbox.c:144 #, c-format msgid "" "\n" "Usage: %s [OPTIONS] COMMAND-PATH [ARGS...]\n" "\n" "%s\n" "\n" msgstr "" "\n" "Utilisation : %s [OPTIONS] COMMAND-PATH [ARGS...]\n" "\n" "%s\n" "\n" #: ../bin/virt-sandbox.c:160 ../bin/virt-sandbox-service-util.c:65 #, c-format msgid "Unable to open connection: %s\n" msgstr "Impossible d'ouvrir la connexion : %s\n" #: ../bin/virt-sandbox.c:161 ../bin/virt-sandbox.c:188 #: ../bin/virt-sandbox.c:194 ../bin/virt-sandbox.c:200 #: ../bin/virt-sandbox.c:206 ../bin/virt-sandbox.c:212 #: ../bin/virt-sandbox.c:227 ../bin/virt-sandbox.c:233 #: ../bin/virt-sandbox.c:240 ../bin/virt-sandbox.c:246 #: ../bin/virt-sandbox.c:254 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1247 msgid "Unknown failure" msgstr "Échec inconnu" #: ../bin/virt-sandbox.c:187 #, c-format msgid "Unable to parse mounts: %s\n" msgstr "Impossible d'analyser les montages : %s\n" #: ../bin/virt-sandbox.c:193 #, c-format msgid "Unable to parse includes: %s\n" msgstr "Impossible d'analyser les inclusions : %s\n" #: ../bin/virt-sandbox.c:199 #, c-format msgid "Unable to parse include file: %s\n" msgstr "Impossible d'analyser le fichier inclus : %s\n" #: ../bin/virt-sandbox.c:205 #, c-format msgid "Unable to parse networks: %s\n" msgstr "Impossible d'analyser les réseaux : %s\n" #: ../bin/virt-sandbox.c:211 #, c-format msgid "Unable to parse security: %s\n" msgstr "Impossible d'analyser la sécurité : %s\n" #: ../bin/virt-sandbox.c:226 #, c-format msgid "Unable to start sandbox: %s\n" msgstr "Impossible de démarrer le sandbox  : %s\n" #: ../bin/virt-sandbox.c:232 #, c-format msgid "Unable to get log console: %s\n" msgstr "Impossible d'obtenir la console de journalisation : %s\n" #: ../bin/virt-sandbox.c:239 ../bin/virt-sandbox.c:253 #, c-format msgid "Unable to attach sandbox console: %s\n" msgstr "Impossible de s'attacher à la console du sandbox  : %s\n" #: ../bin/virt-sandbox.c:245 #, c-format msgid "Unable to get app console: %s\n" msgstr "Impossible d'obtenir la console d''application : %s\n" #: ../bin/virt-sandbox-service-util.c:66 ../bin/virt-sandbox-service-util.c:72 #: ../bin/virt-sandbox-service-util.c:78 #: ../bin/virt-sandbox-service-util.c:104 #: ../bin/virt-sandbox-service-util.c:110 #: ../bin/virt-sandbox-service-util.c:120 #: ../bin/virt-sandbox-service-util.c:127 #: ../bin/virt-sandbox-service-util.c:159 #: ../bin/virt-sandbox-service-util.c:165 #: ../bin/virt-sandbox-service-util.c:175 #: ../bin/virt-sandbox-service-util.c:182 msgid "unknown" msgstr "inconnu" #: ../bin/virt-sandbox-service-util.c:71 #, c-format msgid "Unable to read config file %s: %s\n" msgstr "Impossible de lire le fichier de configuration %s : %s\n" #: ../bin/virt-sandbox-service-util.c:77 #, c-format msgid "Unable to create new context service: %s\n" msgstr "Impossible de créer un nouveau contexte de service : %s\n" #: ../bin/virt-sandbox-service-util.c:103 #, c-format msgid "Unable to start container: %s\n" msgstr "Impossible d'initier le conteneur : %s\n" #: ../bin/virt-sandbox-service-util.c:109 #, c-format msgid "Unable to get log console for container: %s\n" msgstr "Impossible d'obtenir la console de connexion du conteneur : %s\n" #: ../bin/virt-sandbox-service-util.c:119 #, c-format msgid "Unable to attach console to stderr in the container: %s\n" msgstr "" "Impossible d'attacher la console à l'erreur standard du bac à sable : %s\n" #: ../bin/virt-sandbox-service-util.c:126 #: ../bin/virt-sandbox-service-util.c:181 #, c-format msgid "Unable to disconnect console from libvirt: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:158 #: ../bin/virt-sandbox-service-util.c:174 #, c-format msgid "Unable to attach to container: %s\n" msgstr "Impossible de s'attacher au conteneur : %s\n" #: ../bin/virt-sandbox-service-util.c:164 #, c-format msgid "Unable to get shell console for container: %s\n" msgstr "" "Impossible d'obtenir la console de l'interpréteur de commande du conteneur :" " %s\n" #: ../bin/virt-sandbox-service-util.c:240 msgid "Display version information" msgstr "Afficher les informations de version" #: ../bin/virt-sandbox-service-util.c:242 msgid "Start a container" msgstr "Démarrer un conteneur" #: ../bin/virt-sandbox-service-util.c:244 msgid "Attach to a container" msgstr "S'attacher au conteneur" #: ../bin/virt-sandbox-service-util.c:246 msgid "Pid of process in container to which the command will run" msgstr "PID du processus du conteneur dans lequel la commande sera exécutée" #: ../bin/virt-sandbox-service-util.c:248 msgid "Connect to hypervisor Default:'lxc:///'" msgstr "Se connecter à l'hyperviseur. Par défaut : « lxc:/// »" #: ../bin/virt-sandbox-service-util.c:253 msgid "" "Run 'virt-sandbox-service-util --help' to see a full list of available " "command line options\n" msgstr "" "Exécuter « virt-sandbox-service --help » afin de voir la liste complète d' " "options de commandes disponibles en ligne\n" #: ../bin/virt-sandbox-service-util.c:263 msgid "- Libvirt Sandbox Service" msgstr "- Service de bac à sable libvirt" #: ../bin/virt-sandbox-service-util.c:275 #, c-format msgid "" "Invalid command: You must specify --start or --attach\n" "%s" msgstr "" #: ../bin/virt-sandbox-service-util.c:281 #, c-format msgid "Invalid command CONTAINER_NAME required: %s" msgstr "Commande invalide, nom du conteneur indispensable : %s" #: ../bin/virt-sandbox-service-util.c:288 msgid "Libvirt Sandbox Service" msgstr "Service de bac à sable libvirt" #: ../libvirt-sandbox/libvirt-sandbox-builder-initrd.c:171 #, c-format msgid "Unable to create temporary directory %s: %s" msgstr "Impossible de créer un répertoire temporaire %s : %s" #: ../libvirt-sandbox/libvirt-sandbox-builder-initrd.c:217 #, c-format msgid "Kernel module dir %s does not exist" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-initrd.c:275 #, c-format msgid "Unable to read entries in %s: %s" msgstr "Impossible de lire les entrées dans %s : %s" #: ../libvirt-sandbox/libvirt-sandbox-builder-initrd.c:306 #, c-format msgid "Unable to access %s: %s" msgstr "Impossible d'accéder %s : %s" #: ../libvirt-sandbox/libvirt-sandbox-builder-machine.c:446 #, c-format msgid "Kernel image %s does not exist" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:941 #, c-format msgid "Cannot request DHCP with static routes/addresses" msgstr "" "Impossible d'effectuer une requête DHCP avec des routes ou adresses " "statiques" #: ../libvirt-sandbox/libvirt-sandbox-config.c:963 #, c-format msgid "No assignment in filter parameter configuration" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:999 #, c-format msgid "Cannot set static addresses with DHCP" msgstr "Impossible de définir des adresses statiques avec DHCP" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1019 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1028 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1082 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1090 #, c-format msgid "Unable to parse address %s" msgstr "Impossible d'analyser l'adresse %s" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1058 #, c-format msgid "Cannot set static routes with DHCP" msgstr "Impossible de définir des routes statiques avec DHCP" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1076 #, c-format msgid "Missing gateway in route %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1110 #, c-format msgid "Unknown parameter %s" msgstr "Paramètre inconnu %s" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1121 #, c-format msgid "Cannot set static routes without addresses" msgstr "Impossible de définir des routes statiques sans adresse" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1285 #, c-format msgid "No mount type prefix on %s" msgstr "Aucun préfixe de montage pour %s" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1298 #, c-format msgid "Unknown mount type prefix on %s" msgstr "Préfixe de type de montage inconnu pour %s" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1311 #, c-format msgid "Missing mount source string on %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1411 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1476 #, c-format msgid "No mount with a prefix under %s" msgstr "Pas de montage avec prefixe sous %s" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1578 #, c-format msgid "Unable to get SELinux context of user: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1587 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1596 #, c-format msgid "Unknown security option '%s'" msgstr "Option de sécurité inconnue « %s »" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1630 msgid "Missing mount target in config file" msgstr "Cible de montage manquant dans le fichier de configuration" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1635 msgid "Missing mount type in config file" msgstr "Type de montage manquant dans le fichier de configuration" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1647 #, c-format msgid "Unknown mount type %s in config file" msgstr "Type de montage %s inconnu dans le fichier de configuration" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1654 msgid "Missing mount usage in config file" msgstr "Utilisation de montage manquant dans le fichier de configuration" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1663 msgid "Missing mount source in config file" msgstr "Source de montage manquant dans le fichier de configuration" #: ../libvirt-sandbox/libvirt-sandbox-config.c:2150 msgid "Missing class name in config file" msgstr "Nom de classe manquant dans le fichier de configuration" #: ../libvirt-sandbox/libvirt-sandbox-config.c:2156 #, c-format msgid "Unknown type name '%s' in config file" msgstr "Nom de type « %s » inconnu dans le fichier de configuration" #: ../libvirt-sandbox/libvirt-sandbox-config.c:2163 #, c-format msgid "Type name '%s' in config file had wrong parent" msgstr "" "Le nom de type « %s » dans le fichier de configuration n'a pas le bon parent" #: ../libvirt-sandbox/libvirt-sandbox-console.c:326 msgid "Unable to isolate console unless direct access flag is set" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:184 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:350 #, c-format msgid "Unable to query terminal attributes: %s" msgstr "Impossible de demander les attributs du terminal : %s" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:201 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:367 #, c-format msgid "Unable to update terminal attributes: %s" msgstr "Impossible d'actualiser les attributs du terminal : %s" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:224 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:395 #, c-format msgid "Unable to restore terminal attributes: %s" msgstr "Impossible de restaurer les attributs du terminal : %s" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:630 msgid "No devices found for domain" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:660 #, c-format msgid "No device %s found for domain" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:666 #, c-format msgid "Unable to open console %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:699 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:1110 msgid "Console is already attached to a stream" msgstr "La console est déjà attachée à un flux" #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:628 #, c-format msgid "Unexpected rpc status %u" msgstr "État RPC inattendu %u" #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:697 #, c-format msgid "Unexpected rpc proc %u" msgstr "Proc RPC innatendu %u" #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:753 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:817 #, c-format msgid "Got rx in unexpected state %d" msgstr "rx obtenu en un état inattendu %d" #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:1167 msgid "ConsoleRpc is not attached to a stream" msgstr "ConsoleRpc n'est pas attaché à un flux" #: ../libvirt-sandbox/libvirt-sandbox-context.c:253 #: ../libvirt-sandbox/libvirt-sandbox-context.c:396 #, c-format msgid "Domain is not currently running" msgstr "Le domaine n'est pas actuellement actif" #: ../libvirt-sandbox/libvirt-sandbox-context.c:323 #: ../libvirt-sandbox/libvirt-sandbox-context.c:340 #: ../libvirt-sandbox/libvirt-sandbox-context.c:363 #, c-format msgid "Sandbox is not currently running" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1065 #, c-format msgid "libvirt-sandbox-init-common: unable to create signal pipe: %s" msgstr "" "libvirt-sandbox-init-common : impossible de créer le type de signalisation :" " %s" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1084 #, c-format msgid "libvirt-sandbox-init-common: cannot open %s: %s" msgstr "libvirt-sandbox-init-common : impossible d'ouvrir %s : %s" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1141 #, c-format msgid "libvirt-sandbox-init-common: %s: cannot execute %s: %s\n" msgstr "libvirt-sandbox-init-common : %s: impossible d'exécuter %s : %s\n" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1167 msgid "config file path" msgstr "chemin du fichier de configuration" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1170 msgid "Run '" msgstr "Exécuter '" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1180 #, c-format msgid "%s: must be launched as root\n" msgstr "%s : doit être exécuté en tant que root\n" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1187 msgid "Libvirt Sandbox Init Common" msgstr "Libvirt Sandbox Init Commun" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1205 #, c-format msgid "%s: Unable to load config %s: %s\n" msgstr "%s : Impossible de charger la configuration %s : %s\n" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1231 #, c-format msgid "Unsupported configuration type %s" msgstr "Type de configuration %s non pris en charge" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:69 msgid "Unable to decode message length" msgstr "Impossible de décoder la longueur du message" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:76 #, c-format msgid "packet %u bytes received from server too small, want %u" msgstr "le paquet de %u octets reçu du serveur est trop petit, %u attendus" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:86 #, c-format msgid "packet %u bytes received from server too large, want %d" msgstr "le paquet de %u octets reçu du serveur est trop grand, %d attendus" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:130 msgid "Unable to decode message header" msgstr "Impossible de décoder l'entête du message" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:174 #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:235 #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:303 #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:329 msgid "Unable to encode message length" msgstr "Impossible d'encoder la longueur du message" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:180 msgid "Unable to encode message header" msgstr "Impossible d'encoder l'entête du message" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:192 msgid "Unable to re-encode message length" msgstr "Impossible de réencoder la longueur du message" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:222 msgid "Unable to encode message payload" msgstr "Impossible d'encoder le contenu du message" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:265 msgid "Unable to decode message payload" msgstr "Impossible de décoder le contenu du message" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:290 #, c-format msgid "Raw data too long to send (%zu bytes needed, %zu bytes available)" msgstr "" "Données brutes trop longues à envoyer (%zu octets nécessaires, %zu octets " "disponibles)" libvirt-sandbox-0.5.1+git20160404/po/gl.po000066400000000000000000000342501275305543100176150ustar00rootroot00000000000000# SOME DESCRIPTIVE TITLE. # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # # Translators: msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2015-02-18 14:55+0000\n" "PO-Revision-Date: 2013-07-09 03:50-0400\n" "Last-Translator: Daniel Berrange \n" "Language-Team: Galician (http://www.transifex.com/projects/p/fedora/language/gl/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Language: gl\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" "X-Generator: Zanata 3.5.1\n" #: ../bin/virt-sandbox.c:48 ../bin/virt-sandbox-service-util.c:43 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1149 #, c-format msgid "%s version %s\n" msgstr "" #: ../bin/virt-sandbox.c:84 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1161 msgid "display version information" msgstr "" #: ../bin/virt-sandbox.c:86 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1163 msgid "display verbose information" msgstr "" #: ../bin/virt-sandbox.c:88 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1165 msgid "display debugging information" msgstr "" #: ../bin/virt-sandbox.c:90 msgid "connect to hypervisor" msgstr "" #: ../bin/virt-sandbox.c:92 msgid "name of the sandbox" msgstr "" #: ../bin/virt-sandbox.c:94 msgid "root directory of the sandbox" msgstr "" #: ../bin/virt-sandbox.c:96 msgid "mount a filesystem in the guest" msgstr "" #: ../bin/virt-sandbox.c:98 msgid "file to copy into custom dir" msgstr "" #: ../bin/virt-sandbox.c:100 msgid "file contain list of files to include" msgstr "" #: ../bin/virt-sandbox.c:102 msgid "setup network interface properties" msgstr "" #: ../bin/virt-sandbox.c:104 msgid "security properties" msgstr "" #: ../bin/virt-sandbox.c:106 msgid "run the command privileged" msgstr "" #: ../bin/virt-sandbox.c:108 msgid "start a shell" msgstr "" #: ../bin/virt-sandbox.c:110 msgid "kernel version" msgstr "" #: ../bin/virt-sandbox.c:112 msgid "kernel binary path" msgstr "" #: ../bin/virt-sandbox.c:114 msgid "kernel module directory" msgstr "" #: ../bin/virt-sandbox.c:119 msgid "" "Run 'virt-sandbox --help' to see a full list of available command line " "options" msgstr "" #: ../bin/virt-sandbox.c:129 msgid "Libvirt Sandbox" msgstr "" #: ../bin/virt-sandbox.c:131 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1189 msgid "- Libvirt Sandbox" msgstr "" #: ../bin/virt-sandbox.c:144 #, c-format msgid "" "\n" "Usage: %s [OPTIONS] COMMAND-PATH [ARGS...]\n" "\n" "%s\n" "\n" msgstr "" #: ../bin/virt-sandbox.c:160 ../bin/virt-sandbox-service-util.c:65 #, c-format msgid "Unable to open connection: %s\n" msgstr "" #: ../bin/virt-sandbox.c:161 ../bin/virt-sandbox.c:188 #: ../bin/virt-sandbox.c:194 ../bin/virt-sandbox.c:200 #: ../bin/virt-sandbox.c:206 ../bin/virt-sandbox.c:212 #: ../bin/virt-sandbox.c:227 ../bin/virt-sandbox.c:233 #: ../bin/virt-sandbox.c:240 ../bin/virt-sandbox.c:246 #: ../bin/virt-sandbox.c:254 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1247 msgid "Unknown failure" msgstr "" #: ../bin/virt-sandbox.c:187 #, c-format msgid "Unable to parse mounts: %s\n" msgstr "" #: ../bin/virt-sandbox.c:193 #, c-format msgid "Unable to parse includes: %s\n" msgstr "" #: ../bin/virt-sandbox.c:199 #, c-format msgid "Unable to parse include file: %s\n" msgstr "" #: ../bin/virt-sandbox.c:205 #, c-format msgid "Unable to parse networks: %s\n" msgstr "" #: ../bin/virt-sandbox.c:211 #, c-format msgid "Unable to parse security: %s\n" msgstr "" #: ../bin/virt-sandbox.c:226 #, c-format msgid "Unable to start sandbox: %s\n" msgstr "" #: ../bin/virt-sandbox.c:232 #, c-format msgid "Unable to get log console: %s\n" msgstr "" #: ../bin/virt-sandbox.c:239 ../bin/virt-sandbox.c:253 #, c-format msgid "Unable to attach sandbox console: %s\n" msgstr "" #: ../bin/virt-sandbox.c:245 #, c-format msgid "Unable to get app console: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:66 ../bin/virt-sandbox-service-util.c:72 #: ../bin/virt-sandbox-service-util.c:78 #: ../bin/virt-sandbox-service-util.c:104 #: ../bin/virt-sandbox-service-util.c:110 #: ../bin/virt-sandbox-service-util.c:120 #: ../bin/virt-sandbox-service-util.c:127 #: ../bin/virt-sandbox-service-util.c:159 #: ../bin/virt-sandbox-service-util.c:165 #: ../bin/virt-sandbox-service-util.c:175 #: ../bin/virt-sandbox-service-util.c:182 msgid "unknown" msgstr "" #: ../bin/virt-sandbox-service-util.c:71 #, c-format msgid "Unable to read config file %s: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:77 #, c-format msgid "Unable to create new context service: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:103 #, c-format msgid "Unable to start container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:109 #, c-format msgid "Unable to get log console for container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:119 #, c-format msgid "Unable to attach console to stderr in the container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:126 #: ../bin/virt-sandbox-service-util.c:181 #, c-format msgid "Unable to disconnect console from libvirt: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:158 #: ../bin/virt-sandbox-service-util.c:174 #, c-format msgid "Unable to attach to container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:164 #, c-format msgid "Unable to get shell console for container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:240 msgid "Display version information" msgstr "" #: ../bin/virt-sandbox-service-util.c:242 msgid "Start a container" msgstr "" #: ../bin/virt-sandbox-service-util.c:244 msgid "Attach to a container" msgstr "" #: ../bin/virt-sandbox-service-util.c:246 msgid "Pid of process in container to which the command will run" msgstr "" #: ../bin/virt-sandbox-service-util.c:248 msgid "Connect to hypervisor Default:'lxc:///'" msgstr "" #: ../bin/virt-sandbox-service-util.c:253 msgid "" "Run 'virt-sandbox-service-util --help' to see a full list of available " "command line options\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:263 msgid "- Libvirt Sandbox Service" msgstr "" #: ../bin/virt-sandbox-service-util.c:275 #, c-format msgid "" "Invalid command: You must specify --start or --attach\n" "%s" msgstr "" #: ../bin/virt-sandbox-service-util.c:281 #, c-format msgid "Invalid command CONTAINER_NAME required: %s" msgstr "" #: ../bin/virt-sandbox-service-util.c:288 msgid "Libvirt Sandbox Service" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-initrd.c:171 #, c-format msgid "Unable to create temporary directory %s: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-initrd.c:217 #, c-format msgid "Kernel module dir %s does not exist" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-initrd.c:275 #, c-format msgid "Unable to read entries in %s: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-initrd.c:306 #, c-format msgid "Unable to access %s: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-machine.c:446 #, c-format msgid "Kernel image %s does not exist" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:941 #, c-format msgid "Cannot request DHCP with static routes/addresses" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:963 #, c-format msgid "No assignment in filter parameter configuration" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:999 #, c-format msgid "Cannot set static addresses with DHCP" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1019 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1028 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1082 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1090 #, c-format msgid "Unable to parse address %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1058 #, c-format msgid "Cannot set static routes with DHCP" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1076 #, c-format msgid "Missing gateway in route %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1110 #, c-format msgid "Unknown parameter %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1121 #, c-format msgid "Cannot set static routes without addresses" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1285 #, c-format msgid "No mount type prefix on %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1298 #, c-format msgid "Unknown mount type prefix on %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1311 #, c-format msgid "Missing mount source string on %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1411 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1476 #, c-format msgid "No mount with a prefix under %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1578 #, c-format msgid "Unable to get SELinux context of user: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1587 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1596 #, c-format msgid "Unknown security option '%s'" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1630 msgid "Missing mount target in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1635 msgid "Missing mount type in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1647 #, c-format msgid "Unknown mount type %s in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1654 msgid "Missing mount usage in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1663 msgid "Missing mount source in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:2150 msgid "Missing class name in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:2156 #, c-format msgid "Unknown type name '%s' in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:2163 #, c-format msgid "Type name '%s' in config file had wrong parent" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console.c:326 msgid "Unable to isolate console unless direct access flag is set" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:184 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:350 #, c-format msgid "Unable to query terminal attributes: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:201 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:367 #, c-format msgid "Unable to update terminal attributes: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:224 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:395 #, c-format msgid "Unable to restore terminal attributes: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:630 msgid "No devices found for domain" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:660 #, c-format msgid "No device %s found for domain" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:666 #, c-format msgid "Unable to open console %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:699 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:1110 msgid "Console is already attached to a stream" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:628 #, c-format msgid "Unexpected rpc status %u" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:697 #, c-format msgid "Unexpected rpc proc %u" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:753 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:817 #, c-format msgid "Got rx in unexpected state %d" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:1167 msgid "ConsoleRpc is not attached to a stream" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-context.c:253 #: ../libvirt-sandbox/libvirt-sandbox-context.c:396 #, c-format msgid "Domain is not currently running" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-context.c:323 #: ../libvirt-sandbox/libvirt-sandbox-context.c:340 #: ../libvirt-sandbox/libvirt-sandbox-context.c:363 #, c-format msgid "Sandbox is not currently running" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1065 #, c-format msgid "libvirt-sandbox-init-common: unable to create signal pipe: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1084 #, c-format msgid "libvirt-sandbox-init-common: cannot open %s: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1141 #, c-format msgid "libvirt-sandbox-init-common: %s: cannot execute %s: %s\n" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1167 msgid "config file path" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1170 msgid "Run '" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1180 #, c-format msgid "%s: must be launched as root\n" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1187 msgid "Libvirt Sandbox Init Common" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1205 #, c-format msgid "%s: Unable to load config %s: %s\n" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1231 #, c-format msgid "Unsupported configuration type %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:69 msgid "Unable to decode message length" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:76 #, c-format msgid "packet %u bytes received from server too small, want %u" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:86 #, c-format msgid "packet %u bytes received from server too large, want %d" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:130 msgid "Unable to decode message header" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:174 #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:235 #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:303 #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:329 msgid "Unable to encode message length" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:180 msgid "Unable to encode message header" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:192 msgid "Unable to re-encode message length" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:222 msgid "Unable to encode message payload" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:265 msgid "Unable to decode message payload" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:290 #, c-format msgid "Raw data too long to send (%zu bytes needed, %zu bytes available)" msgstr "" libvirt-sandbox-0.5.1+git20160404/po/gu.po000066400000000000000000000341761275305543100176350ustar00rootroot00000000000000# SOME DESCRIPTIVE TITLE. # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # # Translators: msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2015-02-18 14:55+0000\n" "PO-Revision-Date: 2013-04-08 06:10-0400\n" "Last-Translator: FULL NAME \n" "Language-Team: Gujarati \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Language: gu\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" "X-Generator: Zanata 3.5.1\n" #: ../bin/virt-sandbox.c:48 ../bin/virt-sandbox-service-util.c:43 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1149 #, c-format msgid "%s version %s\n" msgstr "" #: ../bin/virt-sandbox.c:84 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1161 msgid "display version information" msgstr "" #: ../bin/virt-sandbox.c:86 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1163 msgid "display verbose information" msgstr "" #: ../bin/virt-sandbox.c:88 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1165 msgid "display debugging information" msgstr "" #: ../bin/virt-sandbox.c:90 msgid "connect to hypervisor" msgstr "" #: ../bin/virt-sandbox.c:92 msgid "name of the sandbox" msgstr "" #: ../bin/virt-sandbox.c:94 msgid "root directory of the sandbox" msgstr "" #: ../bin/virt-sandbox.c:96 msgid "mount a filesystem in the guest" msgstr "" #: ../bin/virt-sandbox.c:98 msgid "file to copy into custom dir" msgstr "" #: ../bin/virt-sandbox.c:100 msgid "file contain list of files to include" msgstr "" #: ../bin/virt-sandbox.c:102 msgid "setup network interface properties" msgstr "" #: ../bin/virt-sandbox.c:104 msgid "security properties" msgstr "" #: ../bin/virt-sandbox.c:106 msgid "run the command privileged" msgstr "" #: ../bin/virt-sandbox.c:108 msgid "start a shell" msgstr "" #: ../bin/virt-sandbox.c:110 msgid "kernel version" msgstr "" #: ../bin/virt-sandbox.c:112 msgid "kernel binary path" msgstr "" #: ../bin/virt-sandbox.c:114 msgid "kernel module directory" msgstr "" #: ../bin/virt-sandbox.c:119 msgid "" "Run 'virt-sandbox --help' to see a full list of available command line " "options" msgstr "" #: ../bin/virt-sandbox.c:129 msgid "Libvirt Sandbox" msgstr "" #: ../bin/virt-sandbox.c:131 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1189 msgid "- Libvirt Sandbox" msgstr "" #: ../bin/virt-sandbox.c:144 #, c-format msgid "" "\n" "Usage: %s [OPTIONS] COMMAND-PATH [ARGS...]\n" "\n" "%s\n" "\n" msgstr "" #: ../bin/virt-sandbox.c:160 ../bin/virt-sandbox-service-util.c:65 #, c-format msgid "Unable to open connection: %s\n" msgstr "" #: ../bin/virt-sandbox.c:161 ../bin/virt-sandbox.c:188 #: ../bin/virt-sandbox.c:194 ../bin/virt-sandbox.c:200 #: ../bin/virt-sandbox.c:206 ../bin/virt-sandbox.c:212 #: ../bin/virt-sandbox.c:227 ../bin/virt-sandbox.c:233 #: ../bin/virt-sandbox.c:240 ../bin/virt-sandbox.c:246 #: ../bin/virt-sandbox.c:254 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1247 msgid "Unknown failure" msgstr "" #: ../bin/virt-sandbox.c:187 #, c-format msgid "Unable to parse mounts: %s\n" msgstr "" #: ../bin/virt-sandbox.c:193 #, c-format msgid "Unable to parse includes: %s\n" msgstr "" #: ../bin/virt-sandbox.c:199 #, c-format msgid "Unable to parse include file: %s\n" msgstr "" #: ../bin/virt-sandbox.c:205 #, c-format msgid "Unable to parse networks: %s\n" msgstr "" #: ../bin/virt-sandbox.c:211 #, c-format msgid "Unable to parse security: %s\n" msgstr "" #: ../bin/virt-sandbox.c:226 #, c-format msgid "Unable to start sandbox: %s\n" msgstr "" #: ../bin/virt-sandbox.c:232 #, c-format msgid "Unable to get log console: %s\n" msgstr "" #: ../bin/virt-sandbox.c:239 ../bin/virt-sandbox.c:253 #, c-format msgid "Unable to attach sandbox console: %s\n" msgstr "" #: ../bin/virt-sandbox.c:245 #, c-format msgid "Unable to get app console: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:66 ../bin/virt-sandbox-service-util.c:72 #: ../bin/virt-sandbox-service-util.c:78 #: ../bin/virt-sandbox-service-util.c:104 #: ../bin/virt-sandbox-service-util.c:110 #: ../bin/virt-sandbox-service-util.c:120 #: ../bin/virt-sandbox-service-util.c:127 #: ../bin/virt-sandbox-service-util.c:159 #: ../bin/virt-sandbox-service-util.c:165 #: ../bin/virt-sandbox-service-util.c:175 #: ../bin/virt-sandbox-service-util.c:182 msgid "unknown" msgstr "" #: ../bin/virt-sandbox-service-util.c:71 #, c-format msgid "Unable to read config file %s: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:77 #, c-format msgid "Unable to create new context service: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:103 #, c-format msgid "Unable to start container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:109 #, c-format msgid "Unable to get log console for container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:119 #, c-format msgid "Unable to attach console to stderr in the container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:126 #: ../bin/virt-sandbox-service-util.c:181 #, c-format msgid "Unable to disconnect console from libvirt: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:158 #: ../bin/virt-sandbox-service-util.c:174 #, c-format msgid "Unable to attach to container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:164 #, c-format msgid "Unable to get shell console for container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:240 msgid "Display version information" msgstr "" #: ../bin/virt-sandbox-service-util.c:242 msgid "Start a container" msgstr "" #: ../bin/virt-sandbox-service-util.c:244 msgid "Attach to a container" msgstr "" #: ../bin/virt-sandbox-service-util.c:246 msgid "Pid of process in container to which the command will run" msgstr "" #: ../bin/virt-sandbox-service-util.c:248 msgid "Connect to hypervisor Default:'lxc:///'" msgstr "" #: ../bin/virt-sandbox-service-util.c:253 msgid "" "Run 'virt-sandbox-service-util --help' to see a full list of available " "command line options\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:263 msgid "- Libvirt Sandbox Service" msgstr "" #: ../bin/virt-sandbox-service-util.c:275 #, c-format msgid "" "Invalid command: You must specify --start or --attach\n" "%s" msgstr "" #: ../bin/virt-sandbox-service-util.c:281 #, c-format msgid "Invalid command CONTAINER_NAME required: %s" msgstr "" #: ../bin/virt-sandbox-service-util.c:288 msgid "Libvirt Sandbox Service" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-initrd.c:171 #, c-format msgid "Unable to create temporary directory %s: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-initrd.c:217 #, c-format msgid "Kernel module dir %s does not exist" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-initrd.c:275 #, c-format msgid "Unable to read entries in %s: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-initrd.c:306 #, c-format msgid "Unable to access %s: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-machine.c:446 #, c-format msgid "Kernel image %s does not exist" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:941 #, c-format msgid "Cannot request DHCP with static routes/addresses" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:963 #, c-format msgid "No assignment in filter parameter configuration" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:999 #, c-format msgid "Cannot set static addresses with DHCP" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1019 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1028 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1082 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1090 #, c-format msgid "Unable to parse address %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1058 #, c-format msgid "Cannot set static routes with DHCP" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1076 #, c-format msgid "Missing gateway in route %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1110 #, c-format msgid "Unknown parameter %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1121 #, c-format msgid "Cannot set static routes without addresses" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1285 #, c-format msgid "No mount type prefix on %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1298 #, c-format msgid "Unknown mount type prefix on %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1311 #, c-format msgid "Missing mount source string on %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1411 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1476 #, c-format msgid "No mount with a prefix under %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1578 #, c-format msgid "Unable to get SELinux context of user: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1587 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1596 #, c-format msgid "Unknown security option '%s'" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1630 msgid "Missing mount target in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1635 msgid "Missing mount type in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1647 #, c-format msgid "Unknown mount type %s in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1654 msgid "Missing mount usage in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1663 msgid "Missing mount source in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:2150 msgid "Missing class name in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:2156 #, c-format msgid "Unknown type name '%s' in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:2163 #, c-format msgid "Type name '%s' in config file had wrong parent" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console.c:326 msgid "Unable to isolate console unless direct access flag is set" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:184 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:350 #, c-format msgid "Unable to query terminal attributes: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:201 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:367 #, c-format msgid "Unable to update terminal attributes: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:224 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:395 #, c-format msgid "Unable to restore terminal attributes: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:630 msgid "No devices found for domain" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:660 #, c-format msgid "No device %s found for domain" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:666 #, c-format msgid "Unable to open console %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:699 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:1110 msgid "Console is already attached to a stream" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:628 #, c-format msgid "Unexpected rpc status %u" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:697 #, c-format msgid "Unexpected rpc proc %u" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:753 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:817 #, c-format msgid "Got rx in unexpected state %d" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:1167 msgid "ConsoleRpc is not attached to a stream" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-context.c:253 #: ../libvirt-sandbox/libvirt-sandbox-context.c:396 #, c-format msgid "Domain is not currently running" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-context.c:323 #: ../libvirt-sandbox/libvirt-sandbox-context.c:340 #: ../libvirt-sandbox/libvirt-sandbox-context.c:363 #, c-format msgid "Sandbox is not currently running" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1065 #, c-format msgid "libvirt-sandbox-init-common: unable to create signal pipe: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1084 #, c-format msgid "libvirt-sandbox-init-common: cannot open %s: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1141 #, c-format msgid "libvirt-sandbox-init-common: %s: cannot execute %s: %s\n" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1167 msgid "config file path" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1170 msgid "Run '" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1180 #, c-format msgid "%s: must be launched as root\n" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1187 msgid "Libvirt Sandbox Init Common" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1205 #, c-format msgid "%s: Unable to load config %s: %s\n" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1231 #, c-format msgid "Unsupported configuration type %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:69 msgid "Unable to decode message length" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:76 #, c-format msgid "packet %u bytes received from server too small, want %u" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:86 #, c-format msgid "packet %u bytes received from server too large, want %d" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:130 msgid "Unable to decode message header" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:174 #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:235 #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:303 #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:329 msgid "Unable to encode message length" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:180 msgid "Unable to encode message header" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:192 msgid "Unable to re-encode message length" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:222 msgid "Unable to encode message payload" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:265 msgid "Unable to decode message payload" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:290 #, c-format msgid "Raw data too long to send (%zu bytes needed, %zu bytes available)" msgstr "" libvirt-sandbox-0.5.1+git20160404/po/he.po000066400000000000000000000341741275305543100176140ustar00rootroot00000000000000# SOME DESCRIPTIVE TITLE. # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # # Translators: msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2015-02-18 14:55+0000\n" "PO-Revision-Date: 2013-04-08 06:10-0400\n" "Last-Translator: FULL NAME \n" "Language-Team: Hebrew \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Language: he\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" "X-Generator: Zanata 3.5.1\n" #: ../bin/virt-sandbox.c:48 ../bin/virt-sandbox-service-util.c:43 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1149 #, c-format msgid "%s version %s\n" msgstr "" #: ../bin/virt-sandbox.c:84 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1161 msgid "display version information" msgstr "" #: ../bin/virt-sandbox.c:86 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1163 msgid "display verbose information" msgstr "" #: ../bin/virt-sandbox.c:88 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1165 msgid "display debugging information" msgstr "" #: ../bin/virt-sandbox.c:90 msgid "connect to hypervisor" msgstr "" #: ../bin/virt-sandbox.c:92 msgid "name of the sandbox" msgstr "" #: ../bin/virt-sandbox.c:94 msgid "root directory of the sandbox" msgstr "" #: ../bin/virt-sandbox.c:96 msgid "mount a filesystem in the guest" msgstr "" #: ../bin/virt-sandbox.c:98 msgid "file to copy into custom dir" msgstr "" #: ../bin/virt-sandbox.c:100 msgid "file contain list of files to include" msgstr "" #: ../bin/virt-sandbox.c:102 msgid "setup network interface properties" msgstr "" #: ../bin/virt-sandbox.c:104 msgid "security properties" msgstr "" #: ../bin/virt-sandbox.c:106 msgid "run the command privileged" msgstr "" #: ../bin/virt-sandbox.c:108 msgid "start a shell" msgstr "" #: ../bin/virt-sandbox.c:110 msgid "kernel version" msgstr "" #: ../bin/virt-sandbox.c:112 msgid "kernel binary path" msgstr "" #: ../bin/virt-sandbox.c:114 msgid "kernel module directory" msgstr "" #: ../bin/virt-sandbox.c:119 msgid "" "Run 'virt-sandbox --help' to see a full list of available command line " "options" msgstr "" #: ../bin/virt-sandbox.c:129 msgid "Libvirt Sandbox" msgstr "" #: ../bin/virt-sandbox.c:131 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1189 msgid "- Libvirt Sandbox" msgstr "" #: ../bin/virt-sandbox.c:144 #, c-format msgid "" "\n" "Usage: %s [OPTIONS] COMMAND-PATH [ARGS...]\n" "\n" "%s\n" "\n" msgstr "" #: ../bin/virt-sandbox.c:160 ../bin/virt-sandbox-service-util.c:65 #, c-format msgid "Unable to open connection: %s\n" msgstr "" #: ../bin/virt-sandbox.c:161 ../bin/virt-sandbox.c:188 #: ../bin/virt-sandbox.c:194 ../bin/virt-sandbox.c:200 #: ../bin/virt-sandbox.c:206 ../bin/virt-sandbox.c:212 #: ../bin/virt-sandbox.c:227 ../bin/virt-sandbox.c:233 #: ../bin/virt-sandbox.c:240 ../bin/virt-sandbox.c:246 #: ../bin/virt-sandbox.c:254 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1247 msgid "Unknown failure" msgstr "" #: ../bin/virt-sandbox.c:187 #, c-format msgid "Unable to parse mounts: %s\n" msgstr "" #: ../bin/virt-sandbox.c:193 #, c-format msgid "Unable to parse includes: %s\n" msgstr "" #: ../bin/virt-sandbox.c:199 #, c-format msgid "Unable to parse include file: %s\n" msgstr "" #: ../bin/virt-sandbox.c:205 #, c-format msgid "Unable to parse networks: %s\n" msgstr "" #: ../bin/virt-sandbox.c:211 #, c-format msgid "Unable to parse security: %s\n" msgstr "" #: ../bin/virt-sandbox.c:226 #, c-format msgid "Unable to start sandbox: %s\n" msgstr "" #: ../bin/virt-sandbox.c:232 #, c-format msgid "Unable to get log console: %s\n" msgstr "" #: ../bin/virt-sandbox.c:239 ../bin/virt-sandbox.c:253 #, c-format msgid "Unable to attach sandbox console: %s\n" msgstr "" #: ../bin/virt-sandbox.c:245 #, c-format msgid "Unable to get app console: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:66 ../bin/virt-sandbox-service-util.c:72 #: ../bin/virt-sandbox-service-util.c:78 #: ../bin/virt-sandbox-service-util.c:104 #: ../bin/virt-sandbox-service-util.c:110 #: ../bin/virt-sandbox-service-util.c:120 #: ../bin/virt-sandbox-service-util.c:127 #: ../bin/virt-sandbox-service-util.c:159 #: ../bin/virt-sandbox-service-util.c:165 #: ../bin/virt-sandbox-service-util.c:175 #: ../bin/virt-sandbox-service-util.c:182 msgid "unknown" msgstr "" #: ../bin/virt-sandbox-service-util.c:71 #, c-format msgid "Unable to read config file %s: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:77 #, c-format msgid "Unable to create new context service: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:103 #, c-format msgid "Unable to start container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:109 #, c-format msgid "Unable to get log console for container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:119 #, c-format msgid "Unable to attach console to stderr in the container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:126 #: ../bin/virt-sandbox-service-util.c:181 #, c-format msgid "Unable to disconnect console from libvirt: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:158 #: ../bin/virt-sandbox-service-util.c:174 #, c-format msgid "Unable to attach to container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:164 #, c-format msgid "Unable to get shell console for container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:240 msgid "Display version information" msgstr "" #: ../bin/virt-sandbox-service-util.c:242 msgid "Start a container" msgstr "" #: ../bin/virt-sandbox-service-util.c:244 msgid "Attach to a container" msgstr "" #: ../bin/virt-sandbox-service-util.c:246 msgid "Pid of process in container to which the command will run" msgstr "" #: ../bin/virt-sandbox-service-util.c:248 msgid "Connect to hypervisor Default:'lxc:///'" msgstr "" #: ../bin/virt-sandbox-service-util.c:253 msgid "" "Run 'virt-sandbox-service-util --help' to see a full list of available " "command line options\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:263 msgid "- Libvirt Sandbox Service" msgstr "" #: ../bin/virt-sandbox-service-util.c:275 #, c-format msgid "" "Invalid command: You must specify --start or --attach\n" "%s" msgstr "" #: ../bin/virt-sandbox-service-util.c:281 #, c-format msgid "Invalid command CONTAINER_NAME required: %s" msgstr "" #: ../bin/virt-sandbox-service-util.c:288 msgid "Libvirt Sandbox Service" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-initrd.c:171 #, c-format msgid "Unable to create temporary directory %s: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-initrd.c:217 #, c-format msgid "Kernel module dir %s does not exist" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-initrd.c:275 #, c-format msgid "Unable to read entries in %s: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-initrd.c:306 #, c-format msgid "Unable to access %s: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-machine.c:446 #, c-format msgid "Kernel image %s does not exist" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:941 #, c-format msgid "Cannot request DHCP with static routes/addresses" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:963 #, c-format msgid "No assignment in filter parameter configuration" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:999 #, c-format msgid "Cannot set static addresses with DHCP" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1019 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1028 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1082 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1090 #, c-format msgid "Unable to parse address %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1058 #, c-format msgid "Cannot set static routes with DHCP" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1076 #, c-format msgid "Missing gateway in route %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1110 #, c-format msgid "Unknown parameter %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1121 #, c-format msgid "Cannot set static routes without addresses" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1285 #, c-format msgid "No mount type prefix on %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1298 #, c-format msgid "Unknown mount type prefix on %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1311 #, c-format msgid "Missing mount source string on %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1411 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1476 #, c-format msgid "No mount with a prefix under %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1578 #, c-format msgid "Unable to get SELinux context of user: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1587 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1596 #, c-format msgid "Unknown security option '%s'" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1630 msgid "Missing mount target in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1635 msgid "Missing mount type in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1647 #, c-format msgid "Unknown mount type %s in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1654 msgid "Missing mount usage in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1663 msgid "Missing mount source in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:2150 msgid "Missing class name in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:2156 #, c-format msgid "Unknown type name '%s' in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:2163 #, c-format msgid "Type name '%s' in config file had wrong parent" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console.c:326 msgid "Unable to isolate console unless direct access flag is set" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:184 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:350 #, c-format msgid "Unable to query terminal attributes: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:201 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:367 #, c-format msgid "Unable to update terminal attributes: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:224 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:395 #, c-format msgid "Unable to restore terminal attributes: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:630 msgid "No devices found for domain" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:660 #, c-format msgid "No device %s found for domain" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:666 #, c-format msgid "Unable to open console %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:699 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:1110 msgid "Console is already attached to a stream" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:628 #, c-format msgid "Unexpected rpc status %u" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:697 #, c-format msgid "Unexpected rpc proc %u" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:753 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:817 #, c-format msgid "Got rx in unexpected state %d" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:1167 msgid "ConsoleRpc is not attached to a stream" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-context.c:253 #: ../libvirt-sandbox/libvirt-sandbox-context.c:396 #, c-format msgid "Domain is not currently running" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-context.c:323 #: ../libvirt-sandbox/libvirt-sandbox-context.c:340 #: ../libvirt-sandbox/libvirt-sandbox-context.c:363 #, c-format msgid "Sandbox is not currently running" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1065 #, c-format msgid "libvirt-sandbox-init-common: unable to create signal pipe: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1084 #, c-format msgid "libvirt-sandbox-init-common: cannot open %s: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1141 #, c-format msgid "libvirt-sandbox-init-common: %s: cannot execute %s: %s\n" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1167 msgid "config file path" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1170 msgid "Run '" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1180 #, c-format msgid "%s: must be launched as root\n" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1187 msgid "Libvirt Sandbox Init Common" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1205 #, c-format msgid "%s: Unable to load config %s: %s\n" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1231 #, c-format msgid "Unsupported configuration type %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:69 msgid "Unable to decode message length" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:76 #, c-format msgid "packet %u bytes received from server too small, want %u" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:86 #, c-format msgid "packet %u bytes received from server too large, want %d" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:130 msgid "Unable to decode message header" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:174 #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:235 #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:303 #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:329 msgid "Unable to encode message length" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:180 msgid "Unable to encode message header" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:192 msgid "Unable to re-encode message length" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:222 msgid "Unable to encode message payload" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:265 msgid "Unable to decode message payload" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:290 #, c-format msgid "Raw data too long to send (%zu bytes needed, %zu bytes available)" msgstr "" libvirt-sandbox-0.5.1+git20160404/po/hi.po000066400000000000000000000341771275305543100176230ustar00rootroot00000000000000# SOME DESCRIPTIVE TITLE. # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # # Translators: msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2015-02-18 14:55+0000\n" "PO-Revision-Date: 2013-04-08 06:10-0400\n" "Last-Translator: FULL NAME \n" "Language-Team: Hindi \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Language: hi\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" "X-Generator: Zanata 3.5.1\n" #: ../bin/virt-sandbox.c:48 ../bin/virt-sandbox-service-util.c:43 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1149 #, c-format msgid "%s version %s\n" msgstr "" #: ../bin/virt-sandbox.c:84 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1161 msgid "display version information" msgstr "" #: ../bin/virt-sandbox.c:86 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1163 msgid "display verbose information" msgstr "" #: ../bin/virt-sandbox.c:88 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1165 msgid "display debugging information" msgstr "" #: ../bin/virt-sandbox.c:90 msgid "connect to hypervisor" msgstr "" #: ../bin/virt-sandbox.c:92 msgid "name of the sandbox" msgstr "" #: ../bin/virt-sandbox.c:94 msgid "root directory of the sandbox" msgstr "" #: ../bin/virt-sandbox.c:96 msgid "mount a filesystem in the guest" msgstr "" #: ../bin/virt-sandbox.c:98 msgid "file to copy into custom dir" msgstr "" #: ../bin/virt-sandbox.c:100 msgid "file contain list of files to include" msgstr "" #: ../bin/virt-sandbox.c:102 msgid "setup network interface properties" msgstr "" #: ../bin/virt-sandbox.c:104 msgid "security properties" msgstr "" #: ../bin/virt-sandbox.c:106 msgid "run the command privileged" msgstr "" #: ../bin/virt-sandbox.c:108 msgid "start a shell" msgstr "" #: ../bin/virt-sandbox.c:110 msgid "kernel version" msgstr "" #: ../bin/virt-sandbox.c:112 msgid "kernel binary path" msgstr "" #: ../bin/virt-sandbox.c:114 msgid "kernel module directory" msgstr "" #: ../bin/virt-sandbox.c:119 msgid "" "Run 'virt-sandbox --help' to see a full list of available command line " "options" msgstr "" #: ../bin/virt-sandbox.c:129 msgid "Libvirt Sandbox" msgstr "" #: ../bin/virt-sandbox.c:131 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1189 msgid "- Libvirt Sandbox" msgstr "" #: ../bin/virt-sandbox.c:144 #, c-format msgid "" "\n" "Usage: %s [OPTIONS] COMMAND-PATH [ARGS...]\n" "\n" "%s\n" "\n" msgstr "" #: ../bin/virt-sandbox.c:160 ../bin/virt-sandbox-service-util.c:65 #, c-format msgid "Unable to open connection: %s\n" msgstr "" #: ../bin/virt-sandbox.c:161 ../bin/virt-sandbox.c:188 #: ../bin/virt-sandbox.c:194 ../bin/virt-sandbox.c:200 #: ../bin/virt-sandbox.c:206 ../bin/virt-sandbox.c:212 #: ../bin/virt-sandbox.c:227 ../bin/virt-sandbox.c:233 #: ../bin/virt-sandbox.c:240 ../bin/virt-sandbox.c:246 #: ../bin/virt-sandbox.c:254 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1247 msgid "Unknown failure" msgstr "" #: ../bin/virt-sandbox.c:187 #, c-format msgid "Unable to parse mounts: %s\n" msgstr "" #: ../bin/virt-sandbox.c:193 #, c-format msgid "Unable to parse includes: %s\n" msgstr "" #: ../bin/virt-sandbox.c:199 #, c-format msgid "Unable to parse include file: %s\n" msgstr "" #: ../bin/virt-sandbox.c:205 #, c-format msgid "Unable to parse networks: %s\n" msgstr "" #: ../bin/virt-sandbox.c:211 #, c-format msgid "Unable to parse security: %s\n" msgstr "" #: ../bin/virt-sandbox.c:226 #, c-format msgid "Unable to start sandbox: %s\n" msgstr "" #: ../bin/virt-sandbox.c:232 #, c-format msgid "Unable to get log console: %s\n" msgstr "" #: ../bin/virt-sandbox.c:239 ../bin/virt-sandbox.c:253 #, c-format msgid "Unable to attach sandbox console: %s\n" msgstr "" #: ../bin/virt-sandbox.c:245 #, c-format msgid "Unable to get app console: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:66 ../bin/virt-sandbox-service-util.c:72 #: ../bin/virt-sandbox-service-util.c:78 #: ../bin/virt-sandbox-service-util.c:104 #: ../bin/virt-sandbox-service-util.c:110 #: ../bin/virt-sandbox-service-util.c:120 #: ../bin/virt-sandbox-service-util.c:127 #: ../bin/virt-sandbox-service-util.c:159 #: ../bin/virt-sandbox-service-util.c:165 #: ../bin/virt-sandbox-service-util.c:175 #: ../bin/virt-sandbox-service-util.c:182 msgid "unknown" msgstr "" #: ../bin/virt-sandbox-service-util.c:71 #, c-format msgid "Unable to read config file %s: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:77 #, c-format msgid "Unable to create new context service: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:103 #, c-format msgid "Unable to start container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:109 #, c-format msgid "Unable to get log console for container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:119 #, c-format msgid "Unable to attach console to stderr in the container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:126 #: ../bin/virt-sandbox-service-util.c:181 #, c-format msgid "Unable to disconnect console from libvirt: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:158 #: ../bin/virt-sandbox-service-util.c:174 #, c-format msgid "Unable to attach to container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:164 #, c-format msgid "Unable to get shell console for container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:240 msgid "Display version information" msgstr "" #: ../bin/virt-sandbox-service-util.c:242 msgid "Start a container" msgstr "" #: ../bin/virt-sandbox-service-util.c:244 msgid "Attach to a container" msgstr "" #: ../bin/virt-sandbox-service-util.c:246 msgid "Pid of process in container to which the command will run" msgstr "" #: ../bin/virt-sandbox-service-util.c:248 msgid "Connect to hypervisor Default:'lxc:///'" msgstr "" #: ../bin/virt-sandbox-service-util.c:253 msgid "" "Run 'virt-sandbox-service-util --help' to see a full list of available " "command line options\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:263 msgid "- Libvirt Sandbox Service" msgstr "" #: ../bin/virt-sandbox-service-util.c:275 #, c-format msgid "" "Invalid command: You must specify --start or --attach\n" "%s" msgstr "" #: ../bin/virt-sandbox-service-util.c:281 #, c-format msgid "Invalid command CONTAINER_NAME required: %s" msgstr "" #: ../bin/virt-sandbox-service-util.c:288 msgid "Libvirt Sandbox Service" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-initrd.c:171 #, c-format msgid "Unable to create temporary directory %s: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-initrd.c:217 #, c-format msgid "Kernel module dir %s does not exist" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-initrd.c:275 #, c-format msgid "Unable to read entries in %s: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-initrd.c:306 #, c-format msgid "Unable to access %s: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-machine.c:446 #, c-format msgid "Kernel image %s does not exist" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:941 #, c-format msgid "Cannot request DHCP with static routes/addresses" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:963 #, c-format msgid "No assignment in filter parameter configuration" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:999 #, c-format msgid "Cannot set static addresses with DHCP" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1019 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1028 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1082 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1090 #, c-format msgid "Unable to parse address %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1058 #, c-format msgid "Cannot set static routes with DHCP" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1076 #, c-format msgid "Missing gateway in route %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1110 #, c-format msgid "Unknown parameter %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1121 #, c-format msgid "Cannot set static routes without addresses" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1285 #, c-format msgid "No mount type prefix on %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1298 #, c-format msgid "Unknown mount type prefix on %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1311 #, c-format msgid "Missing mount source string on %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1411 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1476 #, c-format msgid "No mount with a prefix under %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1578 #, c-format msgid "Unable to get SELinux context of user: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1587 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1596 #, c-format msgid "Unknown security option '%s'" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1630 msgid "Missing mount target in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1635 msgid "Missing mount type in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1647 #, c-format msgid "Unknown mount type %s in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1654 msgid "Missing mount usage in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1663 msgid "Missing mount source in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:2150 msgid "Missing class name in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:2156 #, c-format msgid "Unknown type name '%s' in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:2163 #, c-format msgid "Type name '%s' in config file had wrong parent" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console.c:326 msgid "Unable to isolate console unless direct access flag is set" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:184 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:350 #, c-format msgid "Unable to query terminal attributes: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:201 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:367 #, c-format msgid "Unable to update terminal attributes: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:224 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:395 #, c-format msgid "Unable to restore terminal attributes: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:630 msgid "No devices found for domain" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:660 #, c-format msgid "No device %s found for domain" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:666 #, c-format msgid "Unable to open console %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:699 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:1110 msgid "Console is already attached to a stream" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:628 #, c-format msgid "Unexpected rpc status %u" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:697 #, c-format msgid "Unexpected rpc proc %u" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:753 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:817 #, c-format msgid "Got rx in unexpected state %d" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:1167 msgid "ConsoleRpc is not attached to a stream" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-context.c:253 #: ../libvirt-sandbox/libvirt-sandbox-context.c:396 #, c-format msgid "Domain is not currently running" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-context.c:323 #: ../libvirt-sandbox/libvirt-sandbox-context.c:340 #: ../libvirt-sandbox/libvirt-sandbox-context.c:363 #, c-format msgid "Sandbox is not currently running" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1065 #, c-format msgid "libvirt-sandbox-init-common: unable to create signal pipe: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1084 #, c-format msgid "libvirt-sandbox-init-common: cannot open %s: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1141 #, c-format msgid "libvirt-sandbox-init-common: %s: cannot execute %s: %s\n" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1167 msgid "config file path" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1170 msgid "Run '" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1180 #, c-format msgid "%s: must be launched as root\n" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1187 msgid "Libvirt Sandbox Init Common" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1205 #, c-format msgid "%s: Unable to load config %s: %s\n" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1231 #, c-format msgid "Unsupported configuration type %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:69 msgid "Unable to decode message length" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:76 #, c-format msgid "packet %u bytes received from server too small, want %u" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:86 #, c-format msgid "packet %u bytes received from server too large, want %d" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:130 msgid "Unable to decode message header" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:174 #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:235 #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:303 #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:329 msgid "Unable to encode message length" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:180 msgid "Unable to encode message header" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:192 msgid "Unable to re-encode message length" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:222 msgid "Unable to encode message payload" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:265 msgid "Unable to decode message payload" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:290 #, c-format msgid "Raw data too long to send (%zu bytes needed, %zu bytes available)" msgstr "" libvirt-sandbox-0.5.1+git20160404/po/hr.po000066400000000000000000000343351275305543100176300ustar00rootroot00000000000000# SOME DESCRIPTIVE TITLE. # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # # Translators: msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2015-02-18 14:55+0000\n" "PO-Revision-Date: 2013-04-08 06:10-0400\n" "Last-Translator: FULL NAME \n" "Language-Team: Croatian (http://www.transifex.com/projects/p/fedora/language/hr/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Language: hr\n" "Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n" "X-Generator: Zanata 3.5.1\n" #: ../bin/virt-sandbox.c:48 ../bin/virt-sandbox-service-util.c:43 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1149 #, c-format msgid "%s version %s\n" msgstr "" #: ../bin/virt-sandbox.c:84 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1161 msgid "display version information" msgstr "" #: ../bin/virt-sandbox.c:86 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1163 msgid "display verbose information" msgstr "" #: ../bin/virt-sandbox.c:88 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1165 msgid "display debugging information" msgstr "" #: ../bin/virt-sandbox.c:90 msgid "connect to hypervisor" msgstr "" #: ../bin/virt-sandbox.c:92 msgid "name of the sandbox" msgstr "" #: ../bin/virt-sandbox.c:94 msgid "root directory of the sandbox" msgstr "" #: ../bin/virt-sandbox.c:96 msgid "mount a filesystem in the guest" msgstr "" #: ../bin/virt-sandbox.c:98 msgid "file to copy into custom dir" msgstr "" #: ../bin/virt-sandbox.c:100 msgid "file contain list of files to include" msgstr "" #: ../bin/virt-sandbox.c:102 msgid "setup network interface properties" msgstr "" #: ../bin/virt-sandbox.c:104 msgid "security properties" msgstr "" #: ../bin/virt-sandbox.c:106 msgid "run the command privileged" msgstr "" #: ../bin/virt-sandbox.c:108 msgid "start a shell" msgstr "" #: ../bin/virt-sandbox.c:110 msgid "kernel version" msgstr "" #: ../bin/virt-sandbox.c:112 msgid "kernel binary path" msgstr "" #: ../bin/virt-sandbox.c:114 msgid "kernel module directory" msgstr "" #: ../bin/virt-sandbox.c:119 msgid "" "Run 'virt-sandbox --help' to see a full list of available command line " "options" msgstr "" #: ../bin/virt-sandbox.c:129 msgid "Libvirt Sandbox" msgstr "" #: ../bin/virt-sandbox.c:131 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1189 msgid "- Libvirt Sandbox" msgstr "" #: ../bin/virt-sandbox.c:144 #, c-format msgid "" "\n" "Usage: %s [OPTIONS] COMMAND-PATH [ARGS...]\n" "\n" "%s\n" "\n" msgstr "" #: ../bin/virt-sandbox.c:160 ../bin/virt-sandbox-service-util.c:65 #, c-format msgid "Unable to open connection: %s\n" msgstr "" #: ../bin/virt-sandbox.c:161 ../bin/virt-sandbox.c:188 #: ../bin/virt-sandbox.c:194 ../bin/virt-sandbox.c:200 #: ../bin/virt-sandbox.c:206 ../bin/virt-sandbox.c:212 #: ../bin/virt-sandbox.c:227 ../bin/virt-sandbox.c:233 #: ../bin/virt-sandbox.c:240 ../bin/virt-sandbox.c:246 #: ../bin/virt-sandbox.c:254 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1247 msgid "Unknown failure" msgstr "" #: ../bin/virt-sandbox.c:187 #, c-format msgid "Unable to parse mounts: %s\n" msgstr "" #: ../bin/virt-sandbox.c:193 #, c-format msgid "Unable to parse includes: %s\n" msgstr "" #: ../bin/virt-sandbox.c:199 #, c-format msgid "Unable to parse include file: %s\n" msgstr "" #: ../bin/virt-sandbox.c:205 #, c-format msgid "Unable to parse networks: %s\n" msgstr "" #: ../bin/virt-sandbox.c:211 #, c-format msgid "Unable to parse security: %s\n" msgstr "" #: ../bin/virt-sandbox.c:226 #, c-format msgid "Unable to start sandbox: %s\n" msgstr "" #: ../bin/virt-sandbox.c:232 #, c-format msgid "Unable to get log console: %s\n" msgstr "" #: ../bin/virt-sandbox.c:239 ../bin/virt-sandbox.c:253 #, c-format msgid "Unable to attach sandbox console: %s\n" msgstr "" #: ../bin/virt-sandbox.c:245 #, c-format msgid "Unable to get app console: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:66 ../bin/virt-sandbox-service-util.c:72 #: ../bin/virt-sandbox-service-util.c:78 #: ../bin/virt-sandbox-service-util.c:104 #: ../bin/virt-sandbox-service-util.c:110 #: ../bin/virt-sandbox-service-util.c:120 #: ../bin/virt-sandbox-service-util.c:127 #: ../bin/virt-sandbox-service-util.c:159 #: ../bin/virt-sandbox-service-util.c:165 #: ../bin/virt-sandbox-service-util.c:175 #: ../bin/virt-sandbox-service-util.c:182 msgid "unknown" msgstr "" #: ../bin/virt-sandbox-service-util.c:71 #, c-format msgid "Unable to read config file %s: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:77 #, c-format msgid "Unable to create new context service: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:103 #, c-format msgid "Unable to start container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:109 #, c-format msgid "Unable to get log console for container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:119 #, c-format msgid "Unable to attach console to stderr in the container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:126 #: ../bin/virt-sandbox-service-util.c:181 #, c-format msgid "Unable to disconnect console from libvirt: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:158 #: ../bin/virt-sandbox-service-util.c:174 #, c-format msgid "Unable to attach to container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:164 #, c-format msgid "Unable to get shell console for container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:240 msgid "Display version information" msgstr "" #: ../bin/virt-sandbox-service-util.c:242 msgid "Start a container" msgstr "" #: ../bin/virt-sandbox-service-util.c:244 msgid "Attach to a container" msgstr "" #: ../bin/virt-sandbox-service-util.c:246 msgid "Pid of process in container to which the command will run" msgstr "" #: ../bin/virt-sandbox-service-util.c:248 msgid "Connect to hypervisor Default:'lxc:///'" msgstr "" #: ../bin/virt-sandbox-service-util.c:253 msgid "" "Run 'virt-sandbox-service-util --help' to see a full list of available " "command line options\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:263 msgid "- Libvirt Sandbox Service" msgstr "" #: ../bin/virt-sandbox-service-util.c:275 #, c-format msgid "" "Invalid command: You must specify --start or --attach\n" "%s" msgstr "" #: ../bin/virt-sandbox-service-util.c:281 #, c-format msgid "Invalid command CONTAINER_NAME required: %s" msgstr "" #: ../bin/virt-sandbox-service-util.c:288 msgid "Libvirt Sandbox Service" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-initrd.c:171 #, c-format msgid "Unable to create temporary directory %s: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-initrd.c:217 #, c-format msgid "Kernel module dir %s does not exist" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-initrd.c:275 #, c-format msgid "Unable to read entries in %s: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-initrd.c:306 #, c-format msgid "Unable to access %s: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-machine.c:446 #, c-format msgid "Kernel image %s does not exist" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:941 #, c-format msgid "Cannot request DHCP with static routes/addresses" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:963 #, c-format msgid "No assignment in filter parameter configuration" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:999 #, c-format msgid "Cannot set static addresses with DHCP" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1019 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1028 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1082 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1090 #, c-format msgid "Unable to parse address %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1058 #, c-format msgid "Cannot set static routes with DHCP" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1076 #, c-format msgid "Missing gateway in route %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1110 #, c-format msgid "Unknown parameter %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1121 #, c-format msgid "Cannot set static routes without addresses" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1285 #, c-format msgid "No mount type prefix on %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1298 #, c-format msgid "Unknown mount type prefix on %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1311 #, c-format msgid "Missing mount source string on %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1411 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1476 #, c-format msgid "No mount with a prefix under %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1578 #, c-format msgid "Unable to get SELinux context of user: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1587 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1596 #, c-format msgid "Unknown security option '%s'" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1630 msgid "Missing mount target in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1635 msgid "Missing mount type in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1647 #, c-format msgid "Unknown mount type %s in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1654 msgid "Missing mount usage in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1663 msgid "Missing mount source in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:2150 msgid "Missing class name in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:2156 #, c-format msgid "Unknown type name '%s' in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:2163 #, c-format msgid "Type name '%s' in config file had wrong parent" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console.c:326 msgid "Unable to isolate console unless direct access flag is set" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:184 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:350 #, c-format msgid "Unable to query terminal attributes: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:201 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:367 #, c-format msgid "Unable to update terminal attributes: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:224 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:395 #, c-format msgid "Unable to restore terminal attributes: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:630 msgid "No devices found for domain" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:660 #, c-format msgid "No device %s found for domain" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:666 #, c-format msgid "Unable to open console %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:699 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:1110 msgid "Console is already attached to a stream" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:628 #, c-format msgid "Unexpected rpc status %u" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:697 #, c-format msgid "Unexpected rpc proc %u" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:753 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:817 #, c-format msgid "Got rx in unexpected state %d" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:1167 msgid "ConsoleRpc is not attached to a stream" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-context.c:253 #: ../libvirt-sandbox/libvirt-sandbox-context.c:396 #, c-format msgid "Domain is not currently running" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-context.c:323 #: ../libvirt-sandbox/libvirt-sandbox-context.c:340 #: ../libvirt-sandbox/libvirt-sandbox-context.c:363 #, c-format msgid "Sandbox is not currently running" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1065 #, c-format msgid "libvirt-sandbox-init-common: unable to create signal pipe: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1084 #, c-format msgid "libvirt-sandbox-init-common: cannot open %s: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1141 #, c-format msgid "libvirt-sandbox-init-common: %s: cannot execute %s: %s\n" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1167 msgid "config file path" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1170 msgid "Run '" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1180 #, c-format msgid "%s: must be launched as root\n" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1187 msgid "Libvirt Sandbox Init Common" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1205 #, c-format msgid "%s: Unable to load config %s: %s\n" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1231 #, c-format msgid "Unsupported configuration type %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:69 msgid "Unable to decode message length" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:76 #, c-format msgid "packet %u bytes received from server too small, want %u" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:86 #, c-format msgid "packet %u bytes received from server too large, want %d" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:130 msgid "Unable to decode message header" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:174 #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:235 #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:303 #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:329 msgid "Unable to encode message length" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:180 msgid "Unable to encode message header" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:192 msgid "Unable to re-encode message length" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:222 msgid "Unable to encode message payload" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:265 msgid "Unable to decode message payload" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:290 #, c-format msgid "Raw data too long to send (%zu bytes needed, %zu bytes available)" msgstr "" libvirt-sandbox-0.5.1+git20160404/po/hu.po000066400000000000000000000341771275305543100176370ustar00rootroot00000000000000# SOME DESCRIPTIVE TITLE. # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # # Translators: msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2015-02-18 14:55+0000\n" "PO-Revision-Date: 2013-04-08 06:10-0400\n" "Last-Translator: FULL NAME \n" "Language-Team: Hungarian \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Language: hu\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" "X-Generator: Zanata 3.5.1\n" #: ../bin/virt-sandbox.c:48 ../bin/virt-sandbox-service-util.c:43 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1149 #, c-format msgid "%s version %s\n" msgstr "" #: ../bin/virt-sandbox.c:84 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1161 msgid "display version information" msgstr "" #: ../bin/virt-sandbox.c:86 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1163 msgid "display verbose information" msgstr "" #: ../bin/virt-sandbox.c:88 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1165 msgid "display debugging information" msgstr "" #: ../bin/virt-sandbox.c:90 msgid "connect to hypervisor" msgstr "" #: ../bin/virt-sandbox.c:92 msgid "name of the sandbox" msgstr "" #: ../bin/virt-sandbox.c:94 msgid "root directory of the sandbox" msgstr "" #: ../bin/virt-sandbox.c:96 msgid "mount a filesystem in the guest" msgstr "" #: ../bin/virt-sandbox.c:98 msgid "file to copy into custom dir" msgstr "" #: ../bin/virt-sandbox.c:100 msgid "file contain list of files to include" msgstr "" #: ../bin/virt-sandbox.c:102 msgid "setup network interface properties" msgstr "" #: ../bin/virt-sandbox.c:104 msgid "security properties" msgstr "" #: ../bin/virt-sandbox.c:106 msgid "run the command privileged" msgstr "" #: ../bin/virt-sandbox.c:108 msgid "start a shell" msgstr "" #: ../bin/virt-sandbox.c:110 msgid "kernel version" msgstr "" #: ../bin/virt-sandbox.c:112 msgid "kernel binary path" msgstr "" #: ../bin/virt-sandbox.c:114 msgid "kernel module directory" msgstr "" #: ../bin/virt-sandbox.c:119 msgid "" "Run 'virt-sandbox --help' to see a full list of available command line " "options" msgstr "" #: ../bin/virt-sandbox.c:129 msgid "Libvirt Sandbox" msgstr "" #: ../bin/virt-sandbox.c:131 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1189 msgid "- Libvirt Sandbox" msgstr "" #: ../bin/virt-sandbox.c:144 #, c-format msgid "" "\n" "Usage: %s [OPTIONS] COMMAND-PATH [ARGS...]\n" "\n" "%s\n" "\n" msgstr "" #: ../bin/virt-sandbox.c:160 ../bin/virt-sandbox-service-util.c:65 #, c-format msgid "Unable to open connection: %s\n" msgstr "" #: ../bin/virt-sandbox.c:161 ../bin/virt-sandbox.c:188 #: ../bin/virt-sandbox.c:194 ../bin/virt-sandbox.c:200 #: ../bin/virt-sandbox.c:206 ../bin/virt-sandbox.c:212 #: ../bin/virt-sandbox.c:227 ../bin/virt-sandbox.c:233 #: ../bin/virt-sandbox.c:240 ../bin/virt-sandbox.c:246 #: ../bin/virt-sandbox.c:254 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1247 msgid "Unknown failure" msgstr "" #: ../bin/virt-sandbox.c:187 #, c-format msgid "Unable to parse mounts: %s\n" msgstr "" #: ../bin/virt-sandbox.c:193 #, c-format msgid "Unable to parse includes: %s\n" msgstr "" #: ../bin/virt-sandbox.c:199 #, c-format msgid "Unable to parse include file: %s\n" msgstr "" #: ../bin/virt-sandbox.c:205 #, c-format msgid "Unable to parse networks: %s\n" msgstr "" #: ../bin/virt-sandbox.c:211 #, c-format msgid "Unable to parse security: %s\n" msgstr "" #: ../bin/virt-sandbox.c:226 #, c-format msgid "Unable to start sandbox: %s\n" msgstr "" #: ../bin/virt-sandbox.c:232 #, c-format msgid "Unable to get log console: %s\n" msgstr "" #: ../bin/virt-sandbox.c:239 ../bin/virt-sandbox.c:253 #, c-format msgid "Unable to attach sandbox console: %s\n" msgstr "" #: ../bin/virt-sandbox.c:245 #, c-format msgid "Unable to get app console: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:66 ../bin/virt-sandbox-service-util.c:72 #: ../bin/virt-sandbox-service-util.c:78 #: ../bin/virt-sandbox-service-util.c:104 #: ../bin/virt-sandbox-service-util.c:110 #: ../bin/virt-sandbox-service-util.c:120 #: ../bin/virt-sandbox-service-util.c:127 #: ../bin/virt-sandbox-service-util.c:159 #: ../bin/virt-sandbox-service-util.c:165 #: ../bin/virt-sandbox-service-util.c:175 #: ../bin/virt-sandbox-service-util.c:182 msgid "unknown" msgstr "" #: ../bin/virt-sandbox-service-util.c:71 #, c-format msgid "Unable to read config file %s: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:77 #, c-format msgid "Unable to create new context service: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:103 #, c-format msgid "Unable to start container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:109 #, c-format msgid "Unable to get log console for container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:119 #, c-format msgid "Unable to attach console to stderr in the container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:126 #: ../bin/virt-sandbox-service-util.c:181 #, c-format msgid "Unable to disconnect console from libvirt: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:158 #: ../bin/virt-sandbox-service-util.c:174 #, c-format msgid "Unable to attach to container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:164 #, c-format msgid "Unable to get shell console for container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:240 msgid "Display version information" msgstr "" #: ../bin/virt-sandbox-service-util.c:242 msgid "Start a container" msgstr "" #: ../bin/virt-sandbox-service-util.c:244 msgid "Attach to a container" msgstr "" #: ../bin/virt-sandbox-service-util.c:246 msgid "Pid of process in container to which the command will run" msgstr "" #: ../bin/virt-sandbox-service-util.c:248 msgid "Connect to hypervisor Default:'lxc:///'" msgstr "" #: ../bin/virt-sandbox-service-util.c:253 msgid "" "Run 'virt-sandbox-service-util --help' to see a full list of available " "command line options\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:263 msgid "- Libvirt Sandbox Service" msgstr "" #: ../bin/virt-sandbox-service-util.c:275 #, c-format msgid "" "Invalid command: You must specify --start or --attach\n" "%s" msgstr "" #: ../bin/virt-sandbox-service-util.c:281 #, c-format msgid "Invalid command CONTAINER_NAME required: %s" msgstr "" #: ../bin/virt-sandbox-service-util.c:288 msgid "Libvirt Sandbox Service" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-initrd.c:171 #, c-format msgid "Unable to create temporary directory %s: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-initrd.c:217 #, c-format msgid "Kernel module dir %s does not exist" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-initrd.c:275 #, c-format msgid "Unable to read entries in %s: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-initrd.c:306 #, c-format msgid "Unable to access %s: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-machine.c:446 #, c-format msgid "Kernel image %s does not exist" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:941 #, c-format msgid "Cannot request DHCP with static routes/addresses" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:963 #, c-format msgid "No assignment in filter parameter configuration" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:999 #, c-format msgid "Cannot set static addresses with DHCP" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1019 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1028 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1082 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1090 #, c-format msgid "Unable to parse address %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1058 #, c-format msgid "Cannot set static routes with DHCP" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1076 #, c-format msgid "Missing gateway in route %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1110 #, c-format msgid "Unknown parameter %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1121 #, c-format msgid "Cannot set static routes without addresses" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1285 #, c-format msgid "No mount type prefix on %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1298 #, c-format msgid "Unknown mount type prefix on %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1311 #, c-format msgid "Missing mount source string on %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1411 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1476 #, c-format msgid "No mount with a prefix under %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1578 #, c-format msgid "Unable to get SELinux context of user: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1587 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1596 #, c-format msgid "Unknown security option '%s'" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1630 msgid "Missing mount target in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1635 msgid "Missing mount type in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1647 #, c-format msgid "Unknown mount type %s in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1654 msgid "Missing mount usage in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1663 msgid "Missing mount source in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:2150 msgid "Missing class name in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:2156 #, c-format msgid "Unknown type name '%s' in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:2163 #, c-format msgid "Type name '%s' in config file had wrong parent" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console.c:326 msgid "Unable to isolate console unless direct access flag is set" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:184 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:350 #, c-format msgid "Unable to query terminal attributes: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:201 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:367 #, c-format msgid "Unable to update terminal attributes: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:224 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:395 #, c-format msgid "Unable to restore terminal attributes: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:630 msgid "No devices found for domain" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:660 #, c-format msgid "No device %s found for domain" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:666 #, c-format msgid "Unable to open console %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:699 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:1110 msgid "Console is already attached to a stream" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:628 #, c-format msgid "Unexpected rpc status %u" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:697 #, c-format msgid "Unexpected rpc proc %u" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:753 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:817 #, c-format msgid "Got rx in unexpected state %d" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:1167 msgid "ConsoleRpc is not attached to a stream" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-context.c:253 #: ../libvirt-sandbox/libvirt-sandbox-context.c:396 #, c-format msgid "Domain is not currently running" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-context.c:323 #: ../libvirt-sandbox/libvirt-sandbox-context.c:340 #: ../libvirt-sandbox/libvirt-sandbox-context.c:363 #, c-format msgid "Sandbox is not currently running" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1065 #, c-format msgid "libvirt-sandbox-init-common: unable to create signal pipe: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1084 #, c-format msgid "libvirt-sandbox-init-common: cannot open %s: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1141 #, c-format msgid "libvirt-sandbox-init-common: %s: cannot execute %s: %s\n" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1167 msgid "config file path" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1170 msgid "Run '" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1180 #, c-format msgid "%s: must be launched as root\n" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1187 msgid "Libvirt Sandbox Init Common" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1205 #, c-format msgid "%s: Unable to load config %s: %s\n" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1231 #, c-format msgid "Unsupported configuration type %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:69 msgid "Unable to decode message length" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:76 #, c-format msgid "packet %u bytes received from server too small, want %u" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:86 #, c-format msgid "packet %u bytes received from server too large, want %d" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:130 msgid "Unable to decode message header" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:174 #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:235 #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:303 #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:329 msgid "Unable to encode message length" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:180 msgid "Unable to encode message header" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:192 msgid "Unable to re-encode message length" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:222 msgid "Unable to encode message payload" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:265 msgid "Unable to decode message payload" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:290 #, c-format msgid "Raw data too long to send (%zu bytes needed, %zu bytes available)" msgstr "" libvirt-sandbox-0.5.1+git20160404/po/ia.po000066400000000000000000000342011275305543100176000ustar00rootroot00000000000000# SOME DESCRIPTIVE TITLE. # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # # Translators: msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2015-02-18 14:55+0000\n" "PO-Revision-Date: 2013-04-08 06:10-0400\n" "Last-Translator: FULL NAME \n" "Language-Team: Interlingua \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Language: ia\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" "X-Generator: Zanata 3.5.1\n" #: ../bin/virt-sandbox.c:48 ../bin/virt-sandbox-service-util.c:43 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1149 #, c-format msgid "%s version %s\n" msgstr "" #: ../bin/virt-sandbox.c:84 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1161 msgid "display version information" msgstr "" #: ../bin/virt-sandbox.c:86 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1163 msgid "display verbose information" msgstr "" #: ../bin/virt-sandbox.c:88 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1165 msgid "display debugging information" msgstr "" #: ../bin/virt-sandbox.c:90 msgid "connect to hypervisor" msgstr "" #: ../bin/virt-sandbox.c:92 msgid "name of the sandbox" msgstr "" #: ../bin/virt-sandbox.c:94 msgid "root directory of the sandbox" msgstr "" #: ../bin/virt-sandbox.c:96 msgid "mount a filesystem in the guest" msgstr "" #: ../bin/virt-sandbox.c:98 msgid "file to copy into custom dir" msgstr "" #: ../bin/virt-sandbox.c:100 msgid "file contain list of files to include" msgstr "" #: ../bin/virt-sandbox.c:102 msgid "setup network interface properties" msgstr "" #: ../bin/virt-sandbox.c:104 msgid "security properties" msgstr "" #: ../bin/virt-sandbox.c:106 msgid "run the command privileged" msgstr "" #: ../bin/virt-sandbox.c:108 msgid "start a shell" msgstr "" #: ../bin/virt-sandbox.c:110 msgid "kernel version" msgstr "" #: ../bin/virt-sandbox.c:112 msgid "kernel binary path" msgstr "" #: ../bin/virt-sandbox.c:114 msgid "kernel module directory" msgstr "" #: ../bin/virt-sandbox.c:119 msgid "" "Run 'virt-sandbox --help' to see a full list of available command line " "options" msgstr "" #: ../bin/virt-sandbox.c:129 msgid "Libvirt Sandbox" msgstr "" #: ../bin/virt-sandbox.c:131 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1189 msgid "- Libvirt Sandbox" msgstr "" #: ../bin/virt-sandbox.c:144 #, c-format msgid "" "\n" "Usage: %s [OPTIONS] COMMAND-PATH [ARGS...]\n" "\n" "%s\n" "\n" msgstr "" #: ../bin/virt-sandbox.c:160 ../bin/virt-sandbox-service-util.c:65 #, c-format msgid "Unable to open connection: %s\n" msgstr "" #: ../bin/virt-sandbox.c:161 ../bin/virt-sandbox.c:188 #: ../bin/virt-sandbox.c:194 ../bin/virt-sandbox.c:200 #: ../bin/virt-sandbox.c:206 ../bin/virt-sandbox.c:212 #: ../bin/virt-sandbox.c:227 ../bin/virt-sandbox.c:233 #: ../bin/virt-sandbox.c:240 ../bin/virt-sandbox.c:246 #: ../bin/virt-sandbox.c:254 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1247 msgid "Unknown failure" msgstr "" #: ../bin/virt-sandbox.c:187 #, c-format msgid "Unable to parse mounts: %s\n" msgstr "" #: ../bin/virt-sandbox.c:193 #, c-format msgid "Unable to parse includes: %s\n" msgstr "" #: ../bin/virt-sandbox.c:199 #, c-format msgid "Unable to parse include file: %s\n" msgstr "" #: ../bin/virt-sandbox.c:205 #, c-format msgid "Unable to parse networks: %s\n" msgstr "" #: ../bin/virt-sandbox.c:211 #, c-format msgid "Unable to parse security: %s\n" msgstr "" #: ../bin/virt-sandbox.c:226 #, c-format msgid "Unable to start sandbox: %s\n" msgstr "" #: ../bin/virt-sandbox.c:232 #, c-format msgid "Unable to get log console: %s\n" msgstr "" #: ../bin/virt-sandbox.c:239 ../bin/virt-sandbox.c:253 #, c-format msgid "Unable to attach sandbox console: %s\n" msgstr "" #: ../bin/virt-sandbox.c:245 #, c-format msgid "Unable to get app console: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:66 ../bin/virt-sandbox-service-util.c:72 #: ../bin/virt-sandbox-service-util.c:78 #: ../bin/virt-sandbox-service-util.c:104 #: ../bin/virt-sandbox-service-util.c:110 #: ../bin/virt-sandbox-service-util.c:120 #: ../bin/virt-sandbox-service-util.c:127 #: ../bin/virt-sandbox-service-util.c:159 #: ../bin/virt-sandbox-service-util.c:165 #: ../bin/virt-sandbox-service-util.c:175 #: ../bin/virt-sandbox-service-util.c:182 msgid "unknown" msgstr "" #: ../bin/virt-sandbox-service-util.c:71 #, c-format msgid "Unable to read config file %s: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:77 #, c-format msgid "Unable to create new context service: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:103 #, c-format msgid "Unable to start container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:109 #, c-format msgid "Unable to get log console for container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:119 #, c-format msgid "Unable to attach console to stderr in the container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:126 #: ../bin/virt-sandbox-service-util.c:181 #, c-format msgid "Unable to disconnect console from libvirt: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:158 #: ../bin/virt-sandbox-service-util.c:174 #, c-format msgid "Unable to attach to container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:164 #, c-format msgid "Unable to get shell console for container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:240 msgid "Display version information" msgstr "" #: ../bin/virt-sandbox-service-util.c:242 msgid "Start a container" msgstr "" #: ../bin/virt-sandbox-service-util.c:244 msgid "Attach to a container" msgstr "" #: ../bin/virt-sandbox-service-util.c:246 msgid "Pid of process in container to which the command will run" msgstr "" #: ../bin/virt-sandbox-service-util.c:248 msgid "Connect to hypervisor Default:'lxc:///'" msgstr "" #: ../bin/virt-sandbox-service-util.c:253 msgid "" "Run 'virt-sandbox-service-util --help' to see a full list of available " "command line options\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:263 msgid "- Libvirt Sandbox Service" msgstr "" #: ../bin/virt-sandbox-service-util.c:275 #, c-format msgid "" "Invalid command: You must specify --start or --attach\n" "%s" msgstr "" #: ../bin/virt-sandbox-service-util.c:281 #, c-format msgid "Invalid command CONTAINER_NAME required: %s" msgstr "" #: ../bin/virt-sandbox-service-util.c:288 msgid "Libvirt Sandbox Service" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-initrd.c:171 #, c-format msgid "Unable to create temporary directory %s: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-initrd.c:217 #, c-format msgid "Kernel module dir %s does not exist" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-initrd.c:275 #, c-format msgid "Unable to read entries in %s: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-initrd.c:306 #, c-format msgid "Unable to access %s: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-machine.c:446 #, c-format msgid "Kernel image %s does not exist" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:941 #, c-format msgid "Cannot request DHCP with static routes/addresses" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:963 #, c-format msgid "No assignment in filter parameter configuration" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:999 #, c-format msgid "Cannot set static addresses with DHCP" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1019 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1028 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1082 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1090 #, c-format msgid "Unable to parse address %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1058 #, c-format msgid "Cannot set static routes with DHCP" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1076 #, c-format msgid "Missing gateway in route %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1110 #, c-format msgid "Unknown parameter %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1121 #, c-format msgid "Cannot set static routes without addresses" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1285 #, c-format msgid "No mount type prefix on %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1298 #, c-format msgid "Unknown mount type prefix on %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1311 #, c-format msgid "Missing mount source string on %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1411 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1476 #, c-format msgid "No mount with a prefix under %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1578 #, c-format msgid "Unable to get SELinux context of user: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1587 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1596 #, c-format msgid "Unknown security option '%s'" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1630 msgid "Missing mount target in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1635 msgid "Missing mount type in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1647 #, c-format msgid "Unknown mount type %s in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1654 msgid "Missing mount usage in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1663 msgid "Missing mount source in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:2150 msgid "Missing class name in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:2156 #, c-format msgid "Unknown type name '%s' in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:2163 #, c-format msgid "Type name '%s' in config file had wrong parent" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console.c:326 msgid "Unable to isolate console unless direct access flag is set" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:184 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:350 #, c-format msgid "Unable to query terminal attributes: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:201 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:367 #, c-format msgid "Unable to update terminal attributes: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:224 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:395 #, c-format msgid "Unable to restore terminal attributes: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:630 msgid "No devices found for domain" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:660 #, c-format msgid "No device %s found for domain" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:666 #, c-format msgid "Unable to open console %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:699 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:1110 msgid "Console is already attached to a stream" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:628 #, c-format msgid "Unexpected rpc status %u" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:697 #, c-format msgid "Unexpected rpc proc %u" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:753 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:817 #, c-format msgid "Got rx in unexpected state %d" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:1167 msgid "ConsoleRpc is not attached to a stream" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-context.c:253 #: ../libvirt-sandbox/libvirt-sandbox-context.c:396 #, c-format msgid "Domain is not currently running" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-context.c:323 #: ../libvirt-sandbox/libvirt-sandbox-context.c:340 #: ../libvirt-sandbox/libvirt-sandbox-context.c:363 #, c-format msgid "Sandbox is not currently running" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1065 #, c-format msgid "libvirt-sandbox-init-common: unable to create signal pipe: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1084 #, c-format msgid "libvirt-sandbox-init-common: cannot open %s: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1141 #, c-format msgid "libvirt-sandbox-init-common: %s: cannot execute %s: %s\n" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1167 msgid "config file path" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1170 msgid "Run '" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1180 #, c-format msgid "%s: must be launched as root\n" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1187 msgid "Libvirt Sandbox Init Common" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1205 #, c-format msgid "%s: Unable to load config %s: %s\n" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1231 #, c-format msgid "Unsupported configuration type %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:69 msgid "Unable to decode message length" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:76 #, c-format msgid "packet %u bytes received from server too small, want %u" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:86 #, c-format msgid "packet %u bytes received from server too large, want %d" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:130 msgid "Unable to decode message header" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:174 #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:235 #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:303 #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:329 msgid "Unable to encode message length" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:180 msgid "Unable to encode message header" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:192 msgid "Unable to re-encode message length" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:222 msgid "Unable to encode message payload" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:265 msgid "Unable to decode message payload" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:290 #, c-format msgid "Raw data too long to send (%zu bytes needed, %zu bytes available)" msgstr "" libvirt-sandbox-0.5.1+git20160404/po/id.po000066400000000000000000000341711275305543100176110ustar00rootroot00000000000000# SOME DESCRIPTIVE TITLE. # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # # Translators: msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2015-02-18 14:55+0000\n" "PO-Revision-Date: 2013-04-08 06:10-0400\n" "Last-Translator: FULL NAME \n" "Language-Team: Indonesian \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Language: id\n" "Plural-Forms: nplurals=1; plural=0;\n" "X-Generator: Zanata 3.5.1\n" #: ../bin/virt-sandbox.c:48 ../bin/virt-sandbox-service-util.c:43 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1149 #, c-format msgid "%s version %s\n" msgstr "" #: ../bin/virt-sandbox.c:84 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1161 msgid "display version information" msgstr "" #: ../bin/virt-sandbox.c:86 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1163 msgid "display verbose information" msgstr "" #: ../bin/virt-sandbox.c:88 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1165 msgid "display debugging information" msgstr "" #: ../bin/virt-sandbox.c:90 msgid "connect to hypervisor" msgstr "" #: ../bin/virt-sandbox.c:92 msgid "name of the sandbox" msgstr "" #: ../bin/virt-sandbox.c:94 msgid "root directory of the sandbox" msgstr "" #: ../bin/virt-sandbox.c:96 msgid "mount a filesystem in the guest" msgstr "" #: ../bin/virt-sandbox.c:98 msgid "file to copy into custom dir" msgstr "" #: ../bin/virt-sandbox.c:100 msgid "file contain list of files to include" msgstr "" #: ../bin/virt-sandbox.c:102 msgid "setup network interface properties" msgstr "" #: ../bin/virt-sandbox.c:104 msgid "security properties" msgstr "" #: ../bin/virt-sandbox.c:106 msgid "run the command privileged" msgstr "" #: ../bin/virt-sandbox.c:108 msgid "start a shell" msgstr "" #: ../bin/virt-sandbox.c:110 msgid "kernel version" msgstr "" #: ../bin/virt-sandbox.c:112 msgid "kernel binary path" msgstr "" #: ../bin/virt-sandbox.c:114 msgid "kernel module directory" msgstr "" #: ../bin/virt-sandbox.c:119 msgid "" "Run 'virt-sandbox --help' to see a full list of available command line " "options" msgstr "" #: ../bin/virt-sandbox.c:129 msgid "Libvirt Sandbox" msgstr "" #: ../bin/virt-sandbox.c:131 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1189 msgid "- Libvirt Sandbox" msgstr "" #: ../bin/virt-sandbox.c:144 #, c-format msgid "" "\n" "Usage: %s [OPTIONS] COMMAND-PATH [ARGS...]\n" "\n" "%s\n" "\n" msgstr "" #: ../bin/virt-sandbox.c:160 ../bin/virt-sandbox-service-util.c:65 #, c-format msgid "Unable to open connection: %s\n" msgstr "" #: ../bin/virt-sandbox.c:161 ../bin/virt-sandbox.c:188 #: ../bin/virt-sandbox.c:194 ../bin/virt-sandbox.c:200 #: ../bin/virt-sandbox.c:206 ../bin/virt-sandbox.c:212 #: ../bin/virt-sandbox.c:227 ../bin/virt-sandbox.c:233 #: ../bin/virt-sandbox.c:240 ../bin/virt-sandbox.c:246 #: ../bin/virt-sandbox.c:254 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1247 msgid "Unknown failure" msgstr "" #: ../bin/virt-sandbox.c:187 #, c-format msgid "Unable to parse mounts: %s\n" msgstr "" #: ../bin/virt-sandbox.c:193 #, c-format msgid "Unable to parse includes: %s\n" msgstr "" #: ../bin/virt-sandbox.c:199 #, c-format msgid "Unable to parse include file: %s\n" msgstr "" #: ../bin/virt-sandbox.c:205 #, c-format msgid "Unable to parse networks: %s\n" msgstr "" #: ../bin/virt-sandbox.c:211 #, c-format msgid "Unable to parse security: %s\n" msgstr "" #: ../bin/virt-sandbox.c:226 #, c-format msgid "Unable to start sandbox: %s\n" msgstr "" #: ../bin/virt-sandbox.c:232 #, c-format msgid "Unable to get log console: %s\n" msgstr "" #: ../bin/virt-sandbox.c:239 ../bin/virt-sandbox.c:253 #, c-format msgid "Unable to attach sandbox console: %s\n" msgstr "" #: ../bin/virt-sandbox.c:245 #, c-format msgid "Unable to get app console: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:66 ../bin/virt-sandbox-service-util.c:72 #: ../bin/virt-sandbox-service-util.c:78 #: ../bin/virt-sandbox-service-util.c:104 #: ../bin/virt-sandbox-service-util.c:110 #: ../bin/virt-sandbox-service-util.c:120 #: ../bin/virt-sandbox-service-util.c:127 #: ../bin/virt-sandbox-service-util.c:159 #: ../bin/virt-sandbox-service-util.c:165 #: ../bin/virt-sandbox-service-util.c:175 #: ../bin/virt-sandbox-service-util.c:182 msgid "unknown" msgstr "" #: ../bin/virt-sandbox-service-util.c:71 #, c-format msgid "Unable to read config file %s: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:77 #, c-format msgid "Unable to create new context service: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:103 #, c-format msgid "Unable to start container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:109 #, c-format msgid "Unable to get log console for container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:119 #, c-format msgid "Unable to attach console to stderr in the container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:126 #: ../bin/virt-sandbox-service-util.c:181 #, c-format msgid "Unable to disconnect console from libvirt: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:158 #: ../bin/virt-sandbox-service-util.c:174 #, c-format msgid "Unable to attach to container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:164 #, c-format msgid "Unable to get shell console for container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:240 msgid "Display version information" msgstr "" #: ../bin/virt-sandbox-service-util.c:242 msgid "Start a container" msgstr "" #: ../bin/virt-sandbox-service-util.c:244 msgid "Attach to a container" msgstr "" #: ../bin/virt-sandbox-service-util.c:246 msgid "Pid of process in container to which the command will run" msgstr "" #: ../bin/virt-sandbox-service-util.c:248 msgid "Connect to hypervisor Default:'lxc:///'" msgstr "" #: ../bin/virt-sandbox-service-util.c:253 msgid "" "Run 'virt-sandbox-service-util --help' to see a full list of available " "command line options\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:263 msgid "- Libvirt Sandbox Service" msgstr "" #: ../bin/virt-sandbox-service-util.c:275 #, c-format msgid "" "Invalid command: You must specify --start or --attach\n" "%s" msgstr "" #: ../bin/virt-sandbox-service-util.c:281 #, c-format msgid "Invalid command CONTAINER_NAME required: %s" msgstr "" #: ../bin/virt-sandbox-service-util.c:288 msgid "Libvirt Sandbox Service" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-initrd.c:171 #, c-format msgid "Unable to create temporary directory %s: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-initrd.c:217 #, c-format msgid "Kernel module dir %s does not exist" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-initrd.c:275 #, c-format msgid "Unable to read entries in %s: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-initrd.c:306 #, c-format msgid "Unable to access %s: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-machine.c:446 #, c-format msgid "Kernel image %s does not exist" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:941 #, c-format msgid "Cannot request DHCP with static routes/addresses" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:963 #, c-format msgid "No assignment in filter parameter configuration" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:999 #, c-format msgid "Cannot set static addresses with DHCP" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1019 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1028 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1082 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1090 #, c-format msgid "Unable to parse address %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1058 #, c-format msgid "Cannot set static routes with DHCP" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1076 #, c-format msgid "Missing gateway in route %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1110 #, c-format msgid "Unknown parameter %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1121 #, c-format msgid "Cannot set static routes without addresses" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1285 #, c-format msgid "No mount type prefix on %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1298 #, c-format msgid "Unknown mount type prefix on %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1311 #, c-format msgid "Missing mount source string on %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1411 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1476 #, c-format msgid "No mount with a prefix under %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1578 #, c-format msgid "Unable to get SELinux context of user: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1587 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1596 #, c-format msgid "Unknown security option '%s'" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1630 msgid "Missing mount target in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1635 msgid "Missing mount type in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1647 #, c-format msgid "Unknown mount type %s in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1654 msgid "Missing mount usage in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1663 msgid "Missing mount source in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:2150 msgid "Missing class name in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:2156 #, c-format msgid "Unknown type name '%s' in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:2163 #, c-format msgid "Type name '%s' in config file had wrong parent" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console.c:326 msgid "Unable to isolate console unless direct access flag is set" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:184 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:350 #, c-format msgid "Unable to query terminal attributes: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:201 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:367 #, c-format msgid "Unable to update terminal attributes: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:224 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:395 #, c-format msgid "Unable to restore terminal attributes: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:630 msgid "No devices found for domain" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:660 #, c-format msgid "No device %s found for domain" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:666 #, c-format msgid "Unable to open console %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:699 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:1110 msgid "Console is already attached to a stream" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:628 #, c-format msgid "Unexpected rpc status %u" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:697 #, c-format msgid "Unexpected rpc proc %u" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:753 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:817 #, c-format msgid "Got rx in unexpected state %d" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:1167 msgid "ConsoleRpc is not attached to a stream" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-context.c:253 #: ../libvirt-sandbox/libvirt-sandbox-context.c:396 #, c-format msgid "Domain is not currently running" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-context.c:323 #: ../libvirt-sandbox/libvirt-sandbox-context.c:340 #: ../libvirt-sandbox/libvirt-sandbox-context.c:363 #, c-format msgid "Sandbox is not currently running" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1065 #, c-format msgid "libvirt-sandbox-init-common: unable to create signal pipe: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1084 #, c-format msgid "libvirt-sandbox-init-common: cannot open %s: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1141 #, c-format msgid "libvirt-sandbox-init-common: %s: cannot execute %s: %s\n" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1167 msgid "config file path" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1170 msgid "Run '" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1180 #, c-format msgid "%s: must be launched as root\n" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1187 msgid "Libvirt Sandbox Init Common" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1205 #, c-format msgid "%s: Unable to load config %s: %s\n" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1231 #, c-format msgid "Unsupported configuration type %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:69 msgid "Unable to decode message length" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:76 #, c-format msgid "packet %u bytes received from server too small, want %u" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:86 #, c-format msgid "packet %u bytes received from server too large, want %d" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:130 msgid "Unable to decode message header" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:174 #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:235 #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:303 #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:329 msgid "Unable to encode message length" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:180 msgid "Unable to encode message header" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:192 msgid "Unable to re-encode message length" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:222 msgid "Unable to encode message payload" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:265 msgid "Unable to decode message payload" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:290 #, c-format msgid "Raw data too long to send (%zu bytes needed, %zu bytes available)" msgstr "" libvirt-sandbox-0.5.1+git20160404/po/ilo.po000066400000000000000000000342241275305543100177770ustar00rootroot00000000000000# SOME DESCRIPTIVE TITLE. # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # # Translators: msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2015-02-18 14:55+0000\n" "PO-Revision-Date: 2013-04-08 06:10-0400\n" "Last-Translator: FULL NAME \n" "Language-Team: Iloko (http://www.transifex.com/projects/p/fedora/language/ilo/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Language: ilo\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" "X-Generator: Zanata 3.5.1\n" #: ../bin/virt-sandbox.c:48 ../bin/virt-sandbox-service-util.c:43 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1149 #, c-format msgid "%s version %s\n" msgstr "" #: ../bin/virt-sandbox.c:84 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1161 msgid "display version information" msgstr "" #: ../bin/virt-sandbox.c:86 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1163 msgid "display verbose information" msgstr "" #: ../bin/virt-sandbox.c:88 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1165 msgid "display debugging information" msgstr "" #: ../bin/virt-sandbox.c:90 msgid "connect to hypervisor" msgstr "" #: ../bin/virt-sandbox.c:92 msgid "name of the sandbox" msgstr "" #: ../bin/virt-sandbox.c:94 msgid "root directory of the sandbox" msgstr "" #: ../bin/virt-sandbox.c:96 msgid "mount a filesystem in the guest" msgstr "" #: ../bin/virt-sandbox.c:98 msgid "file to copy into custom dir" msgstr "" #: ../bin/virt-sandbox.c:100 msgid "file contain list of files to include" msgstr "" #: ../bin/virt-sandbox.c:102 msgid "setup network interface properties" msgstr "" #: ../bin/virt-sandbox.c:104 msgid "security properties" msgstr "" #: ../bin/virt-sandbox.c:106 msgid "run the command privileged" msgstr "" #: ../bin/virt-sandbox.c:108 msgid "start a shell" msgstr "" #: ../bin/virt-sandbox.c:110 msgid "kernel version" msgstr "" #: ../bin/virt-sandbox.c:112 msgid "kernel binary path" msgstr "" #: ../bin/virt-sandbox.c:114 msgid "kernel module directory" msgstr "" #: ../bin/virt-sandbox.c:119 msgid "" "Run 'virt-sandbox --help' to see a full list of available command line " "options" msgstr "" #: ../bin/virt-sandbox.c:129 msgid "Libvirt Sandbox" msgstr "" #: ../bin/virt-sandbox.c:131 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1189 msgid "- Libvirt Sandbox" msgstr "" #: ../bin/virt-sandbox.c:144 #, c-format msgid "" "\n" "Usage: %s [OPTIONS] COMMAND-PATH [ARGS...]\n" "\n" "%s\n" "\n" msgstr "" #: ../bin/virt-sandbox.c:160 ../bin/virt-sandbox-service-util.c:65 #, c-format msgid "Unable to open connection: %s\n" msgstr "" #: ../bin/virt-sandbox.c:161 ../bin/virt-sandbox.c:188 #: ../bin/virt-sandbox.c:194 ../bin/virt-sandbox.c:200 #: ../bin/virt-sandbox.c:206 ../bin/virt-sandbox.c:212 #: ../bin/virt-sandbox.c:227 ../bin/virt-sandbox.c:233 #: ../bin/virt-sandbox.c:240 ../bin/virt-sandbox.c:246 #: ../bin/virt-sandbox.c:254 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1247 msgid "Unknown failure" msgstr "" #: ../bin/virt-sandbox.c:187 #, c-format msgid "Unable to parse mounts: %s\n" msgstr "" #: ../bin/virt-sandbox.c:193 #, c-format msgid "Unable to parse includes: %s\n" msgstr "" #: ../bin/virt-sandbox.c:199 #, c-format msgid "Unable to parse include file: %s\n" msgstr "" #: ../bin/virt-sandbox.c:205 #, c-format msgid "Unable to parse networks: %s\n" msgstr "" #: ../bin/virt-sandbox.c:211 #, c-format msgid "Unable to parse security: %s\n" msgstr "" #: ../bin/virt-sandbox.c:226 #, c-format msgid "Unable to start sandbox: %s\n" msgstr "" #: ../bin/virt-sandbox.c:232 #, c-format msgid "Unable to get log console: %s\n" msgstr "" #: ../bin/virt-sandbox.c:239 ../bin/virt-sandbox.c:253 #, c-format msgid "Unable to attach sandbox console: %s\n" msgstr "" #: ../bin/virt-sandbox.c:245 #, c-format msgid "Unable to get app console: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:66 ../bin/virt-sandbox-service-util.c:72 #: ../bin/virt-sandbox-service-util.c:78 #: ../bin/virt-sandbox-service-util.c:104 #: ../bin/virt-sandbox-service-util.c:110 #: ../bin/virt-sandbox-service-util.c:120 #: ../bin/virt-sandbox-service-util.c:127 #: ../bin/virt-sandbox-service-util.c:159 #: ../bin/virt-sandbox-service-util.c:165 #: ../bin/virt-sandbox-service-util.c:175 #: ../bin/virt-sandbox-service-util.c:182 msgid "unknown" msgstr "" #: ../bin/virt-sandbox-service-util.c:71 #, c-format msgid "Unable to read config file %s: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:77 #, c-format msgid "Unable to create new context service: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:103 #, c-format msgid "Unable to start container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:109 #, c-format msgid "Unable to get log console for container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:119 #, c-format msgid "Unable to attach console to stderr in the container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:126 #: ../bin/virt-sandbox-service-util.c:181 #, c-format msgid "Unable to disconnect console from libvirt: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:158 #: ../bin/virt-sandbox-service-util.c:174 #, c-format msgid "Unable to attach to container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:164 #, c-format msgid "Unable to get shell console for container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:240 msgid "Display version information" msgstr "" #: ../bin/virt-sandbox-service-util.c:242 msgid "Start a container" msgstr "" #: ../bin/virt-sandbox-service-util.c:244 msgid "Attach to a container" msgstr "" #: ../bin/virt-sandbox-service-util.c:246 msgid "Pid of process in container to which the command will run" msgstr "" #: ../bin/virt-sandbox-service-util.c:248 msgid "Connect to hypervisor Default:'lxc:///'" msgstr "" #: ../bin/virt-sandbox-service-util.c:253 msgid "" "Run 'virt-sandbox-service-util --help' to see a full list of available " "command line options\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:263 msgid "- Libvirt Sandbox Service" msgstr "" #: ../bin/virt-sandbox-service-util.c:275 #, c-format msgid "" "Invalid command: You must specify --start or --attach\n" "%s" msgstr "" #: ../bin/virt-sandbox-service-util.c:281 #, c-format msgid "Invalid command CONTAINER_NAME required: %s" msgstr "" #: ../bin/virt-sandbox-service-util.c:288 msgid "Libvirt Sandbox Service" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-initrd.c:171 #, c-format msgid "Unable to create temporary directory %s: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-initrd.c:217 #, c-format msgid "Kernel module dir %s does not exist" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-initrd.c:275 #, c-format msgid "Unable to read entries in %s: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-initrd.c:306 #, c-format msgid "Unable to access %s: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-machine.c:446 #, c-format msgid "Kernel image %s does not exist" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:941 #, c-format msgid "Cannot request DHCP with static routes/addresses" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:963 #, c-format msgid "No assignment in filter parameter configuration" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:999 #, c-format msgid "Cannot set static addresses with DHCP" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1019 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1028 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1082 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1090 #, c-format msgid "Unable to parse address %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1058 #, c-format msgid "Cannot set static routes with DHCP" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1076 #, c-format msgid "Missing gateway in route %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1110 #, c-format msgid "Unknown parameter %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1121 #, c-format msgid "Cannot set static routes without addresses" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1285 #, c-format msgid "No mount type prefix on %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1298 #, c-format msgid "Unknown mount type prefix on %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1311 #, c-format msgid "Missing mount source string on %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1411 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1476 #, c-format msgid "No mount with a prefix under %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1578 #, c-format msgid "Unable to get SELinux context of user: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1587 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1596 #, c-format msgid "Unknown security option '%s'" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1630 msgid "Missing mount target in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1635 msgid "Missing mount type in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1647 #, c-format msgid "Unknown mount type %s in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1654 msgid "Missing mount usage in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1663 msgid "Missing mount source in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:2150 msgid "Missing class name in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:2156 #, c-format msgid "Unknown type name '%s' in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:2163 #, c-format msgid "Type name '%s' in config file had wrong parent" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console.c:326 msgid "Unable to isolate console unless direct access flag is set" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:184 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:350 #, c-format msgid "Unable to query terminal attributes: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:201 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:367 #, c-format msgid "Unable to update terminal attributes: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:224 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:395 #, c-format msgid "Unable to restore terminal attributes: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:630 msgid "No devices found for domain" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:660 #, c-format msgid "No device %s found for domain" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:666 #, c-format msgid "Unable to open console %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:699 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:1110 msgid "Console is already attached to a stream" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:628 #, c-format msgid "Unexpected rpc status %u" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:697 #, c-format msgid "Unexpected rpc proc %u" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:753 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:817 #, c-format msgid "Got rx in unexpected state %d" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:1167 msgid "ConsoleRpc is not attached to a stream" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-context.c:253 #: ../libvirt-sandbox/libvirt-sandbox-context.c:396 #, c-format msgid "Domain is not currently running" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-context.c:323 #: ../libvirt-sandbox/libvirt-sandbox-context.c:340 #: ../libvirt-sandbox/libvirt-sandbox-context.c:363 #, c-format msgid "Sandbox is not currently running" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1065 #, c-format msgid "libvirt-sandbox-init-common: unable to create signal pipe: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1084 #, c-format msgid "libvirt-sandbox-init-common: cannot open %s: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1141 #, c-format msgid "libvirt-sandbox-init-common: %s: cannot execute %s: %s\n" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1167 msgid "config file path" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1170 msgid "Run '" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1180 #, c-format msgid "%s: must be launched as root\n" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1187 msgid "Libvirt Sandbox Init Common" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1205 #, c-format msgid "%s: Unable to load config %s: %s\n" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1231 #, c-format msgid "Unsupported configuration type %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:69 msgid "Unable to decode message length" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:76 #, c-format msgid "packet %u bytes received from server too small, want %u" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:86 #, c-format msgid "packet %u bytes received from server too large, want %d" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:130 msgid "Unable to decode message header" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:174 #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:235 #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:303 #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:329 msgid "Unable to encode message length" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:180 msgid "Unable to encode message header" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:192 msgid "Unable to re-encode message length" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:222 msgid "Unable to encode message payload" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:265 msgid "Unable to decode message payload" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:290 #, c-format msgid "Raw data too long to send (%zu bytes needed, %zu bytes available)" msgstr "" libvirt-sandbox-0.5.1+git20160404/po/is.po000066400000000000000000000342261275305543100176310ustar00rootroot00000000000000# SOME DESCRIPTIVE TITLE. # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # # Translators: msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2015-02-18 14:55+0000\n" "PO-Revision-Date: 2013-04-08 06:10-0400\n" "Last-Translator: FULL NAME \n" "Language-Team: Icelandic (http://www.transifex.com/projects/p/fedora/language/is/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Language: is\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" "X-Generator: Zanata 3.5.1\n" #: ../bin/virt-sandbox.c:48 ../bin/virt-sandbox-service-util.c:43 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1149 #, c-format msgid "%s version %s\n" msgstr "" #: ../bin/virt-sandbox.c:84 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1161 msgid "display version information" msgstr "" #: ../bin/virt-sandbox.c:86 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1163 msgid "display verbose information" msgstr "" #: ../bin/virt-sandbox.c:88 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1165 msgid "display debugging information" msgstr "" #: ../bin/virt-sandbox.c:90 msgid "connect to hypervisor" msgstr "" #: ../bin/virt-sandbox.c:92 msgid "name of the sandbox" msgstr "" #: ../bin/virt-sandbox.c:94 msgid "root directory of the sandbox" msgstr "" #: ../bin/virt-sandbox.c:96 msgid "mount a filesystem in the guest" msgstr "" #: ../bin/virt-sandbox.c:98 msgid "file to copy into custom dir" msgstr "" #: ../bin/virt-sandbox.c:100 msgid "file contain list of files to include" msgstr "" #: ../bin/virt-sandbox.c:102 msgid "setup network interface properties" msgstr "" #: ../bin/virt-sandbox.c:104 msgid "security properties" msgstr "" #: ../bin/virt-sandbox.c:106 msgid "run the command privileged" msgstr "" #: ../bin/virt-sandbox.c:108 msgid "start a shell" msgstr "" #: ../bin/virt-sandbox.c:110 msgid "kernel version" msgstr "" #: ../bin/virt-sandbox.c:112 msgid "kernel binary path" msgstr "" #: ../bin/virt-sandbox.c:114 msgid "kernel module directory" msgstr "" #: ../bin/virt-sandbox.c:119 msgid "" "Run 'virt-sandbox --help' to see a full list of available command line " "options" msgstr "" #: ../bin/virt-sandbox.c:129 msgid "Libvirt Sandbox" msgstr "" #: ../bin/virt-sandbox.c:131 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1189 msgid "- Libvirt Sandbox" msgstr "" #: ../bin/virt-sandbox.c:144 #, c-format msgid "" "\n" "Usage: %s [OPTIONS] COMMAND-PATH [ARGS...]\n" "\n" "%s\n" "\n" msgstr "" #: ../bin/virt-sandbox.c:160 ../bin/virt-sandbox-service-util.c:65 #, c-format msgid "Unable to open connection: %s\n" msgstr "" #: ../bin/virt-sandbox.c:161 ../bin/virt-sandbox.c:188 #: ../bin/virt-sandbox.c:194 ../bin/virt-sandbox.c:200 #: ../bin/virt-sandbox.c:206 ../bin/virt-sandbox.c:212 #: ../bin/virt-sandbox.c:227 ../bin/virt-sandbox.c:233 #: ../bin/virt-sandbox.c:240 ../bin/virt-sandbox.c:246 #: ../bin/virt-sandbox.c:254 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1247 msgid "Unknown failure" msgstr "" #: ../bin/virt-sandbox.c:187 #, c-format msgid "Unable to parse mounts: %s\n" msgstr "" #: ../bin/virt-sandbox.c:193 #, c-format msgid "Unable to parse includes: %s\n" msgstr "" #: ../bin/virt-sandbox.c:199 #, c-format msgid "Unable to parse include file: %s\n" msgstr "" #: ../bin/virt-sandbox.c:205 #, c-format msgid "Unable to parse networks: %s\n" msgstr "" #: ../bin/virt-sandbox.c:211 #, c-format msgid "Unable to parse security: %s\n" msgstr "" #: ../bin/virt-sandbox.c:226 #, c-format msgid "Unable to start sandbox: %s\n" msgstr "" #: ../bin/virt-sandbox.c:232 #, c-format msgid "Unable to get log console: %s\n" msgstr "" #: ../bin/virt-sandbox.c:239 ../bin/virt-sandbox.c:253 #, c-format msgid "Unable to attach sandbox console: %s\n" msgstr "" #: ../bin/virt-sandbox.c:245 #, c-format msgid "Unable to get app console: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:66 ../bin/virt-sandbox-service-util.c:72 #: ../bin/virt-sandbox-service-util.c:78 #: ../bin/virt-sandbox-service-util.c:104 #: ../bin/virt-sandbox-service-util.c:110 #: ../bin/virt-sandbox-service-util.c:120 #: ../bin/virt-sandbox-service-util.c:127 #: ../bin/virt-sandbox-service-util.c:159 #: ../bin/virt-sandbox-service-util.c:165 #: ../bin/virt-sandbox-service-util.c:175 #: ../bin/virt-sandbox-service-util.c:182 msgid "unknown" msgstr "" #: ../bin/virt-sandbox-service-util.c:71 #, c-format msgid "Unable to read config file %s: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:77 #, c-format msgid "Unable to create new context service: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:103 #, c-format msgid "Unable to start container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:109 #, c-format msgid "Unable to get log console for container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:119 #, c-format msgid "Unable to attach console to stderr in the container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:126 #: ../bin/virt-sandbox-service-util.c:181 #, c-format msgid "Unable to disconnect console from libvirt: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:158 #: ../bin/virt-sandbox-service-util.c:174 #, c-format msgid "Unable to attach to container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:164 #, c-format msgid "Unable to get shell console for container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:240 msgid "Display version information" msgstr "" #: ../bin/virt-sandbox-service-util.c:242 msgid "Start a container" msgstr "" #: ../bin/virt-sandbox-service-util.c:244 msgid "Attach to a container" msgstr "" #: ../bin/virt-sandbox-service-util.c:246 msgid "Pid of process in container to which the command will run" msgstr "" #: ../bin/virt-sandbox-service-util.c:248 msgid "Connect to hypervisor Default:'lxc:///'" msgstr "" #: ../bin/virt-sandbox-service-util.c:253 msgid "" "Run 'virt-sandbox-service-util --help' to see a full list of available " "command line options\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:263 msgid "- Libvirt Sandbox Service" msgstr "" #: ../bin/virt-sandbox-service-util.c:275 #, c-format msgid "" "Invalid command: You must specify --start or --attach\n" "%s" msgstr "" #: ../bin/virt-sandbox-service-util.c:281 #, c-format msgid "Invalid command CONTAINER_NAME required: %s" msgstr "" #: ../bin/virt-sandbox-service-util.c:288 msgid "Libvirt Sandbox Service" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-initrd.c:171 #, c-format msgid "Unable to create temporary directory %s: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-initrd.c:217 #, c-format msgid "Kernel module dir %s does not exist" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-initrd.c:275 #, c-format msgid "Unable to read entries in %s: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-initrd.c:306 #, c-format msgid "Unable to access %s: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-machine.c:446 #, c-format msgid "Kernel image %s does not exist" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:941 #, c-format msgid "Cannot request DHCP with static routes/addresses" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:963 #, c-format msgid "No assignment in filter parameter configuration" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:999 #, c-format msgid "Cannot set static addresses with DHCP" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1019 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1028 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1082 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1090 #, c-format msgid "Unable to parse address %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1058 #, c-format msgid "Cannot set static routes with DHCP" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1076 #, c-format msgid "Missing gateway in route %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1110 #, c-format msgid "Unknown parameter %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1121 #, c-format msgid "Cannot set static routes without addresses" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1285 #, c-format msgid "No mount type prefix on %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1298 #, c-format msgid "Unknown mount type prefix on %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1311 #, c-format msgid "Missing mount source string on %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1411 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1476 #, c-format msgid "No mount with a prefix under %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1578 #, c-format msgid "Unable to get SELinux context of user: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1587 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1596 #, c-format msgid "Unknown security option '%s'" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1630 msgid "Missing mount target in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1635 msgid "Missing mount type in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1647 #, c-format msgid "Unknown mount type %s in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1654 msgid "Missing mount usage in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1663 msgid "Missing mount source in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:2150 msgid "Missing class name in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:2156 #, c-format msgid "Unknown type name '%s' in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:2163 #, c-format msgid "Type name '%s' in config file had wrong parent" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console.c:326 msgid "Unable to isolate console unless direct access flag is set" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:184 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:350 #, c-format msgid "Unable to query terminal attributes: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:201 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:367 #, c-format msgid "Unable to update terminal attributes: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:224 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:395 #, c-format msgid "Unable to restore terminal attributes: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:630 msgid "No devices found for domain" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:660 #, c-format msgid "No device %s found for domain" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:666 #, c-format msgid "Unable to open console %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:699 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:1110 msgid "Console is already attached to a stream" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:628 #, c-format msgid "Unexpected rpc status %u" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:697 #, c-format msgid "Unexpected rpc proc %u" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:753 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:817 #, c-format msgid "Got rx in unexpected state %d" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:1167 msgid "ConsoleRpc is not attached to a stream" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-context.c:253 #: ../libvirt-sandbox/libvirt-sandbox-context.c:396 #, c-format msgid "Domain is not currently running" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-context.c:323 #: ../libvirt-sandbox/libvirt-sandbox-context.c:340 #: ../libvirt-sandbox/libvirt-sandbox-context.c:363 #, c-format msgid "Sandbox is not currently running" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1065 #, c-format msgid "libvirt-sandbox-init-common: unable to create signal pipe: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1084 #, c-format msgid "libvirt-sandbox-init-common: cannot open %s: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1141 #, c-format msgid "libvirt-sandbox-init-common: %s: cannot execute %s: %s\n" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1167 msgid "config file path" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1170 msgid "Run '" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1180 #, c-format msgid "%s: must be launched as root\n" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1187 msgid "Libvirt Sandbox Init Common" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1205 #, c-format msgid "%s: Unable to load config %s: %s\n" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1231 #, c-format msgid "Unsupported configuration type %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:69 msgid "Unable to decode message length" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:76 #, c-format msgid "packet %u bytes received from server too small, want %u" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:86 #, c-format msgid "packet %u bytes received from server too large, want %d" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:130 msgid "Unable to decode message header" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:174 #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:235 #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:303 #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:329 msgid "Unable to encode message length" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:180 msgid "Unable to encode message header" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:192 msgid "Unable to re-encode message length" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:222 msgid "Unable to encode message payload" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:265 msgid "Unable to decode message payload" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:290 #, c-format msgid "Raw data too long to send (%zu bytes needed, %zu bytes available)" msgstr "" libvirt-sandbox-0.5.1+git20160404/po/it.po000066400000000000000000000341751275305543100176350ustar00rootroot00000000000000# SOME DESCRIPTIVE TITLE. # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # # Translators: msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2015-02-18 14:55+0000\n" "PO-Revision-Date: 2013-04-08 06:10-0400\n" "Last-Translator: FULL NAME \n" "Language-Team: Italian \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Language: it\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" "X-Generator: Zanata 3.5.1\n" #: ../bin/virt-sandbox.c:48 ../bin/virt-sandbox-service-util.c:43 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1149 #, c-format msgid "%s version %s\n" msgstr "" #: ../bin/virt-sandbox.c:84 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1161 msgid "display version information" msgstr "" #: ../bin/virt-sandbox.c:86 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1163 msgid "display verbose information" msgstr "" #: ../bin/virt-sandbox.c:88 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1165 msgid "display debugging information" msgstr "" #: ../bin/virt-sandbox.c:90 msgid "connect to hypervisor" msgstr "" #: ../bin/virt-sandbox.c:92 msgid "name of the sandbox" msgstr "" #: ../bin/virt-sandbox.c:94 msgid "root directory of the sandbox" msgstr "" #: ../bin/virt-sandbox.c:96 msgid "mount a filesystem in the guest" msgstr "" #: ../bin/virt-sandbox.c:98 msgid "file to copy into custom dir" msgstr "" #: ../bin/virt-sandbox.c:100 msgid "file contain list of files to include" msgstr "" #: ../bin/virt-sandbox.c:102 msgid "setup network interface properties" msgstr "" #: ../bin/virt-sandbox.c:104 msgid "security properties" msgstr "" #: ../bin/virt-sandbox.c:106 msgid "run the command privileged" msgstr "" #: ../bin/virt-sandbox.c:108 msgid "start a shell" msgstr "" #: ../bin/virt-sandbox.c:110 msgid "kernel version" msgstr "" #: ../bin/virt-sandbox.c:112 msgid "kernel binary path" msgstr "" #: ../bin/virt-sandbox.c:114 msgid "kernel module directory" msgstr "" #: ../bin/virt-sandbox.c:119 msgid "" "Run 'virt-sandbox --help' to see a full list of available command line " "options" msgstr "" #: ../bin/virt-sandbox.c:129 msgid "Libvirt Sandbox" msgstr "" #: ../bin/virt-sandbox.c:131 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1189 msgid "- Libvirt Sandbox" msgstr "" #: ../bin/virt-sandbox.c:144 #, c-format msgid "" "\n" "Usage: %s [OPTIONS] COMMAND-PATH [ARGS...]\n" "\n" "%s\n" "\n" msgstr "" #: ../bin/virt-sandbox.c:160 ../bin/virt-sandbox-service-util.c:65 #, c-format msgid "Unable to open connection: %s\n" msgstr "" #: ../bin/virt-sandbox.c:161 ../bin/virt-sandbox.c:188 #: ../bin/virt-sandbox.c:194 ../bin/virt-sandbox.c:200 #: ../bin/virt-sandbox.c:206 ../bin/virt-sandbox.c:212 #: ../bin/virt-sandbox.c:227 ../bin/virt-sandbox.c:233 #: ../bin/virt-sandbox.c:240 ../bin/virt-sandbox.c:246 #: ../bin/virt-sandbox.c:254 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1247 msgid "Unknown failure" msgstr "" #: ../bin/virt-sandbox.c:187 #, c-format msgid "Unable to parse mounts: %s\n" msgstr "" #: ../bin/virt-sandbox.c:193 #, c-format msgid "Unable to parse includes: %s\n" msgstr "" #: ../bin/virt-sandbox.c:199 #, c-format msgid "Unable to parse include file: %s\n" msgstr "" #: ../bin/virt-sandbox.c:205 #, c-format msgid "Unable to parse networks: %s\n" msgstr "" #: ../bin/virt-sandbox.c:211 #, c-format msgid "Unable to parse security: %s\n" msgstr "" #: ../bin/virt-sandbox.c:226 #, c-format msgid "Unable to start sandbox: %s\n" msgstr "" #: ../bin/virt-sandbox.c:232 #, c-format msgid "Unable to get log console: %s\n" msgstr "" #: ../bin/virt-sandbox.c:239 ../bin/virt-sandbox.c:253 #, c-format msgid "Unable to attach sandbox console: %s\n" msgstr "" #: ../bin/virt-sandbox.c:245 #, c-format msgid "Unable to get app console: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:66 ../bin/virt-sandbox-service-util.c:72 #: ../bin/virt-sandbox-service-util.c:78 #: ../bin/virt-sandbox-service-util.c:104 #: ../bin/virt-sandbox-service-util.c:110 #: ../bin/virt-sandbox-service-util.c:120 #: ../bin/virt-sandbox-service-util.c:127 #: ../bin/virt-sandbox-service-util.c:159 #: ../bin/virt-sandbox-service-util.c:165 #: ../bin/virt-sandbox-service-util.c:175 #: ../bin/virt-sandbox-service-util.c:182 msgid "unknown" msgstr "" #: ../bin/virt-sandbox-service-util.c:71 #, c-format msgid "Unable to read config file %s: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:77 #, c-format msgid "Unable to create new context service: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:103 #, c-format msgid "Unable to start container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:109 #, c-format msgid "Unable to get log console for container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:119 #, c-format msgid "Unable to attach console to stderr in the container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:126 #: ../bin/virt-sandbox-service-util.c:181 #, c-format msgid "Unable to disconnect console from libvirt: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:158 #: ../bin/virt-sandbox-service-util.c:174 #, c-format msgid "Unable to attach to container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:164 #, c-format msgid "Unable to get shell console for container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:240 msgid "Display version information" msgstr "" #: ../bin/virt-sandbox-service-util.c:242 msgid "Start a container" msgstr "" #: ../bin/virt-sandbox-service-util.c:244 msgid "Attach to a container" msgstr "" #: ../bin/virt-sandbox-service-util.c:246 msgid "Pid of process in container to which the command will run" msgstr "" #: ../bin/virt-sandbox-service-util.c:248 msgid "Connect to hypervisor Default:'lxc:///'" msgstr "" #: ../bin/virt-sandbox-service-util.c:253 msgid "" "Run 'virt-sandbox-service-util --help' to see a full list of available " "command line options\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:263 msgid "- Libvirt Sandbox Service" msgstr "" #: ../bin/virt-sandbox-service-util.c:275 #, c-format msgid "" "Invalid command: You must specify --start or --attach\n" "%s" msgstr "" #: ../bin/virt-sandbox-service-util.c:281 #, c-format msgid "Invalid command CONTAINER_NAME required: %s" msgstr "" #: ../bin/virt-sandbox-service-util.c:288 msgid "Libvirt Sandbox Service" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-initrd.c:171 #, c-format msgid "Unable to create temporary directory %s: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-initrd.c:217 #, c-format msgid "Kernel module dir %s does not exist" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-initrd.c:275 #, c-format msgid "Unable to read entries in %s: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-initrd.c:306 #, c-format msgid "Unable to access %s: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-machine.c:446 #, c-format msgid "Kernel image %s does not exist" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:941 #, c-format msgid "Cannot request DHCP with static routes/addresses" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:963 #, c-format msgid "No assignment in filter parameter configuration" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:999 #, c-format msgid "Cannot set static addresses with DHCP" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1019 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1028 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1082 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1090 #, c-format msgid "Unable to parse address %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1058 #, c-format msgid "Cannot set static routes with DHCP" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1076 #, c-format msgid "Missing gateway in route %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1110 #, c-format msgid "Unknown parameter %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1121 #, c-format msgid "Cannot set static routes without addresses" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1285 #, c-format msgid "No mount type prefix on %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1298 #, c-format msgid "Unknown mount type prefix on %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1311 #, c-format msgid "Missing mount source string on %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1411 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1476 #, c-format msgid "No mount with a prefix under %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1578 #, c-format msgid "Unable to get SELinux context of user: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1587 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1596 #, c-format msgid "Unknown security option '%s'" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1630 msgid "Missing mount target in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1635 msgid "Missing mount type in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1647 #, c-format msgid "Unknown mount type %s in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1654 msgid "Missing mount usage in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1663 msgid "Missing mount source in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:2150 msgid "Missing class name in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:2156 #, c-format msgid "Unknown type name '%s' in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:2163 #, c-format msgid "Type name '%s' in config file had wrong parent" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console.c:326 msgid "Unable to isolate console unless direct access flag is set" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:184 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:350 #, c-format msgid "Unable to query terminal attributes: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:201 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:367 #, c-format msgid "Unable to update terminal attributes: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:224 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:395 #, c-format msgid "Unable to restore terminal attributes: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:630 msgid "No devices found for domain" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:660 #, c-format msgid "No device %s found for domain" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:666 #, c-format msgid "Unable to open console %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:699 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:1110 msgid "Console is already attached to a stream" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:628 #, c-format msgid "Unexpected rpc status %u" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:697 #, c-format msgid "Unexpected rpc proc %u" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:753 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:817 #, c-format msgid "Got rx in unexpected state %d" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:1167 msgid "ConsoleRpc is not attached to a stream" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-context.c:253 #: ../libvirt-sandbox/libvirt-sandbox-context.c:396 #, c-format msgid "Domain is not currently running" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-context.c:323 #: ../libvirt-sandbox/libvirt-sandbox-context.c:340 #: ../libvirt-sandbox/libvirt-sandbox-context.c:363 #, c-format msgid "Sandbox is not currently running" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1065 #, c-format msgid "libvirt-sandbox-init-common: unable to create signal pipe: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1084 #, c-format msgid "libvirt-sandbox-init-common: cannot open %s: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1141 #, c-format msgid "libvirt-sandbox-init-common: %s: cannot execute %s: %s\n" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1167 msgid "config file path" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1170 msgid "Run '" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1180 #, c-format msgid "%s: must be launched as root\n" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1187 msgid "Libvirt Sandbox Init Common" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1205 #, c-format msgid "%s: Unable to load config %s: %s\n" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1231 #, c-format msgid "Unsupported configuration type %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:69 msgid "Unable to decode message length" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:76 #, c-format msgid "packet %u bytes received from server too small, want %u" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:86 #, c-format msgid "packet %u bytes received from server too large, want %d" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:130 msgid "Unable to decode message header" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:174 #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:235 #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:303 #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:329 msgid "Unable to encode message length" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:180 msgid "Unable to encode message header" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:192 msgid "Unable to re-encode message length" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:222 msgid "Unable to encode message payload" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:265 msgid "Unable to decode message payload" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:290 #, c-format msgid "Raw data too long to send (%zu bytes needed, %zu bytes available)" msgstr "" libvirt-sandbox-0.5.1+git20160404/po/ja.po000066400000000000000000000461221275305543100176060ustar00rootroot00000000000000# SOME DESCRIPTIVE TITLE. # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # # Translators: # Tomoyuki KATO , 2013 msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2015-02-18 14:55+0000\n" "PO-Revision-Date: 2013-07-09 03:50-0400\n" "Last-Translator: Daniel Berrange \n" "Language-Team: Japanese \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Language: ja\n" "Plural-Forms: nplurals=1; plural=0;\n" "X-Generator: Zanata 3.5.1\n" #: ../bin/virt-sandbox.c:48 ../bin/virt-sandbox-service-util.c:43 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1149 #, c-format msgid "%s version %s\n" msgstr "%s バージョン %s\n" #: ../bin/virt-sandbox.c:84 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1161 msgid "display version information" msgstr "バージョン情報の表示" #: ../bin/virt-sandbox.c:86 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1163 msgid "display verbose information" msgstr "詳細情報の表示" #: ../bin/virt-sandbox.c:88 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1165 msgid "display debugging information" msgstr "デバッグ情報の表示" #: ../bin/virt-sandbox.c:90 msgid "connect to hypervisor" msgstr "ハイパーバイザーへの接続" #: ../bin/virt-sandbox.c:92 msgid "name of the sandbox" msgstr "サンドボックスの名前" #: ../bin/virt-sandbox.c:94 msgid "root directory of the sandbox" msgstr "" #: ../bin/virt-sandbox.c:96 msgid "mount a filesystem in the guest" msgstr "仮想マシンにあるファイルシステムのマウント" #: ../bin/virt-sandbox.c:98 msgid "file to copy into custom dir" msgstr "カスタムディレクトリにコピーするファイル" #: ../bin/virt-sandbox.c:100 msgid "file contain list of files to include" msgstr "取り込むファイルの一覧" #: ../bin/virt-sandbox.c:102 msgid "setup network interface properties" msgstr "ネットワークインターフェースのプロパティのセットアップ" #: ../bin/virt-sandbox.c:104 msgid "security properties" msgstr "セキュリティ・プロパティ" #: ../bin/virt-sandbox.c:106 msgid "run the command privileged" msgstr "特権コマンドの実行" #: ../bin/virt-sandbox.c:108 msgid "start a shell" msgstr "シェルの開始" #: ../bin/virt-sandbox.c:110 msgid "kernel version" msgstr "" #: ../bin/virt-sandbox.c:112 msgid "kernel binary path" msgstr "" #: ../bin/virt-sandbox.c:114 msgid "kernel module directory" msgstr "" #: ../bin/virt-sandbox.c:119 msgid "" "Run 'virt-sandbox --help' to see a full list of available command line " "options" msgstr "利用可能なコマンドラインオプションの一覧を確認するには 'virt-sandbox --help' を実行してください" #: ../bin/virt-sandbox.c:129 msgid "Libvirt Sandbox" msgstr "Libvirt サンドボックス" #: ../bin/virt-sandbox.c:131 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1189 msgid "- Libvirt Sandbox" msgstr "- Libvirt サンドボックス" #: ../bin/virt-sandbox.c:144 #, c-format msgid "" "\n" "Usage: %s [OPTIONS] COMMAND-PATH [ARGS...]\n" "\n" "%s\n" "\n" msgstr "" "\n" "使用法: %s [OPTIONS] COMMAND-PATH [ARGS...]\n" "\n" "%s\n" "\n" #: ../bin/virt-sandbox.c:160 ../bin/virt-sandbox-service-util.c:65 #, c-format msgid "Unable to open connection: %s\n" msgstr "接続できません: %s\n" #: ../bin/virt-sandbox.c:161 ../bin/virt-sandbox.c:188 #: ../bin/virt-sandbox.c:194 ../bin/virt-sandbox.c:200 #: ../bin/virt-sandbox.c:206 ../bin/virt-sandbox.c:212 #: ../bin/virt-sandbox.c:227 ../bin/virt-sandbox.c:233 #: ../bin/virt-sandbox.c:240 ../bin/virt-sandbox.c:246 #: ../bin/virt-sandbox.c:254 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1247 msgid "Unknown failure" msgstr "不明なエラー" #: ../bin/virt-sandbox.c:187 #, c-format msgid "Unable to parse mounts: %s\n" msgstr "mounts を構文解析できません: %s\n" #: ../bin/virt-sandbox.c:193 #, c-format msgid "Unable to parse includes: %s\n" msgstr "includes を構文解析できません: %s\n" #: ../bin/virt-sandbox.c:199 #, c-format msgid "Unable to parse include file: %s\n" msgstr "include file を構文解析できません: %s\n" #: ../bin/virt-sandbox.c:205 #, c-format msgid "Unable to parse networks: %s\n" msgstr "networks を構文解析できません: %s\n" #: ../bin/virt-sandbox.c:211 #, c-format msgid "Unable to parse security: %s\n" msgstr "security を構文解析できません: %s\n" #: ../bin/virt-sandbox.c:226 #, c-format msgid "Unable to start sandbox: %s\n" msgstr "サンドボックスを開始できません: %s\n" #: ../bin/virt-sandbox.c:232 #, c-format msgid "Unable to get log console: %s\n" msgstr "ログコンソールを取得できません: %s\n" #: ../bin/virt-sandbox.c:239 ../bin/virt-sandbox.c:253 #, c-format msgid "Unable to attach sandbox console: %s\n" msgstr "サンドボックスのコンソールを接続できません: %s\n" #: ../bin/virt-sandbox.c:245 #, c-format msgid "Unable to get app console: %s\n" msgstr "アプリケーションのコンソールを取得できません: %s\n" #: ../bin/virt-sandbox-service-util.c:66 ../bin/virt-sandbox-service-util.c:72 #: ../bin/virt-sandbox-service-util.c:78 #: ../bin/virt-sandbox-service-util.c:104 #: ../bin/virt-sandbox-service-util.c:110 #: ../bin/virt-sandbox-service-util.c:120 #: ../bin/virt-sandbox-service-util.c:127 #: ../bin/virt-sandbox-service-util.c:159 #: ../bin/virt-sandbox-service-util.c:165 #: ../bin/virt-sandbox-service-util.c:175 #: ../bin/virt-sandbox-service-util.c:182 msgid "unknown" msgstr "不明" #: ../bin/virt-sandbox-service-util.c:71 #, c-format msgid "Unable to read config file %s: %s\n" msgstr "設定ファイル %s を読み込めません: %s\n" #: ../bin/virt-sandbox-service-util.c:77 #, c-format msgid "Unable to create new context service: %s\n" msgstr "新しいコンテキストサービスを作成できません: %s\n" #: ../bin/virt-sandbox-service-util.c:103 #, c-format msgid "Unable to start container: %s\n" msgstr "コンテナーを開始できません: %s\n" #: ../bin/virt-sandbox-service-util.c:109 #, c-format msgid "Unable to get log console for container: %s\n" msgstr "コンテナーのログコンソールを取得できません: %s\n" #: ../bin/virt-sandbox-service-util.c:119 #, c-format msgid "Unable to attach console to stderr in the container: %s\n" msgstr "コンソールをコンテナーの標準エラーに接続できません: %s\n" #: ../bin/virt-sandbox-service-util.c:126 #: ../bin/virt-sandbox-service-util.c:181 #, c-format msgid "Unable to disconnect console from libvirt: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:158 #: ../bin/virt-sandbox-service-util.c:174 #, c-format msgid "Unable to attach to container: %s\n" msgstr "コンテナーに接続できません: %s\n" #: ../bin/virt-sandbox-service-util.c:164 #, c-format msgid "Unable to get shell console for container: %s\n" msgstr "コンテナーのシェルコンソールを取得できません: %s\n" #: ../bin/virt-sandbox-service-util.c:240 msgid "Display version information" msgstr "バージョン情報の表示" #: ../bin/virt-sandbox-service-util.c:242 msgid "Start a container" msgstr "コンテナーの開始" #: ../bin/virt-sandbox-service-util.c:244 msgid "Attach to a container" msgstr "コンテナーへの接続" #: ../bin/virt-sandbox-service-util.c:246 msgid "Pid of process in container to which the command will run" msgstr "コマンドを実行するプロセスのコンテナーにおける PID" #: ../bin/virt-sandbox-service-util.c:248 msgid "Connect to hypervisor Default:'lxc:///'" msgstr "ハイパーバイザーの標準 'lxc:///' への接続" #: ../bin/virt-sandbox-service-util.c:253 msgid "" "Run 'virt-sandbox-service-util --help' to see a full list of available " "command line options\n" msgstr "" "利用可能なコマンドラインオプションの一覧を確認するには 'virt-sandbox-service-util --help' を実行してください\n" #: ../bin/virt-sandbox-service-util.c:263 msgid "- Libvirt Sandbox Service" msgstr "- Libvirt サンドボックス・サービス" #: ../bin/virt-sandbox-service-util.c:275 #, c-format msgid "" "Invalid command: You must specify --start or --attach\n" "%s" msgstr "" #: ../bin/virt-sandbox-service-util.c:281 #, c-format msgid "Invalid command CONTAINER_NAME required: %s" msgstr "無効なコマンド: CONTAINER_NAME が必要です: %s" #: ../bin/virt-sandbox-service-util.c:288 msgid "Libvirt Sandbox Service" msgstr "libvirt サンドボックスサービス" #: ../libvirt-sandbox/libvirt-sandbox-builder-initrd.c:171 #, c-format msgid "Unable to create temporary directory %s: %s" msgstr "一時ディレクトリ %s を作成できません: %s" #: ../libvirt-sandbox/libvirt-sandbox-builder-initrd.c:217 #, c-format msgid "Kernel module dir %s does not exist" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-initrd.c:275 #, c-format msgid "Unable to read entries in %s: %s" msgstr "%s にある項目を読み込めません: %s" #: ../libvirt-sandbox/libvirt-sandbox-builder-initrd.c:306 #, c-format msgid "Unable to access %s: %s" msgstr "%s にアクセスできません: %s" #: ../libvirt-sandbox/libvirt-sandbox-builder-machine.c:446 #, c-format msgid "Kernel image %s does not exist" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:941 #, c-format msgid "Cannot request DHCP with static routes/addresses" msgstr "スタティックルート/アドレスで DHCP をリクエストできません" #: ../libvirt-sandbox/libvirt-sandbox-config.c:963 #, c-format msgid "No assignment in filter parameter configuration" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:999 #, c-format msgid "Cannot set static addresses with DHCP" msgstr "DHCP を用いてスタティックアドレスを設定できません" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1019 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1028 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1082 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1090 #, c-format msgid "Unable to parse address %s" msgstr "アドレス %s を構文解析できません" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1058 #, c-format msgid "Cannot set static routes with DHCP" msgstr "DHCP を用いてスタティックルートを設定できません" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1076 #, c-format msgid "Missing gateway in route %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1110 #, c-format msgid "Unknown parameter %s" msgstr "不明なパラメーター %s" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1121 #, c-format msgid "Cannot set static routes without addresses" msgstr "アドレスを持たずスタティックルートを設定できません" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1285 #, c-format msgid "No mount type prefix on %s" msgstr "%s にマウント形式のプレフィックスがありません" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1298 #, c-format msgid "Unknown mount type prefix on %s" msgstr "不明なマウント形式プレフィックスが %s にあります" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1311 #, c-format msgid "Missing mount source string on %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1411 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1476 #, c-format msgid "No mount with a prefix under %s" msgstr "%s の下にプレフィックスを持つマウントがありません" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1578 #, c-format msgid "Unable to get SELinux context of user: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1587 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1596 #, c-format msgid "Unknown security option '%s'" msgstr "未知のセキュリティオプション '%s'" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1630 msgid "Missing mount target in config file" msgstr "設定ファイルにマウントターゲットがありません" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1635 msgid "Missing mount type in config file" msgstr "設定ファイルにマウント形式がありません" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1647 #, c-format msgid "Unknown mount type %s in config file" msgstr "不明なマウント形式 %s が設定ファイルにあります" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1654 msgid "Missing mount usage in config file" msgstr "設定ファイルにマウントの使用法がありません" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1663 msgid "Missing mount source in config file" msgstr "設定ファイルにマウントソースがありません" #: ../libvirt-sandbox/libvirt-sandbox-config.c:2150 msgid "Missing class name in config file" msgstr "クラス名が設定ファイルにありません" #: ../libvirt-sandbox/libvirt-sandbox-config.c:2156 #, c-format msgid "Unknown type name '%s' in config file" msgstr "不明な形式名 '%s' が設定ファイルにあります" #: ../libvirt-sandbox/libvirt-sandbox-config.c:2163 #, c-format msgid "Type name '%s' in config file had wrong parent" msgstr "設定ファイルにある形式名 '%s' が不正な親を持ちます" #: ../libvirt-sandbox/libvirt-sandbox-console.c:326 msgid "Unable to isolate console unless direct access flag is set" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:184 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:350 #, c-format msgid "Unable to query terminal attributes: %s" msgstr "terminal 属性を問い合わせできません: %s" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:201 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:367 #, c-format msgid "Unable to update terminal attributes: %s" msgstr "terminal 属性を更新できません: %s" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:224 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:395 #, c-format msgid "Unable to restore terminal attributes: %s" msgstr "terminal 属性を復元できません: %s" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:630 msgid "No devices found for domain" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:660 #, c-format msgid "No device %s found for domain" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:666 #, c-format msgid "Unable to open console %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:699 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:1110 msgid "Console is already attached to a stream" msgstr "コンソールがすでにストリームに接続されています" #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:628 #, c-format msgid "Unexpected rpc status %u" msgstr "予期しない RPC 状態 %u" #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:697 #, c-format msgid "Unexpected rpc proc %u" msgstr "予期しない RPC プロセス %u" #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:753 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:817 #, c-format msgid "Got rx in unexpected state %d" msgstr "RX が予期しない状態 %d になりました" #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:1167 msgid "ConsoleRpc is not attached to a stream" msgstr "ConsoleRpc がストリームに接続されていません" #: ../libvirt-sandbox/libvirt-sandbox-context.c:253 #: ../libvirt-sandbox/libvirt-sandbox-context.c:396 #, c-format msgid "Domain is not currently running" msgstr "ドメインが現在実行中ではありません" #: ../libvirt-sandbox/libvirt-sandbox-context.c:323 #: ../libvirt-sandbox/libvirt-sandbox-context.c:340 #: ../libvirt-sandbox/libvirt-sandbox-context.c:363 #, c-format msgid "Sandbox is not currently running" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1065 #, c-format msgid "libvirt-sandbox-init-common: unable to create signal pipe: %s" msgstr "libvirt-sandbox-init-common: シグナルパイプを作成できません: %s" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1084 #, c-format msgid "libvirt-sandbox-init-common: cannot open %s: %s" msgstr "libvirt-sandbox-init-common: %s を開けません: %s" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1141 #, c-format msgid "libvirt-sandbox-init-common: %s: cannot execute %s: %s\n" msgstr "libvirt-sandbox-init-common: %s: %s を実行できません: %s\n" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1167 msgid "config file path" msgstr "設定ファイルのパス" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1170 msgid "Run '" msgstr "実行 '" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1180 #, c-format msgid "%s: must be launched as root\n" msgstr "%s: root として起動する必要があります\n" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1187 msgid "Libvirt Sandbox Init Common" msgstr "Libvirt サンドボックス Init Common" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1205 #, c-format msgid "%s: Unable to load config %s: %s\n" msgstr "%s: 設定 %s を読み込めません: %s\n" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1231 #, c-format msgid "Unsupported configuration type %s" msgstr "サポートされない設定形式 %s" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:69 msgid "Unable to decode message length" msgstr "メッセージ長をデコードできません" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:76 #, c-format msgid "packet %u bytes received from server too small, want %u" msgstr "サーバーから受信したパケット %u バイトが小さすぎます、%u バイトが期待されます" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:86 #, c-format msgid "packet %u bytes received from server too large, want %d" msgstr "サーバーから受信したパケット %u バイトが大きすぎます、%d バイトが期待されます" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:130 msgid "Unable to decode message header" msgstr "メッセージヘッダーをデコードできません" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:174 #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:235 #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:303 #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:329 msgid "Unable to encode message length" msgstr "メッセージ長をエンコードできません" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:180 msgid "Unable to encode message header" msgstr "メッセージヘッダーをエンコードできません" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:192 msgid "Unable to re-encode message length" msgstr "メッセージ長を再エンコードできません" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:222 msgid "Unable to encode message payload" msgstr "メッセージペイロードをエンコードできません" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:265 msgid "Unable to decode message payload" msgstr "メッセージペイロードをデコードできません" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:290 #, c-format msgid "Raw data too long to send (%zu bytes needed, %zu bytes available)" msgstr "送信する生データが長すぎます (%zu バイト必要、%zu バイト利用可能)" libvirt-sandbox-0.5.1+git20160404/po/ka.po000066400000000000000000000342411275305543100176060ustar00rootroot00000000000000# SOME DESCRIPTIVE TITLE. # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # # Translators: msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2015-02-18 14:55+0000\n" "PO-Revision-Date: 2013-07-09 03:50-0400\n" "Last-Translator: Daniel Berrange \n" "Language-Team: Georgian (http://www.transifex.com/projects/p/fedora/language/ka/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Language: ka\n" "Plural-Forms: nplurals=1; plural=0;\n" "X-Generator: Zanata 3.5.1\n" #: ../bin/virt-sandbox.c:48 ../bin/virt-sandbox-service-util.c:43 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1149 #, c-format msgid "%s version %s\n" msgstr "" #: ../bin/virt-sandbox.c:84 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1161 msgid "display version information" msgstr "" #: ../bin/virt-sandbox.c:86 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1163 msgid "display verbose information" msgstr "" #: ../bin/virt-sandbox.c:88 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1165 msgid "display debugging information" msgstr "" #: ../bin/virt-sandbox.c:90 msgid "connect to hypervisor" msgstr "" #: ../bin/virt-sandbox.c:92 msgid "name of the sandbox" msgstr "" #: ../bin/virt-sandbox.c:94 msgid "root directory of the sandbox" msgstr "" #: ../bin/virt-sandbox.c:96 msgid "mount a filesystem in the guest" msgstr "" #: ../bin/virt-sandbox.c:98 msgid "file to copy into custom dir" msgstr "" #: ../bin/virt-sandbox.c:100 msgid "file contain list of files to include" msgstr "" #: ../bin/virt-sandbox.c:102 msgid "setup network interface properties" msgstr "" #: ../bin/virt-sandbox.c:104 msgid "security properties" msgstr "" #: ../bin/virt-sandbox.c:106 msgid "run the command privileged" msgstr "" #: ../bin/virt-sandbox.c:108 msgid "start a shell" msgstr "" #: ../bin/virt-sandbox.c:110 msgid "kernel version" msgstr "" #: ../bin/virt-sandbox.c:112 msgid "kernel binary path" msgstr "" #: ../bin/virt-sandbox.c:114 msgid "kernel module directory" msgstr "" #: ../bin/virt-sandbox.c:119 msgid "" "Run 'virt-sandbox --help' to see a full list of available command line " "options" msgstr "" #: ../bin/virt-sandbox.c:129 msgid "Libvirt Sandbox" msgstr "" #: ../bin/virt-sandbox.c:131 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1189 msgid "- Libvirt Sandbox" msgstr "" #: ../bin/virt-sandbox.c:144 #, c-format msgid "" "\n" "Usage: %s [OPTIONS] COMMAND-PATH [ARGS...]\n" "\n" "%s\n" "\n" msgstr "" #: ../bin/virt-sandbox.c:160 ../bin/virt-sandbox-service-util.c:65 #, c-format msgid "Unable to open connection: %s\n" msgstr "" #: ../bin/virt-sandbox.c:161 ../bin/virt-sandbox.c:188 #: ../bin/virt-sandbox.c:194 ../bin/virt-sandbox.c:200 #: ../bin/virt-sandbox.c:206 ../bin/virt-sandbox.c:212 #: ../bin/virt-sandbox.c:227 ../bin/virt-sandbox.c:233 #: ../bin/virt-sandbox.c:240 ../bin/virt-sandbox.c:246 #: ../bin/virt-sandbox.c:254 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1247 msgid "Unknown failure" msgstr "" #: ../bin/virt-sandbox.c:187 #, c-format msgid "Unable to parse mounts: %s\n" msgstr "" #: ../bin/virt-sandbox.c:193 #, c-format msgid "Unable to parse includes: %s\n" msgstr "" #: ../bin/virt-sandbox.c:199 #, c-format msgid "Unable to parse include file: %s\n" msgstr "" #: ../bin/virt-sandbox.c:205 #, c-format msgid "Unable to parse networks: %s\n" msgstr "" #: ../bin/virt-sandbox.c:211 #, c-format msgid "Unable to parse security: %s\n" msgstr "" #: ../bin/virt-sandbox.c:226 #, c-format msgid "Unable to start sandbox: %s\n" msgstr "" #: ../bin/virt-sandbox.c:232 #, c-format msgid "Unable to get log console: %s\n" msgstr "" #: ../bin/virt-sandbox.c:239 ../bin/virt-sandbox.c:253 #, c-format msgid "Unable to attach sandbox console: %s\n" msgstr "" #: ../bin/virt-sandbox.c:245 #, c-format msgid "Unable to get app console: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:66 ../bin/virt-sandbox-service-util.c:72 #: ../bin/virt-sandbox-service-util.c:78 #: ../bin/virt-sandbox-service-util.c:104 #: ../bin/virt-sandbox-service-util.c:110 #: ../bin/virt-sandbox-service-util.c:120 #: ../bin/virt-sandbox-service-util.c:127 #: ../bin/virt-sandbox-service-util.c:159 #: ../bin/virt-sandbox-service-util.c:165 #: ../bin/virt-sandbox-service-util.c:175 #: ../bin/virt-sandbox-service-util.c:182 msgid "unknown" msgstr "" #: ../bin/virt-sandbox-service-util.c:71 #, c-format msgid "Unable to read config file %s: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:77 #, c-format msgid "Unable to create new context service: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:103 #, c-format msgid "Unable to start container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:109 #, c-format msgid "Unable to get log console for container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:119 #, c-format msgid "Unable to attach console to stderr in the container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:126 #: ../bin/virt-sandbox-service-util.c:181 #, c-format msgid "Unable to disconnect console from libvirt: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:158 #: ../bin/virt-sandbox-service-util.c:174 #, c-format msgid "Unable to attach to container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:164 #, c-format msgid "Unable to get shell console for container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:240 msgid "Display version information" msgstr "" #: ../bin/virt-sandbox-service-util.c:242 msgid "Start a container" msgstr "" #: ../bin/virt-sandbox-service-util.c:244 msgid "Attach to a container" msgstr "" #: ../bin/virt-sandbox-service-util.c:246 msgid "Pid of process in container to which the command will run" msgstr "" #: ../bin/virt-sandbox-service-util.c:248 msgid "Connect to hypervisor Default:'lxc:///'" msgstr "" #: ../bin/virt-sandbox-service-util.c:253 msgid "" "Run 'virt-sandbox-service-util --help' to see a full list of available " "command line options\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:263 msgid "- Libvirt Sandbox Service" msgstr "" #: ../bin/virt-sandbox-service-util.c:275 #, c-format msgid "" "Invalid command: You must specify --start or --attach\n" "%s" msgstr "" #: ../bin/virt-sandbox-service-util.c:281 #, c-format msgid "Invalid command CONTAINER_NAME required: %s" msgstr "" #: ../bin/virt-sandbox-service-util.c:288 msgid "Libvirt Sandbox Service" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-initrd.c:171 #, c-format msgid "Unable to create temporary directory %s: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-initrd.c:217 #, c-format msgid "Kernel module dir %s does not exist" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-initrd.c:275 #, c-format msgid "Unable to read entries in %s: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-initrd.c:306 #, c-format msgid "Unable to access %s: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-machine.c:446 #, c-format msgid "Kernel image %s does not exist" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:941 #, c-format msgid "Cannot request DHCP with static routes/addresses" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:963 #, c-format msgid "No assignment in filter parameter configuration" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:999 #, c-format msgid "Cannot set static addresses with DHCP" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1019 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1028 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1082 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1090 #, c-format msgid "Unable to parse address %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1058 #, c-format msgid "Cannot set static routes with DHCP" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1076 #, c-format msgid "Missing gateway in route %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1110 #, c-format msgid "Unknown parameter %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1121 #, c-format msgid "Cannot set static routes without addresses" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1285 #, c-format msgid "No mount type prefix on %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1298 #, c-format msgid "Unknown mount type prefix on %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1311 #, c-format msgid "Missing mount source string on %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1411 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1476 #, c-format msgid "No mount with a prefix under %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1578 #, c-format msgid "Unable to get SELinux context of user: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1587 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1596 #, c-format msgid "Unknown security option '%s'" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1630 msgid "Missing mount target in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1635 msgid "Missing mount type in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1647 #, c-format msgid "Unknown mount type %s in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1654 msgid "Missing mount usage in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1663 msgid "Missing mount source in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:2150 msgid "Missing class name in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:2156 #, c-format msgid "Unknown type name '%s' in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:2163 #, c-format msgid "Type name '%s' in config file had wrong parent" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console.c:326 msgid "Unable to isolate console unless direct access flag is set" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:184 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:350 #, c-format msgid "Unable to query terminal attributes: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:201 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:367 #, c-format msgid "Unable to update terminal attributes: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:224 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:395 #, c-format msgid "Unable to restore terminal attributes: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:630 msgid "No devices found for domain" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:660 #, c-format msgid "No device %s found for domain" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:666 #, c-format msgid "Unable to open console %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:699 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:1110 msgid "Console is already attached to a stream" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:628 #, c-format msgid "Unexpected rpc status %u" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:697 #, c-format msgid "Unexpected rpc proc %u" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:753 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:817 #, c-format msgid "Got rx in unexpected state %d" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:1167 msgid "ConsoleRpc is not attached to a stream" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-context.c:253 #: ../libvirt-sandbox/libvirt-sandbox-context.c:396 #, c-format msgid "Domain is not currently running" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-context.c:323 #: ../libvirt-sandbox/libvirt-sandbox-context.c:340 #: ../libvirt-sandbox/libvirt-sandbox-context.c:363 #, c-format msgid "Sandbox is not currently running" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1065 #, c-format msgid "libvirt-sandbox-init-common: unable to create signal pipe: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1084 #, c-format msgid "libvirt-sandbox-init-common: cannot open %s: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1141 #, c-format msgid "libvirt-sandbox-init-common: %s: cannot execute %s: %s\n" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1167 msgid "config file path" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1170 msgid "Run '" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1180 #, c-format msgid "%s: must be launched as root\n" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1187 msgid "Libvirt Sandbox Init Common" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1205 #, c-format msgid "%s: Unable to load config %s: %s\n" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1231 #, c-format msgid "Unsupported configuration type %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:69 msgid "Unable to decode message length" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:76 #, c-format msgid "packet %u bytes received from server too small, want %u" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:86 #, c-format msgid "packet %u bytes received from server too large, want %d" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:130 msgid "Unable to decode message header" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:174 #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:235 #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:303 #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:329 msgid "Unable to encode message length" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:180 msgid "Unable to encode message header" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:192 msgid "Unable to re-encode message length" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:222 msgid "Unable to encode message payload" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:265 msgid "Unable to decode message payload" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:290 #, c-format msgid "Raw data too long to send (%zu bytes needed, %zu bytes available)" msgstr "" libvirt-sandbox-0.5.1+git20160404/po/kk.po000066400000000000000000000342141275305543100176200ustar00rootroot00000000000000# SOME DESCRIPTIVE TITLE. # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # # Translators: msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2015-02-18 14:55+0000\n" "PO-Revision-Date: 2013-04-08 06:10-0400\n" "Last-Translator: FULL NAME \n" "Language-Team: Kazakh (http://www.transifex.com/projects/p/fedora/language/kk/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Language: kk\n" "Plural-Forms: nplurals=1; plural=0;\n" "X-Generator: Zanata 3.5.1\n" #: ../bin/virt-sandbox.c:48 ../bin/virt-sandbox-service-util.c:43 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1149 #, c-format msgid "%s version %s\n" msgstr "" #: ../bin/virt-sandbox.c:84 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1161 msgid "display version information" msgstr "" #: ../bin/virt-sandbox.c:86 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1163 msgid "display verbose information" msgstr "" #: ../bin/virt-sandbox.c:88 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1165 msgid "display debugging information" msgstr "" #: ../bin/virt-sandbox.c:90 msgid "connect to hypervisor" msgstr "" #: ../bin/virt-sandbox.c:92 msgid "name of the sandbox" msgstr "" #: ../bin/virt-sandbox.c:94 msgid "root directory of the sandbox" msgstr "" #: ../bin/virt-sandbox.c:96 msgid "mount a filesystem in the guest" msgstr "" #: ../bin/virt-sandbox.c:98 msgid "file to copy into custom dir" msgstr "" #: ../bin/virt-sandbox.c:100 msgid "file contain list of files to include" msgstr "" #: ../bin/virt-sandbox.c:102 msgid "setup network interface properties" msgstr "" #: ../bin/virt-sandbox.c:104 msgid "security properties" msgstr "" #: ../bin/virt-sandbox.c:106 msgid "run the command privileged" msgstr "" #: ../bin/virt-sandbox.c:108 msgid "start a shell" msgstr "" #: ../bin/virt-sandbox.c:110 msgid "kernel version" msgstr "" #: ../bin/virt-sandbox.c:112 msgid "kernel binary path" msgstr "" #: ../bin/virt-sandbox.c:114 msgid "kernel module directory" msgstr "" #: ../bin/virt-sandbox.c:119 msgid "" "Run 'virt-sandbox --help' to see a full list of available command line " "options" msgstr "" #: ../bin/virt-sandbox.c:129 msgid "Libvirt Sandbox" msgstr "" #: ../bin/virt-sandbox.c:131 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1189 msgid "- Libvirt Sandbox" msgstr "" #: ../bin/virt-sandbox.c:144 #, c-format msgid "" "\n" "Usage: %s [OPTIONS] COMMAND-PATH [ARGS...]\n" "\n" "%s\n" "\n" msgstr "" #: ../bin/virt-sandbox.c:160 ../bin/virt-sandbox-service-util.c:65 #, c-format msgid "Unable to open connection: %s\n" msgstr "" #: ../bin/virt-sandbox.c:161 ../bin/virt-sandbox.c:188 #: ../bin/virt-sandbox.c:194 ../bin/virt-sandbox.c:200 #: ../bin/virt-sandbox.c:206 ../bin/virt-sandbox.c:212 #: ../bin/virt-sandbox.c:227 ../bin/virt-sandbox.c:233 #: ../bin/virt-sandbox.c:240 ../bin/virt-sandbox.c:246 #: ../bin/virt-sandbox.c:254 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1247 msgid "Unknown failure" msgstr "" #: ../bin/virt-sandbox.c:187 #, c-format msgid "Unable to parse mounts: %s\n" msgstr "" #: ../bin/virt-sandbox.c:193 #, c-format msgid "Unable to parse includes: %s\n" msgstr "" #: ../bin/virt-sandbox.c:199 #, c-format msgid "Unable to parse include file: %s\n" msgstr "" #: ../bin/virt-sandbox.c:205 #, c-format msgid "Unable to parse networks: %s\n" msgstr "" #: ../bin/virt-sandbox.c:211 #, c-format msgid "Unable to parse security: %s\n" msgstr "" #: ../bin/virt-sandbox.c:226 #, c-format msgid "Unable to start sandbox: %s\n" msgstr "" #: ../bin/virt-sandbox.c:232 #, c-format msgid "Unable to get log console: %s\n" msgstr "" #: ../bin/virt-sandbox.c:239 ../bin/virt-sandbox.c:253 #, c-format msgid "Unable to attach sandbox console: %s\n" msgstr "" #: ../bin/virt-sandbox.c:245 #, c-format msgid "Unable to get app console: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:66 ../bin/virt-sandbox-service-util.c:72 #: ../bin/virt-sandbox-service-util.c:78 #: ../bin/virt-sandbox-service-util.c:104 #: ../bin/virt-sandbox-service-util.c:110 #: ../bin/virt-sandbox-service-util.c:120 #: ../bin/virt-sandbox-service-util.c:127 #: ../bin/virt-sandbox-service-util.c:159 #: ../bin/virt-sandbox-service-util.c:165 #: ../bin/virt-sandbox-service-util.c:175 #: ../bin/virt-sandbox-service-util.c:182 msgid "unknown" msgstr "" #: ../bin/virt-sandbox-service-util.c:71 #, c-format msgid "Unable to read config file %s: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:77 #, c-format msgid "Unable to create new context service: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:103 #, c-format msgid "Unable to start container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:109 #, c-format msgid "Unable to get log console for container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:119 #, c-format msgid "Unable to attach console to stderr in the container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:126 #: ../bin/virt-sandbox-service-util.c:181 #, c-format msgid "Unable to disconnect console from libvirt: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:158 #: ../bin/virt-sandbox-service-util.c:174 #, c-format msgid "Unable to attach to container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:164 #, c-format msgid "Unable to get shell console for container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:240 msgid "Display version information" msgstr "" #: ../bin/virt-sandbox-service-util.c:242 msgid "Start a container" msgstr "" #: ../bin/virt-sandbox-service-util.c:244 msgid "Attach to a container" msgstr "" #: ../bin/virt-sandbox-service-util.c:246 msgid "Pid of process in container to which the command will run" msgstr "" #: ../bin/virt-sandbox-service-util.c:248 msgid "Connect to hypervisor Default:'lxc:///'" msgstr "" #: ../bin/virt-sandbox-service-util.c:253 msgid "" "Run 'virt-sandbox-service-util --help' to see a full list of available " "command line options\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:263 msgid "- Libvirt Sandbox Service" msgstr "" #: ../bin/virt-sandbox-service-util.c:275 #, c-format msgid "" "Invalid command: You must specify --start or --attach\n" "%s" msgstr "" #: ../bin/virt-sandbox-service-util.c:281 #, c-format msgid "Invalid command CONTAINER_NAME required: %s" msgstr "" #: ../bin/virt-sandbox-service-util.c:288 msgid "Libvirt Sandbox Service" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-initrd.c:171 #, c-format msgid "Unable to create temporary directory %s: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-initrd.c:217 #, c-format msgid "Kernel module dir %s does not exist" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-initrd.c:275 #, c-format msgid "Unable to read entries in %s: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-initrd.c:306 #, c-format msgid "Unable to access %s: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-machine.c:446 #, c-format msgid "Kernel image %s does not exist" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:941 #, c-format msgid "Cannot request DHCP with static routes/addresses" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:963 #, c-format msgid "No assignment in filter parameter configuration" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:999 #, c-format msgid "Cannot set static addresses with DHCP" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1019 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1028 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1082 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1090 #, c-format msgid "Unable to parse address %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1058 #, c-format msgid "Cannot set static routes with DHCP" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1076 #, c-format msgid "Missing gateway in route %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1110 #, c-format msgid "Unknown parameter %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1121 #, c-format msgid "Cannot set static routes without addresses" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1285 #, c-format msgid "No mount type prefix on %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1298 #, c-format msgid "Unknown mount type prefix on %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1311 #, c-format msgid "Missing mount source string on %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1411 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1476 #, c-format msgid "No mount with a prefix under %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1578 #, c-format msgid "Unable to get SELinux context of user: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1587 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1596 #, c-format msgid "Unknown security option '%s'" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1630 msgid "Missing mount target in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1635 msgid "Missing mount type in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1647 #, c-format msgid "Unknown mount type %s in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1654 msgid "Missing mount usage in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1663 msgid "Missing mount source in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:2150 msgid "Missing class name in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:2156 #, c-format msgid "Unknown type name '%s' in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:2163 #, c-format msgid "Type name '%s' in config file had wrong parent" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console.c:326 msgid "Unable to isolate console unless direct access flag is set" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:184 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:350 #, c-format msgid "Unable to query terminal attributes: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:201 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:367 #, c-format msgid "Unable to update terminal attributes: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:224 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:395 #, c-format msgid "Unable to restore terminal attributes: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:630 msgid "No devices found for domain" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:660 #, c-format msgid "No device %s found for domain" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:666 #, c-format msgid "Unable to open console %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:699 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:1110 msgid "Console is already attached to a stream" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:628 #, c-format msgid "Unexpected rpc status %u" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:697 #, c-format msgid "Unexpected rpc proc %u" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:753 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:817 #, c-format msgid "Got rx in unexpected state %d" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:1167 msgid "ConsoleRpc is not attached to a stream" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-context.c:253 #: ../libvirt-sandbox/libvirt-sandbox-context.c:396 #, c-format msgid "Domain is not currently running" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-context.c:323 #: ../libvirt-sandbox/libvirt-sandbox-context.c:340 #: ../libvirt-sandbox/libvirt-sandbox-context.c:363 #, c-format msgid "Sandbox is not currently running" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1065 #, c-format msgid "libvirt-sandbox-init-common: unable to create signal pipe: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1084 #, c-format msgid "libvirt-sandbox-init-common: cannot open %s: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1141 #, c-format msgid "libvirt-sandbox-init-common: %s: cannot execute %s: %s\n" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1167 msgid "config file path" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1170 msgid "Run '" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1180 #, c-format msgid "%s: must be launched as root\n" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1187 msgid "Libvirt Sandbox Init Common" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1205 #, c-format msgid "%s: Unable to load config %s: %s\n" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1231 #, c-format msgid "Unsupported configuration type %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:69 msgid "Unable to decode message length" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:76 #, c-format msgid "packet %u bytes received from server too small, want %u" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:86 #, c-format msgid "packet %u bytes received from server too large, want %d" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:130 msgid "Unable to decode message header" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:174 #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:235 #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:303 #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:329 msgid "Unable to encode message length" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:180 msgid "Unable to encode message header" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:192 msgid "Unable to re-encode message length" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:222 msgid "Unable to encode message payload" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:265 msgid "Unable to decode message payload" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:290 #, c-format msgid "Raw data too long to send (%zu bytes needed, %zu bytes available)" msgstr "" libvirt-sandbox-0.5.1+git20160404/po/km.po000066400000000000000000000342131275305543100176210ustar00rootroot00000000000000# SOME DESCRIPTIVE TITLE. # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # # Translators: msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2015-02-18 14:55+0000\n" "PO-Revision-Date: 2013-04-08 06:10-0400\n" "Last-Translator: FULL NAME \n" "Language-Team: Khmer (http://www.transifex.com/projects/p/fedora/language/km/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Language: km\n" "Plural-Forms: nplurals=1; plural=0;\n" "X-Generator: Zanata 3.5.1\n" #: ../bin/virt-sandbox.c:48 ../bin/virt-sandbox-service-util.c:43 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1149 #, c-format msgid "%s version %s\n" msgstr "" #: ../bin/virt-sandbox.c:84 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1161 msgid "display version information" msgstr "" #: ../bin/virt-sandbox.c:86 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1163 msgid "display verbose information" msgstr "" #: ../bin/virt-sandbox.c:88 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1165 msgid "display debugging information" msgstr "" #: ../bin/virt-sandbox.c:90 msgid "connect to hypervisor" msgstr "" #: ../bin/virt-sandbox.c:92 msgid "name of the sandbox" msgstr "" #: ../bin/virt-sandbox.c:94 msgid "root directory of the sandbox" msgstr "" #: ../bin/virt-sandbox.c:96 msgid "mount a filesystem in the guest" msgstr "" #: ../bin/virt-sandbox.c:98 msgid "file to copy into custom dir" msgstr "" #: ../bin/virt-sandbox.c:100 msgid "file contain list of files to include" msgstr "" #: ../bin/virt-sandbox.c:102 msgid "setup network interface properties" msgstr "" #: ../bin/virt-sandbox.c:104 msgid "security properties" msgstr "" #: ../bin/virt-sandbox.c:106 msgid "run the command privileged" msgstr "" #: ../bin/virt-sandbox.c:108 msgid "start a shell" msgstr "" #: ../bin/virt-sandbox.c:110 msgid "kernel version" msgstr "" #: ../bin/virt-sandbox.c:112 msgid "kernel binary path" msgstr "" #: ../bin/virt-sandbox.c:114 msgid "kernel module directory" msgstr "" #: ../bin/virt-sandbox.c:119 msgid "" "Run 'virt-sandbox --help' to see a full list of available command line " "options" msgstr "" #: ../bin/virt-sandbox.c:129 msgid "Libvirt Sandbox" msgstr "" #: ../bin/virt-sandbox.c:131 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1189 msgid "- Libvirt Sandbox" msgstr "" #: ../bin/virt-sandbox.c:144 #, c-format msgid "" "\n" "Usage: %s [OPTIONS] COMMAND-PATH [ARGS...]\n" "\n" "%s\n" "\n" msgstr "" #: ../bin/virt-sandbox.c:160 ../bin/virt-sandbox-service-util.c:65 #, c-format msgid "Unable to open connection: %s\n" msgstr "" #: ../bin/virt-sandbox.c:161 ../bin/virt-sandbox.c:188 #: ../bin/virt-sandbox.c:194 ../bin/virt-sandbox.c:200 #: ../bin/virt-sandbox.c:206 ../bin/virt-sandbox.c:212 #: ../bin/virt-sandbox.c:227 ../bin/virt-sandbox.c:233 #: ../bin/virt-sandbox.c:240 ../bin/virt-sandbox.c:246 #: ../bin/virt-sandbox.c:254 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1247 msgid "Unknown failure" msgstr "" #: ../bin/virt-sandbox.c:187 #, c-format msgid "Unable to parse mounts: %s\n" msgstr "" #: ../bin/virt-sandbox.c:193 #, c-format msgid "Unable to parse includes: %s\n" msgstr "" #: ../bin/virt-sandbox.c:199 #, c-format msgid "Unable to parse include file: %s\n" msgstr "" #: ../bin/virt-sandbox.c:205 #, c-format msgid "Unable to parse networks: %s\n" msgstr "" #: ../bin/virt-sandbox.c:211 #, c-format msgid "Unable to parse security: %s\n" msgstr "" #: ../bin/virt-sandbox.c:226 #, c-format msgid "Unable to start sandbox: %s\n" msgstr "" #: ../bin/virt-sandbox.c:232 #, c-format msgid "Unable to get log console: %s\n" msgstr "" #: ../bin/virt-sandbox.c:239 ../bin/virt-sandbox.c:253 #, c-format msgid "Unable to attach sandbox console: %s\n" msgstr "" #: ../bin/virt-sandbox.c:245 #, c-format msgid "Unable to get app console: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:66 ../bin/virt-sandbox-service-util.c:72 #: ../bin/virt-sandbox-service-util.c:78 #: ../bin/virt-sandbox-service-util.c:104 #: ../bin/virt-sandbox-service-util.c:110 #: ../bin/virt-sandbox-service-util.c:120 #: ../bin/virt-sandbox-service-util.c:127 #: ../bin/virt-sandbox-service-util.c:159 #: ../bin/virt-sandbox-service-util.c:165 #: ../bin/virt-sandbox-service-util.c:175 #: ../bin/virt-sandbox-service-util.c:182 msgid "unknown" msgstr "" #: ../bin/virt-sandbox-service-util.c:71 #, c-format msgid "Unable to read config file %s: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:77 #, c-format msgid "Unable to create new context service: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:103 #, c-format msgid "Unable to start container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:109 #, c-format msgid "Unable to get log console for container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:119 #, c-format msgid "Unable to attach console to stderr in the container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:126 #: ../bin/virt-sandbox-service-util.c:181 #, c-format msgid "Unable to disconnect console from libvirt: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:158 #: ../bin/virt-sandbox-service-util.c:174 #, c-format msgid "Unable to attach to container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:164 #, c-format msgid "Unable to get shell console for container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:240 msgid "Display version information" msgstr "" #: ../bin/virt-sandbox-service-util.c:242 msgid "Start a container" msgstr "" #: ../bin/virt-sandbox-service-util.c:244 msgid "Attach to a container" msgstr "" #: ../bin/virt-sandbox-service-util.c:246 msgid "Pid of process in container to which the command will run" msgstr "" #: ../bin/virt-sandbox-service-util.c:248 msgid "Connect to hypervisor Default:'lxc:///'" msgstr "" #: ../bin/virt-sandbox-service-util.c:253 msgid "" "Run 'virt-sandbox-service-util --help' to see a full list of available " "command line options\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:263 msgid "- Libvirt Sandbox Service" msgstr "" #: ../bin/virt-sandbox-service-util.c:275 #, c-format msgid "" "Invalid command: You must specify --start or --attach\n" "%s" msgstr "" #: ../bin/virt-sandbox-service-util.c:281 #, c-format msgid "Invalid command CONTAINER_NAME required: %s" msgstr "" #: ../bin/virt-sandbox-service-util.c:288 msgid "Libvirt Sandbox Service" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-initrd.c:171 #, c-format msgid "Unable to create temporary directory %s: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-initrd.c:217 #, c-format msgid "Kernel module dir %s does not exist" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-initrd.c:275 #, c-format msgid "Unable to read entries in %s: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-initrd.c:306 #, c-format msgid "Unable to access %s: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-machine.c:446 #, c-format msgid "Kernel image %s does not exist" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:941 #, c-format msgid "Cannot request DHCP with static routes/addresses" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:963 #, c-format msgid "No assignment in filter parameter configuration" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:999 #, c-format msgid "Cannot set static addresses with DHCP" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1019 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1028 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1082 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1090 #, c-format msgid "Unable to parse address %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1058 #, c-format msgid "Cannot set static routes with DHCP" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1076 #, c-format msgid "Missing gateway in route %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1110 #, c-format msgid "Unknown parameter %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1121 #, c-format msgid "Cannot set static routes without addresses" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1285 #, c-format msgid "No mount type prefix on %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1298 #, c-format msgid "Unknown mount type prefix on %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1311 #, c-format msgid "Missing mount source string on %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1411 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1476 #, c-format msgid "No mount with a prefix under %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1578 #, c-format msgid "Unable to get SELinux context of user: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1587 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1596 #, c-format msgid "Unknown security option '%s'" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1630 msgid "Missing mount target in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1635 msgid "Missing mount type in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1647 #, c-format msgid "Unknown mount type %s in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1654 msgid "Missing mount usage in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1663 msgid "Missing mount source in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:2150 msgid "Missing class name in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:2156 #, c-format msgid "Unknown type name '%s' in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:2163 #, c-format msgid "Type name '%s' in config file had wrong parent" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console.c:326 msgid "Unable to isolate console unless direct access flag is set" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:184 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:350 #, c-format msgid "Unable to query terminal attributes: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:201 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:367 #, c-format msgid "Unable to update terminal attributes: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:224 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:395 #, c-format msgid "Unable to restore terminal attributes: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:630 msgid "No devices found for domain" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:660 #, c-format msgid "No device %s found for domain" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:666 #, c-format msgid "Unable to open console %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:699 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:1110 msgid "Console is already attached to a stream" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:628 #, c-format msgid "Unexpected rpc status %u" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:697 #, c-format msgid "Unexpected rpc proc %u" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:753 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:817 #, c-format msgid "Got rx in unexpected state %d" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:1167 msgid "ConsoleRpc is not attached to a stream" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-context.c:253 #: ../libvirt-sandbox/libvirt-sandbox-context.c:396 #, c-format msgid "Domain is not currently running" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-context.c:323 #: ../libvirt-sandbox/libvirt-sandbox-context.c:340 #: ../libvirt-sandbox/libvirt-sandbox-context.c:363 #, c-format msgid "Sandbox is not currently running" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1065 #, c-format msgid "libvirt-sandbox-init-common: unable to create signal pipe: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1084 #, c-format msgid "libvirt-sandbox-init-common: cannot open %s: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1141 #, c-format msgid "libvirt-sandbox-init-common: %s: cannot execute %s: %s\n" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1167 msgid "config file path" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1170 msgid "Run '" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1180 #, c-format msgid "%s: must be launched as root\n" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1187 msgid "Libvirt Sandbox Init Common" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1205 #, c-format msgid "%s: Unable to load config %s: %s\n" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1231 #, c-format msgid "Unsupported configuration type %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:69 msgid "Unable to decode message length" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:76 #, c-format msgid "packet %u bytes received from server too small, want %u" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:86 #, c-format msgid "packet %u bytes received from server too large, want %d" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:130 msgid "Unable to decode message header" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:174 #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:235 #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:303 #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:329 msgid "Unable to encode message length" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:180 msgid "Unable to encode message header" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:192 msgid "Unable to re-encode message length" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:222 msgid "Unable to encode message payload" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:265 msgid "Unable to decode message payload" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:290 #, c-format msgid "Raw data too long to send (%zu bytes needed, %zu bytes available)" msgstr "" libvirt-sandbox-0.5.1+git20160404/po/kn.po000066400000000000000000000342401275305543100176220ustar00rootroot00000000000000# SOME DESCRIPTIVE TITLE. # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # # Translators: msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2015-02-18 14:55+0000\n" "PO-Revision-Date: 2013-07-09 03:50-0400\n" "Last-Translator: Daniel Berrange \n" "Language-Team: Kannada (http://www.transifex.com/projects/p/fedora/language/kn/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Language: kn\n" "Plural-Forms: nplurals=1; plural=0;\n" "X-Generator: Zanata 3.5.1\n" #: ../bin/virt-sandbox.c:48 ../bin/virt-sandbox-service-util.c:43 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1149 #, c-format msgid "%s version %s\n" msgstr "" #: ../bin/virt-sandbox.c:84 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1161 msgid "display version information" msgstr "" #: ../bin/virt-sandbox.c:86 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1163 msgid "display verbose information" msgstr "" #: ../bin/virt-sandbox.c:88 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1165 msgid "display debugging information" msgstr "" #: ../bin/virt-sandbox.c:90 msgid "connect to hypervisor" msgstr "" #: ../bin/virt-sandbox.c:92 msgid "name of the sandbox" msgstr "" #: ../bin/virt-sandbox.c:94 msgid "root directory of the sandbox" msgstr "" #: ../bin/virt-sandbox.c:96 msgid "mount a filesystem in the guest" msgstr "" #: ../bin/virt-sandbox.c:98 msgid "file to copy into custom dir" msgstr "" #: ../bin/virt-sandbox.c:100 msgid "file contain list of files to include" msgstr "" #: ../bin/virt-sandbox.c:102 msgid "setup network interface properties" msgstr "" #: ../bin/virt-sandbox.c:104 msgid "security properties" msgstr "" #: ../bin/virt-sandbox.c:106 msgid "run the command privileged" msgstr "" #: ../bin/virt-sandbox.c:108 msgid "start a shell" msgstr "" #: ../bin/virt-sandbox.c:110 msgid "kernel version" msgstr "" #: ../bin/virt-sandbox.c:112 msgid "kernel binary path" msgstr "" #: ../bin/virt-sandbox.c:114 msgid "kernel module directory" msgstr "" #: ../bin/virt-sandbox.c:119 msgid "" "Run 'virt-sandbox --help' to see a full list of available command line " "options" msgstr "" #: ../bin/virt-sandbox.c:129 msgid "Libvirt Sandbox" msgstr "" #: ../bin/virt-sandbox.c:131 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1189 msgid "- Libvirt Sandbox" msgstr "" #: ../bin/virt-sandbox.c:144 #, c-format msgid "" "\n" "Usage: %s [OPTIONS] COMMAND-PATH [ARGS...]\n" "\n" "%s\n" "\n" msgstr "" #: ../bin/virt-sandbox.c:160 ../bin/virt-sandbox-service-util.c:65 #, c-format msgid "Unable to open connection: %s\n" msgstr "" #: ../bin/virt-sandbox.c:161 ../bin/virt-sandbox.c:188 #: ../bin/virt-sandbox.c:194 ../bin/virt-sandbox.c:200 #: ../bin/virt-sandbox.c:206 ../bin/virt-sandbox.c:212 #: ../bin/virt-sandbox.c:227 ../bin/virt-sandbox.c:233 #: ../bin/virt-sandbox.c:240 ../bin/virt-sandbox.c:246 #: ../bin/virt-sandbox.c:254 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1247 msgid "Unknown failure" msgstr "" #: ../bin/virt-sandbox.c:187 #, c-format msgid "Unable to parse mounts: %s\n" msgstr "" #: ../bin/virt-sandbox.c:193 #, c-format msgid "Unable to parse includes: %s\n" msgstr "" #: ../bin/virt-sandbox.c:199 #, c-format msgid "Unable to parse include file: %s\n" msgstr "" #: ../bin/virt-sandbox.c:205 #, c-format msgid "Unable to parse networks: %s\n" msgstr "" #: ../bin/virt-sandbox.c:211 #, c-format msgid "Unable to parse security: %s\n" msgstr "" #: ../bin/virt-sandbox.c:226 #, c-format msgid "Unable to start sandbox: %s\n" msgstr "" #: ../bin/virt-sandbox.c:232 #, c-format msgid "Unable to get log console: %s\n" msgstr "" #: ../bin/virt-sandbox.c:239 ../bin/virt-sandbox.c:253 #, c-format msgid "Unable to attach sandbox console: %s\n" msgstr "" #: ../bin/virt-sandbox.c:245 #, c-format msgid "Unable to get app console: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:66 ../bin/virt-sandbox-service-util.c:72 #: ../bin/virt-sandbox-service-util.c:78 #: ../bin/virt-sandbox-service-util.c:104 #: ../bin/virt-sandbox-service-util.c:110 #: ../bin/virt-sandbox-service-util.c:120 #: ../bin/virt-sandbox-service-util.c:127 #: ../bin/virt-sandbox-service-util.c:159 #: ../bin/virt-sandbox-service-util.c:165 #: ../bin/virt-sandbox-service-util.c:175 #: ../bin/virt-sandbox-service-util.c:182 msgid "unknown" msgstr "" #: ../bin/virt-sandbox-service-util.c:71 #, c-format msgid "Unable to read config file %s: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:77 #, c-format msgid "Unable to create new context service: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:103 #, c-format msgid "Unable to start container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:109 #, c-format msgid "Unable to get log console for container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:119 #, c-format msgid "Unable to attach console to stderr in the container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:126 #: ../bin/virt-sandbox-service-util.c:181 #, c-format msgid "Unable to disconnect console from libvirt: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:158 #: ../bin/virt-sandbox-service-util.c:174 #, c-format msgid "Unable to attach to container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:164 #, c-format msgid "Unable to get shell console for container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:240 msgid "Display version information" msgstr "" #: ../bin/virt-sandbox-service-util.c:242 msgid "Start a container" msgstr "" #: ../bin/virt-sandbox-service-util.c:244 msgid "Attach to a container" msgstr "" #: ../bin/virt-sandbox-service-util.c:246 msgid "Pid of process in container to which the command will run" msgstr "" #: ../bin/virt-sandbox-service-util.c:248 msgid "Connect to hypervisor Default:'lxc:///'" msgstr "" #: ../bin/virt-sandbox-service-util.c:253 msgid "" "Run 'virt-sandbox-service-util --help' to see a full list of available " "command line options\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:263 msgid "- Libvirt Sandbox Service" msgstr "" #: ../bin/virt-sandbox-service-util.c:275 #, c-format msgid "" "Invalid command: You must specify --start or --attach\n" "%s" msgstr "" #: ../bin/virt-sandbox-service-util.c:281 #, c-format msgid "Invalid command CONTAINER_NAME required: %s" msgstr "" #: ../bin/virt-sandbox-service-util.c:288 msgid "Libvirt Sandbox Service" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-initrd.c:171 #, c-format msgid "Unable to create temporary directory %s: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-initrd.c:217 #, c-format msgid "Kernel module dir %s does not exist" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-initrd.c:275 #, c-format msgid "Unable to read entries in %s: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-initrd.c:306 #, c-format msgid "Unable to access %s: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-machine.c:446 #, c-format msgid "Kernel image %s does not exist" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:941 #, c-format msgid "Cannot request DHCP with static routes/addresses" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:963 #, c-format msgid "No assignment in filter parameter configuration" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:999 #, c-format msgid "Cannot set static addresses with DHCP" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1019 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1028 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1082 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1090 #, c-format msgid "Unable to parse address %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1058 #, c-format msgid "Cannot set static routes with DHCP" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1076 #, c-format msgid "Missing gateway in route %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1110 #, c-format msgid "Unknown parameter %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1121 #, c-format msgid "Cannot set static routes without addresses" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1285 #, c-format msgid "No mount type prefix on %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1298 #, c-format msgid "Unknown mount type prefix on %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1311 #, c-format msgid "Missing mount source string on %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1411 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1476 #, c-format msgid "No mount with a prefix under %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1578 #, c-format msgid "Unable to get SELinux context of user: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1587 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1596 #, c-format msgid "Unknown security option '%s'" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1630 msgid "Missing mount target in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1635 msgid "Missing mount type in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1647 #, c-format msgid "Unknown mount type %s in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1654 msgid "Missing mount usage in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1663 msgid "Missing mount source in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:2150 msgid "Missing class name in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:2156 #, c-format msgid "Unknown type name '%s' in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:2163 #, c-format msgid "Type name '%s' in config file had wrong parent" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console.c:326 msgid "Unable to isolate console unless direct access flag is set" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:184 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:350 #, c-format msgid "Unable to query terminal attributes: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:201 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:367 #, c-format msgid "Unable to update terminal attributes: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:224 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:395 #, c-format msgid "Unable to restore terminal attributes: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:630 msgid "No devices found for domain" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:660 #, c-format msgid "No device %s found for domain" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:666 #, c-format msgid "Unable to open console %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:699 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:1110 msgid "Console is already attached to a stream" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:628 #, c-format msgid "Unexpected rpc status %u" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:697 #, c-format msgid "Unexpected rpc proc %u" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:753 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:817 #, c-format msgid "Got rx in unexpected state %d" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:1167 msgid "ConsoleRpc is not attached to a stream" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-context.c:253 #: ../libvirt-sandbox/libvirt-sandbox-context.c:396 #, c-format msgid "Domain is not currently running" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-context.c:323 #: ../libvirt-sandbox/libvirt-sandbox-context.c:340 #: ../libvirt-sandbox/libvirt-sandbox-context.c:363 #, c-format msgid "Sandbox is not currently running" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1065 #, c-format msgid "libvirt-sandbox-init-common: unable to create signal pipe: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1084 #, c-format msgid "libvirt-sandbox-init-common: cannot open %s: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1141 #, c-format msgid "libvirt-sandbox-init-common: %s: cannot execute %s: %s\n" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1167 msgid "config file path" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1170 msgid "Run '" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1180 #, c-format msgid "%s: must be launched as root\n" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1187 msgid "Libvirt Sandbox Init Common" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1205 #, c-format msgid "%s: Unable to load config %s: %s\n" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1231 #, c-format msgid "Unsupported configuration type %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:69 msgid "Unable to decode message length" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:76 #, c-format msgid "packet %u bytes received from server too small, want %u" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:86 #, c-format msgid "packet %u bytes received from server too large, want %d" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:130 msgid "Unable to decode message header" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:174 #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:235 #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:303 #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:329 msgid "Unable to encode message length" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:180 msgid "Unable to encode message header" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:192 msgid "Unable to re-encode message length" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:222 msgid "Unable to encode message payload" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:265 msgid "Unable to decode message payload" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:290 #, c-format msgid "Raw data too long to send (%zu bytes needed, %zu bytes available)" msgstr "" libvirt-sandbox-0.5.1+git20160404/po/ko.po000066400000000000000000000342141275305543100176240ustar00rootroot00000000000000# SOME DESCRIPTIVE TITLE. # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # # Translators: msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2015-02-18 14:55+0000\n" "PO-Revision-Date: 2013-04-08 06:10-0400\n" "Last-Translator: FULL NAME \n" "Language-Team: Korean (http://www.transifex.com/projects/p/fedora/language/ko/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Language: ko\n" "Plural-Forms: nplurals=1; plural=0;\n" "X-Generator: Zanata 3.5.1\n" #: ../bin/virt-sandbox.c:48 ../bin/virt-sandbox-service-util.c:43 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1149 #, c-format msgid "%s version %s\n" msgstr "" #: ../bin/virt-sandbox.c:84 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1161 msgid "display version information" msgstr "" #: ../bin/virt-sandbox.c:86 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1163 msgid "display verbose information" msgstr "" #: ../bin/virt-sandbox.c:88 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1165 msgid "display debugging information" msgstr "" #: ../bin/virt-sandbox.c:90 msgid "connect to hypervisor" msgstr "" #: ../bin/virt-sandbox.c:92 msgid "name of the sandbox" msgstr "" #: ../bin/virt-sandbox.c:94 msgid "root directory of the sandbox" msgstr "" #: ../bin/virt-sandbox.c:96 msgid "mount a filesystem in the guest" msgstr "" #: ../bin/virt-sandbox.c:98 msgid "file to copy into custom dir" msgstr "" #: ../bin/virt-sandbox.c:100 msgid "file contain list of files to include" msgstr "" #: ../bin/virt-sandbox.c:102 msgid "setup network interface properties" msgstr "" #: ../bin/virt-sandbox.c:104 msgid "security properties" msgstr "" #: ../bin/virt-sandbox.c:106 msgid "run the command privileged" msgstr "" #: ../bin/virt-sandbox.c:108 msgid "start a shell" msgstr "" #: ../bin/virt-sandbox.c:110 msgid "kernel version" msgstr "" #: ../bin/virt-sandbox.c:112 msgid "kernel binary path" msgstr "" #: ../bin/virt-sandbox.c:114 msgid "kernel module directory" msgstr "" #: ../bin/virt-sandbox.c:119 msgid "" "Run 'virt-sandbox --help' to see a full list of available command line " "options" msgstr "" #: ../bin/virt-sandbox.c:129 msgid "Libvirt Sandbox" msgstr "" #: ../bin/virt-sandbox.c:131 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1189 msgid "- Libvirt Sandbox" msgstr "" #: ../bin/virt-sandbox.c:144 #, c-format msgid "" "\n" "Usage: %s [OPTIONS] COMMAND-PATH [ARGS...]\n" "\n" "%s\n" "\n" msgstr "" #: ../bin/virt-sandbox.c:160 ../bin/virt-sandbox-service-util.c:65 #, c-format msgid "Unable to open connection: %s\n" msgstr "" #: ../bin/virt-sandbox.c:161 ../bin/virt-sandbox.c:188 #: ../bin/virt-sandbox.c:194 ../bin/virt-sandbox.c:200 #: ../bin/virt-sandbox.c:206 ../bin/virt-sandbox.c:212 #: ../bin/virt-sandbox.c:227 ../bin/virt-sandbox.c:233 #: ../bin/virt-sandbox.c:240 ../bin/virt-sandbox.c:246 #: ../bin/virt-sandbox.c:254 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1247 msgid "Unknown failure" msgstr "" #: ../bin/virt-sandbox.c:187 #, c-format msgid "Unable to parse mounts: %s\n" msgstr "" #: ../bin/virt-sandbox.c:193 #, c-format msgid "Unable to parse includes: %s\n" msgstr "" #: ../bin/virt-sandbox.c:199 #, c-format msgid "Unable to parse include file: %s\n" msgstr "" #: ../bin/virt-sandbox.c:205 #, c-format msgid "Unable to parse networks: %s\n" msgstr "" #: ../bin/virt-sandbox.c:211 #, c-format msgid "Unable to parse security: %s\n" msgstr "" #: ../bin/virt-sandbox.c:226 #, c-format msgid "Unable to start sandbox: %s\n" msgstr "" #: ../bin/virt-sandbox.c:232 #, c-format msgid "Unable to get log console: %s\n" msgstr "" #: ../bin/virt-sandbox.c:239 ../bin/virt-sandbox.c:253 #, c-format msgid "Unable to attach sandbox console: %s\n" msgstr "" #: ../bin/virt-sandbox.c:245 #, c-format msgid "Unable to get app console: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:66 ../bin/virt-sandbox-service-util.c:72 #: ../bin/virt-sandbox-service-util.c:78 #: ../bin/virt-sandbox-service-util.c:104 #: ../bin/virt-sandbox-service-util.c:110 #: ../bin/virt-sandbox-service-util.c:120 #: ../bin/virt-sandbox-service-util.c:127 #: ../bin/virt-sandbox-service-util.c:159 #: ../bin/virt-sandbox-service-util.c:165 #: ../bin/virt-sandbox-service-util.c:175 #: ../bin/virt-sandbox-service-util.c:182 msgid "unknown" msgstr "" #: ../bin/virt-sandbox-service-util.c:71 #, c-format msgid "Unable to read config file %s: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:77 #, c-format msgid "Unable to create new context service: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:103 #, c-format msgid "Unable to start container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:109 #, c-format msgid "Unable to get log console for container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:119 #, c-format msgid "Unable to attach console to stderr in the container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:126 #: ../bin/virt-sandbox-service-util.c:181 #, c-format msgid "Unable to disconnect console from libvirt: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:158 #: ../bin/virt-sandbox-service-util.c:174 #, c-format msgid "Unable to attach to container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:164 #, c-format msgid "Unable to get shell console for container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:240 msgid "Display version information" msgstr "" #: ../bin/virt-sandbox-service-util.c:242 msgid "Start a container" msgstr "" #: ../bin/virt-sandbox-service-util.c:244 msgid "Attach to a container" msgstr "" #: ../bin/virt-sandbox-service-util.c:246 msgid "Pid of process in container to which the command will run" msgstr "" #: ../bin/virt-sandbox-service-util.c:248 msgid "Connect to hypervisor Default:'lxc:///'" msgstr "" #: ../bin/virt-sandbox-service-util.c:253 msgid "" "Run 'virt-sandbox-service-util --help' to see a full list of available " "command line options\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:263 msgid "- Libvirt Sandbox Service" msgstr "" #: ../bin/virt-sandbox-service-util.c:275 #, c-format msgid "" "Invalid command: You must specify --start or --attach\n" "%s" msgstr "" #: ../bin/virt-sandbox-service-util.c:281 #, c-format msgid "Invalid command CONTAINER_NAME required: %s" msgstr "" #: ../bin/virt-sandbox-service-util.c:288 msgid "Libvirt Sandbox Service" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-initrd.c:171 #, c-format msgid "Unable to create temporary directory %s: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-initrd.c:217 #, c-format msgid "Kernel module dir %s does not exist" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-initrd.c:275 #, c-format msgid "Unable to read entries in %s: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-initrd.c:306 #, c-format msgid "Unable to access %s: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-machine.c:446 #, c-format msgid "Kernel image %s does not exist" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:941 #, c-format msgid "Cannot request DHCP with static routes/addresses" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:963 #, c-format msgid "No assignment in filter parameter configuration" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:999 #, c-format msgid "Cannot set static addresses with DHCP" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1019 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1028 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1082 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1090 #, c-format msgid "Unable to parse address %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1058 #, c-format msgid "Cannot set static routes with DHCP" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1076 #, c-format msgid "Missing gateway in route %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1110 #, c-format msgid "Unknown parameter %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1121 #, c-format msgid "Cannot set static routes without addresses" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1285 #, c-format msgid "No mount type prefix on %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1298 #, c-format msgid "Unknown mount type prefix on %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1311 #, c-format msgid "Missing mount source string on %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1411 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1476 #, c-format msgid "No mount with a prefix under %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1578 #, c-format msgid "Unable to get SELinux context of user: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1587 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1596 #, c-format msgid "Unknown security option '%s'" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1630 msgid "Missing mount target in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1635 msgid "Missing mount type in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1647 #, c-format msgid "Unknown mount type %s in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1654 msgid "Missing mount usage in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1663 msgid "Missing mount source in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:2150 msgid "Missing class name in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:2156 #, c-format msgid "Unknown type name '%s' in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:2163 #, c-format msgid "Type name '%s' in config file had wrong parent" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console.c:326 msgid "Unable to isolate console unless direct access flag is set" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:184 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:350 #, c-format msgid "Unable to query terminal attributes: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:201 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:367 #, c-format msgid "Unable to update terminal attributes: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:224 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:395 #, c-format msgid "Unable to restore terminal attributes: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:630 msgid "No devices found for domain" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:660 #, c-format msgid "No device %s found for domain" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:666 #, c-format msgid "Unable to open console %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:699 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:1110 msgid "Console is already attached to a stream" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:628 #, c-format msgid "Unexpected rpc status %u" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:697 #, c-format msgid "Unexpected rpc proc %u" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:753 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:817 #, c-format msgid "Got rx in unexpected state %d" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:1167 msgid "ConsoleRpc is not attached to a stream" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-context.c:253 #: ../libvirt-sandbox/libvirt-sandbox-context.c:396 #, c-format msgid "Domain is not currently running" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-context.c:323 #: ../libvirt-sandbox/libvirt-sandbox-context.c:340 #: ../libvirt-sandbox/libvirt-sandbox-context.c:363 #, c-format msgid "Sandbox is not currently running" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1065 #, c-format msgid "libvirt-sandbox-init-common: unable to create signal pipe: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1084 #, c-format msgid "libvirt-sandbox-init-common: cannot open %s: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1141 #, c-format msgid "libvirt-sandbox-init-common: %s: cannot execute %s: %s\n" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1167 msgid "config file path" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1170 msgid "Run '" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1180 #, c-format msgid "%s: must be launched as root\n" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1187 msgid "Libvirt Sandbox Init Common" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1205 #, c-format msgid "%s: Unable to load config %s: %s\n" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1231 #, c-format msgid "Unsupported configuration type %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:69 msgid "Unable to decode message length" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:76 #, c-format msgid "packet %u bytes received from server too small, want %u" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:86 #, c-format msgid "packet %u bytes received from server too large, want %d" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:130 msgid "Unable to decode message header" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:174 #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:235 #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:303 #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:329 msgid "Unable to encode message length" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:180 msgid "Unable to encode message header" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:192 msgid "Unable to re-encode message length" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:222 msgid "Unable to encode message payload" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:265 msgid "Unable to decode message payload" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:290 #, c-format msgid "Raw data too long to send (%zu bytes needed, %zu bytes available)" msgstr "" libvirt-sandbox-0.5.1+git20160404/po/kw.po000066400000000000000000000341451275305543100176370ustar00rootroot00000000000000# SOME DESCRIPTIVE TITLE. # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # FIRST AUTHOR , YEAR. # msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2015-02-18 14:55+0000\n" "PO-Revision-Date: \n" "Last-Translator: \n" "Language-Team: Cornish\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Language: kw\n" "Plural-Forms: nplurals=4; plural= (n==1) ? 0 : (n==2) ? 1 : (n == 3) ? 2 : 3\n" "X-Generator: Zanata 3.5.1\n" #: ../bin/virt-sandbox.c:48 ../bin/virt-sandbox-service-util.c:43 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1149 #, c-format msgid "%s version %s\n" msgstr "" #: ../bin/virt-sandbox.c:84 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1161 msgid "display version information" msgstr "" #: ../bin/virt-sandbox.c:86 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1163 msgid "display verbose information" msgstr "" #: ../bin/virt-sandbox.c:88 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1165 msgid "display debugging information" msgstr "" #: ../bin/virt-sandbox.c:90 msgid "connect to hypervisor" msgstr "" #: ../bin/virt-sandbox.c:92 msgid "name of the sandbox" msgstr "" #: ../bin/virt-sandbox.c:94 msgid "root directory of the sandbox" msgstr "" #: ../bin/virt-sandbox.c:96 msgid "mount a filesystem in the guest" msgstr "" #: ../bin/virt-sandbox.c:98 msgid "file to copy into custom dir" msgstr "" #: ../bin/virt-sandbox.c:100 msgid "file contain list of files to include" msgstr "" #: ../bin/virt-sandbox.c:102 msgid "setup network interface properties" msgstr "" #: ../bin/virt-sandbox.c:104 msgid "security properties" msgstr "" #: ../bin/virt-sandbox.c:106 msgid "run the command privileged" msgstr "" #: ../bin/virt-sandbox.c:108 msgid "start a shell" msgstr "" #: ../bin/virt-sandbox.c:110 msgid "kernel version" msgstr "" #: ../bin/virt-sandbox.c:112 msgid "kernel binary path" msgstr "" #: ../bin/virt-sandbox.c:114 msgid "kernel module directory" msgstr "" #: ../bin/virt-sandbox.c:119 msgid "" "Run 'virt-sandbox --help' to see a full list of available command line " "options" msgstr "" #: ../bin/virt-sandbox.c:129 msgid "Libvirt Sandbox" msgstr "" #: ../bin/virt-sandbox.c:131 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1189 msgid "- Libvirt Sandbox" msgstr "" #: ../bin/virt-sandbox.c:144 #, c-format msgid "" "\n" "Usage: %s [OPTIONS] COMMAND-PATH [ARGS...]\n" "\n" "%s\n" "\n" msgstr "" #: ../bin/virt-sandbox.c:160 ../bin/virt-sandbox-service-util.c:65 #, c-format msgid "Unable to open connection: %s\n" msgstr "" #: ../bin/virt-sandbox.c:161 ../bin/virt-sandbox.c:188 #: ../bin/virt-sandbox.c:194 ../bin/virt-sandbox.c:200 #: ../bin/virt-sandbox.c:206 ../bin/virt-sandbox.c:212 #: ../bin/virt-sandbox.c:227 ../bin/virt-sandbox.c:233 #: ../bin/virt-sandbox.c:240 ../bin/virt-sandbox.c:246 #: ../bin/virt-sandbox.c:254 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1247 msgid "Unknown failure" msgstr "" #: ../bin/virt-sandbox.c:187 #, c-format msgid "Unable to parse mounts: %s\n" msgstr "" #: ../bin/virt-sandbox.c:193 #, c-format msgid "Unable to parse includes: %s\n" msgstr "" #: ../bin/virt-sandbox.c:199 #, c-format msgid "Unable to parse include file: %s\n" msgstr "" #: ../bin/virt-sandbox.c:205 #, c-format msgid "Unable to parse networks: %s\n" msgstr "" #: ../bin/virt-sandbox.c:211 #, c-format msgid "Unable to parse security: %s\n" msgstr "" #: ../bin/virt-sandbox.c:226 #, c-format msgid "Unable to start sandbox: %s\n" msgstr "" #: ../bin/virt-sandbox.c:232 #, c-format msgid "Unable to get log console: %s\n" msgstr "" #: ../bin/virt-sandbox.c:239 ../bin/virt-sandbox.c:253 #, c-format msgid "Unable to attach sandbox console: %s\n" msgstr "" #: ../bin/virt-sandbox.c:245 #, c-format msgid "Unable to get app console: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:66 ../bin/virt-sandbox-service-util.c:72 #: ../bin/virt-sandbox-service-util.c:78 #: ../bin/virt-sandbox-service-util.c:104 #: ../bin/virt-sandbox-service-util.c:110 #: ../bin/virt-sandbox-service-util.c:120 #: ../bin/virt-sandbox-service-util.c:127 #: ../bin/virt-sandbox-service-util.c:159 #: ../bin/virt-sandbox-service-util.c:165 #: ../bin/virt-sandbox-service-util.c:175 #: ../bin/virt-sandbox-service-util.c:182 msgid "unknown" msgstr "" #: ../bin/virt-sandbox-service-util.c:71 #, c-format msgid "Unable to read config file %s: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:77 #, c-format msgid "Unable to create new context service: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:103 #, c-format msgid "Unable to start container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:109 #, c-format msgid "Unable to get log console for container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:119 #, c-format msgid "Unable to attach console to stderr in the container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:126 #: ../bin/virt-sandbox-service-util.c:181 #, c-format msgid "Unable to disconnect console from libvirt: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:158 #: ../bin/virt-sandbox-service-util.c:174 #, c-format msgid "Unable to attach to container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:164 #, c-format msgid "Unable to get shell console for container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:240 msgid "Display version information" msgstr "" #: ../bin/virt-sandbox-service-util.c:242 msgid "Start a container" msgstr "" #: ../bin/virt-sandbox-service-util.c:244 msgid "Attach to a container" msgstr "" #: ../bin/virt-sandbox-service-util.c:246 msgid "Pid of process in container to which the command will run" msgstr "" #: ../bin/virt-sandbox-service-util.c:248 msgid "Connect to hypervisor Default:'lxc:///'" msgstr "" #: ../bin/virt-sandbox-service-util.c:253 msgid "" "Run 'virt-sandbox-service-util --help' to see a full list of available " "command line options\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:263 msgid "- Libvirt Sandbox Service" msgstr "" #: ../bin/virt-sandbox-service-util.c:275 #, c-format msgid "" "Invalid command: You must specify --start or --attach\n" "%s" msgstr "" #: ../bin/virt-sandbox-service-util.c:281 #, c-format msgid "Invalid command CONTAINER_NAME required: %s" msgstr "" #: ../bin/virt-sandbox-service-util.c:288 msgid "Libvirt Sandbox Service" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-initrd.c:171 #, c-format msgid "Unable to create temporary directory %s: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-initrd.c:217 #, c-format msgid "Kernel module dir %s does not exist" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-initrd.c:275 #, c-format msgid "Unable to read entries in %s: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-initrd.c:306 #, c-format msgid "Unable to access %s: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-machine.c:446 #, c-format msgid "Kernel image %s does not exist" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:941 #, c-format msgid "Cannot request DHCP with static routes/addresses" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:963 #, c-format msgid "No assignment in filter parameter configuration" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:999 #, c-format msgid "Cannot set static addresses with DHCP" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1019 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1028 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1082 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1090 #, c-format msgid "Unable to parse address %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1058 #, c-format msgid "Cannot set static routes with DHCP" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1076 #, c-format msgid "Missing gateway in route %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1110 #, c-format msgid "Unknown parameter %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1121 #, c-format msgid "Cannot set static routes without addresses" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1285 #, c-format msgid "No mount type prefix on %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1298 #, c-format msgid "Unknown mount type prefix on %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1311 #, c-format msgid "Missing mount source string on %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1411 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1476 #, c-format msgid "No mount with a prefix under %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1578 #, c-format msgid "Unable to get SELinux context of user: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1587 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1596 #, c-format msgid "Unknown security option '%s'" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1630 msgid "Missing mount target in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1635 msgid "Missing mount type in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1647 #, c-format msgid "Unknown mount type %s in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1654 msgid "Missing mount usage in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1663 msgid "Missing mount source in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:2150 msgid "Missing class name in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:2156 #, c-format msgid "Unknown type name '%s' in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:2163 #, c-format msgid "Type name '%s' in config file had wrong parent" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console.c:326 msgid "Unable to isolate console unless direct access flag is set" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:184 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:350 #, c-format msgid "Unable to query terminal attributes: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:201 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:367 #, c-format msgid "Unable to update terminal attributes: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:224 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:395 #, c-format msgid "Unable to restore terminal attributes: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:630 msgid "No devices found for domain" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:660 #, c-format msgid "No device %s found for domain" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:666 #, c-format msgid "Unable to open console %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:699 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:1110 msgid "Console is already attached to a stream" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:628 #, c-format msgid "Unexpected rpc status %u" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:697 #, c-format msgid "Unexpected rpc proc %u" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:753 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:817 #, c-format msgid "Got rx in unexpected state %d" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:1167 msgid "ConsoleRpc is not attached to a stream" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-context.c:253 #: ../libvirt-sandbox/libvirt-sandbox-context.c:396 #, c-format msgid "Domain is not currently running" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-context.c:323 #: ../libvirt-sandbox/libvirt-sandbox-context.c:340 #: ../libvirt-sandbox/libvirt-sandbox-context.c:363 #, c-format msgid "Sandbox is not currently running" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1065 #, c-format msgid "libvirt-sandbox-init-common: unable to create signal pipe: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1084 #, c-format msgid "libvirt-sandbox-init-common: cannot open %s: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1141 #, c-format msgid "libvirt-sandbox-init-common: %s: cannot execute %s: %s\n" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1167 msgid "config file path" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1170 msgid "Run '" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1180 #, c-format msgid "%s: must be launched as root\n" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1187 msgid "Libvirt Sandbox Init Common" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1205 #, c-format msgid "%s: Unable to load config %s: %s\n" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1231 #, c-format msgid "Unsupported configuration type %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:69 msgid "Unable to decode message length" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:76 #, c-format msgid "packet %u bytes received from server too small, want %u" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:86 #, c-format msgid "packet %u bytes received from server too large, want %d" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:130 msgid "Unable to decode message header" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:174 #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:235 #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:303 #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:329 msgid "Unable to encode message length" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:180 msgid "Unable to encode message header" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:192 msgid "Unable to re-encode message length" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:222 msgid "Unable to encode message payload" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:265 msgid "Unable to decode message payload" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:290 #, c-format msgid "Raw data too long to send (%zu bytes needed, %zu bytes available)" msgstr "" libvirt-sandbox-0.5.1+git20160404/po/kw@kkcor.po000066400000000000000000000342001275305543100207610ustar00rootroot00000000000000# SOME DESCRIPTIVE TITLE. # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # FIRST AUTHOR , YEAR. # msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2015-02-18 14:55+0000\n" "PO-Revision-Date: \n" "Last-Translator: \n" "Language-Team: Cornish (Common Orthography)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Language: kw@kkcor\n" "Plural-Forms: nplurals=4; plural= (n==1) ? 0 : (n==2) ? 1 : (n == 3) ? 2 : 3\n" "X-Generator: Zanata 3.5.1\n" #: ../bin/virt-sandbox.c:48 ../bin/virt-sandbox-service-util.c:43 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1149 #, c-format msgid "%s version %s\n" msgstr "" #: ../bin/virt-sandbox.c:84 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1161 msgid "display version information" msgstr "" #: ../bin/virt-sandbox.c:86 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1163 msgid "display verbose information" msgstr "" #: ../bin/virt-sandbox.c:88 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1165 msgid "display debugging information" msgstr "" #: ../bin/virt-sandbox.c:90 msgid "connect to hypervisor" msgstr "" #: ../bin/virt-sandbox.c:92 msgid "name of the sandbox" msgstr "" #: ../bin/virt-sandbox.c:94 msgid "root directory of the sandbox" msgstr "" #: ../bin/virt-sandbox.c:96 msgid "mount a filesystem in the guest" msgstr "" #: ../bin/virt-sandbox.c:98 msgid "file to copy into custom dir" msgstr "" #: ../bin/virt-sandbox.c:100 msgid "file contain list of files to include" msgstr "" #: ../bin/virt-sandbox.c:102 msgid "setup network interface properties" msgstr "" #: ../bin/virt-sandbox.c:104 msgid "security properties" msgstr "" #: ../bin/virt-sandbox.c:106 msgid "run the command privileged" msgstr "" #: ../bin/virt-sandbox.c:108 msgid "start a shell" msgstr "" #: ../bin/virt-sandbox.c:110 msgid "kernel version" msgstr "" #: ../bin/virt-sandbox.c:112 msgid "kernel binary path" msgstr "" #: ../bin/virt-sandbox.c:114 msgid "kernel module directory" msgstr "" #: ../bin/virt-sandbox.c:119 msgid "" "Run 'virt-sandbox --help' to see a full list of available command line " "options" msgstr "" #: ../bin/virt-sandbox.c:129 msgid "Libvirt Sandbox" msgstr "" #: ../bin/virt-sandbox.c:131 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1189 msgid "- Libvirt Sandbox" msgstr "" #: ../bin/virt-sandbox.c:144 #, c-format msgid "" "\n" "Usage: %s [OPTIONS] COMMAND-PATH [ARGS...]\n" "\n" "%s\n" "\n" msgstr "" #: ../bin/virt-sandbox.c:160 ../bin/virt-sandbox-service-util.c:65 #, c-format msgid "Unable to open connection: %s\n" msgstr "" #: ../bin/virt-sandbox.c:161 ../bin/virt-sandbox.c:188 #: ../bin/virt-sandbox.c:194 ../bin/virt-sandbox.c:200 #: ../bin/virt-sandbox.c:206 ../bin/virt-sandbox.c:212 #: ../bin/virt-sandbox.c:227 ../bin/virt-sandbox.c:233 #: ../bin/virt-sandbox.c:240 ../bin/virt-sandbox.c:246 #: ../bin/virt-sandbox.c:254 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1247 msgid "Unknown failure" msgstr "" #: ../bin/virt-sandbox.c:187 #, c-format msgid "Unable to parse mounts: %s\n" msgstr "" #: ../bin/virt-sandbox.c:193 #, c-format msgid "Unable to parse includes: %s\n" msgstr "" #: ../bin/virt-sandbox.c:199 #, c-format msgid "Unable to parse include file: %s\n" msgstr "" #: ../bin/virt-sandbox.c:205 #, c-format msgid "Unable to parse networks: %s\n" msgstr "" #: ../bin/virt-sandbox.c:211 #, c-format msgid "Unable to parse security: %s\n" msgstr "" #: ../bin/virt-sandbox.c:226 #, c-format msgid "Unable to start sandbox: %s\n" msgstr "" #: ../bin/virt-sandbox.c:232 #, c-format msgid "Unable to get log console: %s\n" msgstr "" #: ../bin/virt-sandbox.c:239 ../bin/virt-sandbox.c:253 #, c-format msgid "Unable to attach sandbox console: %s\n" msgstr "" #: ../bin/virt-sandbox.c:245 #, c-format msgid "Unable to get app console: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:66 ../bin/virt-sandbox-service-util.c:72 #: ../bin/virt-sandbox-service-util.c:78 #: ../bin/virt-sandbox-service-util.c:104 #: ../bin/virt-sandbox-service-util.c:110 #: ../bin/virt-sandbox-service-util.c:120 #: ../bin/virt-sandbox-service-util.c:127 #: ../bin/virt-sandbox-service-util.c:159 #: ../bin/virt-sandbox-service-util.c:165 #: ../bin/virt-sandbox-service-util.c:175 #: ../bin/virt-sandbox-service-util.c:182 msgid "unknown" msgstr "" #: ../bin/virt-sandbox-service-util.c:71 #, c-format msgid "Unable to read config file %s: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:77 #, c-format msgid "Unable to create new context service: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:103 #, c-format msgid "Unable to start container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:109 #, c-format msgid "Unable to get log console for container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:119 #, c-format msgid "Unable to attach console to stderr in the container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:126 #: ../bin/virt-sandbox-service-util.c:181 #, c-format msgid "Unable to disconnect console from libvirt: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:158 #: ../bin/virt-sandbox-service-util.c:174 #, c-format msgid "Unable to attach to container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:164 #, c-format msgid "Unable to get shell console for container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:240 msgid "Display version information" msgstr "" #: ../bin/virt-sandbox-service-util.c:242 msgid "Start a container" msgstr "" #: ../bin/virt-sandbox-service-util.c:244 msgid "Attach to a container" msgstr "" #: ../bin/virt-sandbox-service-util.c:246 msgid "Pid of process in container to which the command will run" msgstr "" #: ../bin/virt-sandbox-service-util.c:248 msgid "Connect to hypervisor Default:'lxc:///'" msgstr "" #: ../bin/virt-sandbox-service-util.c:253 msgid "" "Run 'virt-sandbox-service-util --help' to see a full list of available " "command line options\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:263 msgid "- Libvirt Sandbox Service" msgstr "" #: ../bin/virt-sandbox-service-util.c:275 #, c-format msgid "" "Invalid command: You must specify --start or --attach\n" "%s" msgstr "" #: ../bin/virt-sandbox-service-util.c:281 #, c-format msgid "Invalid command CONTAINER_NAME required: %s" msgstr "" #: ../bin/virt-sandbox-service-util.c:288 msgid "Libvirt Sandbox Service" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-initrd.c:171 #, c-format msgid "Unable to create temporary directory %s: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-initrd.c:217 #, c-format msgid "Kernel module dir %s does not exist" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-initrd.c:275 #, c-format msgid "Unable to read entries in %s: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-initrd.c:306 #, c-format msgid "Unable to access %s: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-machine.c:446 #, c-format msgid "Kernel image %s does not exist" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:941 #, c-format msgid "Cannot request DHCP with static routes/addresses" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:963 #, c-format msgid "No assignment in filter parameter configuration" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:999 #, c-format msgid "Cannot set static addresses with DHCP" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1019 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1028 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1082 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1090 #, c-format msgid "Unable to parse address %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1058 #, c-format msgid "Cannot set static routes with DHCP" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1076 #, c-format msgid "Missing gateway in route %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1110 #, c-format msgid "Unknown parameter %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1121 #, c-format msgid "Cannot set static routes without addresses" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1285 #, c-format msgid "No mount type prefix on %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1298 #, c-format msgid "Unknown mount type prefix on %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1311 #, c-format msgid "Missing mount source string on %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1411 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1476 #, c-format msgid "No mount with a prefix under %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1578 #, c-format msgid "Unable to get SELinux context of user: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1587 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1596 #, c-format msgid "Unknown security option '%s'" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1630 msgid "Missing mount target in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1635 msgid "Missing mount type in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1647 #, c-format msgid "Unknown mount type %s in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1654 msgid "Missing mount usage in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1663 msgid "Missing mount source in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:2150 msgid "Missing class name in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:2156 #, c-format msgid "Unknown type name '%s' in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:2163 #, c-format msgid "Type name '%s' in config file had wrong parent" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console.c:326 msgid "Unable to isolate console unless direct access flag is set" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:184 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:350 #, c-format msgid "Unable to query terminal attributes: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:201 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:367 #, c-format msgid "Unable to update terminal attributes: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:224 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:395 #, c-format msgid "Unable to restore terminal attributes: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:630 msgid "No devices found for domain" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:660 #, c-format msgid "No device %s found for domain" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:666 #, c-format msgid "Unable to open console %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:699 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:1110 msgid "Console is already attached to a stream" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:628 #, c-format msgid "Unexpected rpc status %u" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:697 #, c-format msgid "Unexpected rpc proc %u" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:753 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:817 #, c-format msgid "Got rx in unexpected state %d" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:1167 msgid "ConsoleRpc is not attached to a stream" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-context.c:253 #: ../libvirt-sandbox/libvirt-sandbox-context.c:396 #, c-format msgid "Domain is not currently running" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-context.c:323 #: ../libvirt-sandbox/libvirt-sandbox-context.c:340 #: ../libvirt-sandbox/libvirt-sandbox-context.c:363 #, c-format msgid "Sandbox is not currently running" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1065 #, c-format msgid "libvirt-sandbox-init-common: unable to create signal pipe: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1084 #, c-format msgid "libvirt-sandbox-init-common: cannot open %s: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1141 #, c-format msgid "libvirt-sandbox-init-common: %s: cannot execute %s: %s\n" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1167 msgid "config file path" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1170 msgid "Run '" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1180 #, c-format msgid "%s: must be launched as root\n" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1187 msgid "Libvirt Sandbox Init Common" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1205 #, c-format msgid "%s: Unable to load config %s: %s\n" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1231 #, c-format msgid "Unsupported configuration type %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:69 msgid "Unable to decode message length" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:76 #, c-format msgid "packet %u bytes received from server too small, want %u" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:86 #, c-format msgid "packet %u bytes received from server too large, want %d" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:130 msgid "Unable to decode message header" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:174 #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:235 #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:303 #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:329 msgid "Unable to encode message length" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:180 msgid "Unable to encode message header" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:192 msgid "Unable to re-encode message length" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:222 msgid "Unable to encode message payload" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:265 msgid "Unable to decode message payload" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:290 #, c-format msgid "Raw data too long to send (%zu bytes needed, %zu bytes available)" msgstr "" libvirt-sandbox-0.5.1+git20160404/po/kw@uccor.po000066400000000000000000000342011275305543100207640ustar00rootroot00000000000000# SOME DESCRIPTIVE TITLE. # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # FIRST AUTHOR , YEAR. # msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2015-02-18 14:55+0000\n" "PO-Revision-Date: \n" "Last-Translator: \n" "Language-Team: Cornish (Unified Orthography)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Language: kw@uccor\n" "Plural-Forms: nplurals=4; plural= (n==1) ? 0 : (n==2) ? 1 : (n == 3) ? 2 : 3\n" "X-Generator: Zanata 3.5.1\n" #: ../bin/virt-sandbox.c:48 ../bin/virt-sandbox-service-util.c:43 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1149 #, c-format msgid "%s version %s\n" msgstr "" #: ../bin/virt-sandbox.c:84 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1161 msgid "display version information" msgstr "" #: ../bin/virt-sandbox.c:86 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1163 msgid "display verbose information" msgstr "" #: ../bin/virt-sandbox.c:88 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1165 msgid "display debugging information" msgstr "" #: ../bin/virt-sandbox.c:90 msgid "connect to hypervisor" msgstr "" #: ../bin/virt-sandbox.c:92 msgid "name of the sandbox" msgstr "" #: ../bin/virt-sandbox.c:94 msgid "root directory of the sandbox" msgstr "" #: ../bin/virt-sandbox.c:96 msgid "mount a filesystem in the guest" msgstr "" #: ../bin/virt-sandbox.c:98 msgid "file to copy into custom dir" msgstr "" #: ../bin/virt-sandbox.c:100 msgid "file contain list of files to include" msgstr "" #: ../bin/virt-sandbox.c:102 msgid "setup network interface properties" msgstr "" #: ../bin/virt-sandbox.c:104 msgid "security properties" msgstr "" #: ../bin/virt-sandbox.c:106 msgid "run the command privileged" msgstr "" #: ../bin/virt-sandbox.c:108 msgid "start a shell" msgstr "" #: ../bin/virt-sandbox.c:110 msgid "kernel version" msgstr "" #: ../bin/virt-sandbox.c:112 msgid "kernel binary path" msgstr "" #: ../bin/virt-sandbox.c:114 msgid "kernel module directory" msgstr "" #: ../bin/virt-sandbox.c:119 msgid "" "Run 'virt-sandbox --help' to see a full list of available command line " "options" msgstr "" #: ../bin/virt-sandbox.c:129 msgid "Libvirt Sandbox" msgstr "" #: ../bin/virt-sandbox.c:131 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1189 msgid "- Libvirt Sandbox" msgstr "" #: ../bin/virt-sandbox.c:144 #, c-format msgid "" "\n" "Usage: %s [OPTIONS] COMMAND-PATH [ARGS...]\n" "\n" "%s\n" "\n" msgstr "" #: ../bin/virt-sandbox.c:160 ../bin/virt-sandbox-service-util.c:65 #, c-format msgid "Unable to open connection: %s\n" msgstr "" #: ../bin/virt-sandbox.c:161 ../bin/virt-sandbox.c:188 #: ../bin/virt-sandbox.c:194 ../bin/virt-sandbox.c:200 #: ../bin/virt-sandbox.c:206 ../bin/virt-sandbox.c:212 #: ../bin/virt-sandbox.c:227 ../bin/virt-sandbox.c:233 #: ../bin/virt-sandbox.c:240 ../bin/virt-sandbox.c:246 #: ../bin/virt-sandbox.c:254 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1247 msgid "Unknown failure" msgstr "" #: ../bin/virt-sandbox.c:187 #, c-format msgid "Unable to parse mounts: %s\n" msgstr "" #: ../bin/virt-sandbox.c:193 #, c-format msgid "Unable to parse includes: %s\n" msgstr "" #: ../bin/virt-sandbox.c:199 #, c-format msgid "Unable to parse include file: %s\n" msgstr "" #: ../bin/virt-sandbox.c:205 #, c-format msgid "Unable to parse networks: %s\n" msgstr "" #: ../bin/virt-sandbox.c:211 #, c-format msgid "Unable to parse security: %s\n" msgstr "" #: ../bin/virt-sandbox.c:226 #, c-format msgid "Unable to start sandbox: %s\n" msgstr "" #: ../bin/virt-sandbox.c:232 #, c-format msgid "Unable to get log console: %s\n" msgstr "" #: ../bin/virt-sandbox.c:239 ../bin/virt-sandbox.c:253 #, c-format msgid "Unable to attach sandbox console: %s\n" msgstr "" #: ../bin/virt-sandbox.c:245 #, c-format msgid "Unable to get app console: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:66 ../bin/virt-sandbox-service-util.c:72 #: ../bin/virt-sandbox-service-util.c:78 #: ../bin/virt-sandbox-service-util.c:104 #: ../bin/virt-sandbox-service-util.c:110 #: ../bin/virt-sandbox-service-util.c:120 #: ../bin/virt-sandbox-service-util.c:127 #: ../bin/virt-sandbox-service-util.c:159 #: ../bin/virt-sandbox-service-util.c:165 #: ../bin/virt-sandbox-service-util.c:175 #: ../bin/virt-sandbox-service-util.c:182 msgid "unknown" msgstr "" #: ../bin/virt-sandbox-service-util.c:71 #, c-format msgid "Unable to read config file %s: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:77 #, c-format msgid "Unable to create new context service: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:103 #, c-format msgid "Unable to start container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:109 #, c-format msgid "Unable to get log console for container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:119 #, c-format msgid "Unable to attach console to stderr in the container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:126 #: ../bin/virt-sandbox-service-util.c:181 #, c-format msgid "Unable to disconnect console from libvirt: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:158 #: ../bin/virt-sandbox-service-util.c:174 #, c-format msgid "Unable to attach to container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:164 #, c-format msgid "Unable to get shell console for container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:240 msgid "Display version information" msgstr "" #: ../bin/virt-sandbox-service-util.c:242 msgid "Start a container" msgstr "" #: ../bin/virt-sandbox-service-util.c:244 msgid "Attach to a container" msgstr "" #: ../bin/virt-sandbox-service-util.c:246 msgid "Pid of process in container to which the command will run" msgstr "" #: ../bin/virt-sandbox-service-util.c:248 msgid "Connect to hypervisor Default:'lxc:///'" msgstr "" #: ../bin/virt-sandbox-service-util.c:253 msgid "" "Run 'virt-sandbox-service-util --help' to see a full list of available " "command line options\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:263 msgid "- Libvirt Sandbox Service" msgstr "" #: ../bin/virt-sandbox-service-util.c:275 #, c-format msgid "" "Invalid command: You must specify --start or --attach\n" "%s" msgstr "" #: ../bin/virt-sandbox-service-util.c:281 #, c-format msgid "Invalid command CONTAINER_NAME required: %s" msgstr "" #: ../bin/virt-sandbox-service-util.c:288 msgid "Libvirt Sandbox Service" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-initrd.c:171 #, c-format msgid "Unable to create temporary directory %s: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-initrd.c:217 #, c-format msgid "Kernel module dir %s does not exist" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-initrd.c:275 #, c-format msgid "Unable to read entries in %s: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-initrd.c:306 #, c-format msgid "Unable to access %s: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-machine.c:446 #, c-format msgid "Kernel image %s does not exist" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:941 #, c-format msgid "Cannot request DHCP with static routes/addresses" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:963 #, c-format msgid "No assignment in filter parameter configuration" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:999 #, c-format msgid "Cannot set static addresses with DHCP" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1019 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1028 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1082 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1090 #, c-format msgid "Unable to parse address %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1058 #, c-format msgid "Cannot set static routes with DHCP" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1076 #, c-format msgid "Missing gateway in route %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1110 #, c-format msgid "Unknown parameter %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1121 #, c-format msgid "Cannot set static routes without addresses" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1285 #, c-format msgid "No mount type prefix on %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1298 #, c-format msgid "Unknown mount type prefix on %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1311 #, c-format msgid "Missing mount source string on %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1411 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1476 #, c-format msgid "No mount with a prefix under %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1578 #, c-format msgid "Unable to get SELinux context of user: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1587 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1596 #, c-format msgid "Unknown security option '%s'" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1630 msgid "Missing mount target in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1635 msgid "Missing mount type in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1647 #, c-format msgid "Unknown mount type %s in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1654 msgid "Missing mount usage in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1663 msgid "Missing mount source in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:2150 msgid "Missing class name in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:2156 #, c-format msgid "Unknown type name '%s' in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:2163 #, c-format msgid "Type name '%s' in config file had wrong parent" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console.c:326 msgid "Unable to isolate console unless direct access flag is set" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:184 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:350 #, c-format msgid "Unable to query terminal attributes: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:201 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:367 #, c-format msgid "Unable to update terminal attributes: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:224 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:395 #, c-format msgid "Unable to restore terminal attributes: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:630 msgid "No devices found for domain" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:660 #, c-format msgid "No device %s found for domain" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:666 #, c-format msgid "Unable to open console %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:699 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:1110 msgid "Console is already attached to a stream" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:628 #, c-format msgid "Unexpected rpc status %u" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:697 #, c-format msgid "Unexpected rpc proc %u" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:753 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:817 #, c-format msgid "Got rx in unexpected state %d" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:1167 msgid "ConsoleRpc is not attached to a stream" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-context.c:253 #: ../libvirt-sandbox/libvirt-sandbox-context.c:396 #, c-format msgid "Domain is not currently running" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-context.c:323 #: ../libvirt-sandbox/libvirt-sandbox-context.c:340 #: ../libvirt-sandbox/libvirt-sandbox-context.c:363 #, c-format msgid "Sandbox is not currently running" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1065 #, c-format msgid "libvirt-sandbox-init-common: unable to create signal pipe: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1084 #, c-format msgid "libvirt-sandbox-init-common: cannot open %s: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1141 #, c-format msgid "libvirt-sandbox-init-common: %s: cannot execute %s: %s\n" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1167 msgid "config file path" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1170 msgid "Run '" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1180 #, c-format msgid "%s: must be launched as root\n" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1187 msgid "Libvirt Sandbox Init Common" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1205 #, c-format msgid "%s: Unable to load config %s: %s\n" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1231 #, c-format msgid "Unsupported configuration type %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:69 msgid "Unable to decode message length" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:76 #, c-format msgid "packet %u bytes received from server too small, want %u" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:86 #, c-format msgid "packet %u bytes received from server too large, want %d" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:130 msgid "Unable to decode message header" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:174 #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:235 #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:303 #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:329 msgid "Unable to encode message length" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:180 msgid "Unable to encode message header" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:192 msgid "Unable to re-encode message length" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:222 msgid "Unable to encode message payload" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:265 msgid "Unable to decode message payload" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:290 #, c-format msgid "Raw data too long to send (%zu bytes needed, %zu bytes available)" msgstr "" libvirt-sandbox-0.5.1+git20160404/po/kw_GB.po000066400000000000000000000341711275305543100202060ustar00rootroot00000000000000# SOME DESCRIPTIVE TITLE. # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # FIRST AUTHOR , YEAR. # msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2015-02-18 14:55+0000\n" "PO-Revision-Date: \n" "Last-Translator: \n" "Language-Team: Cornish (United Kingdom)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Language: kw-GB\n" "Plural-Forms: nplurals=4; plural= (n==1) ? 0 : (n==2) ? 1 : (n == 3) ? 2 : 3\n" "X-Generator: Zanata 3.5.1\n" #: ../bin/virt-sandbox.c:48 ../bin/virt-sandbox-service-util.c:43 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1149 #, c-format msgid "%s version %s\n" msgstr "" #: ../bin/virt-sandbox.c:84 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1161 msgid "display version information" msgstr "" #: ../bin/virt-sandbox.c:86 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1163 msgid "display verbose information" msgstr "" #: ../bin/virt-sandbox.c:88 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1165 msgid "display debugging information" msgstr "" #: ../bin/virt-sandbox.c:90 msgid "connect to hypervisor" msgstr "" #: ../bin/virt-sandbox.c:92 msgid "name of the sandbox" msgstr "" #: ../bin/virt-sandbox.c:94 msgid "root directory of the sandbox" msgstr "" #: ../bin/virt-sandbox.c:96 msgid "mount a filesystem in the guest" msgstr "" #: ../bin/virt-sandbox.c:98 msgid "file to copy into custom dir" msgstr "" #: ../bin/virt-sandbox.c:100 msgid "file contain list of files to include" msgstr "" #: ../bin/virt-sandbox.c:102 msgid "setup network interface properties" msgstr "" #: ../bin/virt-sandbox.c:104 msgid "security properties" msgstr "" #: ../bin/virt-sandbox.c:106 msgid "run the command privileged" msgstr "" #: ../bin/virt-sandbox.c:108 msgid "start a shell" msgstr "" #: ../bin/virt-sandbox.c:110 msgid "kernel version" msgstr "" #: ../bin/virt-sandbox.c:112 msgid "kernel binary path" msgstr "" #: ../bin/virt-sandbox.c:114 msgid "kernel module directory" msgstr "" #: ../bin/virt-sandbox.c:119 msgid "" "Run 'virt-sandbox --help' to see a full list of available command line " "options" msgstr "" #: ../bin/virt-sandbox.c:129 msgid "Libvirt Sandbox" msgstr "" #: ../bin/virt-sandbox.c:131 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1189 msgid "- Libvirt Sandbox" msgstr "" #: ../bin/virt-sandbox.c:144 #, c-format msgid "" "\n" "Usage: %s [OPTIONS] COMMAND-PATH [ARGS...]\n" "\n" "%s\n" "\n" msgstr "" #: ../bin/virt-sandbox.c:160 ../bin/virt-sandbox-service-util.c:65 #, c-format msgid "Unable to open connection: %s\n" msgstr "" #: ../bin/virt-sandbox.c:161 ../bin/virt-sandbox.c:188 #: ../bin/virt-sandbox.c:194 ../bin/virt-sandbox.c:200 #: ../bin/virt-sandbox.c:206 ../bin/virt-sandbox.c:212 #: ../bin/virt-sandbox.c:227 ../bin/virt-sandbox.c:233 #: ../bin/virt-sandbox.c:240 ../bin/virt-sandbox.c:246 #: ../bin/virt-sandbox.c:254 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1247 msgid "Unknown failure" msgstr "" #: ../bin/virt-sandbox.c:187 #, c-format msgid "Unable to parse mounts: %s\n" msgstr "" #: ../bin/virt-sandbox.c:193 #, c-format msgid "Unable to parse includes: %s\n" msgstr "" #: ../bin/virt-sandbox.c:199 #, c-format msgid "Unable to parse include file: %s\n" msgstr "" #: ../bin/virt-sandbox.c:205 #, c-format msgid "Unable to parse networks: %s\n" msgstr "" #: ../bin/virt-sandbox.c:211 #, c-format msgid "Unable to parse security: %s\n" msgstr "" #: ../bin/virt-sandbox.c:226 #, c-format msgid "Unable to start sandbox: %s\n" msgstr "" #: ../bin/virt-sandbox.c:232 #, c-format msgid "Unable to get log console: %s\n" msgstr "" #: ../bin/virt-sandbox.c:239 ../bin/virt-sandbox.c:253 #, c-format msgid "Unable to attach sandbox console: %s\n" msgstr "" #: ../bin/virt-sandbox.c:245 #, c-format msgid "Unable to get app console: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:66 ../bin/virt-sandbox-service-util.c:72 #: ../bin/virt-sandbox-service-util.c:78 #: ../bin/virt-sandbox-service-util.c:104 #: ../bin/virt-sandbox-service-util.c:110 #: ../bin/virt-sandbox-service-util.c:120 #: ../bin/virt-sandbox-service-util.c:127 #: ../bin/virt-sandbox-service-util.c:159 #: ../bin/virt-sandbox-service-util.c:165 #: ../bin/virt-sandbox-service-util.c:175 #: ../bin/virt-sandbox-service-util.c:182 msgid "unknown" msgstr "" #: ../bin/virt-sandbox-service-util.c:71 #, c-format msgid "Unable to read config file %s: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:77 #, c-format msgid "Unable to create new context service: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:103 #, c-format msgid "Unable to start container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:109 #, c-format msgid "Unable to get log console for container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:119 #, c-format msgid "Unable to attach console to stderr in the container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:126 #: ../bin/virt-sandbox-service-util.c:181 #, c-format msgid "Unable to disconnect console from libvirt: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:158 #: ../bin/virt-sandbox-service-util.c:174 #, c-format msgid "Unable to attach to container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:164 #, c-format msgid "Unable to get shell console for container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:240 msgid "Display version information" msgstr "" #: ../bin/virt-sandbox-service-util.c:242 msgid "Start a container" msgstr "" #: ../bin/virt-sandbox-service-util.c:244 msgid "Attach to a container" msgstr "" #: ../bin/virt-sandbox-service-util.c:246 msgid "Pid of process in container to which the command will run" msgstr "" #: ../bin/virt-sandbox-service-util.c:248 msgid "Connect to hypervisor Default:'lxc:///'" msgstr "" #: ../bin/virt-sandbox-service-util.c:253 msgid "" "Run 'virt-sandbox-service-util --help' to see a full list of available " "command line options\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:263 msgid "- Libvirt Sandbox Service" msgstr "" #: ../bin/virt-sandbox-service-util.c:275 #, c-format msgid "" "Invalid command: You must specify --start or --attach\n" "%s" msgstr "" #: ../bin/virt-sandbox-service-util.c:281 #, c-format msgid "Invalid command CONTAINER_NAME required: %s" msgstr "" #: ../bin/virt-sandbox-service-util.c:288 msgid "Libvirt Sandbox Service" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-initrd.c:171 #, c-format msgid "Unable to create temporary directory %s: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-initrd.c:217 #, c-format msgid "Kernel module dir %s does not exist" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-initrd.c:275 #, c-format msgid "Unable to read entries in %s: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-initrd.c:306 #, c-format msgid "Unable to access %s: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-machine.c:446 #, c-format msgid "Kernel image %s does not exist" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:941 #, c-format msgid "Cannot request DHCP with static routes/addresses" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:963 #, c-format msgid "No assignment in filter parameter configuration" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:999 #, c-format msgid "Cannot set static addresses with DHCP" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1019 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1028 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1082 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1090 #, c-format msgid "Unable to parse address %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1058 #, c-format msgid "Cannot set static routes with DHCP" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1076 #, c-format msgid "Missing gateway in route %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1110 #, c-format msgid "Unknown parameter %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1121 #, c-format msgid "Cannot set static routes without addresses" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1285 #, c-format msgid "No mount type prefix on %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1298 #, c-format msgid "Unknown mount type prefix on %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1311 #, c-format msgid "Missing mount source string on %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1411 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1476 #, c-format msgid "No mount with a prefix under %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1578 #, c-format msgid "Unable to get SELinux context of user: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1587 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1596 #, c-format msgid "Unknown security option '%s'" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1630 msgid "Missing mount target in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1635 msgid "Missing mount type in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1647 #, c-format msgid "Unknown mount type %s in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1654 msgid "Missing mount usage in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1663 msgid "Missing mount source in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:2150 msgid "Missing class name in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:2156 #, c-format msgid "Unknown type name '%s' in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:2163 #, c-format msgid "Type name '%s' in config file had wrong parent" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console.c:326 msgid "Unable to isolate console unless direct access flag is set" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:184 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:350 #, c-format msgid "Unable to query terminal attributes: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:201 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:367 #, c-format msgid "Unable to update terminal attributes: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:224 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:395 #, c-format msgid "Unable to restore terminal attributes: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:630 msgid "No devices found for domain" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:660 #, c-format msgid "No device %s found for domain" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:666 #, c-format msgid "Unable to open console %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:699 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:1110 msgid "Console is already attached to a stream" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:628 #, c-format msgid "Unexpected rpc status %u" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:697 #, c-format msgid "Unexpected rpc proc %u" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:753 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:817 #, c-format msgid "Got rx in unexpected state %d" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:1167 msgid "ConsoleRpc is not attached to a stream" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-context.c:253 #: ../libvirt-sandbox/libvirt-sandbox-context.c:396 #, c-format msgid "Domain is not currently running" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-context.c:323 #: ../libvirt-sandbox/libvirt-sandbox-context.c:340 #: ../libvirt-sandbox/libvirt-sandbox-context.c:363 #, c-format msgid "Sandbox is not currently running" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1065 #, c-format msgid "libvirt-sandbox-init-common: unable to create signal pipe: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1084 #, c-format msgid "libvirt-sandbox-init-common: cannot open %s: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1141 #, c-format msgid "libvirt-sandbox-init-common: %s: cannot execute %s: %s\n" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1167 msgid "config file path" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1170 msgid "Run '" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1180 #, c-format msgid "%s: must be launched as root\n" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1187 msgid "Libvirt Sandbox Init Common" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1205 #, c-format msgid "%s: Unable to load config %s: %s\n" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1231 #, c-format msgid "Unsupported configuration type %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:69 msgid "Unable to decode message length" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:76 #, c-format msgid "packet %u bytes received from server too small, want %u" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:86 #, c-format msgid "packet %u bytes received from server too large, want %d" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:130 msgid "Unable to decode message header" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:174 #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:235 #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:303 #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:329 msgid "Unable to encode message length" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:180 msgid "Unable to encode message header" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:192 msgid "Unable to re-encode message length" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:222 msgid "Unable to encode message payload" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:265 msgid "Unable to decode message payload" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:290 #, c-format msgid "Raw data too long to send (%zu bytes needed, %zu bytes available)" msgstr "" libvirt-sandbox-0.5.1+git20160404/po/ky.po000066400000000000000000000342141275305543100176360ustar00rootroot00000000000000# SOME DESCRIPTIVE TITLE. # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # # Translators: msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2015-02-18 14:55+0000\n" "PO-Revision-Date: 2013-04-08 06:10-0400\n" "Last-Translator: FULL NAME \n" "Language-Team: Kirgyz (http://www.transifex.com/projects/p/fedora/language/ky/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Language: ky\n" "Plural-Forms: nplurals=1; plural=0;\n" "X-Generator: Zanata 3.5.1\n" #: ../bin/virt-sandbox.c:48 ../bin/virt-sandbox-service-util.c:43 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1149 #, c-format msgid "%s version %s\n" msgstr "" #: ../bin/virt-sandbox.c:84 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1161 msgid "display version information" msgstr "" #: ../bin/virt-sandbox.c:86 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1163 msgid "display verbose information" msgstr "" #: ../bin/virt-sandbox.c:88 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1165 msgid "display debugging information" msgstr "" #: ../bin/virt-sandbox.c:90 msgid "connect to hypervisor" msgstr "" #: ../bin/virt-sandbox.c:92 msgid "name of the sandbox" msgstr "" #: ../bin/virt-sandbox.c:94 msgid "root directory of the sandbox" msgstr "" #: ../bin/virt-sandbox.c:96 msgid "mount a filesystem in the guest" msgstr "" #: ../bin/virt-sandbox.c:98 msgid "file to copy into custom dir" msgstr "" #: ../bin/virt-sandbox.c:100 msgid "file contain list of files to include" msgstr "" #: ../bin/virt-sandbox.c:102 msgid "setup network interface properties" msgstr "" #: ../bin/virt-sandbox.c:104 msgid "security properties" msgstr "" #: ../bin/virt-sandbox.c:106 msgid "run the command privileged" msgstr "" #: ../bin/virt-sandbox.c:108 msgid "start a shell" msgstr "" #: ../bin/virt-sandbox.c:110 msgid "kernel version" msgstr "" #: ../bin/virt-sandbox.c:112 msgid "kernel binary path" msgstr "" #: ../bin/virt-sandbox.c:114 msgid "kernel module directory" msgstr "" #: ../bin/virt-sandbox.c:119 msgid "" "Run 'virt-sandbox --help' to see a full list of available command line " "options" msgstr "" #: ../bin/virt-sandbox.c:129 msgid "Libvirt Sandbox" msgstr "" #: ../bin/virt-sandbox.c:131 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1189 msgid "- Libvirt Sandbox" msgstr "" #: ../bin/virt-sandbox.c:144 #, c-format msgid "" "\n" "Usage: %s [OPTIONS] COMMAND-PATH [ARGS...]\n" "\n" "%s\n" "\n" msgstr "" #: ../bin/virt-sandbox.c:160 ../bin/virt-sandbox-service-util.c:65 #, c-format msgid "Unable to open connection: %s\n" msgstr "" #: ../bin/virt-sandbox.c:161 ../bin/virt-sandbox.c:188 #: ../bin/virt-sandbox.c:194 ../bin/virt-sandbox.c:200 #: ../bin/virt-sandbox.c:206 ../bin/virt-sandbox.c:212 #: ../bin/virt-sandbox.c:227 ../bin/virt-sandbox.c:233 #: ../bin/virt-sandbox.c:240 ../bin/virt-sandbox.c:246 #: ../bin/virt-sandbox.c:254 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1247 msgid "Unknown failure" msgstr "" #: ../bin/virt-sandbox.c:187 #, c-format msgid "Unable to parse mounts: %s\n" msgstr "" #: ../bin/virt-sandbox.c:193 #, c-format msgid "Unable to parse includes: %s\n" msgstr "" #: ../bin/virt-sandbox.c:199 #, c-format msgid "Unable to parse include file: %s\n" msgstr "" #: ../bin/virt-sandbox.c:205 #, c-format msgid "Unable to parse networks: %s\n" msgstr "" #: ../bin/virt-sandbox.c:211 #, c-format msgid "Unable to parse security: %s\n" msgstr "" #: ../bin/virt-sandbox.c:226 #, c-format msgid "Unable to start sandbox: %s\n" msgstr "" #: ../bin/virt-sandbox.c:232 #, c-format msgid "Unable to get log console: %s\n" msgstr "" #: ../bin/virt-sandbox.c:239 ../bin/virt-sandbox.c:253 #, c-format msgid "Unable to attach sandbox console: %s\n" msgstr "" #: ../bin/virt-sandbox.c:245 #, c-format msgid "Unable to get app console: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:66 ../bin/virt-sandbox-service-util.c:72 #: ../bin/virt-sandbox-service-util.c:78 #: ../bin/virt-sandbox-service-util.c:104 #: ../bin/virt-sandbox-service-util.c:110 #: ../bin/virt-sandbox-service-util.c:120 #: ../bin/virt-sandbox-service-util.c:127 #: ../bin/virt-sandbox-service-util.c:159 #: ../bin/virt-sandbox-service-util.c:165 #: ../bin/virt-sandbox-service-util.c:175 #: ../bin/virt-sandbox-service-util.c:182 msgid "unknown" msgstr "" #: ../bin/virt-sandbox-service-util.c:71 #, c-format msgid "Unable to read config file %s: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:77 #, c-format msgid "Unable to create new context service: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:103 #, c-format msgid "Unable to start container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:109 #, c-format msgid "Unable to get log console for container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:119 #, c-format msgid "Unable to attach console to stderr in the container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:126 #: ../bin/virt-sandbox-service-util.c:181 #, c-format msgid "Unable to disconnect console from libvirt: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:158 #: ../bin/virt-sandbox-service-util.c:174 #, c-format msgid "Unable to attach to container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:164 #, c-format msgid "Unable to get shell console for container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:240 msgid "Display version information" msgstr "" #: ../bin/virt-sandbox-service-util.c:242 msgid "Start a container" msgstr "" #: ../bin/virt-sandbox-service-util.c:244 msgid "Attach to a container" msgstr "" #: ../bin/virt-sandbox-service-util.c:246 msgid "Pid of process in container to which the command will run" msgstr "" #: ../bin/virt-sandbox-service-util.c:248 msgid "Connect to hypervisor Default:'lxc:///'" msgstr "" #: ../bin/virt-sandbox-service-util.c:253 msgid "" "Run 'virt-sandbox-service-util --help' to see a full list of available " "command line options\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:263 msgid "- Libvirt Sandbox Service" msgstr "" #: ../bin/virt-sandbox-service-util.c:275 #, c-format msgid "" "Invalid command: You must specify --start or --attach\n" "%s" msgstr "" #: ../bin/virt-sandbox-service-util.c:281 #, c-format msgid "Invalid command CONTAINER_NAME required: %s" msgstr "" #: ../bin/virt-sandbox-service-util.c:288 msgid "Libvirt Sandbox Service" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-initrd.c:171 #, c-format msgid "Unable to create temporary directory %s: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-initrd.c:217 #, c-format msgid "Kernel module dir %s does not exist" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-initrd.c:275 #, c-format msgid "Unable to read entries in %s: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-initrd.c:306 #, c-format msgid "Unable to access %s: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-machine.c:446 #, c-format msgid "Kernel image %s does not exist" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:941 #, c-format msgid "Cannot request DHCP with static routes/addresses" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:963 #, c-format msgid "No assignment in filter parameter configuration" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:999 #, c-format msgid "Cannot set static addresses with DHCP" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1019 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1028 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1082 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1090 #, c-format msgid "Unable to parse address %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1058 #, c-format msgid "Cannot set static routes with DHCP" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1076 #, c-format msgid "Missing gateway in route %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1110 #, c-format msgid "Unknown parameter %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1121 #, c-format msgid "Cannot set static routes without addresses" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1285 #, c-format msgid "No mount type prefix on %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1298 #, c-format msgid "Unknown mount type prefix on %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1311 #, c-format msgid "Missing mount source string on %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1411 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1476 #, c-format msgid "No mount with a prefix under %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1578 #, c-format msgid "Unable to get SELinux context of user: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1587 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1596 #, c-format msgid "Unknown security option '%s'" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1630 msgid "Missing mount target in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1635 msgid "Missing mount type in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1647 #, c-format msgid "Unknown mount type %s in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1654 msgid "Missing mount usage in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1663 msgid "Missing mount source in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:2150 msgid "Missing class name in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:2156 #, c-format msgid "Unknown type name '%s' in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:2163 #, c-format msgid "Type name '%s' in config file had wrong parent" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console.c:326 msgid "Unable to isolate console unless direct access flag is set" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:184 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:350 #, c-format msgid "Unable to query terminal attributes: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:201 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:367 #, c-format msgid "Unable to update terminal attributes: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:224 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:395 #, c-format msgid "Unable to restore terminal attributes: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:630 msgid "No devices found for domain" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:660 #, c-format msgid "No device %s found for domain" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:666 #, c-format msgid "Unable to open console %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:699 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:1110 msgid "Console is already attached to a stream" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:628 #, c-format msgid "Unexpected rpc status %u" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:697 #, c-format msgid "Unexpected rpc proc %u" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:753 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:817 #, c-format msgid "Got rx in unexpected state %d" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:1167 msgid "ConsoleRpc is not attached to a stream" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-context.c:253 #: ../libvirt-sandbox/libvirt-sandbox-context.c:396 #, c-format msgid "Domain is not currently running" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-context.c:323 #: ../libvirt-sandbox/libvirt-sandbox-context.c:340 #: ../libvirt-sandbox/libvirt-sandbox-context.c:363 #, c-format msgid "Sandbox is not currently running" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1065 #, c-format msgid "libvirt-sandbox-init-common: unable to create signal pipe: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1084 #, c-format msgid "libvirt-sandbox-init-common: cannot open %s: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1141 #, c-format msgid "libvirt-sandbox-init-common: %s: cannot execute %s: %s\n" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1167 msgid "config file path" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1170 msgid "Run '" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1180 #, c-format msgid "%s: must be launched as root\n" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1187 msgid "Libvirt Sandbox Init Common" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1205 #, c-format msgid "%s: Unable to load config %s: %s\n" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1231 #, c-format msgid "Unsupported configuration type %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:69 msgid "Unable to decode message length" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:76 #, c-format msgid "packet %u bytes received from server too small, want %u" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:86 #, c-format msgid "packet %u bytes received from server too large, want %d" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:130 msgid "Unable to decode message header" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:174 #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:235 #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:303 #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:329 msgid "Unable to encode message length" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:180 msgid "Unable to encode message header" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:192 msgid "Unable to re-encode message length" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:222 msgid "Unable to encode message payload" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:265 msgid "Unable to decode message payload" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:290 #, c-format msgid "Raw data too long to send (%zu bytes needed, %zu bytes available)" msgstr "" libvirt-sandbox-0.5.1+git20160404/po/lt.po000066400000000000000000000343261275305543100176360ustar00rootroot00000000000000# SOME DESCRIPTIVE TITLE. # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # # Translators: msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2015-02-18 14:55+0000\n" "PO-Revision-Date: 2013-04-08 06:10-0400\n" "Last-Translator: FULL NAME \n" "Language-Team: Lithuanian (http://www.transifex.com/projects/p/fedora/language/lt/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Language: lt\n" "Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && (n%100<10 || n%100>=20) ? 1 : 2);\n" "X-Generator: Zanata 3.5.1\n" #: ../bin/virt-sandbox.c:48 ../bin/virt-sandbox-service-util.c:43 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1149 #, c-format msgid "%s version %s\n" msgstr "" #: ../bin/virt-sandbox.c:84 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1161 msgid "display version information" msgstr "" #: ../bin/virt-sandbox.c:86 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1163 msgid "display verbose information" msgstr "" #: ../bin/virt-sandbox.c:88 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1165 msgid "display debugging information" msgstr "" #: ../bin/virt-sandbox.c:90 msgid "connect to hypervisor" msgstr "" #: ../bin/virt-sandbox.c:92 msgid "name of the sandbox" msgstr "" #: ../bin/virt-sandbox.c:94 msgid "root directory of the sandbox" msgstr "" #: ../bin/virt-sandbox.c:96 msgid "mount a filesystem in the guest" msgstr "" #: ../bin/virt-sandbox.c:98 msgid "file to copy into custom dir" msgstr "" #: ../bin/virt-sandbox.c:100 msgid "file contain list of files to include" msgstr "" #: ../bin/virt-sandbox.c:102 msgid "setup network interface properties" msgstr "" #: ../bin/virt-sandbox.c:104 msgid "security properties" msgstr "" #: ../bin/virt-sandbox.c:106 msgid "run the command privileged" msgstr "" #: ../bin/virt-sandbox.c:108 msgid "start a shell" msgstr "" #: ../bin/virt-sandbox.c:110 msgid "kernel version" msgstr "" #: ../bin/virt-sandbox.c:112 msgid "kernel binary path" msgstr "" #: ../bin/virt-sandbox.c:114 msgid "kernel module directory" msgstr "" #: ../bin/virt-sandbox.c:119 msgid "" "Run 'virt-sandbox --help' to see a full list of available command line " "options" msgstr "" #: ../bin/virt-sandbox.c:129 msgid "Libvirt Sandbox" msgstr "" #: ../bin/virt-sandbox.c:131 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1189 msgid "- Libvirt Sandbox" msgstr "" #: ../bin/virt-sandbox.c:144 #, c-format msgid "" "\n" "Usage: %s [OPTIONS] COMMAND-PATH [ARGS...]\n" "\n" "%s\n" "\n" msgstr "" #: ../bin/virt-sandbox.c:160 ../bin/virt-sandbox-service-util.c:65 #, c-format msgid "Unable to open connection: %s\n" msgstr "" #: ../bin/virt-sandbox.c:161 ../bin/virt-sandbox.c:188 #: ../bin/virt-sandbox.c:194 ../bin/virt-sandbox.c:200 #: ../bin/virt-sandbox.c:206 ../bin/virt-sandbox.c:212 #: ../bin/virt-sandbox.c:227 ../bin/virt-sandbox.c:233 #: ../bin/virt-sandbox.c:240 ../bin/virt-sandbox.c:246 #: ../bin/virt-sandbox.c:254 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1247 msgid "Unknown failure" msgstr "" #: ../bin/virt-sandbox.c:187 #, c-format msgid "Unable to parse mounts: %s\n" msgstr "" #: ../bin/virt-sandbox.c:193 #, c-format msgid "Unable to parse includes: %s\n" msgstr "" #: ../bin/virt-sandbox.c:199 #, c-format msgid "Unable to parse include file: %s\n" msgstr "" #: ../bin/virt-sandbox.c:205 #, c-format msgid "Unable to parse networks: %s\n" msgstr "" #: ../bin/virt-sandbox.c:211 #, c-format msgid "Unable to parse security: %s\n" msgstr "" #: ../bin/virt-sandbox.c:226 #, c-format msgid "Unable to start sandbox: %s\n" msgstr "" #: ../bin/virt-sandbox.c:232 #, c-format msgid "Unable to get log console: %s\n" msgstr "" #: ../bin/virt-sandbox.c:239 ../bin/virt-sandbox.c:253 #, c-format msgid "Unable to attach sandbox console: %s\n" msgstr "" #: ../bin/virt-sandbox.c:245 #, c-format msgid "Unable to get app console: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:66 ../bin/virt-sandbox-service-util.c:72 #: ../bin/virt-sandbox-service-util.c:78 #: ../bin/virt-sandbox-service-util.c:104 #: ../bin/virt-sandbox-service-util.c:110 #: ../bin/virt-sandbox-service-util.c:120 #: ../bin/virt-sandbox-service-util.c:127 #: ../bin/virt-sandbox-service-util.c:159 #: ../bin/virt-sandbox-service-util.c:165 #: ../bin/virt-sandbox-service-util.c:175 #: ../bin/virt-sandbox-service-util.c:182 msgid "unknown" msgstr "" #: ../bin/virt-sandbox-service-util.c:71 #, c-format msgid "Unable to read config file %s: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:77 #, c-format msgid "Unable to create new context service: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:103 #, c-format msgid "Unable to start container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:109 #, c-format msgid "Unable to get log console for container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:119 #, c-format msgid "Unable to attach console to stderr in the container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:126 #: ../bin/virt-sandbox-service-util.c:181 #, c-format msgid "Unable to disconnect console from libvirt: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:158 #: ../bin/virt-sandbox-service-util.c:174 #, c-format msgid "Unable to attach to container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:164 #, c-format msgid "Unable to get shell console for container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:240 msgid "Display version information" msgstr "" #: ../bin/virt-sandbox-service-util.c:242 msgid "Start a container" msgstr "" #: ../bin/virt-sandbox-service-util.c:244 msgid "Attach to a container" msgstr "" #: ../bin/virt-sandbox-service-util.c:246 msgid "Pid of process in container to which the command will run" msgstr "" #: ../bin/virt-sandbox-service-util.c:248 msgid "Connect to hypervisor Default:'lxc:///'" msgstr "" #: ../bin/virt-sandbox-service-util.c:253 msgid "" "Run 'virt-sandbox-service-util --help' to see a full list of available " "command line options\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:263 msgid "- Libvirt Sandbox Service" msgstr "" #: ../bin/virt-sandbox-service-util.c:275 #, c-format msgid "" "Invalid command: You must specify --start or --attach\n" "%s" msgstr "" #: ../bin/virt-sandbox-service-util.c:281 #, c-format msgid "Invalid command CONTAINER_NAME required: %s" msgstr "" #: ../bin/virt-sandbox-service-util.c:288 msgid "Libvirt Sandbox Service" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-initrd.c:171 #, c-format msgid "Unable to create temporary directory %s: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-initrd.c:217 #, c-format msgid "Kernel module dir %s does not exist" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-initrd.c:275 #, c-format msgid "Unable to read entries in %s: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-initrd.c:306 #, c-format msgid "Unable to access %s: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-machine.c:446 #, c-format msgid "Kernel image %s does not exist" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:941 #, c-format msgid "Cannot request DHCP with static routes/addresses" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:963 #, c-format msgid "No assignment in filter parameter configuration" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:999 #, c-format msgid "Cannot set static addresses with DHCP" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1019 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1028 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1082 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1090 #, c-format msgid "Unable to parse address %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1058 #, c-format msgid "Cannot set static routes with DHCP" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1076 #, c-format msgid "Missing gateway in route %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1110 #, c-format msgid "Unknown parameter %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1121 #, c-format msgid "Cannot set static routes without addresses" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1285 #, c-format msgid "No mount type prefix on %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1298 #, c-format msgid "Unknown mount type prefix on %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1311 #, c-format msgid "Missing mount source string on %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1411 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1476 #, c-format msgid "No mount with a prefix under %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1578 #, c-format msgid "Unable to get SELinux context of user: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1587 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1596 #, c-format msgid "Unknown security option '%s'" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1630 msgid "Missing mount target in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1635 msgid "Missing mount type in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1647 #, c-format msgid "Unknown mount type %s in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1654 msgid "Missing mount usage in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1663 msgid "Missing mount source in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:2150 msgid "Missing class name in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:2156 #, c-format msgid "Unknown type name '%s' in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:2163 #, c-format msgid "Type name '%s' in config file had wrong parent" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console.c:326 msgid "Unable to isolate console unless direct access flag is set" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:184 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:350 #, c-format msgid "Unable to query terminal attributes: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:201 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:367 #, c-format msgid "Unable to update terminal attributes: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:224 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:395 #, c-format msgid "Unable to restore terminal attributes: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:630 msgid "No devices found for domain" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:660 #, c-format msgid "No device %s found for domain" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:666 #, c-format msgid "Unable to open console %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:699 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:1110 msgid "Console is already attached to a stream" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:628 #, c-format msgid "Unexpected rpc status %u" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:697 #, c-format msgid "Unexpected rpc proc %u" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:753 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:817 #, c-format msgid "Got rx in unexpected state %d" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:1167 msgid "ConsoleRpc is not attached to a stream" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-context.c:253 #: ../libvirt-sandbox/libvirt-sandbox-context.c:396 #, c-format msgid "Domain is not currently running" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-context.c:323 #: ../libvirt-sandbox/libvirt-sandbox-context.c:340 #: ../libvirt-sandbox/libvirt-sandbox-context.c:363 #, c-format msgid "Sandbox is not currently running" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1065 #, c-format msgid "libvirt-sandbox-init-common: unable to create signal pipe: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1084 #, c-format msgid "libvirt-sandbox-init-common: cannot open %s: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1141 #, c-format msgid "libvirt-sandbox-init-common: %s: cannot execute %s: %s\n" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1167 msgid "config file path" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1170 msgid "Run '" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1180 #, c-format msgid "%s: must be launched as root\n" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1187 msgid "Libvirt Sandbox Init Common" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1205 #, c-format msgid "%s: Unable to load config %s: %s\n" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1231 #, c-format msgid "Unsupported configuration type %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:69 msgid "Unable to decode message length" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:76 #, c-format msgid "packet %u bytes received from server too small, want %u" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:86 #, c-format msgid "packet %u bytes received from server too large, want %d" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:130 msgid "Unable to decode message header" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:174 #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:235 #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:303 #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:329 msgid "Unable to encode message length" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:180 msgid "Unable to encode message header" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:192 msgid "Unable to re-encode message length" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:222 msgid "Unable to encode message payload" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:265 msgid "Unable to decode message payload" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:290 #, c-format msgid "Raw data too long to send (%zu bytes needed, %zu bytes available)" msgstr "" libvirt-sandbox-0.5.1+git20160404/po/lv.po000066400000000000000000000342671275305543100176440ustar00rootroot00000000000000# SOME DESCRIPTIVE TITLE. # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # # Translators: msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2015-02-18 14:55+0000\n" "PO-Revision-Date: 2013-04-08 06:10-0400\n" "Last-Translator: FULL NAME \n" "Language-Team: Latvian (http://www.transifex.com/projects/p/fedora/language/lv/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Language: lv\n" "Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n != 0 ? 1 : 2);\n" "X-Generator: Zanata 3.5.1\n" #: ../bin/virt-sandbox.c:48 ../bin/virt-sandbox-service-util.c:43 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1149 #, c-format msgid "%s version %s\n" msgstr "" #: ../bin/virt-sandbox.c:84 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1161 msgid "display version information" msgstr "" #: ../bin/virt-sandbox.c:86 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1163 msgid "display verbose information" msgstr "" #: ../bin/virt-sandbox.c:88 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1165 msgid "display debugging information" msgstr "" #: ../bin/virt-sandbox.c:90 msgid "connect to hypervisor" msgstr "" #: ../bin/virt-sandbox.c:92 msgid "name of the sandbox" msgstr "" #: ../bin/virt-sandbox.c:94 msgid "root directory of the sandbox" msgstr "" #: ../bin/virt-sandbox.c:96 msgid "mount a filesystem in the guest" msgstr "" #: ../bin/virt-sandbox.c:98 msgid "file to copy into custom dir" msgstr "" #: ../bin/virt-sandbox.c:100 msgid "file contain list of files to include" msgstr "" #: ../bin/virt-sandbox.c:102 msgid "setup network interface properties" msgstr "" #: ../bin/virt-sandbox.c:104 msgid "security properties" msgstr "" #: ../bin/virt-sandbox.c:106 msgid "run the command privileged" msgstr "" #: ../bin/virt-sandbox.c:108 msgid "start a shell" msgstr "" #: ../bin/virt-sandbox.c:110 msgid "kernel version" msgstr "" #: ../bin/virt-sandbox.c:112 msgid "kernel binary path" msgstr "" #: ../bin/virt-sandbox.c:114 msgid "kernel module directory" msgstr "" #: ../bin/virt-sandbox.c:119 msgid "" "Run 'virt-sandbox --help' to see a full list of available command line " "options" msgstr "" #: ../bin/virt-sandbox.c:129 msgid "Libvirt Sandbox" msgstr "" #: ../bin/virt-sandbox.c:131 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1189 msgid "- Libvirt Sandbox" msgstr "" #: ../bin/virt-sandbox.c:144 #, c-format msgid "" "\n" "Usage: %s [OPTIONS] COMMAND-PATH [ARGS...]\n" "\n" "%s\n" "\n" msgstr "" #: ../bin/virt-sandbox.c:160 ../bin/virt-sandbox-service-util.c:65 #, c-format msgid "Unable to open connection: %s\n" msgstr "" #: ../bin/virt-sandbox.c:161 ../bin/virt-sandbox.c:188 #: ../bin/virt-sandbox.c:194 ../bin/virt-sandbox.c:200 #: ../bin/virt-sandbox.c:206 ../bin/virt-sandbox.c:212 #: ../bin/virt-sandbox.c:227 ../bin/virt-sandbox.c:233 #: ../bin/virt-sandbox.c:240 ../bin/virt-sandbox.c:246 #: ../bin/virt-sandbox.c:254 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1247 msgid "Unknown failure" msgstr "" #: ../bin/virt-sandbox.c:187 #, c-format msgid "Unable to parse mounts: %s\n" msgstr "" #: ../bin/virt-sandbox.c:193 #, c-format msgid "Unable to parse includes: %s\n" msgstr "" #: ../bin/virt-sandbox.c:199 #, c-format msgid "Unable to parse include file: %s\n" msgstr "" #: ../bin/virt-sandbox.c:205 #, c-format msgid "Unable to parse networks: %s\n" msgstr "" #: ../bin/virt-sandbox.c:211 #, c-format msgid "Unable to parse security: %s\n" msgstr "" #: ../bin/virt-sandbox.c:226 #, c-format msgid "Unable to start sandbox: %s\n" msgstr "" #: ../bin/virt-sandbox.c:232 #, c-format msgid "Unable to get log console: %s\n" msgstr "" #: ../bin/virt-sandbox.c:239 ../bin/virt-sandbox.c:253 #, c-format msgid "Unable to attach sandbox console: %s\n" msgstr "" #: ../bin/virt-sandbox.c:245 #, c-format msgid "Unable to get app console: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:66 ../bin/virt-sandbox-service-util.c:72 #: ../bin/virt-sandbox-service-util.c:78 #: ../bin/virt-sandbox-service-util.c:104 #: ../bin/virt-sandbox-service-util.c:110 #: ../bin/virt-sandbox-service-util.c:120 #: ../bin/virt-sandbox-service-util.c:127 #: ../bin/virt-sandbox-service-util.c:159 #: ../bin/virt-sandbox-service-util.c:165 #: ../bin/virt-sandbox-service-util.c:175 #: ../bin/virt-sandbox-service-util.c:182 msgid "unknown" msgstr "" #: ../bin/virt-sandbox-service-util.c:71 #, c-format msgid "Unable to read config file %s: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:77 #, c-format msgid "Unable to create new context service: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:103 #, c-format msgid "Unable to start container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:109 #, c-format msgid "Unable to get log console for container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:119 #, c-format msgid "Unable to attach console to stderr in the container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:126 #: ../bin/virt-sandbox-service-util.c:181 #, c-format msgid "Unable to disconnect console from libvirt: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:158 #: ../bin/virt-sandbox-service-util.c:174 #, c-format msgid "Unable to attach to container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:164 #, c-format msgid "Unable to get shell console for container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:240 msgid "Display version information" msgstr "" #: ../bin/virt-sandbox-service-util.c:242 msgid "Start a container" msgstr "" #: ../bin/virt-sandbox-service-util.c:244 msgid "Attach to a container" msgstr "" #: ../bin/virt-sandbox-service-util.c:246 msgid "Pid of process in container to which the command will run" msgstr "" #: ../bin/virt-sandbox-service-util.c:248 msgid "Connect to hypervisor Default:'lxc:///'" msgstr "" #: ../bin/virt-sandbox-service-util.c:253 msgid "" "Run 'virt-sandbox-service-util --help' to see a full list of available " "command line options\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:263 msgid "- Libvirt Sandbox Service" msgstr "" #: ../bin/virt-sandbox-service-util.c:275 #, c-format msgid "" "Invalid command: You must specify --start or --attach\n" "%s" msgstr "" #: ../bin/virt-sandbox-service-util.c:281 #, c-format msgid "Invalid command CONTAINER_NAME required: %s" msgstr "" #: ../bin/virt-sandbox-service-util.c:288 msgid "Libvirt Sandbox Service" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-initrd.c:171 #, c-format msgid "Unable to create temporary directory %s: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-initrd.c:217 #, c-format msgid "Kernel module dir %s does not exist" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-initrd.c:275 #, c-format msgid "Unable to read entries in %s: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-initrd.c:306 #, c-format msgid "Unable to access %s: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-machine.c:446 #, c-format msgid "Kernel image %s does not exist" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:941 #, c-format msgid "Cannot request DHCP with static routes/addresses" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:963 #, c-format msgid "No assignment in filter parameter configuration" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:999 #, c-format msgid "Cannot set static addresses with DHCP" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1019 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1028 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1082 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1090 #, c-format msgid "Unable to parse address %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1058 #, c-format msgid "Cannot set static routes with DHCP" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1076 #, c-format msgid "Missing gateway in route %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1110 #, c-format msgid "Unknown parameter %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1121 #, c-format msgid "Cannot set static routes without addresses" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1285 #, c-format msgid "No mount type prefix on %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1298 #, c-format msgid "Unknown mount type prefix on %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1311 #, c-format msgid "Missing mount source string on %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1411 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1476 #, c-format msgid "No mount with a prefix under %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1578 #, c-format msgid "Unable to get SELinux context of user: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1587 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1596 #, c-format msgid "Unknown security option '%s'" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1630 msgid "Missing mount target in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1635 msgid "Missing mount type in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1647 #, c-format msgid "Unknown mount type %s in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1654 msgid "Missing mount usage in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1663 msgid "Missing mount source in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:2150 msgid "Missing class name in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:2156 #, c-format msgid "Unknown type name '%s' in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:2163 #, c-format msgid "Type name '%s' in config file had wrong parent" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console.c:326 msgid "Unable to isolate console unless direct access flag is set" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:184 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:350 #, c-format msgid "Unable to query terminal attributes: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:201 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:367 #, c-format msgid "Unable to update terminal attributes: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:224 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:395 #, c-format msgid "Unable to restore terminal attributes: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:630 msgid "No devices found for domain" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:660 #, c-format msgid "No device %s found for domain" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:666 #, c-format msgid "Unable to open console %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:699 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:1110 msgid "Console is already attached to a stream" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:628 #, c-format msgid "Unexpected rpc status %u" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:697 #, c-format msgid "Unexpected rpc proc %u" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:753 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:817 #, c-format msgid "Got rx in unexpected state %d" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:1167 msgid "ConsoleRpc is not attached to a stream" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-context.c:253 #: ../libvirt-sandbox/libvirt-sandbox-context.c:396 #, c-format msgid "Domain is not currently running" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-context.c:323 #: ../libvirt-sandbox/libvirt-sandbox-context.c:340 #: ../libvirt-sandbox/libvirt-sandbox-context.c:363 #, c-format msgid "Sandbox is not currently running" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1065 #, c-format msgid "libvirt-sandbox-init-common: unable to create signal pipe: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1084 #, c-format msgid "libvirt-sandbox-init-common: cannot open %s: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1141 #, c-format msgid "libvirt-sandbox-init-common: %s: cannot execute %s: %s\n" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1167 msgid "config file path" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1170 msgid "Run '" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1180 #, c-format msgid "%s: must be launched as root\n" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1187 msgid "Libvirt Sandbox Init Common" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1205 #, c-format msgid "%s: Unable to load config %s: %s\n" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1231 #, c-format msgid "Unsupported configuration type %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:69 msgid "Unable to decode message length" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:76 #, c-format msgid "packet %u bytes received from server too small, want %u" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:86 #, c-format msgid "packet %u bytes received from server too large, want %d" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:130 msgid "Unable to decode message header" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:174 #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:235 #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:303 #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:329 msgid "Unable to encode message length" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:180 msgid "Unable to encode message header" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:192 msgid "Unable to re-encode message length" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:222 msgid "Unable to encode message payload" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:265 msgid "Unable to decode message payload" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:290 #, c-format msgid "Raw data too long to send (%zu bytes needed, %zu bytes available)" msgstr "" libvirt-sandbox-0.5.1+git20160404/po/mai.po000066400000000000000000000342271275305543100177650ustar00rootroot00000000000000# SOME DESCRIPTIVE TITLE. # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # # Translators: msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2015-02-18 14:55+0000\n" "PO-Revision-Date: 2013-04-08 06:10-0400\n" "Last-Translator: FULL NAME \n" "Language-Team: Maithili (http://www.transifex.com/projects/p/fedora/language/mai/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Language: mai\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" "X-Generator: Zanata 3.5.1\n" #: ../bin/virt-sandbox.c:48 ../bin/virt-sandbox-service-util.c:43 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1149 #, c-format msgid "%s version %s\n" msgstr "" #: ../bin/virt-sandbox.c:84 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1161 msgid "display version information" msgstr "" #: ../bin/virt-sandbox.c:86 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1163 msgid "display verbose information" msgstr "" #: ../bin/virt-sandbox.c:88 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1165 msgid "display debugging information" msgstr "" #: ../bin/virt-sandbox.c:90 msgid "connect to hypervisor" msgstr "" #: ../bin/virt-sandbox.c:92 msgid "name of the sandbox" msgstr "" #: ../bin/virt-sandbox.c:94 msgid "root directory of the sandbox" msgstr "" #: ../bin/virt-sandbox.c:96 msgid "mount a filesystem in the guest" msgstr "" #: ../bin/virt-sandbox.c:98 msgid "file to copy into custom dir" msgstr "" #: ../bin/virt-sandbox.c:100 msgid "file contain list of files to include" msgstr "" #: ../bin/virt-sandbox.c:102 msgid "setup network interface properties" msgstr "" #: ../bin/virt-sandbox.c:104 msgid "security properties" msgstr "" #: ../bin/virt-sandbox.c:106 msgid "run the command privileged" msgstr "" #: ../bin/virt-sandbox.c:108 msgid "start a shell" msgstr "" #: ../bin/virt-sandbox.c:110 msgid "kernel version" msgstr "" #: ../bin/virt-sandbox.c:112 msgid "kernel binary path" msgstr "" #: ../bin/virt-sandbox.c:114 msgid "kernel module directory" msgstr "" #: ../bin/virt-sandbox.c:119 msgid "" "Run 'virt-sandbox --help' to see a full list of available command line " "options" msgstr "" #: ../bin/virt-sandbox.c:129 msgid "Libvirt Sandbox" msgstr "" #: ../bin/virt-sandbox.c:131 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1189 msgid "- Libvirt Sandbox" msgstr "" #: ../bin/virt-sandbox.c:144 #, c-format msgid "" "\n" "Usage: %s [OPTIONS] COMMAND-PATH [ARGS...]\n" "\n" "%s\n" "\n" msgstr "" #: ../bin/virt-sandbox.c:160 ../bin/virt-sandbox-service-util.c:65 #, c-format msgid "Unable to open connection: %s\n" msgstr "" #: ../bin/virt-sandbox.c:161 ../bin/virt-sandbox.c:188 #: ../bin/virt-sandbox.c:194 ../bin/virt-sandbox.c:200 #: ../bin/virt-sandbox.c:206 ../bin/virt-sandbox.c:212 #: ../bin/virt-sandbox.c:227 ../bin/virt-sandbox.c:233 #: ../bin/virt-sandbox.c:240 ../bin/virt-sandbox.c:246 #: ../bin/virt-sandbox.c:254 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1247 msgid "Unknown failure" msgstr "" #: ../bin/virt-sandbox.c:187 #, c-format msgid "Unable to parse mounts: %s\n" msgstr "" #: ../bin/virt-sandbox.c:193 #, c-format msgid "Unable to parse includes: %s\n" msgstr "" #: ../bin/virt-sandbox.c:199 #, c-format msgid "Unable to parse include file: %s\n" msgstr "" #: ../bin/virt-sandbox.c:205 #, c-format msgid "Unable to parse networks: %s\n" msgstr "" #: ../bin/virt-sandbox.c:211 #, c-format msgid "Unable to parse security: %s\n" msgstr "" #: ../bin/virt-sandbox.c:226 #, c-format msgid "Unable to start sandbox: %s\n" msgstr "" #: ../bin/virt-sandbox.c:232 #, c-format msgid "Unable to get log console: %s\n" msgstr "" #: ../bin/virt-sandbox.c:239 ../bin/virt-sandbox.c:253 #, c-format msgid "Unable to attach sandbox console: %s\n" msgstr "" #: ../bin/virt-sandbox.c:245 #, c-format msgid "Unable to get app console: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:66 ../bin/virt-sandbox-service-util.c:72 #: ../bin/virt-sandbox-service-util.c:78 #: ../bin/virt-sandbox-service-util.c:104 #: ../bin/virt-sandbox-service-util.c:110 #: ../bin/virt-sandbox-service-util.c:120 #: ../bin/virt-sandbox-service-util.c:127 #: ../bin/virt-sandbox-service-util.c:159 #: ../bin/virt-sandbox-service-util.c:165 #: ../bin/virt-sandbox-service-util.c:175 #: ../bin/virt-sandbox-service-util.c:182 msgid "unknown" msgstr "" #: ../bin/virt-sandbox-service-util.c:71 #, c-format msgid "Unable to read config file %s: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:77 #, c-format msgid "Unable to create new context service: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:103 #, c-format msgid "Unable to start container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:109 #, c-format msgid "Unable to get log console for container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:119 #, c-format msgid "Unable to attach console to stderr in the container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:126 #: ../bin/virt-sandbox-service-util.c:181 #, c-format msgid "Unable to disconnect console from libvirt: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:158 #: ../bin/virt-sandbox-service-util.c:174 #, c-format msgid "Unable to attach to container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:164 #, c-format msgid "Unable to get shell console for container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:240 msgid "Display version information" msgstr "" #: ../bin/virt-sandbox-service-util.c:242 msgid "Start a container" msgstr "" #: ../bin/virt-sandbox-service-util.c:244 msgid "Attach to a container" msgstr "" #: ../bin/virt-sandbox-service-util.c:246 msgid "Pid of process in container to which the command will run" msgstr "" #: ../bin/virt-sandbox-service-util.c:248 msgid "Connect to hypervisor Default:'lxc:///'" msgstr "" #: ../bin/virt-sandbox-service-util.c:253 msgid "" "Run 'virt-sandbox-service-util --help' to see a full list of available " "command line options\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:263 msgid "- Libvirt Sandbox Service" msgstr "" #: ../bin/virt-sandbox-service-util.c:275 #, c-format msgid "" "Invalid command: You must specify --start or --attach\n" "%s" msgstr "" #: ../bin/virt-sandbox-service-util.c:281 #, c-format msgid "Invalid command CONTAINER_NAME required: %s" msgstr "" #: ../bin/virt-sandbox-service-util.c:288 msgid "Libvirt Sandbox Service" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-initrd.c:171 #, c-format msgid "Unable to create temporary directory %s: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-initrd.c:217 #, c-format msgid "Kernel module dir %s does not exist" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-initrd.c:275 #, c-format msgid "Unable to read entries in %s: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-initrd.c:306 #, c-format msgid "Unable to access %s: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-machine.c:446 #, c-format msgid "Kernel image %s does not exist" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:941 #, c-format msgid "Cannot request DHCP with static routes/addresses" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:963 #, c-format msgid "No assignment in filter parameter configuration" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:999 #, c-format msgid "Cannot set static addresses with DHCP" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1019 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1028 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1082 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1090 #, c-format msgid "Unable to parse address %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1058 #, c-format msgid "Cannot set static routes with DHCP" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1076 #, c-format msgid "Missing gateway in route %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1110 #, c-format msgid "Unknown parameter %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1121 #, c-format msgid "Cannot set static routes without addresses" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1285 #, c-format msgid "No mount type prefix on %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1298 #, c-format msgid "Unknown mount type prefix on %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1311 #, c-format msgid "Missing mount source string on %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1411 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1476 #, c-format msgid "No mount with a prefix under %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1578 #, c-format msgid "Unable to get SELinux context of user: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1587 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1596 #, c-format msgid "Unknown security option '%s'" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1630 msgid "Missing mount target in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1635 msgid "Missing mount type in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1647 #, c-format msgid "Unknown mount type %s in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1654 msgid "Missing mount usage in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1663 msgid "Missing mount source in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:2150 msgid "Missing class name in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:2156 #, c-format msgid "Unknown type name '%s' in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:2163 #, c-format msgid "Type name '%s' in config file had wrong parent" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console.c:326 msgid "Unable to isolate console unless direct access flag is set" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:184 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:350 #, c-format msgid "Unable to query terminal attributes: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:201 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:367 #, c-format msgid "Unable to update terminal attributes: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:224 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:395 #, c-format msgid "Unable to restore terminal attributes: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:630 msgid "No devices found for domain" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:660 #, c-format msgid "No device %s found for domain" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:666 #, c-format msgid "Unable to open console %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:699 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:1110 msgid "Console is already attached to a stream" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:628 #, c-format msgid "Unexpected rpc status %u" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:697 #, c-format msgid "Unexpected rpc proc %u" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:753 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:817 #, c-format msgid "Got rx in unexpected state %d" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:1167 msgid "ConsoleRpc is not attached to a stream" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-context.c:253 #: ../libvirt-sandbox/libvirt-sandbox-context.c:396 #, c-format msgid "Domain is not currently running" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-context.c:323 #: ../libvirt-sandbox/libvirt-sandbox-context.c:340 #: ../libvirt-sandbox/libvirt-sandbox-context.c:363 #, c-format msgid "Sandbox is not currently running" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1065 #, c-format msgid "libvirt-sandbox-init-common: unable to create signal pipe: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1084 #, c-format msgid "libvirt-sandbox-init-common: cannot open %s: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1141 #, c-format msgid "libvirt-sandbox-init-common: %s: cannot execute %s: %s\n" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1167 msgid "config file path" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1170 msgid "Run '" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1180 #, c-format msgid "%s: must be launched as root\n" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1187 msgid "Libvirt Sandbox Init Common" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1205 #, c-format msgid "%s: Unable to load config %s: %s\n" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1231 #, c-format msgid "Unsupported configuration type %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:69 msgid "Unable to decode message length" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:76 #, c-format msgid "packet %u bytes received from server too small, want %u" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:86 #, c-format msgid "packet %u bytes received from server too large, want %d" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:130 msgid "Unable to decode message header" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:174 #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:235 #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:303 #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:329 msgid "Unable to encode message length" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:180 msgid "Unable to encode message header" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:192 msgid "Unable to re-encode message length" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:222 msgid "Unable to encode message payload" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:265 msgid "Unable to decode message payload" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:290 #, c-format msgid "Raw data too long to send (%zu bytes needed, %zu bytes available)" msgstr "" libvirt-sandbox-0.5.1+git20160404/po/mk.po000066400000000000000000000342651275305543100176300ustar00rootroot00000000000000# SOME DESCRIPTIVE TITLE. # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # # Translators: msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2015-02-18 14:55+0000\n" "PO-Revision-Date: 2013-04-08 06:10-0400\n" "Last-Translator: FULL NAME \n" "Language-Team: Macedonian (http://www.transifex.com/projects/p/fedora/language/mk/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Language: mk\n" "Plural-Forms: nplurals=2; plural=(n % 10 == 1 && n % 100 != 11) ? 0 : 1;\n" "X-Generator: Zanata 3.5.1\n" #: ../bin/virt-sandbox.c:48 ../bin/virt-sandbox-service-util.c:43 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1149 #, c-format msgid "%s version %s\n" msgstr "" #: ../bin/virt-sandbox.c:84 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1161 msgid "display version information" msgstr "" #: ../bin/virt-sandbox.c:86 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1163 msgid "display verbose information" msgstr "" #: ../bin/virt-sandbox.c:88 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1165 msgid "display debugging information" msgstr "" #: ../bin/virt-sandbox.c:90 msgid "connect to hypervisor" msgstr "" #: ../bin/virt-sandbox.c:92 msgid "name of the sandbox" msgstr "" #: ../bin/virt-sandbox.c:94 msgid "root directory of the sandbox" msgstr "" #: ../bin/virt-sandbox.c:96 msgid "mount a filesystem in the guest" msgstr "" #: ../bin/virt-sandbox.c:98 msgid "file to copy into custom dir" msgstr "" #: ../bin/virt-sandbox.c:100 msgid "file contain list of files to include" msgstr "" #: ../bin/virt-sandbox.c:102 msgid "setup network interface properties" msgstr "" #: ../bin/virt-sandbox.c:104 msgid "security properties" msgstr "" #: ../bin/virt-sandbox.c:106 msgid "run the command privileged" msgstr "" #: ../bin/virt-sandbox.c:108 msgid "start a shell" msgstr "" #: ../bin/virt-sandbox.c:110 msgid "kernel version" msgstr "" #: ../bin/virt-sandbox.c:112 msgid "kernel binary path" msgstr "" #: ../bin/virt-sandbox.c:114 msgid "kernel module directory" msgstr "" #: ../bin/virt-sandbox.c:119 msgid "" "Run 'virt-sandbox --help' to see a full list of available command line " "options" msgstr "" #: ../bin/virt-sandbox.c:129 msgid "Libvirt Sandbox" msgstr "" #: ../bin/virt-sandbox.c:131 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1189 msgid "- Libvirt Sandbox" msgstr "" #: ../bin/virt-sandbox.c:144 #, c-format msgid "" "\n" "Usage: %s [OPTIONS] COMMAND-PATH [ARGS...]\n" "\n" "%s\n" "\n" msgstr "" #: ../bin/virt-sandbox.c:160 ../bin/virt-sandbox-service-util.c:65 #, c-format msgid "Unable to open connection: %s\n" msgstr "" #: ../bin/virt-sandbox.c:161 ../bin/virt-sandbox.c:188 #: ../bin/virt-sandbox.c:194 ../bin/virt-sandbox.c:200 #: ../bin/virt-sandbox.c:206 ../bin/virt-sandbox.c:212 #: ../bin/virt-sandbox.c:227 ../bin/virt-sandbox.c:233 #: ../bin/virt-sandbox.c:240 ../bin/virt-sandbox.c:246 #: ../bin/virt-sandbox.c:254 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1247 msgid "Unknown failure" msgstr "" #: ../bin/virt-sandbox.c:187 #, c-format msgid "Unable to parse mounts: %s\n" msgstr "" #: ../bin/virt-sandbox.c:193 #, c-format msgid "Unable to parse includes: %s\n" msgstr "" #: ../bin/virt-sandbox.c:199 #, c-format msgid "Unable to parse include file: %s\n" msgstr "" #: ../bin/virt-sandbox.c:205 #, c-format msgid "Unable to parse networks: %s\n" msgstr "" #: ../bin/virt-sandbox.c:211 #, c-format msgid "Unable to parse security: %s\n" msgstr "" #: ../bin/virt-sandbox.c:226 #, c-format msgid "Unable to start sandbox: %s\n" msgstr "" #: ../bin/virt-sandbox.c:232 #, c-format msgid "Unable to get log console: %s\n" msgstr "" #: ../bin/virt-sandbox.c:239 ../bin/virt-sandbox.c:253 #, c-format msgid "Unable to attach sandbox console: %s\n" msgstr "" #: ../bin/virt-sandbox.c:245 #, c-format msgid "Unable to get app console: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:66 ../bin/virt-sandbox-service-util.c:72 #: ../bin/virt-sandbox-service-util.c:78 #: ../bin/virt-sandbox-service-util.c:104 #: ../bin/virt-sandbox-service-util.c:110 #: ../bin/virt-sandbox-service-util.c:120 #: ../bin/virt-sandbox-service-util.c:127 #: ../bin/virt-sandbox-service-util.c:159 #: ../bin/virt-sandbox-service-util.c:165 #: ../bin/virt-sandbox-service-util.c:175 #: ../bin/virt-sandbox-service-util.c:182 msgid "unknown" msgstr "" #: ../bin/virt-sandbox-service-util.c:71 #, c-format msgid "Unable to read config file %s: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:77 #, c-format msgid "Unable to create new context service: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:103 #, c-format msgid "Unable to start container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:109 #, c-format msgid "Unable to get log console for container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:119 #, c-format msgid "Unable to attach console to stderr in the container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:126 #: ../bin/virt-sandbox-service-util.c:181 #, c-format msgid "Unable to disconnect console from libvirt: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:158 #: ../bin/virt-sandbox-service-util.c:174 #, c-format msgid "Unable to attach to container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:164 #, c-format msgid "Unable to get shell console for container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:240 msgid "Display version information" msgstr "" #: ../bin/virt-sandbox-service-util.c:242 msgid "Start a container" msgstr "" #: ../bin/virt-sandbox-service-util.c:244 msgid "Attach to a container" msgstr "" #: ../bin/virt-sandbox-service-util.c:246 msgid "Pid of process in container to which the command will run" msgstr "" #: ../bin/virt-sandbox-service-util.c:248 msgid "Connect to hypervisor Default:'lxc:///'" msgstr "" #: ../bin/virt-sandbox-service-util.c:253 msgid "" "Run 'virt-sandbox-service-util --help' to see a full list of available " "command line options\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:263 msgid "- Libvirt Sandbox Service" msgstr "" #: ../bin/virt-sandbox-service-util.c:275 #, c-format msgid "" "Invalid command: You must specify --start or --attach\n" "%s" msgstr "" #: ../bin/virt-sandbox-service-util.c:281 #, c-format msgid "Invalid command CONTAINER_NAME required: %s" msgstr "" #: ../bin/virt-sandbox-service-util.c:288 msgid "Libvirt Sandbox Service" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-initrd.c:171 #, c-format msgid "Unable to create temporary directory %s: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-initrd.c:217 #, c-format msgid "Kernel module dir %s does not exist" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-initrd.c:275 #, c-format msgid "Unable to read entries in %s: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-initrd.c:306 #, c-format msgid "Unable to access %s: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-machine.c:446 #, c-format msgid "Kernel image %s does not exist" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:941 #, c-format msgid "Cannot request DHCP with static routes/addresses" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:963 #, c-format msgid "No assignment in filter parameter configuration" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:999 #, c-format msgid "Cannot set static addresses with DHCP" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1019 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1028 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1082 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1090 #, c-format msgid "Unable to parse address %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1058 #, c-format msgid "Cannot set static routes with DHCP" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1076 #, c-format msgid "Missing gateway in route %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1110 #, c-format msgid "Unknown parameter %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1121 #, c-format msgid "Cannot set static routes without addresses" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1285 #, c-format msgid "No mount type prefix on %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1298 #, c-format msgid "Unknown mount type prefix on %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1311 #, c-format msgid "Missing mount source string on %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1411 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1476 #, c-format msgid "No mount with a prefix under %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1578 #, c-format msgid "Unable to get SELinux context of user: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1587 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1596 #, c-format msgid "Unknown security option '%s'" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1630 msgid "Missing mount target in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1635 msgid "Missing mount type in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1647 #, c-format msgid "Unknown mount type %s in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1654 msgid "Missing mount usage in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1663 msgid "Missing mount source in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:2150 msgid "Missing class name in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:2156 #, c-format msgid "Unknown type name '%s' in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:2163 #, c-format msgid "Type name '%s' in config file had wrong parent" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console.c:326 msgid "Unable to isolate console unless direct access flag is set" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:184 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:350 #, c-format msgid "Unable to query terminal attributes: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:201 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:367 #, c-format msgid "Unable to update terminal attributes: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:224 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:395 #, c-format msgid "Unable to restore terminal attributes: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:630 msgid "No devices found for domain" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:660 #, c-format msgid "No device %s found for domain" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:666 #, c-format msgid "Unable to open console %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:699 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:1110 msgid "Console is already attached to a stream" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:628 #, c-format msgid "Unexpected rpc status %u" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:697 #, c-format msgid "Unexpected rpc proc %u" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:753 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:817 #, c-format msgid "Got rx in unexpected state %d" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:1167 msgid "ConsoleRpc is not attached to a stream" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-context.c:253 #: ../libvirt-sandbox/libvirt-sandbox-context.c:396 #, c-format msgid "Domain is not currently running" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-context.c:323 #: ../libvirt-sandbox/libvirt-sandbox-context.c:340 #: ../libvirt-sandbox/libvirt-sandbox-context.c:363 #, c-format msgid "Sandbox is not currently running" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1065 #, c-format msgid "libvirt-sandbox-init-common: unable to create signal pipe: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1084 #, c-format msgid "libvirt-sandbox-init-common: cannot open %s: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1141 #, c-format msgid "libvirt-sandbox-init-common: %s: cannot execute %s: %s\n" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1167 msgid "config file path" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1170 msgid "Run '" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1180 #, c-format msgid "%s: must be launched as root\n" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1187 msgid "Libvirt Sandbox Init Common" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1205 #, c-format msgid "%s: Unable to load config %s: %s\n" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1231 #, c-format msgid "Unsupported configuration type %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:69 msgid "Unable to decode message length" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:76 #, c-format msgid "packet %u bytes received from server too small, want %u" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:86 #, c-format msgid "packet %u bytes received from server too large, want %d" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:130 msgid "Unable to decode message header" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:174 #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:235 #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:303 #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:329 msgid "Unable to encode message length" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:180 msgid "Unable to encode message header" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:192 msgid "Unable to re-encode message length" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:222 msgid "Unable to encode message payload" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:265 msgid "Unable to decode message payload" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:290 #, c-format msgid "Raw data too long to send (%zu bytes needed, %zu bytes available)" msgstr "" libvirt-sandbox-0.5.1+git20160404/po/ml.po000066400000000000000000000341671275305543100176320ustar00rootroot00000000000000# SOME DESCRIPTIVE TITLE. # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # # Translators: msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2015-02-18 14:55+0000\n" "PO-Revision-Date: 2013-04-08 06:10-0400\n" "Last-Translator: FULL NAME \n" "Language-Team: Malayalam \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Language: ml\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" "X-Generator: Zanata 3.5.1\n" #: ../bin/virt-sandbox.c:48 ../bin/virt-sandbox-service-util.c:43 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1149 #, c-format msgid "%s version %s\n" msgstr "" #: ../bin/virt-sandbox.c:84 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1161 msgid "display version information" msgstr "" #: ../bin/virt-sandbox.c:86 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1163 msgid "display verbose information" msgstr "" #: ../bin/virt-sandbox.c:88 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1165 msgid "display debugging information" msgstr "" #: ../bin/virt-sandbox.c:90 msgid "connect to hypervisor" msgstr "" #: ../bin/virt-sandbox.c:92 msgid "name of the sandbox" msgstr "" #: ../bin/virt-sandbox.c:94 msgid "root directory of the sandbox" msgstr "" #: ../bin/virt-sandbox.c:96 msgid "mount a filesystem in the guest" msgstr "" #: ../bin/virt-sandbox.c:98 msgid "file to copy into custom dir" msgstr "" #: ../bin/virt-sandbox.c:100 msgid "file contain list of files to include" msgstr "" #: ../bin/virt-sandbox.c:102 msgid "setup network interface properties" msgstr "" #: ../bin/virt-sandbox.c:104 msgid "security properties" msgstr "" #: ../bin/virt-sandbox.c:106 msgid "run the command privileged" msgstr "" #: ../bin/virt-sandbox.c:108 msgid "start a shell" msgstr "" #: ../bin/virt-sandbox.c:110 msgid "kernel version" msgstr "" #: ../bin/virt-sandbox.c:112 msgid "kernel binary path" msgstr "" #: ../bin/virt-sandbox.c:114 msgid "kernel module directory" msgstr "" #: ../bin/virt-sandbox.c:119 msgid "" "Run 'virt-sandbox --help' to see a full list of available command line " "options" msgstr "" #: ../bin/virt-sandbox.c:129 msgid "Libvirt Sandbox" msgstr "" #: ../bin/virt-sandbox.c:131 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1189 msgid "- Libvirt Sandbox" msgstr "" #: ../bin/virt-sandbox.c:144 #, c-format msgid "" "\n" "Usage: %s [OPTIONS] COMMAND-PATH [ARGS...]\n" "\n" "%s\n" "\n" msgstr "" #: ../bin/virt-sandbox.c:160 ../bin/virt-sandbox-service-util.c:65 #, c-format msgid "Unable to open connection: %s\n" msgstr "" #: ../bin/virt-sandbox.c:161 ../bin/virt-sandbox.c:188 #: ../bin/virt-sandbox.c:194 ../bin/virt-sandbox.c:200 #: ../bin/virt-sandbox.c:206 ../bin/virt-sandbox.c:212 #: ../bin/virt-sandbox.c:227 ../bin/virt-sandbox.c:233 #: ../bin/virt-sandbox.c:240 ../bin/virt-sandbox.c:246 #: ../bin/virt-sandbox.c:254 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1247 msgid "Unknown failure" msgstr "" #: ../bin/virt-sandbox.c:187 #, c-format msgid "Unable to parse mounts: %s\n" msgstr "" #: ../bin/virt-sandbox.c:193 #, c-format msgid "Unable to parse includes: %s\n" msgstr "" #: ../bin/virt-sandbox.c:199 #, c-format msgid "Unable to parse include file: %s\n" msgstr "" #: ../bin/virt-sandbox.c:205 #, c-format msgid "Unable to parse networks: %s\n" msgstr "" #: ../bin/virt-sandbox.c:211 #, c-format msgid "Unable to parse security: %s\n" msgstr "" #: ../bin/virt-sandbox.c:226 #, c-format msgid "Unable to start sandbox: %s\n" msgstr "" #: ../bin/virt-sandbox.c:232 #, c-format msgid "Unable to get log console: %s\n" msgstr "" #: ../bin/virt-sandbox.c:239 ../bin/virt-sandbox.c:253 #, c-format msgid "Unable to attach sandbox console: %s\n" msgstr "" #: ../bin/virt-sandbox.c:245 #, c-format msgid "Unable to get app console: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:66 ../bin/virt-sandbox-service-util.c:72 #: ../bin/virt-sandbox-service-util.c:78 #: ../bin/virt-sandbox-service-util.c:104 #: ../bin/virt-sandbox-service-util.c:110 #: ../bin/virt-sandbox-service-util.c:120 #: ../bin/virt-sandbox-service-util.c:127 #: ../bin/virt-sandbox-service-util.c:159 #: ../bin/virt-sandbox-service-util.c:165 #: ../bin/virt-sandbox-service-util.c:175 #: ../bin/virt-sandbox-service-util.c:182 msgid "unknown" msgstr "" #: ../bin/virt-sandbox-service-util.c:71 #, c-format msgid "Unable to read config file %s: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:77 #, c-format msgid "Unable to create new context service: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:103 #, c-format msgid "Unable to start container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:109 #, c-format msgid "Unable to get log console for container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:119 #, c-format msgid "Unable to attach console to stderr in the container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:126 #: ../bin/virt-sandbox-service-util.c:181 #, c-format msgid "Unable to disconnect console from libvirt: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:158 #: ../bin/virt-sandbox-service-util.c:174 #, c-format msgid "Unable to attach to container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:164 #, c-format msgid "Unable to get shell console for container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:240 msgid "Display version information" msgstr "" #: ../bin/virt-sandbox-service-util.c:242 msgid "Start a container" msgstr "" #: ../bin/virt-sandbox-service-util.c:244 msgid "Attach to a container" msgstr "" #: ../bin/virt-sandbox-service-util.c:246 msgid "Pid of process in container to which the command will run" msgstr "" #: ../bin/virt-sandbox-service-util.c:248 msgid "Connect to hypervisor Default:'lxc:///'" msgstr "" #: ../bin/virt-sandbox-service-util.c:253 msgid "" "Run 'virt-sandbox-service-util --help' to see a full list of available " "command line options\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:263 msgid "- Libvirt Sandbox Service" msgstr "" #: ../bin/virt-sandbox-service-util.c:275 #, c-format msgid "" "Invalid command: You must specify --start or --attach\n" "%s" msgstr "" #: ../bin/virt-sandbox-service-util.c:281 #, c-format msgid "Invalid command CONTAINER_NAME required: %s" msgstr "" #: ../bin/virt-sandbox-service-util.c:288 msgid "Libvirt Sandbox Service" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-initrd.c:171 #, c-format msgid "Unable to create temporary directory %s: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-initrd.c:217 #, c-format msgid "Kernel module dir %s does not exist" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-initrd.c:275 #, c-format msgid "Unable to read entries in %s: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-initrd.c:306 #, c-format msgid "Unable to access %s: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-machine.c:446 #, c-format msgid "Kernel image %s does not exist" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:941 #, c-format msgid "Cannot request DHCP with static routes/addresses" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:963 #, c-format msgid "No assignment in filter parameter configuration" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:999 #, c-format msgid "Cannot set static addresses with DHCP" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1019 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1028 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1082 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1090 #, c-format msgid "Unable to parse address %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1058 #, c-format msgid "Cannot set static routes with DHCP" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1076 #, c-format msgid "Missing gateway in route %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1110 #, c-format msgid "Unknown parameter %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1121 #, c-format msgid "Cannot set static routes without addresses" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1285 #, c-format msgid "No mount type prefix on %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1298 #, c-format msgid "Unknown mount type prefix on %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1311 #, c-format msgid "Missing mount source string on %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1411 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1476 #, c-format msgid "No mount with a prefix under %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1578 #, c-format msgid "Unable to get SELinux context of user: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1587 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1596 #, c-format msgid "Unknown security option '%s'" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1630 msgid "Missing mount target in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1635 msgid "Missing mount type in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1647 #, c-format msgid "Unknown mount type %s in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1654 msgid "Missing mount usage in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1663 msgid "Missing mount source in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:2150 msgid "Missing class name in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:2156 #, c-format msgid "Unknown type name '%s' in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:2163 #, c-format msgid "Type name '%s' in config file had wrong parent" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console.c:326 msgid "Unable to isolate console unless direct access flag is set" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:184 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:350 #, c-format msgid "Unable to query terminal attributes: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:201 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:367 #, c-format msgid "Unable to update terminal attributes: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:224 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:395 #, c-format msgid "Unable to restore terminal attributes: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:630 msgid "No devices found for domain" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:660 #, c-format msgid "No device %s found for domain" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:666 #, c-format msgid "Unable to open console %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:699 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:1110 msgid "Console is already attached to a stream" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:628 #, c-format msgid "Unexpected rpc status %u" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:697 #, c-format msgid "Unexpected rpc proc %u" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:753 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:817 #, c-format msgid "Got rx in unexpected state %d" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:1167 msgid "ConsoleRpc is not attached to a stream" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-context.c:253 #: ../libvirt-sandbox/libvirt-sandbox-context.c:396 #, c-format msgid "Domain is not currently running" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-context.c:323 #: ../libvirt-sandbox/libvirt-sandbox-context.c:340 #: ../libvirt-sandbox/libvirt-sandbox-context.c:363 #, c-format msgid "Sandbox is not currently running" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1065 #, c-format msgid "libvirt-sandbox-init-common: unable to create signal pipe: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1084 #, c-format msgid "libvirt-sandbox-init-common: cannot open %s: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1141 #, c-format msgid "libvirt-sandbox-init-common: %s: cannot execute %s: %s\n" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1167 msgid "config file path" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1170 msgid "Run '" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1180 #, c-format msgid "%s: must be launched as root\n" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1187 msgid "Libvirt Sandbox Init Common" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1205 #, c-format msgid "%s: Unable to load config %s: %s\n" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1231 #, c-format msgid "Unsupported configuration type %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:69 msgid "Unable to decode message length" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:76 #, c-format msgid "packet %u bytes received from server too small, want %u" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:86 #, c-format msgid "packet %u bytes received from server too large, want %d" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:130 msgid "Unable to decode message header" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:174 #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:235 #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:303 #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:329 msgid "Unable to encode message length" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:180 msgid "Unable to encode message header" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:192 msgid "Unable to re-encode message length" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:222 msgid "Unable to encode message payload" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:265 msgid "Unable to decode message payload" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:290 #, c-format msgid "Raw data too long to send (%zu bytes needed, %zu bytes available)" msgstr "" libvirt-sandbox-0.5.1+git20160404/po/mn.po000066400000000000000000000342261275305543100176300ustar00rootroot00000000000000# SOME DESCRIPTIVE TITLE. # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # # Translators: msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2015-02-18 14:55+0000\n" "PO-Revision-Date: 2013-04-08 06:10-0400\n" "Last-Translator: FULL NAME \n" "Language-Team: Mongolian (http://www.transifex.com/projects/p/fedora/language/mn/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Language: mn\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" "X-Generator: Zanata 3.5.1\n" #: ../bin/virt-sandbox.c:48 ../bin/virt-sandbox-service-util.c:43 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1149 #, c-format msgid "%s version %s\n" msgstr "" #: ../bin/virt-sandbox.c:84 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1161 msgid "display version information" msgstr "" #: ../bin/virt-sandbox.c:86 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1163 msgid "display verbose information" msgstr "" #: ../bin/virt-sandbox.c:88 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1165 msgid "display debugging information" msgstr "" #: ../bin/virt-sandbox.c:90 msgid "connect to hypervisor" msgstr "" #: ../bin/virt-sandbox.c:92 msgid "name of the sandbox" msgstr "" #: ../bin/virt-sandbox.c:94 msgid "root directory of the sandbox" msgstr "" #: ../bin/virt-sandbox.c:96 msgid "mount a filesystem in the guest" msgstr "" #: ../bin/virt-sandbox.c:98 msgid "file to copy into custom dir" msgstr "" #: ../bin/virt-sandbox.c:100 msgid "file contain list of files to include" msgstr "" #: ../bin/virt-sandbox.c:102 msgid "setup network interface properties" msgstr "" #: ../bin/virt-sandbox.c:104 msgid "security properties" msgstr "" #: ../bin/virt-sandbox.c:106 msgid "run the command privileged" msgstr "" #: ../bin/virt-sandbox.c:108 msgid "start a shell" msgstr "" #: ../bin/virt-sandbox.c:110 msgid "kernel version" msgstr "" #: ../bin/virt-sandbox.c:112 msgid "kernel binary path" msgstr "" #: ../bin/virt-sandbox.c:114 msgid "kernel module directory" msgstr "" #: ../bin/virt-sandbox.c:119 msgid "" "Run 'virt-sandbox --help' to see a full list of available command line " "options" msgstr "" #: ../bin/virt-sandbox.c:129 msgid "Libvirt Sandbox" msgstr "" #: ../bin/virt-sandbox.c:131 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1189 msgid "- Libvirt Sandbox" msgstr "" #: ../bin/virt-sandbox.c:144 #, c-format msgid "" "\n" "Usage: %s [OPTIONS] COMMAND-PATH [ARGS...]\n" "\n" "%s\n" "\n" msgstr "" #: ../bin/virt-sandbox.c:160 ../bin/virt-sandbox-service-util.c:65 #, c-format msgid "Unable to open connection: %s\n" msgstr "" #: ../bin/virt-sandbox.c:161 ../bin/virt-sandbox.c:188 #: ../bin/virt-sandbox.c:194 ../bin/virt-sandbox.c:200 #: ../bin/virt-sandbox.c:206 ../bin/virt-sandbox.c:212 #: ../bin/virt-sandbox.c:227 ../bin/virt-sandbox.c:233 #: ../bin/virt-sandbox.c:240 ../bin/virt-sandbox.c:246 #: ../bin/virt-sandbox.c:254 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1247 msgid "Unknown failure" msgstr "" #: ../bin/virt-sandbox.c:187 #, c-format msgid "Unable to parse mounts: %s\n" msgstr "" #: ../bin/virt-sandbox.c:193 #, c-format msgid "Unable to parse includes: %s\n" msgstr "" #: ../bin/virt-sandbox.c:199 #, c-format msgid "Unable to parse include file: %s\n" msgstr "" #: ../bin/virt-sandbox.c:205 #, c-format msgid "Unable to parse networks: %s\n" msgstr "" #: ../bin/virt-sandbox.c:211 #, c-format msgid "Unable to parse security: %s\n" msgstr "" #: ../bin/virt-sandbox.c:226 #, c-format msgid "Unable to start sandbox: %s\n" msgstr "" #: ../bin/virt-sandbox.c:232 #, c-format msgid "Unable to get log console: %s\n" msgstr "" #: ../bin/virt-sandbox.c:239 ../bin/virt-sandbox.c:253 #, c-format msgid "Unable to attach sandbox console: %s\n" msgstr "" #: ../bin/virt-sandbox.c:245 #, c-format msgid "Unable to get app console: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:66 ../bin/virt-sandbox-service-util.c:72 #: ../bin/virt-sandbox-service-util.c:78 #: ../bin/virt-sandbox-service-util.c:104 #: ../bin/virt-sandbox-service-util.c:110 #: ../bin/virt-sandbox-service-util.c:120 #: ../bin/virt-sandbox-service-util.c:127 #: ../bin/virt-sandbox-service-util.c:159 #: ../bin/virt-sandbox-service-util.c:165 #: ../bin/virt-sandbox-service-util.c:175 #: ../bin/virt-sandbox-service-util.c:182 msgid "unknown" msgstr "" #: ../bin/virt-sandbox-service-util.c:71 #, c-format msgid "Unable to read config file %s: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:77 #, c-format msgid "Unable to create new context service: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:103 #, c-format msgid "Unable to start container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:109 #, c-format msgid "Unable to get log console for container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:119 #, c-format msgid "Unable to attach console to stderr in the container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:126 #: ../bin/virt-sandbox-service-util.c:181 #, c-format msgid "Unable to disconnect console from libvirt: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:158 #: ../bin/virt-sandbox-service-util.c:174 #, c-format msgid "Unable to attach to container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:164 #, c-format msgid "Unable to get shell console for container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:240 msgid "Display version information" msgstr "" #: ../bin/virt-sandbox-service-util.c:242 msgid "Start a container" msgstr "" #: ../bin/virt-sandbox-service-util.c:244 msgid "Attach to a container" msgstr "" #: ../bin/virt-sandbox-service-util.c:246 msgid "Pid of process in container to which the command will run" msgstr "" #: ../bin/virt-sandbox-service-util.c:248 msgid "Connect to hypervisor Default:'lxc:///'" msgstr "" #: ../bin/virt-sandbox-service-util.c:253 msgid "" "Run 'virt-sandbox-service-util --help' to see a full list of available " "command line options\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:263 msgid "- Libvirt Sandbox Service" msgstr "" #: ../bin/virt-sandbox-service-util.c:275 #, c-format msgid "" "Invalid command: You must specify --start or --attach\n" "%s" msgstr "" #: ../bin/virt-sandbox-service-util.c:281 #, c-format msgid "Invalid command CONTAINER_NAME required: %s" msgstr "" #: ../bin/virt-sandbox-service-util.c:288 msgid "Libvirt Sandbox Service" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-initrd.c:171 #, c-format msgid "Unable to create temporary directory %s: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-initrd.c:217 #, c-format msgid "Kernel module dir %s does not exist" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-initrd.c:275 #, c-format msgid "Unable to read entries in %s: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-initrd.c:306 #, c-format msgid "Unable to access %s: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-machine.c:446 #, c-format msgid "Kernel image %s does not exist" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:941 #, c-format msgid "Cannot request DHCP with static routes/addresses" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:963 #, c-format msgid "No assignment in filter parameter configuration" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:999 #, c-format msgid "Cannot set static addresses with DHCP" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1019 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1028 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1082 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1090 #, c-format msgid "Unable to parse address %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1058 #, c-format msgid "Cannot set static routes with DHCP" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1076 #, c-format msgid "Missing gateway in route %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1110 #, c-format msgid "Unknown parameter %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1121 #, c-format msgid "Cannot set static routes without addresses" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1285 #, c-format msgid "No mount type prefix on %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1298 #, c-format msgid "Unknown mount type prefix on %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1311 #, c-format msgid "Missing mount source string on %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1411 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1476 #, c-format msgid "No mount with a prefix under %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1578 #, c-format msgid "Unable to get SELinux context of user: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1587 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1596 #, c-format msgid "Unknown security option '%s'" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1630 msgid "Missing mount target in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1635 msgid "Missing mount type in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1647 #, c-format msgid "Unknown mount type %s in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1654 msgid "Missing mount usage in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1663 msgid "Missing mount source in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:2150 msgid "Missing class name in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:2156 #, c-format msgid "Unknown type name '%s' in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:2163 #, c-format msgid "Type name '%s' in config file had wrong parent" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console.c:326 msgid "Unable to isolate console unless direct access flag is set" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:184 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:350 #, c-format msgid "Unable to query terminal attributes: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:201 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:367 #, c-format msgid "Unable to update terminal attributes: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:224 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:395 #, c-format msgid "Unable to restore terminal attributes: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:630 msgid "No devices found for domain" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:660 #, c-format msgid "No device %s found for domain" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:666 #, c-format msgid "Unable to open console %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:699 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:1110 msgid "Console is already attached to a stream" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:628 #, c-format msgid "Unexpected rpc status %u" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:697 #, c-format msgid "Unexpected rpc proc %u" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:753 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:817 #, c-format msgid "Got rx in unexpected state %d" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:1167 msgid "ConsoleRpc is not attached to a stream" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-context.c:253 #: ../libvirt-sandbox/libvirt-sandbox-context.c:396 #, c-format msgid "Domain is not currently running" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-context.c:323 #: ../libvirt-sandbox/libvirt-sandbox-context.c:340 #: ../libvirt-sandbox/libvirt-sandbox-context.c:363 #, c-format msgid "Sandbox is not currently running" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1065 #, c-format msgid "libvirt-sandbox-init-common: unable to create signal pipe: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1084 #, c-format msgid "libvirt-sandbox-init-common: cannot open %s: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1141 #, c-format msgid "libvirt-sandbox-init-common: %s: cannot execute %s: %s\n" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1167 msgid "config file path" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1170 msgid "Run '" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1180 #, c-format msgid "%s: must be launched as root\n" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1187 msgid "Libvirt Sandbox Init Common" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1205 #, c-format msgid "%s: Unable to load config %s: %s\n" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1231 #, c-format msgid "Unsupported configuration type %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:69 msgid "Unable to decode message length" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:76 #, c-format msgid "packet %u bytes received from server too small, want %u" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:86 #, c-format msgid "packet %u bytes received from server too large, want %d" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:130 msgid "Unable to decode message header" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:174 #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:235 #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:303 #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:329 msgid "Unable to encode message length" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:180 msgid "Unable to encode message header" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:192 msgid "Unable to re-encode message length" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:222 msgid "Unable to encode message payload" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:265 msgid "Unable to decode message payload" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:290 #, c-format msgid "Raw data too long to send (%zu bytes needed, %zu bytes available)" msgstr "" libvirt-sandbox-0.5.1+git20160404/po/mr.po000066400000000000000000000342241275305543100176320ustar00rootroot00000000000000# SOME DESCRIPTIVE TITLE. # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # # Translators: msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2015-02-18 14:55+0000\n" "PO-Revision-Date: 2013-04-08 06:10-0400\n" "Last-Translator: FULL NAME \n" "Language-Team: Marathi (http://www.transifex.com/projects/p/fedora/language/mr/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Language: mr\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" "X-Generator: Zanata 3.5.1\n" #: ../bin/virt-sandbox.c:48 ../bin/virt-sandbox-service-util.c:43 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1149 #, c-format msgid "%s version %s\n" msgstr "" #: ../bin/virt-sandbox.c:84 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1161 msgid "display version information" msgstr "" #: ../bin/virt-sandbox.c:86 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1163 msgid "display verbose information" msgstr "" #: ../bin/virt-sandbox.c:88 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1165 msgid "display debugging information" msgstr "" #: ../bin/virt-sandbox.c:90 msgid "connect to hypervisor" msgstr "" #: ../bin/virt-sandbox.c:92 msgid "name of the sandbox" msgstr "" #: ../bin/virt-sandbox.c:94 msgid "root directory of the sandbox" msgstr "" #: ../bin/virt-sandbox.c:96 msgid "mount a filesystem in the guest" msgstr "" #: ../bin/virt-sandbox.c:98 msgid "file to copy into custom dir" msgstr "" #: ../bin/virt-sandbox.c:100 msgid "file contain list of files to include" msgstr "" #: ../bin/virt-sandbox.c:102 msgid "setup network interface properties" msgstr "" #: ../bin/virt-sandbox.c:104 msgid "security properties" msgstr "" #: ../bin/virt-sandbox.c:106 msgid "run the command privileged" msgstr "" #: ../bin/virt-sandbox.c:108 msgid "start a shell" msgstr "" #: ../bin/virt-sandbox.c:110 msgid "kernel version" msgstr "" #: ../bin/virt-sandbox.c:112 msgid "kernel binary path" msgstr "" #: ../bin/virt-sandbox.c:114 msgid "kernel module directory" msgstr "" #: ../bin/virt-sandbox.c:119 msgid "" "Run 'virt-sandbox --help' to see a full list of available command line " "options" msgstr "" #: ../bin/virt-sandbox.c:129 msgid "Libvirt Sandbox" msgstr "" #: ../bin/virt-sandbox.c:131 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1189 msgid "- Libvirt Sandbox" msgstr "" #: ../bin/virt-sandbox.c:144 #, c-format msgid "" "\n" "Usage: %s [OPTIONS] COMMAND-PATH [ARGS...]\n" "\n" "%s\n" "\n" msgstr "" #: ../bin/virt-sandbox.c:160 ../bin/virt-sandbox-service-util.c:65 #, c-format msgid "Unable to open connection: %s\n" msgstr "" #: ../bin/virt-sandbox.c:161 ../bin/virt-sandbox.c:188 #: ../bin/virt-sandbox.c:194 ../bin/virt-sandbox.c:200 #: ../bin/virt-sandbox.c:206 ../bin/virt-sandbox.c:212 #: ../bin/virt-sandbox.c:227 ../bin/virt-sandbox.c:233 #: ../bin/virt-sandbox.c:240 ../bin/virt-sandbox.c:246 #: ../bin/virt-sandbox.c:254 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1247 msgid "Unknown failure" msgstr "" #: ../bin/virt-sandbox.c:187 #, c-format msgid "Unable to parse mounts: %s\n" msgstr "" #: ../bin/virt-sandbox.c:193 #, c-format msgid "Unable to parse includes: %s\n" msgstr "" #: ../bin/virt-sandbox.c:199 #, c-format msgid "Unable to parse include file: %s\n" msgstr "" #: ../bin/virt-sandbox.c:205 #, c-format msgid "Unable to parse networks: %s\n" msgstr "" #: ../bin/virt-sandbox.c:211 #, c-format msgid "Unable to parse security: %s\n" msgstr "" #: ../bin/virt-sandbox.c:226 #, c-format msgid "Unable to start sandbox: %s\n" msgstr "" #: ../bin/virt-sandbox.c:232 #, c-format msgid "Unable to get log console: %s\n" msgstr "" #: ../bin/virt-sandbox.c:239 ../bin/virt-sandbox.c:253 #, c-format msgid "Unable to attach sandbox console: %s\n" msgstr "" #: ../bin/virt-sandbox.c:245 #, c-format msgid "Unable to get app console: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:66 ../bin/virt-sandbox-service-util.c:72 #: ../bin/virt-sandbox-service-util.c:78 #: ../bin/virt-sandbox-service-util.c:104 #: ../bin/virt-sandbox-service-util.c:110 #: ../bin/virt-sandbox-service-util.c:120 #: ../bin/virt-sandbox-service-util.c:127 #: ../bin/virt-sandbox-service-util.c:159 #: ../bin/virt-sandbox-service-util.c:165 #: ../bin/virt-sandbox-service-util.c:175 #: ../bin/virt-sandbox-service-util.c:182 msgid "unknown" msgstr "" #: ../bin/virt-sandbox-service-util.c:71 #, c-format msgid "Unable to read config file %s: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:77 #, c-format msgid "Unable to create new context service: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:103 #, c-format msgid "Unable to start container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:109 #, c-format msgid "Unable to get log console for container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:119 #, c-format msgid "Unable to attach console to stderr in the container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:126 #: ../bin/virt-sandbox-service-util.c:181 #, c-format msgid "Unable to disconnect console from libvirt: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:158 #: ../bin/virt-sandbox-service-util.c:174 #, c-format msgid "Unable to attach to container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:164 #, c-format msgid "Unable to get shell console for container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:240 msgid "Display version information" msgstr "" #: ../bin/virt-sandbox-service-util.c:242 msgid "Start a container" msgstr "" #: ../bin/virt-sandbox-service-util.c:244 msgid "Attach to a container" msgstr "" #: ../bin/virt-sandbox-service-util.c:246 msgid "Pid of process in container to which the command will run" msgstr "" #: ../bin/virt-sandbox-service-util.c:248 msgid "Connect to hypervisor Default:'lxc:///'" msgstr "" #: ../bin/virt-sandbox-service-util.c:253 msgid "" "Run 'virt-sandbox-service-util --help' to see a full list of available " "command line options\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:263 msgid "- Libvirt Sandbox Service" msgstr "" #: ../bin/virt-sandbox-service-util.c:275 #, c-format msgid "" "Invalid command: You must specify --start or --attach\n" "%s" msgstr "" #: ../bin/virt-sandbox-service-util.c:281 #, c-format msgid "Invalid command CONTAINER_NAME required: %s" msgstr "" #: ../bin/virt-sandbox-service-util.c:288 msgid "Libvirt Sandbox Service" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-initrd.c:171 #, c-format msgid "Unable to create temporary directory %s: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-initrd.c:217 #, c-format msgid "Kernel module dir %s does not exist" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-initrd.c:275 #, c-format msgid "Unable to read entries in %s: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-initrd.c:306 #, c-format msgid "Unable to access %s: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-machine.c:446 #, c-format msgid "Kernel image %s does not exist" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:941 #, c-format msgid "Cannot request DHCP with static routes/addresses" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:963 #, c-format msgid "No assignment in filter parameter configuration" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:999 #, c-format msgid "Cannot set static addresses with DHCP" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1019 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1028 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1082 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1090 #, c-format msgid "Unable to parse address %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1058 #, c-format msgid "Cannot set static routes with DHCP" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1076 #, c-format msgid "Missing gateway in route %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1110 #, c-format msgid "Unknown parameter %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1121 #, c-format msgid "Cannot set static routes without addresses" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1285 #, c-format msgid "No mount type prefix on %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1298 #, c-format msgid "Unknown mount type prefix on %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1311 #, c-format msgid "Missing mount source string on %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1411 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1476 #, c-format msgid "No mount with a prefix under %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1578 #, c-format msgid "Unable to get SELinux context of user: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1587 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1596 #, c-format msgid "Unknown security option '%s'" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1630 msgid "Missing mount target in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1635 msgid "Missing mount type in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1647 #, c-format msgid "Unknown mount type %s in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1654 msgid "Missing mount usage in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1663 msgid "Missing mount source in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:2150 msgid "Missing class name in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:2156 #, c-format msgid "Unknown type name '%s' in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:2163 #, c-format msgid "Type name '%s' in config file had wrong parent" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console.c:326 msgid "Unable to isolate console unless direct access flag is set" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:184 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:350 #, c-format msgid "Unable to query terminal attributes: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:201 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:367 #, c-format msgid "Unable to update terminal attributes: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:224 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:395 #, c-format msgid "Unable to restore terminal attributes: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:630 msgid "No devices found for domain" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:660 #, c-format msgid "No device %s found for domain" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:666 #, c-format msgid "Unable to open console %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:699 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:1110 msgid "Console is already attached to a stream" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:628 #, c-format msgid "Unexpected rpc status %u" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:697 #, c-format msgid "Unexpected rpc proc %u" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:753 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:817 #, c-format msgid "Got rx in unexpected state %d" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:1167 msgid "ConsoleRpc is not attached to a stream" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-context.c:253 #: ../libvirt-sandbox/libvirt-sandbox-context.c:396 #, c-format msgid "Domain is not currently running" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-context.c:323 #: ../libvirt-sandbox/libvirt-sandbox-context.c:340 #: ../libvirt-sandbox/libvirt-sandbox-context.c:363 #, c-format msgid "Sandbox is not currently running" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1065 #, c-format msgid "libvirt-sandbox-init-common: unable to create signal pipe: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1084 #, c-format msgid "libvirt-sandbox-init-common: cannot open %s: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1141 #, c-format msgid "libvirt-sandbox-init-common: %s: cannot execute %s: %s\n" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1167 msgid "config file path" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1170 msgid "Run '" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1180 #, c-format msgid "%s: must be launched as root\n" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1187 msgid "Libvirt Sandbox Init Common" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1205 #, c-format msgid "%s: Unable to load config %s: %s\n" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1231 #, c-format msgid "Unsupported configuration type %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:69 msgid "Unable to decode message length" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:76 #, c-format msgid "packet %u bytes received from server too small, want %u" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:86 #, c-format msgid "packet %u bytes received from server too large, want %d" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:130 msgid "Unable to decode message header" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:174 #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:235 #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:303 #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:329 msgid "Unable to encode message length" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:180 msgid "Unable to encode message header" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:192 msgid "Unable to re-encode message length" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:222 msgid "Unable to encode message payload" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:265 msgid "Unable to decode message payload" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:290 #, c-format msgid "Raw data too long to send (%zu bytes needed, %zu bytes available)" msgstr "" libvirt-sandbox-0.5.1+git20160404/po/ms.po000066400000000000000000000342131275305543100176310ustar00rootroot00000000000000# SOME DESCRIPTIVE TITLE. # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # # Translators: msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2015-02-18 14:55+0000\n" "PO-Revision-Date: 2013-04-08 06:10-0400\n" "Last-Translator: FULL NAME \n" "Language-Team: Malay (http://www.transifex.com/projects/p/fedora/language/ms/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Language: ms\n" "Plural-Forms: nplurals=1; plural=0;\n" "X-Generator: Zanata 3.5.1\n" #: ../bin/virt-sandbox.c:48 ../bin/virt-sandbox-service-util.c:43 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1149 #, c-format msgid "%s version %s\n" msgstr "" #: ../bin/virt-sandbox.c:84 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1161 msgid "display version information" msgstr "" #: ../bin/virt-sandbox.c:86 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1163 msgid "display verbose information" msgstr "" #: ../bin/virt-sandbox.c:88 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1165 msgid "display debugging information" msgstr "" #: ../bin/virt-sandbox.c:90 msgid "connect to hypervisor" msgstr "" #: ../bin/virt-sandbox.c:92 msgid "name of the sandbox" msgstr "" #: ../bin/virt-sandbox.c:94 msgid "root directory of the sandbox" msgstr "" #: ../bin/virt-sandbox.c:96 msgid "mount a filesystem in the guest" msgstr "" #: ../bin/virt-sandbox.c:98 msgid "file to copy into custom dir" msgstr "" #: ../bin/virt-sandbox.c:100 msgid "file contain list of files to include" msgstr "" #: ../bin/virt-sandbox.c:102 msgid "setup network interface properties" msgstr "" #: ../bin/virt-sandbox.c:104 msgid "security properties" msgstr "" #: ../bin/virt-sandbox.c:106 msgid "run the command privileged" msgstr "" #: ../bin/virt-sandbox.c:108 msgid "start a shell" msgstr "" #: ../bin/virt-sandbox.c:110 msgid "kernel version" msgstr "" #: ../bin/virt-sandbox.c:112 msgid "kernel binary path" msgstr "" #: ../bin/virt-sandbox.c:114 msgid "kernel module directory" msgstr "" #: ../bin/virt-sandbox.c:119 msgid "" "Run 'virt-sandbox --help' to see a full list of available command line " "options" msgstr "" #: ../bin/virt-sandbox.c:129 msgid "Libvirt Sandbox" msgstr "" #: ../bin/virt-sandbox.c:131 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1189 msgid "- Libvirt Sandbox" msgstr "" #: ../bin/virt-sandbox.c:144 #, c-format msgid "" "\n" "Usage: %s [OPTIONS] COMMAND-PATH [ARGS...]\n" "\n" "%s\n" "\n" msgstr "" #: ../bin/virt-sandbox.c:160 ../bin/virt-sandbox-service-util.c:65 #, c-format msgid "Unable to open connection: %s\n" msgstr "" #: ../bin/virt-sandbox.c:161 ../bin/virt-sandbox.c:188 #: ../bin/virt-sandbox.c:194 ../bin/virt-sandbox.c:200 #: ../bin/virt-sandbox.c:206 ../bin/virt-sandbox.c:212 #: ../bin/virt-sandbox.c:227 ../bin/virt-sandbox.c:233 #: ../bin/virt-sandbox.c:240 ../bin/virt-sandbox.c:246 #: ../bin/virt-sandbox.c:254 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1247 msgid "Unknown failure" msgstr "" #: ../bin/virt-sandbox.c:187 #, c-format msgid "Unable to parse mounts: %s\n" msgstr "" #: ../bin/virt-sandbox.c:193 #, c-format msgid "Unable to parse includes: %s\n" msgstr "" #: ../bin/virt-sandbox.c:199 #, c-format msgid "Unable to parse include file: %s\n" msgstr "" #: ../bin/virt-sandbox.c:205 #, c-format msgid "Unable to parse networks: %s\n" msgstr "" #: ../bin/virt-sandbox.c:211 #, c-format msgid "Unable to parse security: %s\n" msgstr "" #: ../bin/virt-sandbox.c:226 #, c-format msgid "Unable to start sandbox: %s\n" msgstr "" #: ../bin/virt-sandbox.c:232 #, c-format msgid "Unable to get log console: %s\n" msgstr "" #: ../bin/virt-sandbox.c:239 ../bin/virt-sandbox.c:253 #, c-format msgid "Unable to attach sandbox console: %s\n" msgstr "" #: ../bin/virt-sandbox.c:245 #, c-format msgid "Unable to get app console: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:66 ../bin/virt-sandbox-service-util.c:72 #: ../bin/virt-sandbox-service-util.c:78 #: ../bin/virt-sandbox-service-util.c:104 #: ../bin/virt-sandbox-service-util.c:110 #: ../bin/virt-sandbox-service-util.c:120 #: ../bin/virt-sandbox-service-util.c:127 #: ../bin/virt-sandbox-service-util.c:159 #: ../bin/virt-sandbox-service-util.c:165 #: ../bin/virt-sandbox-service-util.c:175 #: ../bin/virt-sandbox-service-util.c:182 msgid "unknown" msgstr "" #: ../bin/virt-sandbox-service-util.c:71 #, c-format msgid "Unable to read config file %s: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:77 #, c-format msgid "Unable to create new context service: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:103 #, c-format msgid "Unable to start container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:109 #, c-format msgid "Unable to get log console for container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:119 #, c-format msgid "Unable to attach console to stderr in the container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:126 #: ../bin/virt-sandbox-service-util.c:181 #, c-format msgid "Unable to disconnect console from libvirt: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:158 #: ../bin/virt-sandbox-service-util.c:174 #, c-format msgid "Unable to attach to container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:164 #, c-format msgid "Unable to get shell console for container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:240 msgid "Display version information" msgstr "" #: ../bin/virt-sandbox-service-util.c:242 msgid "Start a container" msgstr "" #: ../bin/virt-sandbox-service-util.c:244 msgid "Attach to a container" msgstr "" #: ../bin/virt-sandbox-service-util.c:246 msgid "Pid of process in container to which the command will run" msgstr "" #: ../bin/virt-sandbox-service-util.c:248 msgid "Connect to hypervisor Default:'lxc:///'" msgstr "" #: ../bin/virt-sandbox-service-util.c:253 msgid "" "Run 'virt-sandbox-service-util --help' to see a full list of available " "command line options\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:263 msgid "- Libvirt Sandbox Service" msgstr "" #: ../bin/virt-sandbox-service-util.c:275 #, c-format msgid "" "Invalid command: You must specify --start or --attach\n" "%s" msgstr "" #: ../bin/virt-sandbox-service-util.c:281 #, c-format msgid "Invalid command CONTAINER_NAME required: %s" msgstr "" #: ../bin/virt-sandbox-service-util.c:288 msgid "Libvirt Sandbox Service" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-initrd.c:171 #, c-format msgid "Unable to create temporary directory %s: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-initrd.c:217 #, c-format msgid "Kernel module dir %s does not exist" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-initrd.c:275 #, c-format msgid "Unable to read entries in %s: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-initrd.c:306 #, c-format msgid "Unable to access %s: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-machine.c:446 #, c-format msgid "Kernel image %s does not exist" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:941 #, c-format msgid "Cannot request DHCP with static routes/addresses" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:963 #, c-format msgid "No assignment in filter parameter configuration" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:999 #, c-format msgid "Cannot set static addresses with DHCP" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1019 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1028 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1082 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1090 #, c-format msgid "Unable to parse address %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1058 #, c-format msgid "Cannot set static routes with DHCP" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1076 #, c-format msgid "Missing gateway in route %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1110 #, c-format msgid "Unknown parameter %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1121 #, c-format msgid "Cannot set static routes without addresses" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1285 #, c-format msgid "No mount type prefix on %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1298 #, c-format msgid "Unknown mount type prefix on %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1311 #, c-format msgid "Missing mount source string on %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1411 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1476 #, c-format msgid "No mount with a prefix under %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1578 #, c-format msgid "Unable to get SELinux context of user: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1587 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1596 #, c-format msgid "Unknown security option '%s'" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1630 msgid "Missing mount target in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1635 msgid "Missing mount type in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1647 #, c-format msgid "Unknown mount type %s in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1654 msgid "Missing mount usage in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1663 msgid "Missing mount source in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:2150 msgid "Missing class name in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:2156 #, c-format msgid "Unknown type name '%s' in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:2163 #, c-format msgid "Type name '%s' in config file had wrong parent" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console.c:326 msgid "Unable to isolate console unless direct access flag is set" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:184 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:350 #, c-format msgid "Unable to query terminal attributes: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:201 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:367 #, c-format msgid "Unable to update terminal attributes: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:224 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:395 #, c-format msgid "Unable to restore terminal attributes: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:630 msgid "No devices found for domain" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:660 #, c-format msgid "No device %s found for domain" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:666 #, c-format msgid "Unable to open console %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:699 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:1110 msgid "Console is already attached to a stream" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:628 #, c-format msgid "Unexpected rpc status %u" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:697 #, c-format msgid "Unexpected rpc proc %u" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:753 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:817 #, c-format msgid "Got rx in unexpected state %d" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:1167 msgid "ConsoleRpc is not attached to a stream" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-context.c:253 #: ../libvirt-sandbox/libvirt-sandbox-context.c:396 #, c-format msgid "Domain is not currently running" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-context.c:323 #: ../libvirt-sandbox/libvirt-sandbox-context.c:340 #: ../libvirt-sandbox/libvirt-sandbox-context.c:363 #, c-format msgid "Sandbox is not currently running" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1065 #, c-format msgid "libvirt-sandbox-init-common: unable to create signal pipe: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1084 #, c-format msgid "libvirt-sandbox-init-common: cannot open %s: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1141 #, c-format msgid "libvirt-sandbox-init-common: %s: cannot execute %s: %s\n" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1167 msgid "config file path" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1170 msgid "Run '" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1180 #, c-format msgid "%s: must be launched as root\n" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1187 msgid "Libvirt Sandbox Init Common" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1205 #, c-format msgid "%s: Unable to load config %s: %s\n" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1231 #, c-format msgid "Unsupported configuration type %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:69 msgid "Unable to decode message length" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:76 #, c-format msgid "packet %u bytes received from server too small, want %u" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:86 #, c-format msgid "packet %u bytes received from server too large, want %d" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:130 msgid "Unable to decode message header" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:174 #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:235 #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:303 #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:329 msgid "Unable to encode message length" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:180 msgid "Unable to encode message header" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:192 msgid "Unable to re-encode message length" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:222 msgid "Unable to encode message payload" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:265 msgid "Unable to decode message payload" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:290 #, c-format msgid "Raw data too long to send (%zu bytes needed, %zu bytes available)" msgstr "" libvirt-sandbox-0.5.1+git20160404/po/nb.po000066400000000000000000000342011275305543100176060ustar00rootroot00000000000000# SOME DESCRIPTIVE TITLE. # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # # Translators: msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2015-02-18 14:55+0000\n" "PO-Revision-Date: 2013-04-08 06:10-0400\n" "Last-Translator: FULL NAME \n" "Language-Team: Norwegian Bokmål \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Language: nb\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" "X-Generator: Zanata 3.5.1\n" #: ../bin/virt-sandbox.c:48 ../bin/virt-sandbox-service-util.c:43 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1149 #, c-format msgid "%s version %s\n" msgstr "" #: ../bin/virt-sandbox.c:84 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1161 msgid "display version information" msgstr "" #: ../bin/virt-sandbox.c:86 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1163 msgid "display verbose information" msgstr "" #: ../bin/virt-sandbox.c:88 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1165 msgid "display debugging information" msgstr "" #: ../bin/virt-sandbox.c:90 msgid "connect to hypervisor" msgstr "" #: ../bin/virt-sandbox.c:92 msgid "name of the sandbox" msgstr "" #: ../bin/virt-sandbox.c:94 msgid "root directory of the sandbox" msgstr "" #: ../bin/virt-sandbox.c:96 msgid "mount a filesystem in the guest" msgstr "" #: ../bin/virt-sandbox.c:98 msgid "file to copy into custom dir" msgstr "" #: ../bin/virt-sandbox.c:100 msgid "file contain list of files to include" msgstr "" #: ../bin/virt-sandbox.c:102 msgid "setup network interface properties" msgstr "" #: ../bin/virt-sandbox.c:104 msgid "security properties" msgstr "" #: ../bin/virt-sandbox.c:106 msgid "run the command privileged" msgstr "" #: ../bin/virt-sandbox.c:108 msgid "start a shell" msgstr "" #: ../bin/virt-sandbox.c:110 msgid "kernel version" msgstr "" #: ../bin/virt-sandbox.c:112 msgid "kernel binary path" msgstr "" #: ../bin/virt-sandbox.c:114 msgid "kernel module directory" msgstr "" #: ../bin/virt-sandbox.c:119 msgid "" "Run 'virt-sandbox --help' to see a full list of available command line " "options" msgstr "" #: ../bin/virt-sandbox.c:129 msgid "Libvirt Sandbox" msgstr "" #: ../bin/virt-sandbox.c:131 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1189 msgid "- Libvirt Sandbox" msgstr "" #: ../bin/virt-sandbox.c:144 #, c-format msgid "" "\n" "Usage: %s [OPTIONS] COMMAND-PATH [ARGS...]\n" "\n" "%s\n" "\n" msgstr "" #: ../bin/virt-sandbox.c:160 ../bin/virt-sandbox-service-util.c:65 #, c-format msgid "Unable to open connection: %s\n" msgstr "" #: ../bin/virt-sandbox.c:161 ../bin/virt-sandbox.c:188 #: ../bin/virt-sandbox.c:194 ../bin/virt-sandbox.c:200 #: ../bin/virt-sandbox.c:206 ../bin/virt-sandbox.c:212 #: ../bin/virt-sandbox.c:227 ../bin/virt-sandbox.c:233 #: ../bin/virt-sandbox.c:240 ../bin/virt-sandbox.c:246 #: ../bin/virt-sandbox.c:254 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1247 msgid "Unknown failure" msgstr "" #: ../bin/virt-sandbox.c:187 #, c-format msgid "Unable to parse mounts: %s\n" msgstr "" #: ../bin/virt-sandbox.c:193 #, c-format msgid "Unable to parse includes: %s\n" msgstr "" #: ../bin/virt-sandbox.c:199 #, c-format msgid "Unable to parse include file: %s\n" msgstr "" #: ../bin/virt-sandbox.c:205 #, c-format msgid "Unable to parse networks: %s\n" msgstr "" #: ../bin/virt-sandbox.c:211 #, c-format msgid "Unable to parse security: %s\n" msgstr "" #: ../bin/virt-sandbox.c:226 #, c-format msgid "Unable to start sandbox: %s\n" msgstr "" #: ../bin/virt-sandbox.c:232 #, c-format msgid "Unable to get log console: %s\n" msgstr "" #: ../bin/virt-sandbox.c:239 ../bin/virt-sandbox.c:253 #, c-format msgid "Unable to attach sandbox console: %s\n" msgstr "" #: ../bin/virt-sandbox.c:245 #, c-format msgid "Unable to get app console: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:66 ../bin/virt-sandbox-service-util.c:72 #: ../bin/virt-sandbox-service-util.c:78 #: ../bin/virt-sandbox-service-util.c:104 #: ../bin/virt-sandbox-service-util.c:110 #: ../bin/virt-sandbox-service-util.c:120 #: ../bin/virt-sandbox-service-util.c:127 #: ../bin/virt-sandbox-service-util.c:159 #: ../bin/virt-sandbox-service-util.c:165 #: ../bin/virt-sandbox-service-util.c:175 #: ../bin/virt-sandbox-service-util.c:182 msgid "unknown" msgstr "" #: ../bin/virt-sandbox-service-util.c:71 #, c-format msgid "Unable to read config file %s: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:77 #, c-format msgid "Unable to create new context service: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:103 #, c-format msgid "Unable to start container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:109 #, c-format msgid "Unable to get log console for container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:119 #, c-format msgid "Unable to attach console to stderr in the container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:126 #: ../bin/virt-sandbox-service-util.c:181 #, c-format msgid "Unable to disconnect console from libvirt: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:158 #: ../bin/virt-sandbox-service-util.c:174 #, c-format msgid "Unable to attach to container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:164 #, c-format msgid "Unable to get shell console for container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:240 msgid "Display version information" msgstr "" #: ../bin/virt-sandbox-service-util.c:242 msgid "Start a container" msgstr "" #: ../bin/virt-sandbox-service-util.c:244 msgid "Attach to a container" msgstr "" #: ../bin/virt-sandbox-service-util.c:246 msgid "Pid of process in container to which the command will run" msgstr "" #: ../bin/virt-sandbox-service-util.c:248 msgid "Connect to hypervisor Default:'lxc:///'" msgstr "" #: ../bin/virt-sandbox-service-util.c:253 msgid "" "Run 'virt-sandbox-service-util --help' to see a full list of available " "command line options\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:263 msgid "- Libvirt Sandbox Service" msgstr "" #: ../bin/virt-sandbox-service-util.c:275 #, c-format msgid "" "Invalid command: You must specify --start or --attach\n" "%s" msgstr "" #: ../bin/virt-sandbox-service-util.c:281 #, c-format msgid "Invalid command CONTAINER_NAME required: %s" msgstr "" #: ../bin/virt-sandbox-service-util.c:288 msgid "Libvirt Sandbox Service" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-initrd.c:171 #, c-format msgid "Unable to create temporary directory %s: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-initrd.c:217 #, c-format msgid "Kernel module dir %s does not exist" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-initrd.c:275 #, c-format msgid "Unable to read entries in %s: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-initrd.c:306 #, c-format msgid "Unable to access %s: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-machine.c:446 #, c-format msgid "Kernel image %s does not exist" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:941 #, c-format msgid "Cannot request DHCP with static routes/addresses" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:963 #, c-format msgid "No assignment in filter parameter configuration" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:999 #, c-format msgid "Cannot set static addresses with DHCP" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1019 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1028 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1082 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1090 #, c-format msgid "Unable to parse address %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1058 #, c-format msgid "Cannot set static routes with DHCP" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1076 #, c-format msgid "Missing gateway in route %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1110 #, c-format msgid "Unknown parameter %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1121 #, c-format msgid "Cannot set static routes without addresses" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1285 #, c-format msgid "No mount type prefix on %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1298 #, c-format msgid "Unknown mount type prefix on %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1311 #, c-format msgid "Missing mount source string on %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1411 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1476 #, c-format msgid "No mount with a prefix under %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1578 #, c-format msgid "Unable to get SELinux context of user: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1587 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1596 #, c-format msgid "Unknown security option '%s'" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1630 msgid "Missing mount target in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1635 msgid "Missing mount type in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1647 #, c-format msgid "Unknown mount type %s in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1654 msgid "Missing mount usage in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1663 msgid "Missing mount source in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:2150 msgid "Missing class name in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:2156 #, c-format msgid "Unknown type name '%s' in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:2163 #, c-format msgid "Type name '%s' in config file had wrong parent" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console.c:326 msgid "Unable to isolate console unless direct access flag is set" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:184 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:350 #, c-format msgid "Unable to query terminal attributes: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:201 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:367 #, c-format msgid "Unable to update terminal attributes: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:224 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:395 #, c-format msgid "Unable to restore terminal attributes: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:630 msgid "No devices found for domain" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:660 #, c-format msgid "No device %s found for domain" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:666 #, c-format msgid "Unable to open console %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:699 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:1110 msgid "Console is already attached to a stream" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:628 #, c-format msgid "Unexpected rpc status %u" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:697 #, c-format msgid "Unexpected rpc proc %u" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:753 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:817 #, c-format msgid "Got rx in unexpected state %d" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:1167 msgid "ConsoleRpc is not attached to a stream" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-context.c:253 #: ../libvirt-sandbox/libvirt-sandbox-context.c:396 #, c-format msgid "Domain is not currently running" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-context.c:323 #: ../libvirt-sandbox/libvirt-sandbox-context.c:340 #: ../libvirt-sandbox/libvirt-sandbox-context.c:363 #, c-format msgid "Sandbox is not currently running" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1065 #, c-format msgid "libvirt-sandbox-init-common: unable to create signal pipe: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1084 #, c-format msgid "libvirt-sandbox-init-common: cannot open %s: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1141 #, c-format msgid "libvirt-sandbox-init-common: %s: cannot execute %s: %s\n" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1167 msgid "config file path" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1170 msgid "Run '" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1180 #, c-format msgid "%s: must be launched as root\n" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1187 msgid "Libvirt Sandbox Init Common" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1205 #, c-format msgid "%s: Unable to load config %s: %s\n" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1231 #, c-format msgid "Unsupported configuration type %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:69 msgid "Unable to decode message length" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:76 #, c-format msgid "packet %u bytes received from server too small, want %u" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:86 #, c-format msgid "packet %u bytes received from server too large, want %d" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:130 msgid "Unable to decode message header" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:174 #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:235 #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:303 #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:329 msgid "Unable to encode message length" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:180 msgid "Unable to encode message header" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:192 msgid "Unable to re-encode message length" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:222 msgid "Unable to encode message payload" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:265 msgid "Unable to decode message payload" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:290 #, c-format msgid "Raw data too long to send (%zu bytes needed, %zu bytes available)" msgstr "" libvirt-sandbox-0.5.1+git20160404/po/nds.po000066400000000000000000000342041275305543100177760ustar00rootroot00000000000000# SOME DESCRIPTIVE TITLE. # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # # Translators: msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2015-02-18 14:55+0000\n" "PO-Revision-Date: 2013-04-08 06:10-0400\n" "Last-Translator: FULL NAME \n" "Language-Team: Low German \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Language: nds\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" "X-Generator: Zanata 3.5.1\n" #: ../bin/virt-sandbox.c:48 ../bin/virt-sandbox-service-util.c:43 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1149 #, c-format msgid "%s version %s\n" msgstr "" #: ../bin/virt-sandbox.c:84 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1161 msgid "display version information" msgstr "" #: ../bin/virt-sandbox.c:86 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1163 msgid "display verbose information" msgstr "" #: ../bin/virt-sandbox.c:88 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1165 msgid "display debugging information" msgstr "" #: ../bin/virt-sandbox.c:90 msgid "connect to hypervisor" msgstr "" #: ../bin/virt-sandbox.c:92 msgid "name of the sandbox" msgstr "" #: ../bin/virt-sandbox.c:94 msgid "root directory of the sandbox" msgstr "" #: ../bin/virt-sandbox.c:96 msgid "mount a filesystem in the guest" msgstr "" #: ../bin/virt-sandbox.c:98 msgid "file to copy into custom dir" msgstr "" #: ../bin/virt-sandbox.c:100 msgid "file contain list of files to include" msgstr "" #: ../bin/virt-sandbox.c:102 msgid "setup network interface properties" msgstr "" #: ../bin/virt-sandbox.c:104 msgid "security properties" msgstr "" #: ../bin/virt-sandbox.c:106 msgid "run the command privileged" msgstr "" #: ../bin/virt-sandbox.c:108 msgid "start a shell" msgstr "" #: ../bin/virt-sandbox.c:110 msgid "kernel version" msgstr "" #: ../bin/virt-sandbox.c:112 msgid "kernel binary path" msgstr "" #: ../bin/virt-sandbox.c:114 msgid "kernel module directory" msgstr "" #: ../bin/virt-sandbox.c:119 msgid "" "Run 'virt-sandbox --help' to see a full list of available command line " "options" msgstr "" #: ../bin/virt-sandbox.c:129 msgid "Libvirt Sandbox" msgstr "" #: ../bin/virt-sandbox.c:131 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1189 msgid "- Libvirt Sandbox" msgstr "" #: ../bin/virt-sandbox.c:144 #, c-format msgid "" "\n" "Usage: %s [OPTIONS] COMMAND-PATH [ARGS...]\n" "\n" "%s\n" "\n" msgstr "" #: ../bin/virt-sandbox.c:160 ../bin/virt-sandbox-service-util.c:65 #, c-format msgid "Unable to open connection: %s\n" msgstr "" #: ../bin/virt-sandbox.c:161 ../bin/virt-sandbox.c:188 #: ../bin/virt-sandbox.c:194 ../bin/virt-sandbox.c:200 #: ../bin/virt-sandbox.c:206 ../bin/virt-sandbox.c:212 #: ../bin/virt-sandbox.c:227 ../bin/virt-sandbox.c:233 #: ../bin/virt-sandbox.c:240 ../bin/virt-sandbox.c:246 #: ../bin/virt-sandbox.c:254 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1247 msgid "Unknown failure" msgstr "" #: ../bin/virt-sandbox.c:187 #, c-format msgid "Unable to parse mounts: %s\n" msgstr "" #: ../bin/virt-sandbox.c:193 #, c-format msgid "Unable to parse includes: %s\n" msgstr "" #: ../bin/virt-sandbox.c:199 #, c-format msgid "Unable to parse include file: %s\n" msgstr "" #: ../bin/virt-sandbox.c:205 #, c-format msgid "Unable to parse networks: %s\n" msgstr "" #: ../bin/virt-sandbox.c:211 #, c-format msgid "Unable to parse security: %s\n" msgstr "" #: ../bin/virt-sandbox.c:226 #, c-format msgid "Unable to start sandbox: %s\n" msgstr "" #: ../bin/virt-sandbox.c:232 #, c-format msgid "Unable to get log console: %s\n" msgstr "" #: ../bin/virt-sandbox.c:239 ../bin/virt-sandbox.c:253 #, c-format msgid "Unable to attach sandbox console: %s\n" msgstr "" #: ../bin/virt-sandbox.c:245 #, c-format msgid "Unable to get app console: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:66 ../bin/virt-sandbox-service-util.c:72 #: ../bin/virt-sandbox-service-util.c:78 #: ../bin/virt-sandbox-service-util.c:104 #: ../bin/virt-sandbox-service-util.c:110 #: ../bin/virt-sandbox-service-util.c:120 #: ../bin/virt-sandbox-service-util.c:127 #: ../bin/virt-sandbox-service-util.c:159 #: ../bin/virt-sandbox-service-util.c:165 #: ../bin/virt-sandbox-service-util.c:175 #: ../bin/virt-sandbox-service-util.c:182 msgid "unknown" msgstr "" #: ../bin/virt-sandbox-service-util.c:71 #, c-format msgid "Unable to read config file %s: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:77 #, c-format msgid "Unable to create new context service: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:103 #, c-format msgid "Unable to start container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:109 #, c-format msgid "Unable to get log console for container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:119 #, c-format msgid "Unable to attach console to stderr in the container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:126 #: ../bin/virt-sandbox-service-util.c:181 #, c-format msgid "Unable to disconnect console from libvirt: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:158 #: ../bin/virt-sandbox-service-util.c:174 #, c-format msgid "Unable to attach to container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:164 #, c-format msgid "Unable to get shell console for container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:240 msgid "Display version information" msgstr "" #: ../bin/virt-sandbox-service-util.c:242 msgid "Start a container" msgstr "" #: ../bin/virt-sandbox-service-util.c:244 msgid "Attach to a container" msgstr "" #: ../bin/virt-sandbox-service-util.c:246 msgid "Pid of process in container to which the command will run" msgstr "" #: ../bin/virt-sandbox-service-util.c:248 msgid "Connect to hypervisor Default:'lxc:///'" msgstr "" #: ../bin/virt-sandbox-service-util.c:253 msgid "" "Run 'virt-sandbox-service-util --help' to see a full list of available " "command line options\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:263 msgid "- Libvirt Sandbox Service" msgstr "" #: ../bin/virt-sandbox-service-util.c:275 #, c-format msgid "" "Invalid command: You must specify --start or --attach\n" "%s" msgstr "" #: ../bin/virt-sandbox-service-util.c:281 #, c-format msgid "Invalid command CONTAINER_NAME required: %s" msgstr "" #: ../bin/virt-sandbox-service-util.c:288 msgid "Libvirt Sandbox Service" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-initrd.c:171 #, c-format msgid "Unable to create temporary directory %s: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-initrd.c:217 #, c-format msgid "Kernel module dir %s does not exist" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-initrd.c:275 #, c-format msgid "Unable to read entries in %s: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-initrd.c:306 #, c-format msgid "Unable to access %s: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-machine.c:446 #, c-format msgid "Kernel image %s does not exist" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:941 #, c-format msgid "Cannot request DHCP with static routes/addresses" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:963 #, c-format msgid "No assignment in filter parameter configuration" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:999 #, c-format msgid "Cannot set static addresses with DHCP" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1019 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1028 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1082 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1090 #, c-format msgid "Unable to parse address %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1058 #, c-format msgid "Cannot set static routes with DHCP" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1076 #, c-format msgid "Missing gateway in route %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1110 #, c-format msgid "Unknown parameter %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1121 #, c-format msgid "Cannot set static routes without addresses" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1285 #, c-format msgid "No mount type prefix on %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1298 #, c-format msgid "Unknown mount type prefix on %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1311 #, c-format msgid "Missing mount source string on %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1411 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1476 #, c-format msgid "No mount with a prefix under %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1578 #, c-format msgid "Unable to get SELinux context of user: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1587 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1596 #, c-format msgid "Unknown security option '%s'" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1630 msgid "Missing mount target in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1635 msgid "Missing mount type in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1647 #, c-format msgid "Unknown mount type %s in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1654 msgid "Missing mount usage in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1663 msgid "Missing mount source in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:2150 msgid "Missing class name in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:2156 #, c-format msgid "Unknown type name '%s' in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:2163 #, c-format msgid "Type name '%s' in config file had wrong parent" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console.c:326 msgid "Unable to isolate console unless direct access flag is set" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:184 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:350 #, c-format msgid "Unable to query terminal attributes: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:201 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:367 #, c-format msgid "Unable to update terminal attributes: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:224 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:395 #, c-format msgid "Unable to restore terminal attributes: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:630 msgid "No devices found for domain" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:660 #, c-format msgid "No device %s found for domain" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:666 #, c-format msgid "Unable to open console %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:699 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:1110 msgid "Console is already attached to a stream" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:628 #, c-format msgid "Unexpected rpc status %u" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:697 #, c-format msgid "Unexpected rpc proc %u" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:753 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:817 #, c-format msgid "Got rx in unexpected state %d" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:1167 msgid "ConsoleRpc is not attached to a stream" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-context.c:253 #: ../libvirt-sandbox/libvirt-sandbox-context.c:396 #, c-format msgid "Domain is not currently running" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-context.c:323 #: ../libvirt-sandbox/libvirt-sandbox-context.c:340 #: ../libvirt-sandbox/libvirt-sandbox-context.c:363 #, c-format msgid "Sandbox is not currently running" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1065 #, c-format msgid "libvirt-sandbox-init-common: unable to create signal pipe: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1084 #, c-format msgid "libvirt-sandbox-init-common: cannot open %s: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1141 #, c-format msgid "libvirt-sandbox-init-common: %s: cannot execute %s: %s\n" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1167 msgid "config file path" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1170 msgid "Run '" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1180 #, c-format msgid "%s: must be launched as root\n" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1187 msgid "Libvirt Sandbox Init Common" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1205 #, c-format msgid "%s: Unable to load config %s: %s\n" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1231 #, c-format msgid "Unsupported configuration type %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:69 msgid "Unable to decode message length" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:76 #, c-format msgid "packet %u bytes received from server too small, want %u" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:86 #, c-format msgid "packet %u bytes received from server too large, want %d" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:130 msgid "Unable to decode message header" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:174 #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:235 #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:303 #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:329 msgid "Unable to encode message length" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:180 msgid "Unable to encode message header" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:192 msgid "Unable to re-encode message length" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:222 msgid "Unable to encode message payload" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:265 msgid "Unable to decode message payload" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:290 #, c-format msgid "Raw data too long to send (%zu bytes needed, %zu bytes available)" msgstr "" libvirt-sandbox-0.5.1+git20160404/po/ne.po000066400000000000000000000342231275305543100176150ustar00rootroot00000000000000# SOME DESCRIPTIVE TITLE. # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # # Translators: msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2015-02-18 14:55+0000\n" "PO-Revision-Date: 2013-04-08 06:10-0400\n" "Last-Translator: FULL NAME \n" "Language-Team: Nepali (http://www.transifex.com/projects/p/fedora/language/ne/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Language: ne\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" "X-Generator: Zanata 3.5.1\n" #: ../bin/virt-sandbox.c:48 ../bin/virt-sandbox-service-util.c:43 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1149 #, c-format msgid "%s version %s\n" msgstr "" #: ../bin/virt-sandbox.c:84 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1161 msgid "display version information" msgstr "" #: ../bin/virt-sandbox.c:86 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1163 msgid "display verbose information" msgstr "" #: ../bin/virt-sandbox.c:88 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1165 msgid "display debugging information" msgstr "" #: ../bin/virt-sandbox.c:90 msgid "connect to hypervisor" msgstr "" #: ../bin/virt-sandbox.c:92 msgid "name of the sandbox" msgstr "" #: ../bin/virt-sandbox.c:94 msgid "root directory of the sandbox" msgstr "" #: ../bin/virt-sandbox.c:96 msgid "mount a filesystem in the guest" msgstr "" #: ../bin/virt-sandbox.c:98 msgid "file to copy into custom dir" msgstr "" #: ../bin/virt-sandbox.c:100 msgid "file contain list of files to include" msgstr "" #: ../bin/virt-sandbox.c:102 msgid "setup network interface properties" msgstr "" #: ../bin/virt-sandbox.c:104 msgid "security properties" msgstr "" #: ../bin/virt-sandbox.c:106 msgid "run the command privileged" msgstr "" #: ../bin/virt-sandbox.c:108 msgid "start a shell" msgstr "" #: ../bin/virt-sandbox.c:110 msgid "kernel version" msgstr "" #: ../bin/virt-sandbox.c:112 msgid "kernel binary path" msgstr "" #: ../bin/virt-sandbox.c:114 msgid "kernel module directory" msgstr "" #: ../bin/virt-sandbox.c:119 msgid "" "Run 'virt-sandbox --help' to see a full list of available command line " "options" msgstr "" #: ../bin/virt-sandbox.c:129 msgid "Libvirt Sandbox" msgstr "" #: ../bin/virt-sandbox.c:131 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1189 msgid "- Libvirt Sandbox" msgstr "" #: ../bin/virt-sandbox.c:144 #, c-format msgid "" "\n" "Usage: %s [OPTIONS] COMMAND-PATH [ARGS...]\n" "\n" "%s\n" "\n" msgstr "" #: ../bin/virt-sandbox.c:160 ../bin/virt-sandbox-service-util.c:65 #, c-format msgid "Unable to open connection: %s\n" msgstr "" #: ../bin/virt-sandbox.c:161 ../bin/virt-sandbox.c:188 #: ../bin/virt-sandbox.c:194 ../bin/virt-sandbox.c:200 #: ../bin/virt-sandbox.c:206 ../bin/virt-sandbox.c:212 #: ../bin/virt-sandbox.c:227 ../bin/virt-sandbox.c:233 #: ../bin/virt-sandbox.c:240 ../bin/virt-sandbox.c:246 #: ../bin/virt-sandbox.c:254 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1247 msgid "Unknown failure" msgstr "" #: ../bin/virt-sandbox.c:187 #, c-format msgid "Unable to parse mounts: %s\n" msgstr "" #: ../bin/virt-sandbox.c:193 #, c-format msgid "Unable to parse includes: %s\n" msgstr "" #: ../bin/virt-sandbox.c:199 #, c-format msgid "Unable to parse include file: %s\n" msgstr "" #: ../bin/virt-sandbox.c:205 #, c-format msgid "Unable to parse networks: %s\n" msgstr "" #: ../bin/virt-sandbox.c:211 #, c-format msgid "Unable to parse security: %s\n" msgstr "" #: ../bin/virt-sandbox.c:226 #, c-format msgid "Unable to start sandbox: %s\n" msgstr "" #: ../bin/virt-sandbox.c:232 #, c-format msgid "Unable to get log console: %s\n" msgstr "" #: ../bin/virt-sandbox.c:239 ../bin/virt-sandbox.c:253 #, c-format msgid "Unable to attach sandbox console: %s\n" msgstr "" #: ../bin/virt-sandbox.c:245 #, c-format msgid "Unable to get app console: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:66 ../bin/virt-sandbox-service-util.c:72 #: ../bin/virt-sandbox-service-util.c:78 #: ../bin/virt-sandbox-service-util.c:104 #: ../bin/virt-sandbox-service-util.c:110 #: ../bin/virt-sandbox-service-util.c:120 #: ../bin/virt-sandbox-service-util.c:127 #: ../bin/virt-sandbox-service-util.c:159 #: ../bin/virt-sandbox-service-util.c:165 #: ../bin/virt-sandbox-service-util.c:175 #: ../bin/virt-sandbox-service-util.c:182 msgid "unknown" msgstr "" #: ../bin/virt-sandbox-service-util.c:71 #, c-format msgid "Unable to read config file %s: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:77 #, c-format msgid "Unable to create new context service: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:103 #, c-format msgid "Unable to start container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:109 #, c-format msgid "Unable to get log console for container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:119 #, c-format msgid "Unable to attach console to stderr in the container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:126 #: ../bin/virt-sandbox-service-util.c:181 #, c-format msgid "Unable to disconnect console from libvirt: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:158 #: ../bin/virt-sandbox-service-util.c:174 #, c-format msgid "Unable to attach to container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:164 #, c-format msgid "Unable to get shell console for container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:240 msgid "Display version information" msgstr "" #: ../bin/virt-sandbox-service-util.c:242 msgid "Start a container" msgstr "" #: ../bin/virt-sandbox-service-util.c:244 msgid "Attach to a container" msgstr "" #: ../bin/virt-sandbox-service-util.c:246 msgid "Pid of process in container to which the command will run" msgstr "" #: ../bin/virt-sandbox-service-util.c:248 msgid "Connect to hypervisor Default:'lxc:///'" msgstr "" #: ../bin/virt-sandbox-service-util.c:253 msgid "" "Run 'virt-sandbox-service-util --help' to see a full list of available " "command line options\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:263 msgid "- Libvirt Sandbox Service" msgstr "" #: ../bin/virt-sandbox-service-util.c:275 #, c-format msgid "" "Invalid command: You must specify --start or --attach\n" "%s" msgstr "" #: ../bin/virt-sandbox-service-util.c:281 #, c-format msgid "Invalid command CONTAINER_NAME required: %s" msgstr "" #: ../bin/virt-sandbox-service-util.c:288 msgid "Libvirt Sandbox Service" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-initrd.c:171 #, c-format msgid "Unable to create temporary directory %s: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-initrd.c:217 #, c-format msgid "Kernel module dir %s does not exist" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-initrd.c:275 #, c-format msgid "Unable to read entries in %s: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-initrd.c:306 #, c-format msgid "Unable to access %s: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-machine.c:446 #, c-format msgid "Kernel image %s does not exist" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:941 #, c-format msgid "Cannot request DHCP with static routes/addresses" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:963 #, c-format msgid "No assignment in filter parameter configuration" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:999 #, c-format msgid "Cannot set static addresses with DHCP" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1019 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1028 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1082 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1090 #, c-format msgid "Unable to parse address %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1058 #, c-format msgid "Cannot set static routes with DHCP" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1076 #, c-format msgid "Missing gateway in route %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1110 #, c-format msgid "Unknown parameter %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1121 #, c-format msgid "Cannot set static routes without addresses" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1285 #, c-format msgid "No mount type prefix on %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1298 #, c-format msgid "Unknown mount type prefix on %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1311 #, c-format msgid "Missing mount source string on %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1411 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1476 #, c-format msgid "No mount with a prefix under %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1578 #, c-format msgid "Unable to get SELinux context of user: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1587 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1596 #, c-format msgid "Unknown security option '%s'" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1630 msgid "Missing mount target in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1635 msgid "Missing mount type in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1647 #, c-format msgid "Unknown mount type %s in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1654 msgid "Missing mount usage in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1663 msgid "Missing mount source in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:2150 msgid "Missing class name in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:2156 #, c-format msgid "Unknown type name '%s' in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:2163 #, c-format msgid "Type name '%s' in config file had wrong parent" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console.c:326 msgid "Unable to isolate console unless direct access flag is set" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:184 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:350 #, c-format msgid "Unable to query terminal attributes: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:201 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:367 #, c-format msgid "Unable to update terminal attributes: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:224 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:395 #, c-format msgid "Unable to restore terminal attributes: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:630 msgid "No devices found for domain" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:660 #, c-format msgid "No device %s found for domain" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:666 #, c-format msgid "Unable to open console %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:699 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:1110 msgid "Console is already attached to a stream" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:628 #, c-format msgid "Unexpected rpc status %u" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:697 #, c-format msgid "Unexpected rpc proc %u" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:753 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:817 #, c-format msgid "Got rx in unexpected state %d" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:1167 msgid "ConsoleRpc is not attached to a stream" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-context.c:253 #: ../libvirt-sandbox/libvirt-sandbox-context.c:396 #, c-format msgid "Domain is not currently running" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-context.c:323 #: ../libvirt-sandbox/libvirt-sandbox-context.c:340 #: ../libvirt-sandbox/libvirt-sandbox-context.c:363 #, c-format msgid "Sandbox is not currently running" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1065 #, c-format msgid "libvirt-sandbox-init-common: unable to create signal pipe: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1084 #, c-format msgid "libvirt-sandbox-init-common: cannot open %s: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1141 #, c-format msgid "libvirt-sandbox-init-common: %s: cannot execute %s: %s\n" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1167 msgid "config file path" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1170 msgid "Run '" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1180 #, c-format msgid "%s: must be launched as root\n" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1187 msgid "Libvirt Sandbox Init Common" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1205 #, c-format msgid "%s: Unable to load config %s: %s\n" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1231 #, c-format msgid "Unsupported configuration type %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:69 msgid "Unable to decode message length" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:76 #, c-format msgid "packet %u bytes received from server too small, want %u" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:86 #, c-format msgid "packet %u bytes received from server too large, want %d" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:130 msgid "Unable to decode message header" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:174 #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:235 #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:303 #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:329 msgid "Unable to encode message length" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:180 msgid "Unable to encode message header" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:192 msgid "Unable to re-encode message length" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:222 msgid "Unable to encode message payload" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:265 msgid "Unable to decode message payload" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:290 #, c-format msgid "Raw data too long to send (%zu bytes needed, %zu bytes available)" msgstr "" libvirt-sandbox-0.5.1+git20160404/po/nl.po000066400000000000000000000342451275305543100176300ustar00rootroot00000000000000# SOME DESCRIPTIVE TITLE. # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # # Translators: msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2015-02-18 14:55+0000\n" "PO-Revision-Date: 2013-07-09 03:50-0400\n" "Last-Translator: Daniel Berrange \n" "Language-Team: Dutch (http://www.transifex.com/projects/p/fedora/language/nl/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Language: nl\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" "X-Generator: Zanata 3.5.1\n" #: ../bin/virt-sandbox.c:48 ../bin/virt-sandbox-service-util.c:43 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1149 #, c-format msgid "%s version %s\n" msgstr "" #: ../bin/virt-sandbox.c:84 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1161 msgid "display version information" msgstr "" #: ../bin/virt-sandbox.c:86 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1163 msgid "display verbose information" msgstr "" #: ../bin/virt-sandbox.c:88 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1165 msgid "display debugging information" msgstr "" #: ../bin/virt-sandbox.c:90 msgid "connect to hypervisor" msgstr "" #: ../bin/virt-sandbox.c:92 msgid "name of the sandbox" msgstr "" #: ../bin/virt-sandbox.c:94 msgid "root directory of the sandbox" msgstr "" #: ../bin/virt-sandbox.c:96 msgid "mount a filesystem in the guest" msgstr "" #: ../bin/virt-sandbox.c:98 msgid "file to copy into custom dir" msgstr "" #: ../bin/virt-sandbox.c:100 msgid "file contain list of files to include" msgstr "" #: ../bin/virt-sandbox.c:102 msgid "setup network interface properties" msgstr "" #: ../bin/virt-sandbox.c:104 msgid "security properties" msgstr "" #: ../bin/virt-sandbox.c:106 msgid "run the command privileged" msgstr "" #: ../bin/virt-sandbox.c:108 msgid "start a shell" msgstr "" #: ../bin/virt-sandbox.c:110 msgid "kernel version" msgstr "" #: ../bin/virt-sandbox.c:112 msgid "kernel binary path" msgstr "" #: ../bin/virt-sandbox.c:114 msgid "kernel module directory" msgstr "" #: ../bin/virt-sandbox.c:119 msgid "" "Run 'virt-sandbox --help' to see a full list of available command line " "options" msgstr "" #: ../bin/virt-sandbox.c:129 msgid "Libvirt Sandbox" msgstr "" #: ../bin/virt-sandbox.c:131 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1189 msgid "- Libvirt Sandbox" msgstr "" #: ../bin/virt-sandbox.c:144 #, c-format msgid "" "\n" "Usage: %s [OPTIONS] COMMAND-PATH [ARGS...]\n" "\n" "%s\n" "\n" msgstr "" #: ../bin/virt-sandbox.c:160 ../bin/virt-sandbox-service-util.c:65 #, c-format msgid "Unable to open connection: %s\n" msgstr "" #: ../bin/virt-sandbox.c:161 ../bin/virt-sandbox.c:188 #: ../bin/virt-sandbox.c:194 ../bin/virt-sandbox.c:200 #: ../bin/virt-sandbox.c:206 ../bin/virt-sandbox.c:212 #: ../bin/virt-sandbox.c:227 ../bin/virt-sandbox.c:233 #: ../bin/virt-sandbox.c:240 ../bin/virt-sandbox.c:246 #: ../bin/virt-sandbox.c:254 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1247 msgid "Unknown failure" msgstr "" #: ../bin/virt-sandbox.c:187 #, c-format msgid "Unable to parse mounts: %s\n" msgstr "" #: ../bin/virt-sandbox.c:193 #, c-format msgid "Unable to parse includes: %s\n" msgstr "" #: ../bin/virt-sandbox.c:199 #, c-format msgid "Unable to parse include file: %s\n" msgstr "" #: ../bin/virt-sandbox.c:205 #, c-format msgid "Unable to parse networks: %s\n" msgstr "" #: ../bin/virt-sandbox.c:211 #, c-format msgid "Unable to parse security: %s\n" msgstr "" #: ../bin/virt-sandbox.c:226 #, c-format msgid "Unable to start sandbox: %s\n" msgstr "" #: ../bin/virt-sandbox.c:232 #, c-format msgid "Unable to get log console: %s\n" msgstr "" #: ../bin/virt-sandbox.c:239 ../bin/virt-sandbox.c:253 #, c-format msgid "Unable to attach sandbox console: %s\n" msgstr "" #: ../bin/virt-sandbox.c:245 #, c-format msgid "Unable to get app console: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:66 ../bin/virt-sandbox-service-util.c:72 #: ../bin/virt-sandbox-service-util.c:78 #: ../bin/virt-sandbox-service-util.c:104 #: ../bin/virt-sandbox-service-util.c:110 #: ../bin/virt-sandbox-service-util.c:120 #: ../bin/virt-sandbox-service-util.c:127 #: ../bin/virt-sandbox-service-util.c:159 #: ../bin/virt-sandbox-service-util.c:165 #: ../bin/virt-sandbox-service-util.c:175 #: ../bin/virt-sandbox-service-util.c:182 msgid "unknown" msgstr "" #: ../bin/virt-sandbox-service-util.c:71 #, c-format msgid "Unable to read config file %s: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:77 #, c-format msgid "Unable to create new context service: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:103 #, c-format msgid "Unable to start container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:109 #, c-format msgid "Unable to get log console for container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:119 #, c-format msgid "Unable to attach console to stderr in the container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:126 #: ../bin/virt-sandbox-service-util.c:181 #, c-format msgid "Unable to disconnect console from libvirt: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:158 #: ../bin/virt-sandbox-service-util.c:174 #, c-format msgid "Unable to attach to container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:164 #, c-format msgid "Unable to get shell console for container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:240 msgid "Display version information" msgstr "" #: ../bin/virt-sandbox-service-util.c:242 msgid "Start a container" msgstr "" #: ../bin/virt-sandbox-service-util.c:244 msgid "Attach to a container" msgstr "" #: ../bin/virt-sandbox-service-util.c:246 msgid "Pid of process in container to which the command will run" msgstr "" #: ../bin/virt-sandbox-service-util.c:248 msgid "Connect to hypervisor Default:'lxc:///'" msgstr "" #: ../bin/virt-sandbox-service-util.c:253 msgid "" "Run 'virt-sandbox-service-util --help' to see a full list of available " "command line options\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:263 msgid "- Libvirt Sandbox Service" msgstr "" #: ../bin/virt-sandbox-service-util.c:275 #, c-format msgid "" "Invalid command: You must specify --start or --attach\n" "%s" msgstr "" #: ../bin/virt-sandbox-service-util.c:281 #, c-format msgid "Invalid command CONTAINER_NAME required: %s" msgstr "" #: ../bin/virt-sandbox-service-util.c:288 msgid "Libvirt Sandbox Service" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-initrd.c:171 #, c-format msgid "Unable to create temporary directory %s: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-initrd.c:217 #, c-format msgid "Kernel module dir %s does not exist" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-initrd.c:275 #, c-format msgid "Unable to read entries in %s: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-initrd.c:306 #, c-format msgid "Unable to access %s: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-machine.c:446 #, c-format msgid "Kernel image %s does not exist" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:941 #, c-format msgid "Cannot request DHCP with static routes/addresses" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:963 #, c-format msgid "No assignment in filter parameter configuration" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:999 #, c-format msgid "Cannot set static addresses with DHCP" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1019 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1028 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1082 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1090 #, c-format msgid "Unable to parse address %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1058 #, c-format msgid "Cannot set static routes with DHCP" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1076 #, c-format msgid "Missing gateway in route %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1110 #, c-format msgid "Unknown parameter %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1121 #, c-format msgid "Cannot set static routes without addresses" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1285 #, c-format msgid "No mount type prefix on %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1298 #, c-format msgid "Unknown mount type prefix on %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1311 #, c-format msgid "Missing mount source string on %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1411 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1476 #, c-format msgid "No mount with a prefix under %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1578 #, c-format msgid "Unable to get SELinux context of user: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1587 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1596 #, c-format msgid "Unknown security option '%s'" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1630 msgid "Missing mount target in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1635 msgid "Missing mount type in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1647 #, c-format msgid "Unknown mount type %s in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1654 msgid "Missing mount usage in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1663 msgid "Missing mount source in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:2150 msgid "Missing class name in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:2156 #, c-format msgid "Unknown type name '%s' in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:2163 #, c-format msgid "Type name '%s' in config file had wrong parent" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console.c:326 msgid "Unable to isolate console unless direct access flag is set" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:184 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:350 #, c-format msgid "Unable to query terminal attributes: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:201 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:367 #, c-format msgid "Unable to update terminal attributes: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:224 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:395 #, c-format msgid "Unable to restore terminal attributes: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:630 msgid "No devices found for domain" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:660 #, c-format msgid "No device %s found for domain" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:666 #, c-format msgid "Unable to open console %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:699 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:1110 msgid "Console is already attached to a stream" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:628 #, c-format msgid "Unexpected rpc status %u" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:697 #, c-format msgid "Unexpected rpc proc %u" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:753 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:817 #, c-format msgid "Got rx in unexpected state %d" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:1167 msgid "ConsoleRpc is not attached to a stream" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-context.c:253 #: ../libvirt-sandbox/libvirt-sandbox-context.c:396 #, c-format msgid "Domain is not currently running" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-context.c:323 #: ../libvirt-sandbox/libvirt-sandbox-context.c:340 #: ../libvirt-sandbox/libvirt-sandbox-context.c:363 #, c-format msgid "Sandbox is not currently running" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1065 #, c-format msgid "libvirt-sandbox-init-common: unable to create signal pipe: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1084 #, c-format msgid "libvirt-sandbox-init-common: cannot open %s: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1141 #, c-format msgid "libvirt-sandbox-init-common: %s: cannot execute %s: %s\n" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1167 msgid "config file path" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1170 msgid "Run '" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1180 #, c-format msgid "%s: must be launched as root\n" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1187 msgid "Libvirt Sandbox Init Common" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1205 #, c-format msgid "%s: Unable to load config %s: %s\n" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1231 #, c-format msgid "Unsupported configuration type %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:69 msgid "Unable to decode message length" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:76 #, c-format msgid "packet %u bytes received from server too small, want %u" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:86 #, c-format msgid "packet %u bytes received from server too large, want %d" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:130 msgid "Unable to decode message header" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:174 #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:235 #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:303 #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:329 msgid "Unable to encode message length" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:180 msgid "Unable to encode message header" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:192 msgid "Unable to re-encode message length" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:222 msgid "Unable to encode message payload" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:265 msgid "Unable to decode message payload" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:290 #, c-format msgid "Raw data too long to send (%zu bytes needed, %zu bytes available)" msgstr "" libvirt-sandbox-0.5.1+git20160404/po/nn.po000066400000000000000000000342011275305543100176220ustar00rootroot00000000000000# SOME DESCRIPTIVE TITLE. # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # # Translators: msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2015-02-18 14:55+0000\n" "PO-Revision-Date: 2013-04-08 06:10-0400\n" "Last-Translator: FULL NAME \n" "Language-Team: Norwegian Nynorsk \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Language: nn\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" "X-Generator: Zanata 3.5.1\n" #: ../bin/virt-sandbox.c:48 ../bin/virt-sandbox-service-util.c:43 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1149 #, c-format msgid "%s version %s\n" msgstr "" #: ../bin/virt-sandbox.c:84 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1161 msgid "display version information" msgstr "" #: ../bin/virt-sandbox.c:86 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1163 msgid "display verbose information" msgstr "" #: ../bin/virt-sandbox.c:88 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1165 msgid "display debugging information" msgstr "" #: ../bin/virt-sandbox.c:90 msgid "connect to hypervisor" msgstr "" #: ../bin/virt-sandbox.c:92 msgid "name of the sandbox" msgstr "" #: ../bin/virt-sandbox.c:94 msgid "root directory of the sandbox" msgstr "" #: ../bin/virt-sandbox.c:96 msgid "mount a filesystem in the guest" msgstr "" #: ../bin/virt-sandbox.c:98 msgid "file to copy into custom dir" msgstr "" #: ../bin/virt-sandbox.c:100 msgid "file contain list of files to include" msgstr "" #: ../bin/virt-sandbox.c:102 msgid "setup network interface properties" msgstr "" #: ../bin/virt-sandbox.c:104 msgid "security properties" msgstr "" #: ../bin/virt-sandbox.c:106 msgid "run the command privileged" msgstr "" #: ../bin/virt-sandbox.c:108 msgid "start a shell" msgstr "" #: ../bin/virt-sandbox.c:110 msgid "kernel version" msgstr "" #: ../bin/virt-sandbox.c:112 msgid "kernel binary path" msgstr "" #: ../bin/virt-sandbox.c:114 msgid "kernel module directory" msgstr "" #: ../bin/virt-sandbox.c:119 msgid "" "Run 'virt-sandbox --help' to see a full list of available command line " "options" msgstr "" #: ../bin/virt-sandbox.c:129 msgid "Libvirt Sandbox" msgstr "" #: ../bin/virt-sandbox.c:131 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1189 msgid "- Libvirt Sandbox" msgstr "" #: ../bin/virt-sandbox.c:144 #, c-format msgid "" "\n" "Usage: %s [OPTIONS] COMMAND-PATH [ARGS...]\n" "\n" "%s\n" "\n" msgstr "" #: ../bin/virt-sandbox.c:160 ../bin/virt-sandbox-service-util.c:65 #, c-format msgid "Unable to open connection: %s\n" msgstr "" #: ../bin/virt-sandbox.c:161 ../bin/virt-sandbox.c:188 #: ../bin/virt-sandbox.c:194 ../bin/virt-sandbox.c:200 #: ../bin/virt-sandbox.c:206 ../bin/virt-sandbox.c:212 #: ../bin/virt-sandbox.c:227 ../bin/virt-sandbox.c:233 #: ../bin/virt-sandbox.c:240 ../bin/virt-sandbox.c:246 #: ../bin/virt-sandbox.c:254 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1247 msgid "Unknown failure" msgstr "" #: ../bin/virt-sandbox.c:187 #, c-format msgid "Unable to parse mounts: %s\n" msgstr "" #: ../bin/virt-sandbox.c:193 #, c-format msgid "Unable to parse includes: %s\n" msgstr "" #: ../bin/virt-sandbox.c:199 #, c-format msgid "Unable to parse include file: %s\n" msgstr "" #: ../bin/virt-sandbox.c:205 #, c-format msgid "Unable to parse networks: %s\n" msgstr "" #: ../bin/virt-sandbox.c:211 #, c-format msgid "Unable to parse security: %s\n" msgstr "" #: ../bin/virt-sandbox.c:226 #, c-format msgid "Unable to start sandbox: %s\n" msgstr "" #: ../bin/virt-sandbox.c:232 #, c-format msgid "Unable to get log console: %s\n" msgstr "" #: ../bin/virt-sandbox.c:239 ../bin/virt-sandbox.c:253 #, c-format msgid "Unable to attach sandbox console: %s\n" msgstr "" #: ../bin/virt-sandbox.c:245 #, c-format msgid "Unable to get app console: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:66 ../bin/virt-sandbox-service-util.c:72 #: ../bin/virt-sandbox-service-util.c:78 #: ../bin/virt-sandbox-service-util.c:104 #: ../bin/virt-sandbox-service-util.c:110 #: ../bin/virt-sandbox-service-util.c:120 #: ../bin/virt-sandbox-service-util.c:127 #: ../bin/virt-sandbox-service-util.c:159 #: ../bin/virt-sandbox-service-util.c:165 #: ../bin/virt-sandbox-service-util.c:175 #: ../bin/virt-sandbox-service-util.c:182 msgid "unknown" msgstr "" #: ../bin/virt-sandbox-service-util.c:71 #, c-format msgid "Unable to read config file %s: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:77 #, c-format msgid "Unable to create new context service: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:103 #, c-format msgid "Unable to start container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:109 #, c-format msgid "Unable to get log console for container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:119 #, c-format msgid "Unable to attach console to stderr in the container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:126 #: ../bin/virt-sandbox-service-util.c:181 #, c-format msgid "Unable to disconnect console from libvirt: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:158 #: ../bin/virt-sandbox-service-util.c:174 #, c-format msgid "Unable to attach to container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:164 #, c-format msgid "Unable to get shell console for container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:240 msgid "Display version information" msgstr "" #: ../bin/virt-sandbox-service-util.c:242 msgid "Start a container" msgstr "" #: ../bin/virt-sandbox-service-util.c:244 msgid "Attach to a container" msgstr "" #: ../bin/virt-sandbox-service-util.c:246 msgid "Pid of process in container to which the command will run" msgstr "" #: ../bin/virt-sandbox-service-util.c:248 msgid "Connect to hypervisor Default:'lxc:///'" msgstr "" #: ../bin/virt-sandbox-service-util.c:253 msgid "" "Run 'virt-sandbox-service-util --help' to see a full list of available " "command line options\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:263 msgid "- Libvirt Sandbox Service" msgstr "" #: ../bin/virt-sandbox-service-util.c:275 #, c-format msgid "" "Invalid command: You must specify --start or --attach\n" "%s" msgstr "" #: ../bin/virt-sandbox-service-util.c:281 #, c-format msgid "Invalid command CONTAINER_NAME required: %s" msgstr "" #: ../bin/virt-sandbox-service-util.c:288 msgid "Libvirt Sandbox Service" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-initrd.c:171 #, c-format msgid "Unable to create temporary directory %s: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-initrd.c:217 #, c-format msgid "Kernel module dir %s does not exist" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-initrd.c:275 #, c-format msgid "Unable to read entries in %s: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-initrd.c:306 #, c-format msgid "Unable to access %s: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-machine.c:446 #, c-format msgid "Kernel image %s does not exist" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:941 #, c-format msgid "Cannot request DHCP with static routes/addresses" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:963 #, c-format msgid "No assignment in filter parameter configuration" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:999 #, c-format msgid "Cannot set static addresses with DHCP" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1019 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1028 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1082 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1090 #, c-format msgid "Unable to parse address %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1058 #, c-format msgid "Cannot set static routes with DHCP" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1076 #, c-format msgid "Missing gateway in route %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1110 #, c-format msgid "Unknown parameter %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1121 #, c-format msgid "Cannot set static routes without addresses" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1285 #, c-format msgid "No mount type prefix on %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1298 #, c-format msgid "Unknown mount type prefix on %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1311 #, c-format msgid "Missing mount source string on %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1411 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1476 #, c-format msgid "No mount with a prefix under %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1578 #, c-format msgid "Unable to get SELinux context of user: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1587 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1596 #, c-format msgid "Unknown security option '%s'" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1630 msgid "Missing mount target in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1635 msgid "Missing mount type in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1647 #, c-format msgid "Unknown mount type %s in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1654 msgid "Missing mount usage in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1663 msgid "Missing mount source in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:2150 msgid "Missing class name in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:2156 #, c-format msgid "Unknown type name '%s' in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:2163 #, c-format msgid "Type name '%s' in config file had wrong parent" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console.c:326 msgid "Unable to isolate console unless direct access flag is set" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:184 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:350 #, c-format msgid "Unable to query terminal attributes: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:201 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:367 #, c-format msgid "Unable to update terminal attributes: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:224 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:395 #, c-format msgid "Unable to restore terminal attributes: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:630 msgid "No devices found for domain" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:660 #, c-format msgid "No device %s found for domain" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:666 #, c-format msgid "Unable to open console %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:699 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:1110 msgid "Console is already attached to a stream" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:628 #, c-format msgid "Unexpected rpc status %u" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:697 #, c-format msgid "Unexpected rpc proc %u" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:753 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:817 #, c-format msgid "Got rx in unexpected state %d" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:1167 msgid "ConsoleRpc is not attached to a stream" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-context.c:253 #: ../libvirt-sandbox/libvirt-sandbox-context.c:396 #, c-format msgid "Domain is not currently running" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-context.c:323 #: ../libvirt-sandbox/libvirt-sandbox-context.c:340 #: ../libvirt-sandbox/libvirt-sandbox-context.c:363 #, c-format msgid "Sandbox is not currently running" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1065 #, c-format msgid "libvirt-sandbox-init-common: unable to create signal pipe: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1084 #, c-format msgid "libvirt-sandbox-init-common: cannot open %s: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1141 #, c-format msgid "libvirt-sandbox-init-common: %s: cannot execute %s: %s\n" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1167 msgid "config file path" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1170 msgid "Run '" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1180 #, c-format msgid "%s: must be launched as root\n" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1187 msgid "Libvirt Sandbox Init Common" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1205 #, c-format msgid "%s: Unable to load config %s: %s\n" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1231 #, c-format msgid "Unsupported configuration type %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:69 msgid "Unable to decode message length" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:76 #, c-format msgid "packet %u bytes received from server too small, want %u" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:86 #, c-format msgid "packet %u bytes received from server too large, want %d" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:130 msgid "Unable to decode message header" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:174 #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:235 #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:303 #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:329 msgid "Unable to encode message length" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:180 msgid "Unable to encode message header" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:192 msgid "Unable to re-encode message length" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:222 msgid "Unable to encode message payload" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:265 msgid "Unable to decode message payload" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:290 #, c-format msgid "Raw data too long to send (%zu bytes needed, %zu bytes available)" msgstr "" libvirt-sandbox-0.5.1+git20160404/po/nso.po000066400000000000000000000342341275305543100200140ustar00rootroot00000000000000# SOME DESCRIPTIVE TITLE. # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # # Translators: msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2015-02-18 14:55+0000\n" "PO-Revision-Date: 2013-04-08 06:10-0400\n" "Last-Translator: FULL NAME \n" "Language-Team: Northern Sotho (http://www.transifex.com/projects/p/fedora/language/nso/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Language: nso\n" "Plural-Forms: nplurals=2; plural=(n > 1);\n" "X-Generator: Zanata 3.5.1\n" #: ../bin/virt-sandbox.c:48 ../bin/virt-sandbox-service-util.c:43 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1149 #, c-format msgid "%s version %s\n" msgstr "" #: ../bin/virt-sandbox.c:84 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1161 msgid "display version information" msgstr "" #: ../bin/virt-sandbox.c:86 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1163 msgid "display verbose information" msgstr "" #: ../bin/virt-sandbox.c:88 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1165 msgid "display debugging information" msgstr "" #: ../bin/virt-sandbox.c:90 msgid "connect to hypervisor" msgstr "" #: ../bin/virt-sandbox.c:92 msgid "name of the sandbox" msgstr "" #: ../bin/virt-sandbox.c:94 msgid "root directory of the sandbox" msgstr "" #: ../bin/virt-sandbox.c:96 msgid "mount a filesystem in the guest" msgstr "" #: ../bin/virt-sandbox.c:98 msgid "file to copy into custom dir" msgstr "" #: ../bin/virt-sandbox.c:100 msgid "file contain list of files to include" msgstr "" #: ../bin/virt-sandbox.c:102 msgid "setup network interface properties" msgstr "" #: ../bin/virt-sandbox.c:104 msgid "security properties" msgstr "" #: ../bin/virt-sandbox.c:106 msgid "run the command privileged" msgstr "" #: ../bin/virt-sandbox.c:108 msgid "start a shell" msgstr "" #: ../bin/virt-sandbox.c:110 msgid "kernel version" msgstr "" #: ../bin/virt-sandbox.c:112 msgid "kernel binary path" msgstr "" #: ../bin/virt-sandbox.c:114 msgid "kernel module directory" msgstr "" #: ../bin/virt-sandbox.c:119 msgid "" "Run 'virt-sandbox --help' to see a full list of available command line " "options" msgstr "" #: ../bin/virt-sandbox.c:129 msgid "Libvirt Sandbox" msgstr "" #: ../bin/virt-sandbox.c:131 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1189 msgid "- Libvirt Sandbox" msgstr "" #: ../bin/virt-sandbox.c:144 #, c-format msgid "" "\n" "Usage: %s [OPTIONS] COMMAND-PATH [ARGS...]\n" "\n" "%s\n" "\n" msgstr "" #: ../bin/virt-sandbox.c:160 ../bin/virt-sandbox-service-util.c:65 #, c-format msgid "Unable to open connection: %s\n" msgstr "" #: ../bin/virt-sandbox.c:161 ../bin/virt-sandbox.c:188 #: ../bin/virt-sandbox.c:194 ../bin/virt-sandbox.c:200 #: ../bin/virt-sandbox.c:206 ../bin/virt-sandbox.c:212 #: ../bin/virt-sandbox.c:227 ../bin/virt-sandbox.c:233 #: ../bin/virt-sandbox.c:240 ../bin/virt-sandbox.c:246 #: ../bin/virt-sandbox.c:254 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1247 msgid "Unknown failure" msgstr "" #: ../bin/virt-sandbox.c:187 #, c-format msgid "Unable to parse mounts: %s\n" msgstr "" #: ../bin/virt-sandbox.c:193 #, c-format msgid "Unable to parse includes: %s\n" msgstr "" #: ../bin/virt-sandbox.c:199 #, c-format msgid "Unable to parse include file: %s\n" msgstr "" #: ../bin/virt-sandbox.c:205 #, c-format msgid "Unable to parse networks: %s\n" msgstr "" #: ../bin/virt-sandbox.c:211 #, c-format msgid "Unable to parse security: %s\n" msgstr "" #: ../bin/virt-sandbox.c:226 #, c-format msgid "Unable to start sandbox: %s\n" msgstr "" #: ../bin/virt-sandbox.c:232 #, c-format msgid "Unable to get log console: %s\n" msgstr "" #: ../bin/virt-sandbox.c:239 ../bin/virt-sandbox.c:253 #, c-format msgid "Unable to attach sandbox console: %s\n" msgstr "" #: ../bin/virt-sandbox.c:245 #, c-format msgid "Unable to get app console: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:66 ../bin/virt-sandbox-service-util.c:72 #: ../bin/virt-sandbox-service-util.c:78 #: ../bin/virt-sandbox-service-util.c:104 #: ../bin/virt-sandbox-service-util.c:110 #: ../bin/virt-sandbox-service-util.c:120 #: ../bin/virt-sandbox-service-util.c:127 #: ../bin/virt-sandbox-service-util.c:159 #: ../bin/virt-sandbox-service-util.c:165 #: ../bin/virt-sandbox-service-util.c:175 #: ../bin/virt-sandbox-service-util.c:182 msgid "unknown" msgstr "" #: ../bin/virt-sandbox-service-util.c:71 #, c-format msgid "Unable to read config file %s: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:77 #, c-format msgid "Unable to create new context service: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:103 #, c-format msgid "Unable to start container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:109 #, c-format msgid "Unable to get log console for container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:119 #, c-format msgid "Unable to attach console to stderr in the container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:126 #: ../bin/virt-sandbox-service-util.c:181 #, c-format msgid "Unable to disconnect console from libvirt: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:158 #: ../bin/virt-sandbox-service-util.c:174 #, c-format msgid "Unable to attach to container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:164 #, c-format msgid "Unable to get shell console for container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:240 msgid "Display version information" msgstr "" #: ../bin/virt-sandbox-service-util.c:242 msgid "Start a container" msgstr "" #: ../bin/virt-sandbox-service-util.c:244 msgid "Attach to a container" msgstr "" #: ../bin/virt-sandbox-service-util.c:246 msgid "Pid of process in container to which the command will run" msgstr "" #: ../bin/virt-sandbox-service-util.c:248 msgid "Connect to hypervisor Default:'lxc:///'" msgstr "" #: ../bin/virt-sandbox-service-util.c:253 msgid "" "Run 'virt-sandbox-service-util --help' to see a full list of available " "command line options\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:263 msgid "- Libvirt Sandbox Service" msgstr "" #: ../bin/virt-sandbox-service-util.c:275 #, c-format msgid "" "Invalid command: You must specify --start or --attach\n" "%s" msgstr "" #: ../bin/virt-sandbox-service-util.c:281 #, c-format msgid "Invalid command CONTAINER_NAME required: %s" msgstr "" #: ../bin/virt-sandbox-service-util.c:288 msgid "Libvirt Sandbox Service" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-initrd.c:171 #, c-format msgid "Unable to create temporary directory %s: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-initrd.c:217 #, c-format msgid "Kernel module dir %s does not exist" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-initrd.c:275 #, c-format msgid "Unable to read entries in %s: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-initrd.c:306 #, c-format msgid "Unable to access %s: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-machine.c:446 #, c-format msgid "Kernel image %s does not exist" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:941 #, c-format msgid "Cannot request DHCP with static routes/addresses" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:963 #, c-format msgid "No assignment in filter parameter configuration" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:999 #, c-format msgid "Cannot set static addresses with DHCP" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1019 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1028 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1082 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1090 #, c-format msgid "Unable to parse address %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1058 #, c-format msgid "Cannot set static routes with DHCP" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1076 #, c-format msgid "Missing gateway in route %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1110 #, c-format msgid "Unknown parameter %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1121 #, c-format msgid "Cannot set static routes without addresses" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1285 #, c-format msgid "No mount type prefix on %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1298 #, c-format msgid "Unknown mount type prefix on %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1311 #, c-format msgid "Missing mount source string on %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1411 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1476 #, c-format msgid "No mount with a prefix under %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1578 #, c-format msgid "Unable to get SELinux context of user: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1587 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1596 #, c-format msgid "Unknown security option '%s'" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1630 msgid "Missing mount target in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1635 msgid "Missing mount type in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1647 #, c-format msgid "Unknown mount type %s in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1654 msgid "Missing mount usage in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1663 msgid "Missing mount source in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:2150 msgid "Missing class name in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:2156 #, c-format msgid "Unknown type name '%s' in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:2163 #, c-format msgid "Type name '%s' in config file had wrong parent" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console.c:326 msgid "Unable to isolate console unless direct access flag is set" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:184 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:350 #, c-format msgid "Unable to query terminal attributes: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:201 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:367 #, c-format msgid "Unable to update terminal attributes: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:224 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:395 #, c-format msgid "Unable to restore terminal attributes: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:630 msgid "No devices found for domain" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:660 #, c-format msgid "No device %s found for domain" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:666 #, c-format msgid "Unable to open console %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:699 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:1110 msgid "Console is already attached to a stream" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:628 #, c-format msgid "Unexpected rpc status %u" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:697 #, c-format msgid "Unexpected rpc proc %u" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:753 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:817 #, c-format msgid "Got rx in unexpected state %d" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:1167 msgid "ConsoleRpc is not attached to a stream" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-context.c:253 #: ../libvirt-sandbox/libvirt-sandbox-context.c:396 #, c-format msgid "Domain is not currently running" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-context.c:323 #: ../libvirt-sandbox/libvirt-sandbox-context.c:340 #: ../libvirt-sandbox/libvirt-sandbox-context.c:363 #, c-format msgid "Sandbox is not currently running" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1065 #, c-format msgid "libvirt-sandbox-init-common: unable to create signal pipe: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1084 #, c-format msgid "libvirt-sandbox-init-common: cannot open %s: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1141 #, c-format msgid "libvirt-sandbox-init-common: %s: cannot execute %s: %s\n" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1167 msgid "config file path" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1170 msgid "Run '" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1180 #, c-format msgid "%s: must be launched as root\n" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1187 msgid "Libvirt Sandbox Init Common" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1205 #, c-format msgid "%s: Unable to load config %s: %s\n" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1231 #, c-format msgid "Unsupported configuration type %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:69 msgid "Unable to decode message length" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:76 #, c-format msgid "packet %u bytes received from server too small, want %u" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:86 #, c-format msgid "packet %u bytes received from server too large, want %d" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:130 msgid "Unable to decode message header" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:174 #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:235 #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:303 #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:329 msgid "Unable to encode message length" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:180 msgid "Unable to encode message header" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:192 msgid "Unable to re-encode message length" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:222 msgid "Unable to encode message payload" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:265 msgid "Unable to decode message payload" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:290 #, c-format msgid "Raw data too long to send (%zu bytes needed, %zu bytes available)" msgstr "" libvirt-sandbox-0.5.1+git20160404/po/or.po000066400000000000000000000342221275305543100176320ustar00rootroot00000000000000# SOME DESCRIPTIVE TITLE. # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # # Translators: msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2015-02-18 14:55+0000\n" "PO-Revision-Date: 2013-04-08 06:10-0400\n" "Last-Translator: FULL NAME \n" "Language-Team: Oriya (http://www.transifex.com/projects/p/fedora/language/or/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Language: or\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" "X-Generator: Zanata 3.5.1\n" #: ../bin/virt-sandbox.c:48 ../bin/virt-sandbox-service-util.c:43 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1149 #, c-format msgid "%s version %s\n" msgstr "" #: ../bin/virt-sandbox.c:84 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1161 msgid "display version information" msgstr "" #: ../bin/virt-sandbox.c:86 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1163 msgid "display verbose information" msgstr "" #: ../bin/virt-sandbox.c:88 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1165 msgid "display debugging information" msgstr "" #: ../bin/virt-sandbox.c:90 msgid "connect to hypervisor" msgstr "" #: ../bin/virt-sandbox.c:92 msgid "name of the sandbox" msgstr "" #: ../bin/virt-sandbox.c:94 msgid "root directory of the sandbox" msgstr "" #: ../bin/virt-sandbox.c:96 msgid "mount a filesystem in the guest" msgstr "" #: ../bin/virt-sandbox.c:98 msgid "file to copy into custom dir" msgstr "" #: ../bin/virt-sandbox.c:100 msgid "file contain list of files to include" msgstr "" #: ../bin/virt-sandbox.c:102 msgid "setup network interface properties" msgstr "" #: ../bin/virt-sandbox.c:104 msgid "security properties" msgstr "" #: ../bin/virt-sandbox.c:106 msgid "run the command privileged" msgstr "" #: ../bin/virt-sandbox.c:108 msgid "start a shell" msgstr "" #: ../bin/virt-sandbox.c:110 msgid "kernel version" msgstr "" #: ../bin/virt-sandbox.c:112 msgid "kernel binary path" msgstr "" #: ../bin/virt-sandbox.c:114 msgid "kernel module directory" msgstr "" #: ../bin/virt-sandbox.c:119 msgid "" "Run 'virt-sandbox --help' to see a full list of available command line " "options" msgstr "" #: ../bin/virt-sandbox.c:129 msgid "Libvirt Sandbox" msgstr "" #: ../bin/virt-sandbox.c:131 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1189 msgid "- Libvirt Sandbox" msgstr "" #: ../bin/virt-sandbox.c:144 #, c-format msgid "" "\n" "Usage: %s [OPTIONS] COMMAND-PATH [ARGS...]\n" "\n" "%s\n" "\n" msgstr "" #: ../bin/virt-sandbox.c:160 ../bin/virt-sandbox-service-util.c:65 #, c-format msgid "Unable to open connection: %s\n" msgstr "" #: ../bin/virt-sandbox.c:161 ../bin/virt-sandbox.c:188 #: ../bin/virt-sandbox.c:194 ../bin/virt-sandbox.c:200 #: ../bin/virt-sandbox.c:206 ../bin/virt-sandbox.c:212 #: ../bin/virt-sandbox.c:227 ../bin/virt-sandbox.c:233 #: ../bin/virt-sandbox.c:240 ../bin/virt-sandbox.c:246 #: ../bin/virt-sandbox.c:254 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1247 msgid "Unknown failure" msgstr "" #: ../bin/virt-sandbox.c:187 #, c-format msgid "Unable to parse mounts: %s\n" msgstr "" #: ../bin/virt-sandbox.c:193 #, c-format msgid "Unable to parse includes: %s\n" msgstr "" #: ../bin/virt-sandbox.c:199 #, c-format msgid "Unable to parse include file: %s\n" msgstr "" #: ../bin/virt-sandbox.c:205 #, c-format msgid "Unable to parse networks: %s\n" msgstr "" #: ../bin/virt-sandbox.c:211 #, c-format msgid "Unable to parse security: %s\n" msgstr "" #: ../bin/virt-sandbox.c:226 #, c-format msgid "Unable to start sandbox: %s\n" msgstr "" #: ../bin/virt-sandbox.c:232 #, c-format msgid "Unable to get log console: %s\n" msgstr "" #: ../bin/virt-sandbox.c:239 ../bin/virt-sandbox.c:253 #, c-format msgid "Unable to attach sandbox console: %s\n" msgstr "" #: ../bin/virt-sandbox.c:245 #, c-format msgid "Unable to get app console: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:66 ../bin/virt-sandbox-service-util.c:72 #: ../bin/virt-sandbox-service-util.c:78 #: ../bin/virt-sandbox-service-util.c:104 #: ../bin/virt-sandbox-service-util.c:110 #: ../bin/virt-sandbox-service-util.c:120 #: ../bin/virt-sandbox-service-util.c:127 #: ../bin/virt-sandbox-service-util.c:159 #: ../bin/virt-sandbox-service-util.c:165 #: ../bin/virt-sandbox-service-util.c:175 #: ../bin/virt-sandbox-service-util.c:182 msgid "unknown" msgstr "" #: ../bin/virt-sandbox-service-util.c:71 #, c-format msgid "Unable to read config file %s: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:77 #, c-format msgid "Unable to create new context service: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:103 #, c-format msgid "Unable to start container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:109 #, c-format msgid "Unable to get log console for container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:119 #, c-format msgid "Unable to attach console to stderr in the container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:126 #: ../bin/virt-sandbox-service-util.c:181 #, c-format msgid "Unable to disconnect console from libvirt: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:158 #: ../bin/virt-sandbox-service-util.c:174 #, c-format msgid "Unable to attach to container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:164 #, c-format msgid "Unable to get shell console for container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:240 msgid "Display version information" msgstr "" #: ../bin/virt-sandbox-service-util.c:242 msgid "Start a container" msgstr "" #: ../bin/virt-sandbox-service-util.c:244 msgid "Attach to a container" msgstr "" #: ../bin/virt-sandbox-service-util.c:246 msgid "Pid of process in container to which the command will run" msgstr "" #: ../bin/virt-sandbox-service-util.c:248 msgid "Connect to hypervisor Default:'lxc:///'" msgstr "" #: ../bin/virt-sandbox-service-util.c:253 msgid "" "Run 'virt-sandbox-service-util --help' to see a full list of available " "command line options\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:263 msgid "- Libvirt Sandbox Service" msgstr "" #: ../bin/virt-sandbox-service-util.c:275 #, c-format msgid "" "Invalid command: You must specify --start or --attach\n" "%s" msgstr "" #: ../bin/virt-sandbox-service-util.c:281 #, c-format msgid "Invalid command CONTAINER_NAME required: %s" msgstr "" #: ../bin/virt-sandbox-service-util.c:288 msgid "Libvirt Sandbox Service" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-initrd.c:171 #, c-format msgid "Unable to create temporary directory %s: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-initrd.c:217 #, c-format msgid "Kernel module dir %s does not exist" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-initrd.c:275 #, c-format msgid "Unable to read entries in %s: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-initrd.c:306 #, c-format msgid "Unable to access %s: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-machine.c:446 #, c-format msgid "Kernel image %s does not exist" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:941 #, c-format msgid "Cannot request DHCP with static routes/addresses" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:963 #, c-format msgid "No assignment in filter parameter configuration" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:999 #, c-format msgid "Cannot set static addresses with DHCP" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1019 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1028 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1082 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1090 #, c-format msgid "Unable to parse address %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1058 #, c-format msgid "Cannot set static routes with DHCP" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1076 #, c-format msgid "Missing gateway in route %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1110 #, c-format msgid "Unknown parameter %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1121 #, c-format msgid "Cannot set static routes without addresses" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1285 #, c-format msgid "No mount type prefix on %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1298 #, c-format msgid "Unknown mount type prefix on %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1311 #, c-format msgid "Missing mount source string on %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1411 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1476 #, c-format msgid "No mount with a prefix under %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1578 #, c-format msgid "Unable to get SELinux context of user: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1587 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1596 #, c-format msgid "Unknown security option '%s'" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1630 msgid "Missing mount target in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1635 msgid "Missing mount type in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1647 #, c-format msgid "Unknown mount type %s in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1654 msgid "Missing mount usage in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1663 msgid "Missing mount source in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:2150 msgid "Missing class name in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:2156 #, c-format msgid "Unknown type name '%s' in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:2163 #, c-format msgid "Type name '%s' in config file had wrong parent" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console.c:326 msgid "Unable to isolate console unless direct access flag is set" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:184 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:350 #, c-format msgid "Unable to query terminal attributes: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:201 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:367 #, c-format msgid "Unable to update terminal attributes: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:224 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:395 #, c-format msgid "Unable to restore terminal attributes: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:630 msgid "No devices found for domain" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:660 #, c-format msgid "No device %s found for domain" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:666 #, c-format msgid "Unable to open console %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:699 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:1110 msgid "Console is already attached to a stream" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:628 #, c-format msgid "Unexpected rpc status %u" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:697 #, c-format msgid "Unexpected rpc proc %u" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:753 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:817 #, c-format msgid "Got rx in unexpected state %d" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:1167 msgid "ConsoleRpc is not attached to a stream" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-context.c:253 #: ../libvirt-sandbox/libvirt-sandbox-context.c:396 #, c-format msgid "Domain is not currently running" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-context.c:323 #: ../libvirt-sandbox/libvirt-sandbox-context.c:340 #: ../libvirt-sandbox/libvirt-sandbox-context.c:363 #, c-format msgid "Sandbox is not currently running" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1065 #, c-format msgid "libvirt-sandbox-init-common: unable to create signal pipe: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1084 #, c-format msgid "libvirt-sandbox-init-common: cannot open %s: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1141 #, c-format msgid "libvirt-sandbox-init-common: %s: cannot execute %s: %s\n" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1167 msgid "config file path" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1170 msgid "Run '" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1180 #, c-format msgid "%s: must be launched as root\n" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1187 msgid "Libvirt Sandbox Init Common" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1205 #, c-format msgid "%s: Unable to load config %s: %s\n" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1231 #, c-format msgid "Unsupported configuration type %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:69 msgid "Unable to decode message length" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:76 #, c-format msgid "packet %u bytes received from server too small, want %u" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:86 #, c-format msgid "packet %u bytes received from server too large, want %d" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:130 msgid "Unable to decode message header" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:174 #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:235 #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:303 #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:329 msgid "Unable to encode message length" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:180 msgid "Unable to encode message header" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:192 msgid "Unable to re-encode message length" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:222 msgid "Unable to encode message payload" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:265 msgid "Unable to decode message payload" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:290 #, c-format msgid "Raw data too long to send (%zu bytes needed, %zu bytes available)" msgstr "" libvirt-sandbox-0.5.1+git20160404/po/pa.po000066400000000000000000000342011275305543100176070ustar00rootroot00000000000000# SOME DESCRIPTIVE TITLE. # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # # Translators: msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2015-02-18 14:55+0000\n" "PO-Revision-Date: 2013-04-08 06:10-0400\n" "Last-Translator: FULL NAME \n" "Language-Team: Panjabi (Punjabi) \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Language: pa\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" "X-Generator: Zanata 3.5.1\n" #: ../bin/virt-sandbox.c:48 ../bin/virt-sandbox-service-util.c:43 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1149 #, c-format msgid "%s version %s\n" msgstr "" #: ../bin/virt-sandbox.c:84 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1161 msgid "display version information" msgstr "" #: ../bin/virt-sandbox.c:86 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1163 msgid "display verbose information" msgstr "" #: ../bin/virt-sandbox.c:88 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1165 msgid "display debugging information" msgstr "" #: ../bin/virt-sandbox.c:90 msgid "connect to hypervisor" msgstr "" #: ../bin/virt-sandbox.c:92 msgid "name of the sandbox" msgstr "" #: ../bin/virt-sandbox.c:94 msgid "root directory of the sandbox" msgstr "" #: ../bin/virt-sandbox.c:96 msgid "mount a filesystem in the guest" msgstr "" #: ../bin/virt-sandbox.c:98 msgid "file to copy into custom dir" msgstr "" #: ../bin/virt-sandbox.c:100 msgid "file contain list of files to include" msgstr "" #: ../bin/virt-sandbox.c:102 msgid "setup network interface properties" msgstr "" #: ../bin/virt-sandbox.c:104 msgid "security properties" msgstr "" #: ../bin/virt-sandbox.c:106 msgid "run the command privileged" msgstr "" #: ../bin/virt-sandbox.c:108 msgid "start a shell" msgstr "" #: ../bin/virt-sandbox.c:110 msgid "kernel version" msgstr "" #: ../bin/virt-sandbox.c:112 msgid "kernel binary path" msgstr "" #: ../bin/virt-sandbox.c:114 msgid "kernel module directory" msgstr "" #: ../bin/virt-sandbox.c:119 msgid "" "Run 'virt-sandbox --help' to see a full list of available command line " "options" msgstr "" #: ../bin/virt-sandbox.c:129 msgid "Libvirt Sandbox" msgstr "" #: ../bin/virt-sandbox.c:131 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1189 msgid "- Libvirt Sandbox" msgstr "" #: ../bin/virt-sandbox.c:144 #, c-format msgid "" "\n" "Usage: %s [OPTIONS] COMMAND-PATH [ARGS...]\n" "\n" "%s\n" "\n" msgstr "" #: ../bin/virt-sandbox.c:160 ../bin/virt-sandbox-service-util.c:65 #, c-format msgid "Unable to open connection: %s\n" msgstr "" #: ../bin/virt-sandbox.c:161 ../bin/virt-sandbox.c:188 #: ../bin/virt-sandbox.c:194 ../bin/virt-sandbox.c:200 #: ../bin/virt-sandbox.c:206 ../bin/virt-sandbox.c:212 #: ../bin/virt-sandbox.c:227 ../bin/virt-sandbox.c:233 #: ../bin/virt-sandbox.c:240 ../bin/virt-sandbox.c:246 #: ../bin/virt-sandbox.c:254 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1247 msgid "Unknown failure" msgstr "" #: ../bin/virt-sandbox.c:187 #, c-format msgid "Unable to parse mounts: %s\n" msgstr "" #: ../bin/virt-sandbox.c:193 #, c-format msgid "Unable to parse includes: %s\n" msgstr "" #: ../bin/virt-sandbox.c:199 #, c-format msgid "Unable to parse include file: %s\n" msgstr "" #: ../bin/virt-sandbox.c:205 #, c-format msgid "Unable to parse networks: %s\n" msgstr "" #: ../bin/virt-sandbox.c:211 #, c-format msgid "Unable to parse security: %s\n" msgstr "" #: ../bin/virt-sandbox.c:226 #, c-format msgid "Unable to start sandbox: %s\n" msgstr "" #: ../bin/virt-sandbox.c:232 #, c-format msgid "Unable to get log console: %s\n" msgstr "" #: ../bin/virt-sandbox.c:239 ../bin/virt-sandbox.c:253 #, c-format msgid "Unable to attach sandbox console: %s\n" msgstr "" #: ../bin/virt-sandbox.c:245 #, c-format msgid "Unable to get app console: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:66 ../bin/virt-sandbox-service-util.c:72 #: ../bin/virt-sandbox-service-util.c:78 #: ../bin/virt-sandbox-service-util.c:104 #: ../bin/virt-sandbox-service-util.c:110 #: ../bin/virt-sandbox-service-util.c:120 #: ../bin/virt-sandbox-service-util.c:127 #: ../bin/virt-sandbox-service-util.c:159 #: ../bin/virt-sandbox-service-util.c:165 #: ../bin/virt-sandbox-service-util.c:175 #: ../bin/virt-sandbox-service-util.c:182 msgid "unknown" msgstr "" #: ../bin/virt-sandbox-service-util.c:71 #, c-format msgid "Unable to read config file %s: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:77 #, c-format msgid "Unable to create new context service: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:103 #, c-format msgid "Unable to start container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:109 #, c-format msgid "Unable to get log console for container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:119 #, c-format msgid "Unable to attach console to stderr in the container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:126 #: ../bin/virt-sandbox-service-util.c:181 #, c-format msgid "Unable to disconnect console from libvirt: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:158 #: ../bin/virt-sandbox-service-util.c:174 #, c-format msgid "Unable to attach to container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:164 #, c-format msgid "Unable to get shell console for container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:240 msgid "Display version information" msgstr "" #: ../bin/virt-sandbox-service-util.c:242 msgid "Start a container" msgstr "" #: ../bin/virt-sandbox-service-util.c:244 msgid "Attach to a container" msgstr "" #: ../bin/virt-sandbox-service-util.c:246 msgid "Pid of process in container to which the command will run" msgstr "" #: ../bin/virt-sandbox-service-util.c:248 msgid "Connect to hypervisor Default:'lxc:///'" msgstr "" #: ../bin/virt-sandbox-service-util.c:253 msgid "" "Run 'virt-sandbox-service-util --help' to see a full list of available " "command line options\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:263 msgid "- Libvirt Sandbox Service" msgstr "" #: ../bin/virt-sandbox-service-util.c:275 #, c-format msgid "" "Invalid command: You must specify --start or --attach\n" "%s" msgstr "" #: ../bin/virt-sandbox-service-util.c:281 #, c-format msgid "Invalid command CONTAINER_NAME required: %s" msgstr "" #: ../bin/virt-sandbox-service-util.c:288 msgid "Libvirt Sandbox Service" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-initrd.c:171 #, c-format msgid "Unable to create temporary directory %s: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-initrd.c:217 #, c-format msgid "Kernel module dir %s does not exist" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-initrd.c:275 #, c-format msgid "Unable to read entries in %s: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-initrd.c:306 #, c-format msgid "Unable to access %s: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-machine.c:446 #, c-format msgid "Kernel image %s does not exist" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:941 #, c-format msgid "Cannot request DHCP with static routes/addresses" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:963 #, c-format msgid "No assignment in filter parameter configuration" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:999 #, c-format msgid "Cannot set static addresses with DHCP" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1019 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1028 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1082 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1090 #, c-format msgid "Unable to parse address %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1058 #, c-format msgid "Cannot set static routes with DHCP" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1076 #, c-format msgid "Missing gateway in route %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1110 #, c-format msgid "Unknown parameter %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1121 #, c-format msgid "Cannot set static routes without addresses" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1285 #, c-format msgid "No mount type prefix on %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1298 #, c-format msgid "Unknown mount type prefix on %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1311 #, c-format msgid "Missing mount source string on %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1411 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1476 #, c-format msgid "No mount with a prefix under %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1578 #, c-format msgid "Unable to get SELinux context of user: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1587 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1596 #, c-format msgid "Unknown security option '%s'" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1630 msgid "Missing mount target in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1635 msgid "Missing mount type in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1647 #, c-format msgid "Unknown mount type %s in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1654 msgid "Missing mount usage in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1663 msgid "Missing mount source in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:2150 msgid "Missing class name in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:2156 #, c-format msgid "Unknown type name '%s' in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:2163 #, c-format msgid "Type name '%s' in config file had wrong parent" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console.c:326 msgid "Unable to isolate console unless direct access flag is set" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:184 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:350 #, c-format msgid "Unable to query terminal attributes: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:201 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:367 #, c-format msgid "Unable to update terminal attributes: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:224 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:395 #, c-format msgid "Unable to restore terminal attributes: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:630 msgid "No devices found for domain" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:660 #, c-format msgid "No device %s found for domain" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:666 #, c-format msgid "Unable to open console %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:699 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:1110 msgid "Console is already attached to a stream" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:628 #, c-format msgid "Unexpected rpc status %u" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:697 #, c-format msgid "Unexpected rpc proc %u" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:753 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:817 #, c-format msgid "Got rx in unexpected state %d" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:1167 msgid "ConsoleRpc is not attached to a stream" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-context.c:253 #: ../libvirt-sandbox/libvirt-sandbox-context.c:396 #, c-format msgid "Domain is not currently running" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-context.c:323 #: ../libvirt-sandbox/libvirt-sandbox-context.c:340 #: ../libvirt-sandbox/libvirt-sandbox-context.c:363 #, c-format msgid "Sandbox is not currently running" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1065 #, c-format msgid "libvirt-sandbox-init-common: unable to create signal pipe: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1084 #, c-format msgid "libvirt-sandbox-init-common: cannot open %s: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1141 #, c-format msgid "libvirt-sandbox-init-common: %s: cannot execute %s: %s\n" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1167 msgid "config file path" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1170 msgid "Run '" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1180 #, c-format msgid "%s: must be launched as root\n" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1187 msgid "Libvirt Sandbox Init Common" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1205 #, c-format msgid "%s: Unable to load config %s: %s\n" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1231 #, c-format msgid "Unsupported configuration type %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:69 msgid "Unable to decode message length" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:76 #, c-format msgid "packet %u bytes received from server too small, want %u" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:86 #, c-format msgid "packet %u bytes received from server too large, want %d" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:130 msgid "Unable to decode message header" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:174 #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:235 #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:303 #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:329 msgid "Unable to encode message length" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:180 msgid "Unable to encode message header" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:192 msgid "Unable to re-encode message length" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:222 msgid "Unable to encode message payload" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:265 msgid "Unable to decode message payload" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:290 #, c-format msgid "Raw data too long to send (%zu bytes needed, %zu bytes available)" msgstr "" libvirt-sandbox-0.5.1+git20160404/po/pl.po000066400000000000000000000346221275305543100176310ustar00rootroot00000000000000# SOME DESCRIPTIVE TITLE. # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # # Translators: # Daniel , 2011 # mmarzantowicz , 2013 # mmarzantowicz , 2012 # Piotr Drąg , 2013 msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2015-02-18 14:55+0000\n" "PO-Revision-Date: 2013-07-09 03:50-0400\n" "Last-Translator: Daniel Berrange \n" "Language-Team: Polish \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Language: pl\n" "Plural-Forms: nplurals=3; plural=(n==1 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n" "X-Generator: Zanata 3.5.1\n" #: ../bin/virt-sandbox.c:48 ../bin/virt-sandbox-service-util.c:43 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1149 #, c-format msgid "%s version %s\n" msgstr "%s wersja %s\n" #: ../bin/virt-sandbox.c:84 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1161 msgid "display version information" msgstr "" #: ../bin/virt-sandbox.c:86 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1163 msgid "display verbose information" msgstr "" #: ../bin/virt-sandbox.c:88 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1165 msgid "display debugging information" msgstr "" #: ../bin/virt-sandbox.c:90 msgid "connect to hypervisor" msgstr "" #: ../bin/virt-sandbox.c:92 msgid "name of the sandbox" msgstr "" #: ../bin/virt-sandbox.c:94 msgid "root directory of the sandbox" msgstr "" #: ../bin/virt-sandbox.c:96 msgid "mount a filesystem in the guest" msgstr "" #: ../bin/virt-sandbox.c:98 msgid "file to copy into custom dir" msgstr "" #: ../bin/virt-sandbox.c:100 msgid "file contain list of files to include" msgstr "" #: ../bin/virt-sandbox.c:102 msgid "setup network interface properties" msgstr "" #: ../bin/virt-sandbox.c:104 msgid "security properties" msgstr "" #: ../bin/virt-sandbox.c:106 msgid "run the command privileged" msgstr "" #: ../bin/virt-sandbox.c:108 msgid "start a shell" msgstr "" #: ../bin/virt-sandbox.c:110 msgid "kernel version" msgstr "" #: ../bin/virt-sandbox.c:112 msgid "kernel binary path" msgstr "" #: ../bin/virt-sandbox.c:114 msgid "kernel module directory" msgstr "" #: ../bin/virt-sandbox.c:119 msgid "" "Run 'virt-sandbox --help' to see a full list of available command line " "options" msgstr "" #: ../bin/virt-sandbox.c:129 msgid "Libvirt Sandbox" msgstr "" #: ../bin/virt-sandbox.c:131 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1189 msgid "- Libvirt Sandbox" msgstr "" #: ../bin/virt-sandbox.c:144 #, c-format msgid "" "\n" "Usage: %s [OPTIONS] COMMAND-PATH [ARGS...]\n" "\n" "%s\n" "\n" msgstr "" #: ../bin/virt-sandbox.c:160 ../bin/virt-sandbox-service-util.c:65 #, c-format msgid "Unable to open connection: %s\n" msgstr "" #: ../bin/virt-sandbox.c:161 ../bin/virt-sandbox.c:188 #: ../bin/virt-sandbox.c:194 ../bin/virt-sandbox.c:200 #: ../bin/virt-sandbox.c:206 ../bin/virt-sandbox.c:212 #: ../bin/virt-sandbox.c:227 ../bin/virt-sandbox.c:233 #: ../bin/virt-sandbox.c:240 ../bin/virt-sandbox.c:246 #: ../bin/virt-sandbox.c:254 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1247 msgid "Unknown failure" msgstr "" #: ../bin/virt-sandbox.c:187 #, c-format msgid "Unable to parse mounts: %s\n" msgstr "" #: ../bin/virt-sandbox.c:193 #, c-format msgid "Unable to parse includes: %s\n" msgstr "" #: ../bin/virt-sandbox.c:199 #, c-format msgid "Unable to parse include file: %s\n" msgstr "" #: ../bin/virt-sandbox.c:205 #, c-format msgid "Unable to parse networks: %s\n" msgstr "" #: ../bin/virt-sandbox.c:211 #, c-format msgid "Unable to parse security: %s\n" msgstr "" #: ../bin/virt-sandbox.c:226 #, c-format msgid "Unable to start sandbox: %s\n" msgstr "" #: ../bin/virt-sandbox.c:232 #, c-format msgid "Unable to get log console: %s\n" msgstr "" #: ../bin/virt-sandbox.c:239 ../bin/virt-sandbox.c:253 #, c-format msgid "Unable to attach sandbox console: %s\n" msgstr "" #: ../bin/virt-sandbox.c:245 #, c-format msgid "Unable to get app console: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:66 ../bin/virt-sandbox-service-util.c:72 #: ../bin/virt-sandbox-service-util.c:78 #: ../bin/virt-sandbox-service-util.c:104 #: ../bin/virt-sandbox-service-util.c:110 #: ../bin/virt-sandbox-service-util.c:120 #: ../bin/virt-sandbox-service-util.c:127 #: ../bin/virt-sandbox-service-util.c:159 #: ../bin/virt-sandbox-service-util.c:165 #: ../bin/virt-sandbox-service-util.c:175 #: ../bin/virt-sandbox-service-util.c:182 msgid "unknown" msgstr "nieznane" #: ../bin/virt-sandbox-service-util.c:71 #, c-format msgid "Unable to read config file %s: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:77 #, c-format msgid "Unable to create new context service: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:103 #, c-format msgid "Unable to start container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:109 #, c-format msgid "Unable to get log console for container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:119 #, c-format msgid "Unable to attach console to stderr in the container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:126 #: ../bin/virt-sandbox-service-util.c:181 #, c-format msgid "Unable to disconnect console from libvirt: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:158 #: ../bin/virt-sandbox-service-util.c:174 #, c-format msgid "Unable to attach to container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:164 #, c-format msgid "Unable to get shell console for container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:240 msgid "Display version information" msgstr "" #: ../bin/virt-sandbox-service-util.c:242 msgid "Start a container" msgstr "" #: ../bin/virt-sandbox-service-util.c:244 msgid "Attach to a container" msgstr "" #: ../bin/virt-sandbox-service-util.c:246 msgid "Pid of process in container to which the command will run" msgstr "" #: ../bin/virt-sandbox-service-util.c:248 msgid "Connect to hypervisor Default:'lxc:///'" msgstr "" #: ../bin/virt-sandbox-service-util.c:253 msgid "" "Run 'virt-sandbox-service-util --help' to see a full list of available " "command line options\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:263 msgid "- Libvirt Sandbox Service" msgstr "" #: ../bin/virt-sandbox-service-util.c:275 #, c-format msgid "" "Invalid command: You must specify --start or --attach\n" "%s" msgstr "" #: ../bin/virt-sandbox-service-util.c:281 #, c-format msgid "Invalid command CONTAINER_NAME required: %s" msgstr "" #: ../bin/virt-sandbox-service-util.c:288 msgid "Libvirt Sandbox Service" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-initrd.c:171 #, c-format msgid "Unable to create temporary directory %s: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-initrd.c:217 #, c-format msgid "Kernel module dir %s does not exist" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-initrd.c:275 #, c-format msgid "Unable to read entries in %s: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-initrd.c:306 #, c-format msgid "Unable to access %s: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-machine.c:446 #, c-format msgid "Kernel image %s does not exist" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:941 #, c-format msgid "Cannot request DHCP with static routes/addresses" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:963 #, c-format msgid "No assignment in filter parameter configuration" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:999 #, c-format msgid "Cannot set static addresses with DHCP" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1019 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1028 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1082 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1090 #, c-format msgid "Unable to parse address %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1058 #, c-format msgid "Cannot set static routes with DHCP" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1076 #, c-format msgid "Missing gateway in route %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1110 #, c-format msgid "Unknown parameter %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1121 #, c-format msgid "Cannot set static routes without addresses" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1285 #, c-format msgid "No mount type prefix on %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1298 #, c-format msgid "Unknown mount type prefix on %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1311 #, c-format msgid "Missing mount source string on %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1411 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1476 #, c-format msgid "No mount with a prefix under %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1578 #, c-format msgid "Unable to get SELinux context of user: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1587 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1596 #, c-format msgid "Unknown security option '%s'" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1630 msgid "Missing mount target in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1635 msgid "Missing mount type in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1647 #, c-format msgid "Unknown mount type %s in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1654 msgid "Missing mount usage in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1663 msgid "Missing mount source in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:2150 msgid "Missing class name in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:2156 #, c-format msgid "Unknown type name '%s' in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:2163 #, c-format msgid "Type name '%s' in config file had wrong parent" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console.c:326 msgid "Unable to isolate console unless direct access flag is set" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:184 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:350 #, c-format msgid "Unable to query terminal attributes: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:201 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:367 #, c-format msgid "Unable to update terminal attributes: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:224 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:395 #, c-format msgid "Unable to restore terminal attributes: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:630 msgid "No devices found for domain" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:660 #, c-format msgid "No device %s found for domain" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:666 #, c-format msgid "Unable to open console %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:699 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:1110 msgid "Console is already attached to a stream" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:628 #, c-format msgid "Unexpected rpc status %u" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:697 #, c-format msgid "Unexpected rpc proc %u" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:753 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:817 #, c-format msgid "Got rx in unexpected state %d" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:1167 msgid "ConsoleRpc is not attached to a stream" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-context.c:253 #: ../libvirt-sandbox/libvirt-sandbox-context.c:396 #, c-format msgid "Domain is not currently running" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-context.c:323 #: ../libvirt-sandbox/libvirt-sandbox-context.c:340 #: ../libvirt-sandbox/libvirt-sandbox-context.c:363 #, c-format msgid "Sandbox is not currently running" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1065 #, c-format msgid "libvirt-sandbox-init-common: unable to create signal pipe: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1084 #, c-format msgid "libvirt-sandbox-init-common: cannot open %s: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1141 #, c-format msgid "libvirt-sandbox-init-common: %s: cannot execute %s: %s\n" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1167 msgid "config file path" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1170 msgid "Run '" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1180 #, c-format msgid "%s: must be launched as root\n" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1187 msgid "Libvirt Sandbox Init Common" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1205 #, c-format msgid "%s: Unable to load config %s: %s\n" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1231 #, c-format msgid "Unsupported configuration type %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:69 msgid "Unable to decode message length" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:76 #, c-format msgid "packet %u bytes received from server too small, want %u" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:86 #, c-format msgid "packet %u bytes received from server too large, want %d" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:130 msgid "Unable to decode message header" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:174 #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:235 #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:303 #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:329 msgid "Unable to encode message length" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:180 msgid "Unable to encode message header" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:192 msgid "Unable to re-encode message length" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:222 msgid "Unable to encode message payload" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:265 msgid "Unable to decode message payload" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:290 #, c-format msgid "Raw data too long to send (%zu bytes needed, %zu bytes available)" msgstr "" libvirt-sandbox-0.5.1+git20160404/po/pt.po000066400000000000000000000342231275305543100176360ustar00rootroot00000000000000# SOME DESCRIPTIVE TITLE. # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # # Translators: msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2015-02-18 14:55+0000\n" "PO-Revision-Date: 2013-07-09 03:50-0400\n" "Last-Translator: Daniel Berrange \n" "Language-Team: Portuguese \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Language: pt\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" "X-Generator: Zanata 3.5.1\n" #: ../bin/virt-sandbox.c:48 ../bin/virt-sandbox-service-util.c:43 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1149 #, c-format msgid "%s version %s\n" msgstr "" #: ../bin/virt-sandbox.c:84 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1161 msgid "display version information" msgstr "" #: ../bin/virt-sandbox.c:86 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1163 msgid "display verbose information" msgstr "" #: ../bin/virt-sandbox.c:88 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1165 msgid "display debugging information" msgstr "" #: ../bin/virt-sandbox.c:90 msgid "connect to hypervisor" msgstr "" #: ../bin/virt-sandbox.c:92 msgid "name of the sandbox" msgstr "" #: ../bin/virt-sandbox.c:94 msgid "root directory of the sandbox" msgstr "" #: ../bin/virt-sandbox.c:96 msgid "mount a filesystem in the guest" msgstr "" #: ../bin/virt-sandbox.c:98 msgid "file to copy into custom dir" msgstr "" #: ../bin/virt-sandbox.c:100 msgid "file contain list of files to include" msgstr "" #: ../bin/virt-sandbox.c:102 msgid "setup network interface properties" msgstr "" #: ../bin/virt-sandbox.c:104 msgid "security properties" msgstr "" #: ../bin/virt-sandbox.c:106 msgid "run the command privileged" msgstr "" #: ../bin/virt-sandbox.c:108 msgid "start a shell" msgstr "" #: ../bin/virt-sandbox.c:110 msgid "kernel version" msgstr "" #: ../bin/virt-sandbox.c:112 msgid "kernel binary path" msgstr "" #: ../bin/virt-sandbox.c:114 msgid "kernel module directory" msgstr "" #: ../bin/virt-sandbox.c:119 msgid "" "Run 'virt-sandbox --help' to see a full list of available command line " "options" msgstr "" #: ../bin/virt-sandbox.c:129 msgid "Libvirt Sandbox" msgstr "" #: ../bin/virt-sandbox.c:131 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1189 msgid "- Libvirt Sandbox" msgstr "" #: ../bin/virt-sandbox.c:144 #, c-format msgid "" "\n" "Usage: %s [OPTIONS] COMMAND-PATH [ARGS...]\n" "\n" "%s\n" "\n" msgstr "" #: ../bin/virt-sandbox.c:160 ../bin/virt-sandbox-service-util.c:65 #, c-format msgid "Unable to open connection: %s\n" msgstr "" #: ../bin/virt-sandbox.c:161 ../bin/virt-sandbox.c:188 #: ../bin/virt-sandbox.c:194 ../bin/virt-sandbox.c:200 #: ../bin/virt-sandbox.c:206 ../bin/virt-sandbox.c:212 #: ../bin/virt-sandbox.c:227 ../bin/virt-sandbox.c:233 #: ../bin/virt-sandbox.c:240 ../bin/virt-sandbox.c:246 #: ../bin/virt-sandbox.c:254 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1247 msgid "Unknown failure" msgstr "" #: ../bin/virt-sandbox.c:187 #, c-format msgid "Unable to parse mounts: %s\n" msgstr "" #: ../bin/virt-sandbox.c:193 #, c-format msgid "Unable to parse includes: %s\n" msgstr "" #: ../bin/virt-sandbox.c:199 #, c-format msgid "Unable to parse include file: %s\n" msgstr "" #: ../bin/virt-sandbox.c:205 #, c-format msgid "Unable to parse networks: %s\n" msgstr "" #: ../bin/virt-sandbox.c:211 #, c-format msgid "Unable to parse security: %s\n" msgstr "" #: ../bin/virt-sandbox.c:226 #, c-format msgid "Unable to start sandbox: %s\n" msgstr "" #: ../bin/virt-sandbox.c:232 #, c-format msgid "Unable to get log console: %s\n" msgstr "" #: ../bin/virt-sandbox.c:239 ../bin/virt-sandbox.c:253 #, c-format msgid "Unable to attach sandbox console: %s\n" msgstr "" #: ../bin/virt-sandbox.c:245 #, c-format msgid "Unable to get app console: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:66 ../bin/virt-sandbox-service-util.c:72 #: ../bin/virt-sandbox-service-util.c:78 #: ../bin/virt-sandbox-service-util.c:104 #: ../bin/virt-sandbox-service-util.c:110 #: ../bin/virt-sandbox-service-util.c:120 #: ../bin/virt-sandbox-service-util.c:127 #: ../bin/virt-sandbox-service-util.c:159 #: ../bin/virt-sandbox-service-util.c:165 #: ../bin/virt-sandbox-service-util.c:175 #: ../bin/virt-sandbox-service-util.c:182 msgid "unknown" msgstr "" #: ../bin/virt-sandbox-service-util.c:71 #, c-format msgid "Unable to read config file %s: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:77 #, c-format msgid "Unable to create new context service: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:103 #, c-format msgid "Unable to start container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:109 #, c-format msgid "Unable to get log console for container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:119 #, c-format msgid "Unable to attach console to stderr in the container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:126 #: ../bin/virt-sandbox-service-util.c:181 #, c-format msgid "Unable to disconnect console from libvirt: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:158 #: ../bin/virt-sandbox-service-util.c:174 #, c-format msgid "Unable to attach to container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:164 #, c-format msgid "Unable to get shell console for container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:240 msgid "Display version information" msgstr "" #: ../bin/virt-sandbox-service-util.c:242 msgid "Start a container" msgstr "" #: ../bin/virt-sandbox-service-util.c:244 msgid "Attach to a container" msgstr "" #: ../bin/virt-sandbox-service-util.c:246 msgid "Pid of process in container to which the command will run" msgstr "" #: ../bin/virt-sandbox-service-util.c:248 msgid "Connect to hypervisor Default:'lxc:///'" msgstr "" #: ../bin/virt-sandbox-service-util.c:253 msgid "" "Run 'virt-sandbox-service-util --help' to see a full list of available " "command line options\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:263 msgid "- Libvirt Sandbox Service" msgstr "" #: ../bin/virt-sandbox-service-util.c:275 #, c-format msgid "" "Invalid command: You must specify --start or --attach\n" "%s" msgstr "" #: ../bin/virt-sandbox-service-util.c:281 #, c-format msgid "Invalid command CONTAINER_NAME required: %s" msgstr "" #: ../bin/virt-sandbox-service-util.c:288 msgid "Libvirt Sandbox Service" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-initrd.c:171 #, c-format msgid "Unable to create temporary directory %s: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-initrd.c:217 #, c-format msgid "Kernel module dir %s does not exist" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-initrd.c:275 #, c-format msgid "Unable to read entries in %s: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-initrd.c:306 #, c-format msgid "Unable to access %s: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-machine.c:446 #, c-format msgid "Kernel image %s does not exist" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:941 #, c-format msgid "Cannot request DHCP with static routes/addresses" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:963 #, c-format msgid "No assignment in filter parameter configuration" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:999 #, c-format msgid "Cannot set static addresses with DHCP" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1019 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1028 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1082 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1090 #, c-format msgid "Unable to parse address %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1058 #, c-format msgid "Cannot set static routes with DHCP" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1076 #, c-format msgid "Missing gateway in route %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1110 #, c-format msgid "Unknown parameter %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1121 #, c-format msgid "Cannot set static routes without addresses" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1285 #, c-format msgid "No mount type prefix on %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1298 #, c-format msgid "Unknown mount type prefix on %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1311 #, c-format msgid "Missing mount source string on %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1411 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1476 #, c-format msgid "No mount with a prefix under %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1578 #, c-format msgid "Unable to get SELinux context of user: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1587 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1596 #, c-format msgid "Unknown security option '%s'" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1630 msgid "Missing mount target in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1635 msgid "Missing mount type in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1647 #, c-format msgid "Unknown mount type %s in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1654 msgid "Missing mount usage in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1663 msgid "Missing mount source in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:2150 msgid "Missing class name in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:2156 #, c-format msgid "Unknown type name '%s' in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:2163 #, c-format msgid "Type name '%s' in config file had wrong parent" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console.c:326 msgid "Unable to isolate console unless direct access flag is set" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:184 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:350 #, c-format msgid "Unable to query terminal attributes: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:201 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:367 #, c-format msgid "Unable to update terminal attributes: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:224 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:395 #, c-format msgid "Unable to restore terminal attributes: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:630 msgid "No devices found for domain" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:660 #, c-format msgid "No device %s found for domain" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:666 #, c-format msgid "Unable to open console %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:699 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:1110 msgid "Console is already attached to a stream" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:628 #, c-format msgid "Unexpected rpc status %u" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:697 #, c-format msgid "Unexpected rpc proc %u" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:753 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:817 #, c-format msgid "Got rx in unexpected state %d" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:1167 msgid "ConsoleRpc is not attached to a stream" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-context.c:253 #: ../libvirt-sandbox/libvirt-sandbox-context.c:396 #, c-format msgid "Domain is not currently running" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-context.c:323 #: ../libvirt-sandbox/libvirt-sandbox-context.c:340 #: ../libvirt-sandbox/libvirt-sandbox-context.c:363 #, c-format msgid "Sandbox is not currently running" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1065 #, c-format msgid "libvirt-sandbox-init-common: unable to create signal pipe: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1084 #, c-format msgid "libvirt-sandbox-init-common: cannot open %s: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1141 #, c-format msgid "libvirt-sandbox-init-common: %s: cannot execute %s: %s\n" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1167 msgid "config file path" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1170 msgid "Run '" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1180 #, c-format msgid "%s: must be launched as root\n" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1187 msgid "Libvirt Sandbox Init Common" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1205 #, c-format msgid "%s: Unable to load config %s: %s\n" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1231 #, c-format msgid "Unsupported configuration type %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:69 msgid "Unable to decode message length" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:76 #, c-format msgid "packet %u bytes received from server too small, want %u" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:86 #, c-format msgid "packet %u bytes received from server too large, want %d" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:130 msgid "Unable to decode message header" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:174 #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:235 #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:303 #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:329 msgid "Unable to encode message length" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:180 msgid "Unable to encode message header" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:192 msgid "Unable to re-encode message length" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:222 msgid "Unable to encode message payload" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:265 msgid "Unable to decode message payload" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:290 #, c-format msgid "Raw data too long to send (%zu bytes needed, %zu bytes available)" msgstr "" libvirt-sandbox-0.5.1+git20160404/po/pt_BR.po000066400000000000000000000342161275305543100202230ustar00rootroot00000000000000# SOME DESCRIPTIVE TITLE. # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # # Translators: msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2015-02-18 14:55+0000\n" "PO-Revision-Date: 2013-04-08 06:10-0400\n" "Last-Translator: FULL NAME \n" "Language-Team: Portuguese (Brazil) \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Language: pt-BR\n" "Plural-Forms: nplurals=2; plural=(n > 1);\n" "X-Generator: Zanata 3.5.1\n" #: ../bin/virt-sandbox.c:48 ../bin/virt-sandbox-service-util.c:43 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1149 #, c-format msgid "%s version %s\n" msgstr "" #: ../bin/virt-sandbox.c:84 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1161 msgid "display version information" msgstr "" #: ../bin/virt-sandbox.c:86 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1163 msgid "display verbose information" msgstr "" #: ../bin/virt-sandbox.c:88 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1165 msgid "display debugging information" msgstr "" #: ../bin/virt-sandbox.c:90 msgid "connect to hypervisor" msgstr "" #: ../bin/virt-sandbox.c:92 msgid "name of the sandbox" msgstr "" #: ../bin/virt-sandbox.c:94 msgid "root directory of the sandbox" msgstr "" #: ../bin/virt-sandbox.c:96 msgid "mount a filesystem in the guest" msgstr "" #: ../bin/virt-sandbox.c:98 msgid "file to copy into custom dir" msgstr "" #: ../bin/virt-sandbox.c:100 msgid "file contain list of files to include" msgstr "" #: ../bin/virt-sandbox.c:102 msgid "setup network interface properties" msgstr "" #: ../bin/virt-sandbox.c:104 msgid "security properties" msgstr "" #: ../bin/virt-sandbox.c:106 msgid "run the command privileged" msgstr "" #: ../bin/virt-sandbox.c:108 msgid "start a shell" msgstr "" #: ../bin/virt-sandbox.c:110 msgid "kernel version" msgstr "" #: ../bin/virt-sandbox.c:112 msgid "kernel binary path" msgstr "" #: ../bin/virt-sandbox.c:114 msgid "kernel module directory" msgstr "" #: ../bin/virt-sandbox.c:119 msgid "" "Run 'virt-sandbox --help' to see a full list of available command line " "options" msgstr "" #: ../bin/virt-sandbox.c:129 msgid "Libvirt Sandbox" msgstr "" #: ../bin/virt-sandbox.c:131 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1189 msgid "- Libvirt Sandbox" msgstr "" #: ../bin/virt-sandbox.c:144 #, c-format msgid "" "\n" "Usage: %s [OPTIONS] COMMAND-PATH [ARGS...]\n" "\n" "%s\n" "\n" msgstr "" #: ../bin/virt-sandbox.c:160 ../bin/virt-sandbox-service-util.c:65 #, c-format msgid "Unable to open connection: %s\n" msgstr "" #: ../bin/virt-sandbox.c:161 ../bin/virt-sandbox.c:188 #: ../bin/virt-sandbox.c:194 ../bin/virt-sandbox.c:200 #: ../bin/virt-sandbox.c:206 ../bin/virt-sandbox.c:212 #: ../bin/virt-sandbox.c:227 ../bin/virt-sandbox.c:233 #: ../bin/virt-sandbox.c:240 ../bin/virt-sandbox.c:246 #: ../bin/virt-sandbox.c:254 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1247 msgid "Unknown failure" msgstr "" #: ../bin/virt-sandbox.c:187 #, c-format msgid "Unable to parse mounts: %s\n" msgstr "" #: ../bin/virt-sandbox.c:193 #, c-format msgid "Unable to parse includes: %s\n" msgstr "" #: ../bin/virt-sandbox.c:199 #, c-format msgid "Unable to parse include file: %s\n" msgstr "" #: ../bin/virt-sandbox.c:205 #, c-format msgid "Unable to parse networks: %s\n" msgstr "" #: ../bin/virt-sandbox.c:211 #, c-format msgid "Unable to parse security: %s\n" msgstr "" #: ../bin/virt-sandbox.c:226 #, c-format msgid "Unable to start sandbox: %s\n" msgstr "" #: ../bin/virt-sandbox.c:232 #, c-format msgid "Unable to get log console: %s\n" msgstr "" #: ../bin/virt-sandbox.c:239 ../bin/virt-sandbox.c:253 #, c-format msgid "Unable to attach sandbox console: %s\n" msgstr "" #: ../bin/virt-sandbox.c:245 #, c-format msgid "Unable to get app console: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:66 ../bin/virt-sandbox-service-util.c:72 #: ../bin/virt-sandbox-service-util.c:78 #: ../bin/virt-sandbox-service-util.c:104 #: ../bin/virt-sandbox-service-util.c:110 #: ../bin/virt-sandbox-service-util.c:120 #: ../bin/virt-sandbox-service-util.c:127 #: ../bin/virt-sandbox-service-util.c:159 #: ../bin/virt-sandbox-service-util.c:165 #: ../bin/virt-sandbox-service-util.c:175 #: ../bin/virt-sandbox-service-util.c:182 msgid "unknown" msgstr "" #: ../bin/virt-sandbox-service-util.c:71 #, c-format msgid "Unable to read config file %s: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:77 #, c-format msgid "Unable to create new context service: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:103 #, c-format msgid "Unable to start container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:109 #, c-format msgid "Unable to get log console for container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:119 #, c-format msgid "Unable to attach console to stderr in the container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:126 #: ../bin/virt-sandbox-service-util.c:181 #, c-format msgid "Unable to disconnect console from libvirt: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:158 #: ../bin/virt-sandbox-service-util.c:174 #, c-format msgid "Unable to attach to container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:164 #, c-format msgid "Unable to get shell console for container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:240 msgid "Display version information" msgstr "" #: ../bin/virt-sandbox-service-util.c:242 msgid "Start a container" msgstr "" #: ../bin/virt-sandbox-service-util.c:244 msgid "Attach to a container" msgstr "" #: ../bin/virt-sandbox-service-util.c:246 msgid "Pid of process in container to which the command will run" msgstr "" #: ../bin/virt-sandbox-service-util.c:248 msgid "Connect to hypervisor Default:'lxc:///'" msgstr "" #: ../bin/virt-sandbox-service-util.c:253 msgid "" "Run 'virt-sandbox-service-util --help' to see a full list of available " "command line options\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:263 msgid "- Libvirt Sandbox Service" msgstr "" #: ../bin/virt-sandbox-service-util.c:275 #, c-format msgid "" "Invalid command: You must specify --start or --attach\n" "%s" msgstr "" #: ../bin/virt-sandbox-service-util.c:281 #, c-format msgid "Invalid command CONTAINER_NAME required: %s" msgstr "" #: ../bin/virt-sandbox-service-util.c:288 msgid "Libvirt Sandbox Service" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-initrd.c:171 #, c-format msgid "Unable to create temporary directory %s: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-initrd.c:217 #, c-format msgid "Kernel module dir %s does not exist" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-initrd.c:275 #, c-format msgid "Unable to read entries in %s: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-initrd.c:306 #, c-format msgid "Unable to access %s: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-machine.c:446 #, c-format msgid "Kernel image %s does not exist" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:941 #, c-format msgid "Cannot request DHCP with static routes/addresses" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:963 #, c-format msgid "No assignment in filter parameter configuration" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:999 #, c-format msgid "Cannot set static addresses with DHCP" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1019 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1028 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1082 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1090 #, c-format msgid "Unable to parse address %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1058 #, c-format msgid "Cannot set static routes with DHCP" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1076 #, c-format msgid "Missing gateway in route %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1110 #, c-format msgid "Unknown parameter %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1121 #, c-format msgid "Cannot set static routes without addresses" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1285 #, c-format msgid "No mount type prefix on %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1298 #, c-format msgid "Unknown mount type prefix on %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1311 #, c-format msgid "Missing mount source string on %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1411 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1476 #, c-format msgid "No mount with a prefix under %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1578 #, c-format msgid "Unable to get SELinux context of user: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1587 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1596 #, c-format msgid "Unknown security option '%s'" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1630 msgid "Missing mount target in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1635 msgid "Missing mount type in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1647 #, c-format msgid "Unknown mount type %s in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1654 msgid "Missing mount usage in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1663 msgid "Missing mount source in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:2150 msgid "Missing class name in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:2156 #, c-format msgid "Unknown type name '%s' in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:2163 #, c-format msgid "Type name '%s' in config file had wrong parent" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console.c:326 msgid "Unable to isolate console unless direct access flag is set" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:184 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:350 #, c-format msgid "Unable to query terminal attributes: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:201 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:367 #, c-format msgid "Unable to update terminal attributes: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:224 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:395 #, c-format msgid "Unable to restore terminal attributes: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:630 msgid "No devices found for domain" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:660 #, c-format msgid "No device %s found for domain" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:666 #, c-format msgid "Unable to open console %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:699 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:1110 msgid "Console is already attached to a stream" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:628 #, c-format msgid "Unexpected rpc status %u" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:697 #, c-format msgid "Unexpected rpc proc %u" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:753 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:817 #, c-format msgid "Got rx in unexpected state %d" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:1167 msgid "ConsoleRpc is not attached to a stream" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-context.c:253 #: ../libvirt-sandbox/libvirt-sandbox-context.c:396 #, c-format msgid "Domain is not currently running" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-context.c:323 #: ../libvirt-sandbox/libvirt-sandbox-context.c:340 #: ../libvirt-sandbox/libvirt-sandbox-context.c:363 #, c-format msgid "Sandbox is not currently running" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1065 #, c-format msgid "libvirt-sandbox-init-common: unable to create signal pipe: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1084 #, c-format msgid "libvirt-sandbox-init-common: cannot open %s: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1141 #, c-format msgid "libvirt-sandbox-init-common: %s: cannot execute %s: %s\n" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1167 msgid "config file path" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1170 msgid "Run '" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1180 #, c-format msgid "%s: must be launched as root\n" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1187 msgid "Libvirt Sandbox Init Common" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1205 #, c-format msgid "%s: Unable to load config %s: %s\n" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1231 #, c-format msgid "Unsupported configuration type %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:69 msgid "Unable to decode message length" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:76 #, c-format msgid "packet %u bytes received from server too small, want %u" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:86 #, c-format msgid "packet %u bytes received from server too large, want %d" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:130 msgid "Unable to decode message header" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:174 #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:235 #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:303 #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:329 msgid "Unable to encode message length" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:180 msgid "Unable to encode message header" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:192 msgid "Unable to re-encode message length" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:222 msgid "Unable to encode message payload" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:265 msgid "Unable to decode message payload" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:290 #, c-format msgid "Raw data too long to send (%zu bytes needed, %zu bytes available)" msgstr "" libvirt-sandbox-0.5.1+git20160404/po/ro.po000066400000000000000000000342761275305543100176430ustar00rootroot00000000000000# SOME DESCRIPTIVE TITLE. # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # # Translators: msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2015-02-18 14:55+0000\n" "PO-Revision-Date: 2013-04-08 06:10-0400\n" "Last-Translator: FULL NAME \n" "Language-Team: Romanian (http://www.transifex.com/projects/p/fedora/language/ro/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Language: ro\n" "Plural-Forms: nplurals=3; plural=(n==1?0:(((n%100>19)||((n%100==0)&&(n!=0)))?2:1));\n" "X-Generator: Zanata 3.5.1\n" #: ../bin/virt-sandbox.c:48 ../bin/virt-sandbox-service-util.c:43 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1149 #, c-format msgid "%s version %s\n" msgstr "" #: ../bin/virt-sandbox.c:84 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1161 msgid "display version information" msgstr "" #: ../bin/virt-sandbox.c:86 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1163 msgid "display verbose information" msgstr "" #: ../bin/virt-sandbox.c:88 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1165 msgid "display debugging information" msgstr "" #: ../bin/virt-sandbox.c:90 msgid "connect to hypervisor" msgstr "" #: ../bin/virt-sandbox.c:92 msgid "name of the sandbox" msgstr "" #: ../bin/virt-sandbox.c:94 msgid "root directory of the sandbox" msgstr "" #: ../bin/virt-sandbox.c:96 msgid "mount a filesystem in the guest" msgstr "" #: ../bin/virt-sandbox.c:98 msgid "file to copy into custom dir" msgstr "" #: ../bin/virt-sandbox.c:100 msgid "file contain list of files to include" msgstr "" #: ../bin/virt-sandbox.c:102 msgid "setup network interface properties" msgstr "" #: ../bin/virt-sandbox.c:104 msgid "security properties" msgstr "" #: ../bin/virt-sandbox.c:106 msgid "run the command privileged" msgstr "" #: ../bin/virt-sandbox.c:108 msgid "start a shell" msgstr "" #: ../bin/virt-sandbox.c:110 msgid "kernel version" msgstr "" #: ../bin/virt-sandbox.c:112 msgid "kernel binary path" msgstr "" #: ../bin/virt-sandbox.c:114 msgid "kernel module directory" msgstr "" #: ../bin/virt-sandbox.c:119 msgid "" "Run 'virt-sandbox --help' to see a full list of available command line " "options" msgstr "" #: ../bin/virt-sandbox.c:129 msgid "Libvirt Sandbox" msgstr "" #: ../bin/virt-sandbox.c:131 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1189 msgid "- Libvirt Sandbox" msgstr "" #: ../bin/virt-sandbox.c:144 #, c-format msgid "" "\n" "Usage: %s [OPTIONS] COMMAND-PATH [ARGS...]\n" "\n" "%s\n" "\n" msgstr "" #: ../bin/virt-sandbox.c:160 ../bin/virt-sandbox-service-util.c:65 #, c-format msgid "Unable to open connection: %s\n" msgstr "" #: ../bin/virt-sandbox.c:161 ../bin/virt-sandbox.c:188 #: ../bin/virt-sandbox.c:194 ../bin/virt-sandbox.c:200 #: ../bin/virt-sandbox.c:206 ../bin/virt-sandbox.c:212 #: ../bin/virt-sandbox.c:227 ../bin/virt-sandbox.c:233 #: ../bin/virt-sandbox.c:240 ../bin/virt-sandbox.c:246 #: ../bin/virt-sandbox.c:254 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1247 msgid "Unknown failure" msgstr "" #: ../bin/virt-sandbox.c:187 #, c-format msgid "Unable to parse mounts: %s\n" msgstr "" #: ../bin/virt-sandbox.c:193 #, c-format msgid "Unable to parse includes: %s\n" msgstr "" #: ../bin/virt-sandbox.c:199 #, c-format msgid "Unable to parse include file: %s\n" msgstr "" #: ../bin/virt-sandbox.c:205 #, c-format msgid "Unable to parse networks: %s\n" msgstr "" #: ../bin/virt-sandbox.c:211 #, c-format msgid "Unable to parse security: %s\n" msgstr "" #: ../bin/virt-sandbox.c:226 #, c-format msgid "Unable to start sandbox: %s\n" msgstr "" #: ../bin/virt-sandbox.c:232 #, c-format msgid "Unable to get log console: %s\n" msgstr "" #: ../bin/virt-sandbox.c:239 ../bin/virt-sandbox.c:253 #, c-format msgid "Unable to attach sandbox console: %s\n" msgstr "" #: ../bin/virt-sandbox.c:245 #, c-format msgid "Unable to get app console: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:66 ../bin/virt-sandbox-service-util.c:72 #: ../bin/virt-sandbox-service-util.c:78 #: ../bin/virt-sandbox-service-util.c:104 #: ../bin/virt-sandbox-service-util.c:110 #: ../bin/virt-sandbox-service-util.c:120 #: ../bin/virt-sandbox-service-util.c:127 #: ../bin/virt-sandbox-service-util.c:159 #: ../bin/virt-sandbox-service-util.c:165 #: ../bin/virt-sandbox-service-util.c:175 #: ../bin/virt-sandbox-service-util.c:182 msgid "unknown" msgstr "" #: ../bin/virt-sandbox-service-util.c:71 #, c-format msgid "Unable to read config file %s: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:77 #, c-format msgid "Unable to create new context service: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:103 #, c-format msgid "Unable to start container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:109 #, c-format msgid "Unable to get log console for container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:119 #, c-format msgid "Unable to attach console to stderr in the container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:126 #: ../bin/virt-sandbox-service-util.c:181 #, c-format msgid "Unable to disconnect console from libvirt: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:158 #: ../bin/virt-sandbox-service-util.c:174 #, c-format msgid "Unable to attach to container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:164 #, c-format msgid "Unable to get shell console for container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:240 msgid "Display version information" msgstr "" #: ../bin/virt-sandbox-service-util.c:242 msgid "Start a container" msgstr "" #: ../bin/virt-sandbox-service-util.c:244 msgid "Attach to a container" msgstr "" #: ../bin/virt-sandbox-service-util.c:246 msgid "Pid of process in container to which the command will run" msgstr "" #: ../bin/virt-sandbox-service-util.c:248 msgid "Connect to hypervisor Default:'lxc:///'" msgstr "" #: ../bin/virt-sandbox-service-util.c:253 msgid "" "Run 'virt-sandbox-service-util --help' to see a full list of available " "command line options\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:263 msgid "- Libvirt Sandbox Service" msgstr "" #: ../bin/virt-sandbox-service-util.c:275 #, c-format msgid "" "Invalid command: You must specify --start or --attach\n" "%s" msgstr "" #: ../bin/virt-sandbox-service-util.c:281 #, c-format msgid "Invalid command CONTAINER_NAME required: %s" msgstr "" #: ../bin/virt-sandbox-service-util.c:288 msgid "Libvirt Sandbox Service" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-initrd.c:171 #, c-format msgid "Unable to create temporary directory %s: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-initrd.c:217 #, c-format msgid "Kernel module dir %s does not exist" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-initrd.c:275 #, c-format msgid "Unable to read entries in %s: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-initrd.c:306 #, c-format msgid "Unable to access %s: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-machine.c:446 #, c-format msgid "Kernel image %s does not exist" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:941 #, c-format msgid "Cannot request DHCP with static routes/addresses" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:963 #, c-format msgid "No assignment in filter parameter configuration" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:999 #, c-format msgid "Cannot set static addresses with DHCP" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1019 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1028 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1082 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1090 #, c-format msgid "Unable to parse address %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1058 #, c-format msgid "Cannot set static routes with DHCP" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1076 #, c-format msgid "Missing gateway in route %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1110 #, c-format msgid "Unknown parameter %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1121 #, c-format msgid "Cannot set static routes without addresses" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1285 #, c-format msgid "No mount type prefix on %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1298 #, c-format msgid "Unknown mount type prefix on %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1311 #, c-format msgid "Missing mount source string on %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1411 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1476 #, c-format msgid "No mount with a prefix under %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1578 #, c-format msgid "Unable to get SELinux context of user: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1587 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1596 #, c-format msgid "Unknown security option '%s'" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1630 msgid "Missing mount target in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1635 msgid "Missing mount type in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1647 #, c-format msgid "Unknown mount type %s in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1654 msgid "Missing mount usage in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1663 msgid "Missing mount source in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:2150 msgid "Missing class name in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:2156 #, c-format msgid "Unknown type name '%s' in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:2163 #, c-format msgid "Type name '%s' in config file had wrong parent" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console.c:326 msgid "Unable to isolate console unless direct access flag is set" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:184 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:350 #, c-format msgid "Unable to query terminal attributes: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:201 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:367 #, c-format msgid "Unable to update terminal attributes: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:224 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:395 #, c-format msgid "Unable to restore terminal attributes: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:630 msgid "No devices found for domain" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:660 #, c-format msgid "No device %s found for domain" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:666 #, c-format msgid "Unable to open console %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:699 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:1110 msgid "Console is already attached to a stream" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:628 #, c-format msgid "Unexpected rpc status %u" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:697 #, c-format msgid "Unexpected rpc proc %u" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:753 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:817 #, c-format msgid "Got rx in unexpected state %d" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:1167 msgid "ConsoleRpc is not attached to a stream" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-context.c:253 #: ../libvirt-sandbox/libvirt-sandbox-context.c:396 #, c-format msgid "Domain is not currently running" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-context.c:323 #: ../libvirt-sandbox/libvirt-sandbox-context.c:340 #: ../libvirt-sandbox/libvirt-sandbox-context.c:363 #, c-format msgid "Sandbox is not currently running" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1065 #, c-format msgid "libvirt-sandbox-init-common: unable to create signal pipe: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1084 #, c-format msgid "libvirt-sandbox-init-common: cannot open %s: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1141 #, c-format msgid "libvirt-sandbox-init-common: %s: cannot execute %s: %s\n" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1167 msgid "config file path" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1170 msgid "Run '" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1180 #, c-format msgid "%s: must be launched as root\n" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1187 msgid "Libvirt Sandbox Init Common" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1205 #, c-format msgid "%s: Unable to load config %s: %s\n" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1231 #, c-format msgid "Unsupported configuration type %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:69 msgid "Unable to decode message length" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:76 #, c-format msgid "packet %u bytes received from server too small, want %u" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:86 #, c-format msgid "packet %u bytes received from server too large, want %d" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:130 msgid "Unable to decode message header" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:174 #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:235 #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:303 #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:329 msgid "Unable to encode message length" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:180 msgid "Unable to encode message header" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:192 msgid "Unable to re-encode message length" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:222 msgid "Unable to encode message payload" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:265 msgid "Unable to decode message payload" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:290 #, c-format msgid "Raw data too long to send (%zu bytes needed, %zu bytes available)" msgstr "" libvirt-sandbox-0.5.1+git20160404/po/ru.po000066400000000000000000000343321275305543100176420ustar00rootroot00000000000000# SOME DESCRIPTIVE TITLE. # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # # Translators: msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2015-02-18 14:55+0000\n" "PO-Revision-Date: 2013-07-09 03:50-0400\n" "Last-Translator: Daniel Berrange \n" "Language-Team: Russian \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Language: ru\n" "Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n" "X-Generator: Zanata 3.5.1\n" #: ../bin/virt-sandbox.c:48 ../bin/virt-sandbox-service-util.c:43 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1149 #, c-format msgid "%s version %s\n" msgstr "" #: ../bin/virt-sandbox.c:84 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1161 msgid "display version information" msgstr "" #: ../bin/virt-sandbox.c:86 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1163 msgid "display verbose information" msgstr "" #: ../bin/virt-sandbox.c:88 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1165 msgid "display debugging information" msgstr "" #: ../bin/virt-sandbox.c:90 msgid "connect to hypervisor" msgstr "" #: ../bin/virt-sandbox.c:92 msgid "name of the sandbox" msgstr "" #: ../bin/virt-sandbox.c:94 msgid "root directory of the sandbox" msgstr "" #: ../bin/virt-sandbox.c:96 msgid "mount a filesystem in the guest" msgstr "" #: ../bin/virt-sandbox.c:98 msgid "file to copy into custom dir" msgstr "" #: ../bin/virt-sandbox.c:100 msgid "file contain list of files to include" msgstr "" #: ../bin/virt-sandbox.c:102 msgid "setup network interface properties" msgstr "" #: ../bin/virt-sandbox.c:104 msgid "security properties" msgstr "" #: ../bin/virt-sandbox.c:106 msgid "run the command privileged" msgstr "" #: ../bin/virt-sandbox.c:108 msgid "start a shell" msgstr "" #: ../bin/virt-sandbox.c:110 msgid "kernel version" msgstr "" #: ../bin/virt-sandbox.c:112 msgid "kernel binary path" msgstr "" #: ../bin/virt-sandbox.c:114 msgid "kernel module directory" msgstr "" #: ../bin/virt-sandbox.c:119 msgid "" "Run 'virt-sandbox --help' to see a full list of available command line " "options" msgstr "" #: ../bin/virt-sandbox.c:129 msgid "Libvirt Sandbox" msgstr "" #: ../bin/virt-sandbox.c:131 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1189 msgid "- Libvirt Sandbox" msgstr "" #: ../bin/virt-sandbox.c:144 #, c-format msgid "" "\n" "Usage: %s [OPTIONS] COMMAND-PATH [ARGS...]\n" "\n" "%s\n" "\n" msgstr "" #: ../bin/virt-sandbox.c:160 ../bin/virt-sandbox-service-util.c:65 #, c-format msgid "Unable to open connection: %s\n" msgstr "" #: ../bin/virt-sandbox.c:161 ../bin/virt-sandbox.c:188 #: ../bin/virt-sandbox.c:194 ../bin/virt-sandbox.c:200 #: ../bin/virt-sandbox.c:206 ../bin/virt-sandbox.c:212 #: ../bin/virt-sandbox.c:227 ../bin/virt-sandbox.c:233 #: ../bin/virt-sandbox.c:240 ../bin/virt-sandbox.c:246 #: ../bin/virt-sandbox.c:254 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1247 msgid "Unknown failure" msgstr "" #: ../bin/virt-sandbox.c:187 #, c-format msgid "Unable to parse mounts: %s\n" msgstr "" #: ../bin/virt-sandbox.c:193 #, c-format msgid "Unable to parse includes: %s\n" msgstr "" #: ../bin/virt-sandbox.c:199 #, c-format msgid "Unable to parse include file: %s\n" msgstr "" #: ../bin/virt-sandbox.c:205 #, c-format msgid "Unable to parse networks: %s\n" msgstr "" #: ../bin/virt-sandbox.c:211 #, c-format msgid "Unable to parse security: %s\n" msgstr "" #: ../bin/virt-sandbox.c:226 #, c-format msgid "Unable to start sandbox: %s\n" msgstr "" #: ../bin/virt-sandbox.c:232 #, c-format msgid "Unable to get log console: %s\n" msgstr "" #: ../bin/virt-sandbox.c:239 ../bin/virt-sandbox.c:253 #, c-format msgid "Unable to attach sandbox console: %s\n" msgstr "" #: ../bin/virt-sandbox.c:245 #, c-format msgid "Unable to get app console: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:66 ../bin/virt-sandbox-service-util.c:72 #: ../bin/virt-sandbox-service-util.c:78 #: ../bin/virt-sandbox-service-util.c:104 #: ../bin/virt-sandbox-service-util.c:110 #: ../bin/virt-sandbox-service-util.c:120 #: ../bin/virt-sandbox-service-util.c:127 #: ../bin/virt-sandbox-service-util.c:159 #: ../bin/virt-sandbox-service-util.c:165 #: ../bin/virt-sandbox-service-util.c:175 #: ../bin/virt-sandbox-service-util.c:182 msgid "unknown" msgstr "" #: ../bin/virt-sandbox-service-util.c:71 #, c-format msgid "Unable to read config file %s: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:77 #, c-format msgid "Unable to create new context service: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:103 #, c-format msgid "Unable to start container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:109 #, c-format msgid "Unable to get log console for container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:119 #, c-format msgid "Unable to attach console to stderr in the container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:126 #: ../bin/virt-sandbox-service-util.c:181 #, c-format msgid "Unable to disconnect console from libvirt: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:158 #: ../bin/virt-sandbox-service-util.c:174 #, c-format msgid "Unable to attach to container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:164 #, c-format msgid "Unable to get shell console for container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:240 msgid "Display version information" msgstr "" #: ../bin/virt-sandbox-service-util.c:242 msgid "Start a container" msgstr "" #: ../bin/virt-sandbox-service-util.c:244 msgid "Attach to a container" msgstr "" #: ../bin/virt-sandbox-service-util.c:246 msgid "Pid of process in container to which the command will run" msgstr "" #: ../bin/virt-sandbox-service-util.c:248 msgid "Connect to hypervisor Default:'lxc:///'" msgstr "" #: ../bin/virt-sandbox-service-util.c:253 msgid "" "Run 'virt-sandbox-service-util --help' to see a full list of available " "command line options\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:263 msgid "- Libvirt Sandbox Service" msgstr "" #: ../bin/virt-sandbox-service-util.c:275 #, c-format msgid "" "Invalid command: You must specify --start or --attach\n" "%s" msgstr "" #: ../bin/virt-sandbox-service-util.c:281 #, c-format msgid "Invalid command CONTAINER_NAME required: %s" msgstr "" #: ../bin/virt-sandbox-service-util.c:288 msgid "Libvirt Sandbox Service" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-initrd.c:171 #, c-format msgid "Unable to create temporary directory %s: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-initrd.c:217 #, c-format msgid "Kernel module dir %s does not exist" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-initrd.c:275 #, c-format msgid "Unable to read entries in %s: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-initrd.c:306 #, c-format msgid "Unable to access %s: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-machine.c:446 #, c-format msgid "Kernel image %s does not exist" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:941 #, c-format msgid "Cannot request DHCP with static routes/addresses" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:963 #, c-format msgid "No assignment in filter parameter configuration" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:999 #, c-format msgid "Cannot set static addresses with DHCP" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1019 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1028 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1082 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1090 #, c-format msgid "Unable to parse address %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1058 #, c-format msgid "Cannot set static routes with DHCP" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1076 #, c-format msgid "Missing gateway in route %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1110 #, c-format msgid "Unknown parameter %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1121 #, c-format msgid "Cannot set static routes without addresses" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1285 #, c-format msgid "No mount type prefix on %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1298 #, c-format msgid "Unknown mount type prefix on %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1311 #, c-format msgid "Missing mount source string on %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1411 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1476 #, c-format msgid "No mount with a prefix under %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1578 #, c-format msgid "Unable to get SELinux context of user: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1587 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1596 #, c-format msgid "Unknown security option '%s'" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1630 msgid "Missing mount target in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1635 msgid "Missing mount type in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1647 #, c-format msgid "Unknown mount type %s in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1654 msgid "Missing mount usage in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1663 msgid "Missing mount source in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:2150 msgid "Missing class name in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:2156 #, c-format msgid "Unknown type name '%s' in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:2163 #, c-format msgid "Type name '%s' in config file had wrong parent" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console.c:326 msgid "Unable to isolate console unless direct access flag is set" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:184 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:350 #, c-format msgid "Unable to query terminal attributes: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:201 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:367 #, c-format msgid "Unable to update terminal attributes: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:224 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:395 #, c-format msgid "Unable to restore terminal attributes: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:630 msgid "No devices found for domain" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:660 #, c-format msgid "No device %s found for domain" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:666 #, c-format msgid "Unable to open console %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:699 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:1110 msgid "Console is already attached to a stream" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:628 #, c-format msgid "Unexpected rpc status %u" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:697 #, c-format msgid "Unexpected rpc proc %u" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:753 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:817 #, c-format msgid "Got rx in unexpected state %d" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:1167 msgid "ConsoleRpc is not attached to a stream" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-context.c:253 #: ../libvirt-sandbox/libvirt-sandbox-context.c:396 #, c-format msgid "Domain is not currently running" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-context.c:323 #: ../libvirt-sandbox/libvirt-sandbox-context.c:340 #: ../libvirt-sandbox/libvirt-sandbox-context.c:363 #, c-format msgid "Sandbox is not currently running" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1065 #, c-format msgid "libvirt-sandbox-init-common: unable to create signal pipe: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1084 #, c-format msgid "libvirt-sandbox-init-common: cannot open %s: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1141 #, c-format msgid "libvirt-sandbox-init-common: %s: cannot execute %s: %s\n" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1167 msgid "config file path" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1170 msgid "Run '" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1180 #, c-format msgid "%s: must be launched as root\n" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1187 msgid "Libvirt Sandbox Init Common" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1205 #, c-format msgid "%s: Unable to load config %s: %s\n" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1231 #, c-format msgid "Unsupported configuration type %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:69 msgid "Unable to decode message length" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:76 #, c-format msgid "packet %u bytes received from server too small, want %u" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:86 #, c-format msgid "packet %u bytes received from server too large, want %d" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:130 msgid "Unable to decode message header" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:174 #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:235 #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:303 #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:329 msgid "Unable to encode message length" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:180 msgid "Unable to encode message header" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:192 msgid "Unable to re-encode message length" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:222 msgid "Unable to encode message payload" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:265 msgid "Unable to decode message payload" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:290 #, c-format msgid "Raw data too long to send (%zu bytes needed, %zu bytes available)" msgstr "" libvirt-sandbox-0.5.1+git20160404/po/si.po000066400000000000000000000342241275305543100176270ustar00rootroot00000000000000# SOME DESCRIPTIVE TITLE. # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # # Translators: msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2015-02-18 14:55+0000\n" "PO-Revision-Date: 2013-04-08 06:10-0400\n" "Last-Translator: FULL NAME \n" "Language-Team: Sinhala (http://www.transifex.com/projects/p/fedora/language/si/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Language: si\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" "X-Generator: Zanata 3.5.1\n" #: ../bin/virt-sandbox.c:48 ../bin/virt-sandbox-service-util.c:43 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1149 #, c-format msgid "%s version %s\n" msgstr "" #: ../bin/virt-sandbox.c:84 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1161 msgid "display version information" msgstr "" #: ../bin/virt-sandbox.c:86 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1163 msgid "display verbose information" msgstr "" #: ../bin/virt-sandbox.c:88 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1165 msgid "display debugging information" msgstr "" #: ../bin/virt-sandbox.c:90 msgid "connect to hypervisor" msgstr "" #: ../bin/virt-sandbox.c:92 msgid "name of the sandbox" msgstr "" #: ../bin/virt-sandbox.c:94 msgid "root directory of the sandbox" msgstr "" #: ../bin/virt-sandbox.c:96 msgid "mount a filesystem in the guest" msgstr "" #: ../bin/virt-sandbox.c:98 msgid "file to copy into custom dir" msgstr "" #: ../bin/virt-sandbox.c:100 msgid "file contain list of files to include" msgstr "" #: ../bin/virt-sandbox.c:102 msgid "setup network interface properties" msgstr "" #: ../bin/virt-sandbox.c:104 msgid "security properties" msgstr "" #: ../bin/virt-sandbox.c:106 msgid "run the command privileged" msgstr "" #: ../bin/virt-sandbox.c:108 msgid "start a shell" msgstr "" #: ../bin/virt-sandbox.c:110 msgid "kernel version" msgstr "" #: ../bin/virt-sandbox.c:112 msgid "kernel binary path" msgstr "" #: ../bin/virt-sandbox.c:114 msgid "kernel module directory" msgstr "" #: ../bin/virt-sandbox.c:119 msgid "" "Run 'virt-sandbox --help' to see a full list of available command line " "options" msgstr "" #: ../bin/virt-sandbox.c:129 msgid "Libvirt Sandbox" msgstr "" #: ../bin/virt-sandbox.c:131 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1189 msgid "- Libvirt Sandbox" msgstr "" #: ../bin/virt-sandbox.c:144 #, c-format msgid "" "\n" "Usage: %s [OPTIONS] COMMAND-PATH [ARGS...]\n" "\n" "%s\n" "\n" msgstr "" #: ../bin/virt-sandbox.c:160 ../bin/virt-sandbox-service-util.c:65 #, c-format msgid "Unable to open connection: %s\n" msgstr "" #: ../bin/virt-sandbox.c:161 ../bin/virt-sandbox.c:188 #: ../bin/virt-sandbox.c:194 ../bin/virt-sandbox.c:200 #: ../bin/virt-sandbox.c:206 ../bin/virt-sandbox.c:212 #: ../bin/virt-sandbox.c:227 ../bin/virt-sandbox.c:233 #: ../bin/virt-sandbox.c:240 ../bin/virt-sandbox.c:246 #: ../bin/virt-sandbox.c:254 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1247 msgid "Unknown failure" msgstr "" #: ../bin/virt-sandbox.c:187 #, c-format msgid "Unable to parse mounts: %s\n" msgstr "" #: ../bin/virt-sandbox.c:193 #, c-format msgid "Unable to parse includes: %s\n" msgstr "" #: ../bin/virt-sandbox.c:199 #, c-format msgid "Unable to parse include file: %s\n" msgstr "" #: ../bin/virt-sandbox.c:205 #, c-format msgid "Unable to parse networks: %s\n" msgstr "" #: ../bin/virt-sandbox.c:211 #, c-format msgid "Unable to parse security: %s\n" msgstr "" #: ../bin/virt-sandbox.c:226 #, c-format msgid "Unable to start sandbox: %s\n" msgstr "" #: ../bin/virt-sandbox.c:232 #, c-format msgid "Unable to get log console: %s\n" msgstr "" #: ../bin/virt-sandbox.c:239 ../bin/virt-sandbox.c:253 #, c-format msgid "Unable to attach sandbox console: %s\n" msgstr "" #: ../bin/virt-sandbox.c:245 #, c-format msgid "Unable to get app console: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:66 ../bin/virt-sandbox-service-util.c:72 #: ../bin/virt-sandbox-service-util.c:78 #: ../bin/virt-sandbox-service-util.c:104 #: ../bin/virt-sandbox-service-util.c:110 #: ../bin/virt-sandbox-service-util.c:120 #: ../bin/virt-sandbox-service-util.c:127 #: ../bin/virt-sandbox-service-util.c:159 #: ../bin/virt-sandbox-service-util.c:165 #: ../bin/virt-sandbox-service-util.c:175 #: ../bin/virt-sandbox-service-util.c:182 msgid "unknown" msgstr "" #: ../bin/virt-sandbox-service-util.c:71 #, c-format msgid "Unable to read config file %s: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:77 #, c-format msgid "Unable to create new context service: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:103 #, c-format msgid "Unable to start container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:109 #, c-format msgid "Unable to get log console for container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:119 #, c-format msgid "Unable to attach console to stderr in the container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:126 #: ../bin/virt-sandbox-service-util.c:181 #, c-format msgid "Unable to disconnect console from libvirt: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:158 #: ../bin/virt-sandbox-service-util.c:174 #, c-format msgid "Unable to attach to container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:164 #, c-format msgid "Unable to get shell console for container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:240 msgid "Display version information" msgstr "" #: ../bin/virt-sandbox-service-util.c:242 msgid "Start a container" msgstr "" #: ../bin/virt-sandbox-service-util.c:244 msgid "Attach to a container" msgstr "" #: ../bin/virt-sandbox-service-util.c:246 msgid "Pid of process in container to which the command will run" msgstr "" #: ../bin/virt-sandbox-service-util.c:248 msgid "Connect to hypervisor Default:'lxc:///'" msgstr "" #: ../bin/virt-sandbox-service-util.c:253 msgid "" "Run 'virt-sandbox-service-util --help' to see a full list of available " "command line options\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:263 msgid "- Libvirt Sandbox Service" msgstr "" #: ../bin/virt-sandbox-service-util.c:275 #, c-format msgid "" "Invalid command: You must specify --start or --attach\n" "%s" msgstr "" #: ../bin/virt-sandbox-service-util.c:281 #, c-format msgid "Invalid command CONTAINER_NAME required: %s" msgstr "" #: ../bin/virt-sandbox-service-util.c:288 msgid "Libvirt Sandbox Service" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-initrd.c:171 #, c-format msgid "Unable to create temporary directory %s: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-initrd.c:217 #, c-format msgid "Kernel module dir %s does not exist" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-initrd.c:275 #, c-format msgid "Unable to read entries in %s: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-initrd.c:306 #, c-format msgid "Unable to access %s: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-machine.c:446 #, c-format msgid "Kernel image %s does not exist" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:941 #, c-format msgid "Cannot request DHCP with static routes/addresses" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:963 #, c-format msgid "No assignment in filter parameter configuration" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:999 #, c-format msgid "Cannot set static addresses with DHCP" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1019 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1028 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1082 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1090 #, c-format msgid "Unable to parse address %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1058 #, c-format msgid "Cannot set static routes with DHCP" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1076 #, c-format msgid "Missing gateway in route %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1110 #, c-format msgid "Unknown parameter %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1121 #, c-format msgid "Cannot set static routes without addresses" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1285 #, c-format msgid "No mount type prefix on %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1298 #, c-format msgid "Unknown mount type prefix on %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1311 #, c-format msgid "Missing mount source string on %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1411 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1476 #, c-format msgid "No mount with a prefix under %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1578 #, c-format msgid "Unable to get SELinux context of user: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1587 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1596 #, c-format msgid "Unknown security option '%s'" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1630 msgid "Missing mount target in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1635 msgid "Missing mount type in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1647 #, c-format msgid "Unknown mount type %s in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1654 msgid "Missing mount usage in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1663 msgid "Missing mount source in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:2150 msgid "Missing class name in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:2156 #, c-format msgid "Unknown type name '%s' in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:2163 #, c-format msgid "Type name '%s' in config file had wrong parent" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console.c:326 msgid "Unable to isolate console unless direct access flag is set" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:184 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:350 #, c-format msgid "Unable to query terminal attributes: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:201 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:367 #, c-format msgid "Unable to update terminal attributes: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:224 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:395 #, c-format msgid "Unable to restore terminal attributes: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:630 msgid "No devices found for domain" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:660 #, c-format msgid "No device %s found for domain" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:666 #, c-format msgid "Unable to open console %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:699 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:1110 msgid "Console is already attached to a stream" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:628 #, c-format msgid "Unexpected rpc status %u" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:697 #, c-format msgid "Unexpected rpc proc %u" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:753 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:817 #, c-format msgid "Got rx in unexpected state %d" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:1167 msgid "ConsoleRpc is not attached to a stream" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-context.c:253 #: ../libvirt-sandbox/libvirt-sandbox-context.c:396 #, c-format msgid "Domain is not currently running" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-context.c:323 #: ../libvirt-sandbox/libvirt-sandbox-context.c:340 #: ../libvirt-sandbox/libvirt-sandbox-context.c:363 #, c-format msgid "Sandbox is not currently running" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1065 #, c-format msgid "libvirt-sandbox-init-common: unable to create signal pipe: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1084 #, c-format msgid "libvirt-sandbox-init-common: cannot open %s: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1141 #, c-format msgid "libvirt-sandbox-init-common: %s: cannot execute %s: %s\n" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1167 msgid "config file path" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1170 msgid "Run '" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1180 #, c-format msgid "%s: must be launched as root\n" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1187 msgid "Libvirt Sandbox Init Common" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1205 #, c-format msgid "%s: Unable to load config %s: %s\n" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1231 #, c-format msgid "Unsupported configuration type %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:69 msgid "Unable to decode message length" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:76 #, c-format msgid "packet %u bytes received from server too small, want %u" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:86 #, c-format msgid "packet %u bytes received from server too large, want %d" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:130 msgid "Unable to decode message header" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:174 #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:235 #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:303 #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:329 msgid "Unable to encode message length" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:180 msgid "Unable to encode message header" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:192 msgid "Unable to re-encode message length" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:222 msgid "Unable to encode message payload" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:265 msgid "Unable to decode message payload" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:290 #, c-format msgid "Raw data too long to send (%zu bytes needed, %zu bytes available)" msgstr "" libvirt-sandbox-0.5.1+git20160404/po/sk.po000066400000000000000000000342561275305543100176360ustar00rootroot00000000000000# SOME DESCRIPTIVE TITLE. # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # # Translators: msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2015-02-18 14:55+0000\n" "PO-Revision-Date: 2013-04-08 06:10-0400\n" "Last-Translator: FULL NAME \n" "Language-Team: Slovak (http://www.transifex.com/projects/p/fedora/language/sk/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Language: sk\n" "Plural-Forms: nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;\n" "X-Generator: Zanata 3.5.1\n" #: ../bin/virt-sandbox.c:48 ../bin/virt-sandbox-service-util.c:43 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1149 #, c-format msgid "%s version %s\n" msgstr "" #: ../bin/virt-sandbox.c:84 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1161 msgid "display version information" msgstr "" #: ../bin/virt-sandbox.c:86 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1163 msgid "display verbose information" msgstr "" #: ../bin/virt-sandbox.c:88 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1165 msgid "display debugging information" msgstr "" #: ../bin/virt-sandbox.c:90 msgid "connect to hypervisor" msgstr "" #: ../bin/virt-sandbox.c:92 msgid "name of the sandbox" msgstr "" #: ../bin/virt-sandbox.c:94 msgid "root directory of the sandbox" msgstr "" #: ../bin/virt-sandbox.c:96 msgid "mount a filesystem in the guest" msgstr "" #: ../bin/virt-sandbox.c:98 msgid "file to copy into custom dir" msgstr "" #: ../bin/virt-sandbox.c:100 msgid "file contain list of files to include" msgstr "" #: ../bin/virt-sandbox.c:102 msgid "setup network interface properties" msgstr "" #: ../bin/virt-sandbox.c:104 msgid "security properties" msgstr "" #: ../bin/virt-sandbox.c:106 msgid "run the command privileged" msgstr "" #: ../bin/virt-sandbox.c:108 msgid "start a shell" msgstr "" #: ../bin/virt-sandbox.c:110 msgid "kernel version" msgstr "" #: ../bin/virt-sandbox.c:112 msgid "kernel binary path" msgstr "" #: ../bin/virt-sandbox.c:114 msgid "kernel module directory" msgstr "" #: ../bin/virt-sandbox.c:119 msgid "" "Run 'virt-sandbox --help' to see a full list of available command line " "options" msgstr "" #: ../bin/virt-sandbox.c:129 msgid "Libvirt Sandbox" msgstr "" #: ../bin/virt-sandbox.c:131 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1189 msgid "- Libvirt Sandbox" msgstr "" #: ../bin/virt-sandbox.c:144 #, c-format msgid "" "\n" "Usage: %s [OPTIONS] COMMAND-PATH [ARGS...]\n" "\n" "%s\n" "\n" msgstr "" #: ../bin/virt-sandbox.c:160 ../bin/virt-sandbox-service-util.c:65 #, c-format msgid "Unable to open connection: %s\n" msgstr "" #: ../bin/virt-sandbox.c:161 ../bin/virt-sandbox.c:188 #: ../bin/virt-sandbox.c:194 ../bin/virt-sandbox.c:200 #: ../bin/virt-sandbox.c:206 ../bin/virt-sandbox.c:212 #: ../bin/virt-sandbox.c:227 ../bin/virt-sandbox.c:233 #: ../bin/virt-sandbox.c:240 ../bin/virt-sandbox.c:246 #: ../bin/virt-sandbox.c:254 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1247 msgid "Unknown failure" msgstr "" #: ../bin/virt-sandbox.c:187 #, c-format msgid "Unable to parse mounts: %s\n" msgstr "" #: ../bin/virt-sandbox.c:193 #, c-format msgid "Unable to parse includes: %s\n" msgstr "" #: ../bin/virt-sandbox.c:199 #, c-format msgid "Unable to parse include file: %s\n" msgstr "" #: ../bin/virt-sandbox.c:205 #, c-format msgid "Unable to parse networks: %s\n" msgstr "" #: ../bin/virt-sandbox.c:211 #, c-format msgid "Unable to parse security: %s\n" msgstr "" #: ../bin/virt-sandbox.c:226 #, c-format msgid "Unable to start sandbox: %s\n" msgstr "" #: ../bin/virt-sandbox.c:232 #, c-format msgid "Unable to get log console: %s\n" msgstr "" #: ../bin/virt-sandbox.c:239 ../bin/virt-sandbox.c:253 #, c-format msgid "Unable to attach sandbox console: %s\n" msgstr "" #: ../bin/virt-sandbox.c:245 #, c-format msgid "Unable to get app console: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:66 ../bin/virt-sandbox-service-util.c:72 #: ../bin/virt-sandbox-service-util.c:78 #: ../bin/virt-sandbox-service-util.c:104 #: ../bin/virt-sandbox-service-util.c:110 #: ../bin/virt-sandbox-service-util.c:120 #: ../bin/virt-sandbox-service-util.c:127 #: ../bin/virt-sandbox-service-util.c:159 #: ../bin/virt-sandbox-service-util.c:165 #: ../bin/virt-sandbox-service-util.c:175 #: ../bin/virt-sandbox-service-util.c:182 msgid "unknown" msgstr "" #: ../bin/virt-sandbox-service-util.c:71 #, c-format msgid "Unable to read config file %s: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:77 #, c-format msgid "Unable to create new context service: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:103 #, c-format msgid "Unable to start container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:109 #, c-format msgid "Unable to get log console for container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:119 #, c-format msgid "Unable to attach console to stderr in the container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:126 #: ../bin/virt-sandbox-service-util.c:181 #, c-format msgid "Unable to disconnect console from libvirt: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:158 #: ../bin/virt-sandbox-service-util.c:174 #, c-format msgid "Unable to attach to container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:164 #, c-format msgid "Unable to get shell console for container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:240 msgid "Display version information" msgstr "" #: ../bin/virt-sandbox-service-util.c:242 msgid "Start a container" msgstr "" #: ../bin/virt-sandbox-service-util.c:244 msgid "Attach to a container" msgstr "" #: ../bin/virt-sandbox-service-util.c:246 msgid "Pid of process in container to which the command will run" msgstr "" #: ../bin/virt-sandbox-service-util.c:248 msgid "Connect to hypervisor Default:'lxc:///'" msgstr "" #: ../bin/virt-sandbox-service-util.c:253 msgid "" "Run 'virt-sandbox-service-util --help' to see a full list of available " "command line options\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:263 msgid "- Libvirt Sandbox Service" msgstr "" #: ../bin/virt-sandbox-service-util.c:275 #, c-format msgid "" "Invalid command: You must specify --start or --attach\n" "%s" msgstr "" #: ../bin/virt-sandbox-service-util.c:281 #, c-format msgid "Invalid command CONTAINER_NAME required: %s" msgstr "" #: ../bin/virt-sandbox-service-util.c:288 msgid "Libvirt Sandbox Service" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-initrd.c:171 #, c-format msgid "Unable to create temporary directory %s: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-initrd.c:217 #, c-format msgid "Kernel module dir %s does not exist" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-initrd.c:275 #, c-format msgid "Unable to read entries in %s: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-initrd.c:306 #, c-format msgid "Unable to access %s: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-machine.c:446 #, c-format msgid "Kernel image %s does not exist" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:941 #, c-format msgid "Cannot request DHCP with static routes/addresses" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:963 #, c-format msgid "No assignment in filter parameter configuration" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:999 #, c-format msgid "Cannot set static addresses with DHCP" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1019 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1028 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1082 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1090 #, c-format msgid "Unable to parse address %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1058 #, c-format msgid "Cannot set static routes with DHCP" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1076 #, c-format msgid "Missing gateway in route %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1110 #, c-format msgid "Unknown parameter %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1121 #, c-format msgid "Cannot set static routes without addresses" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1285 #, c-format msgid "No mount type prefix on %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1298 #, c-format msgid "Unknown mount type prefix on %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1311 #, c-format msgid "Missing mount source string on %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1411 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1476 #, c-format msgid "No mount with a prefix under %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1578 #, c-format msgid "Unable to get SELinux context of user: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1587 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1596 #, c-format msgid "Unknown security option '%s'" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1630 msgid "Missing mount target in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1635 msgid "Missing mount type in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1647 #, c-format msgid "Unknown mount type %s in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1654 msgid "Missing mount usage in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1663 msgid "Missing mount source in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:2150 msgid "Missing class name in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:2156 #, c-format msgid "Unknown type name '%s' in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:2163 #, c-format msgid "Type name '%s' in config file had wrong parent" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console.c:326 msgid "Unable to isolate console unless direct access flag is set" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:184 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:350 #, c-format msgid "Unable to query terminal attributes: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:201 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:367 #, c-format msgid "Unable to update terminal attributes: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:224 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:395 #, c-format msgid "Unable to restore terminal attributes: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:630 msgid "No devices found for domain" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:660 #, c-format msgid "No device %s found for domain" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:666 #, c-format msgid "Unable to open console %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:699 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:1110 msgid "Console is already attached to a stream" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:628 #, c-format msgid "Unexpected rpc status %u" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:697 #, c-format msgid "Unexpected rpc proc %u" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:753 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:817 #, c-format msgid "Got rx in unexpected state %d" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:1167 msgid "ConsoleRpc is not attached to a stream" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-context.c:253 #: ../libvirt-sandbox/libvirt-sandbox-context.c:396 #, c-format msgid "Domain is not currently running" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-context.c:323 #: ../libvirt-sandbox/libvirt-sandbox-context.c:340 #: ../libvirt-sandbox/libvirt-sandbox-context.c:363 #, c-format msgid "Sandbox is not currently running" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1065 #, c-format msgid "libvirt-sandbox-init-common: unable to create signal pipe: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1084 #, c-format msgid "libvirt-sandbox-init-common: cannot open %s: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1141 #, c-format msgid "libvirt-sandbox-init-common: %s: cannot execute %s: %s\n" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1167 msgid "config file path" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1170 msgid "Run '" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1180 #, c-format msgid "%s: must be launched as root\n" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1187 msgid "Libvirt Sandbox Init Common" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1205 #, c-format msgid "%s: Unable to load config %s: %s\n" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1231 #, c-format msgid "Unsupported configuration type %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:69 msgid "Unable to decode message length" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:76 #, c-format msgid "packet %u bytes received from server too small, want %u" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:86 #, c-format msgid "packet %u bytes received from server too large, want %d" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:130 msgid "Unable to decode message header" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:174 #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:235 #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:303 #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:329 msgid "Unable to encode message length" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:180 msgid "Unable to encode message header" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:192 msgid "Unable to re-encode message length" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:222 msgid "Unable to encode message payload" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:265 msgid "Unable to decode message payload" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:290 #, c-format msgid "Raw data too long to send (%zu bytes needed, %zu bytes available)" msgstr "" libvirt-sandbox-0.5.1+git20160404/po/sl.po000066400000000000000000000343121275305543100176300ustar00rootroot00000000000000# SOME DESCRIPTIVE TITLE. # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # # Translators: msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2015-02-18 14:55+0000\n" "PO-Revision-Date: 2013-04-08 06:10-0400\n" "Last-Translator: FULL NAME \n" "Language-Team: Slovenian (http://www.transifex.com/projects/p/fedora/language/sl/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Language: sl\n" "Plural-Forms: nplurals=4; plural=(n%100==1 ? 0 : n%100==2 ? 1 : n%100==3 || n%100==4 ? 2 : 3);\n" "X-Generator: Zanata 3.5.1\n" #: ../bin/virt-sandbox.c:48 ../bin/virt-sandbox-service-util.c:43 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1149 #, c-format msgid "%s version %s\n" msgstr "" #: ../bin/virt-sandbox.c:84 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1161 msgid "display version information" msgstr "" #: ../bin/virt-sandbox.c:86 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1163 msgid "display verbose information" msgstr "" #: ../bin/virt-sandbox.c:88 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1165 msgid "display debugging information" msgstr "" #: ../bin/virt-sandbox.c:90 msgid "connect to hypervisor" msgstr "" #: ../bin/virt-sandbox.c:92 msgid "name of the sandbox" msgstr "" #: ../bin/virt-sandbox.c:94 msgid "root directory of the sandbox" msgstr "" #: ../bin/virt-sandbox.c:96 msgid "mount a filesystem in the guest" msgstr "" #: ../bin/virt-sandbox.c:98 msgid "file to copy into custom dir" msgstr "" #: ../bin/virt-sandbox.c:100 msgid "file contain list of files to include" msgstr "" #: ../bin/virt-sandbox.c:102 msgid "setup network interface properties" msgstr "" #: ../bin/virt-sandbox.c:104 msgid "security properties" msgstr "" #: ../bin/virt-sandbox.c:106 msgid "run the command privileged" msgstr "" #: ../bin/virt-sandbox.c:108 msgid "start a shell" msgstr "" #: ../bin/virt-sandbox.c:110 msgid "kernel version" msgstr "" #: ../bin/virt-sandbox.c:112 msgid "kernel binary path" msgstr "" #: ../bin/virt-sandbox.c:114 msgid "kernel module directory" msgstr "" #: ../bin/virt-sandbox.c:119 msgid "" "Run 'virt-sandbox --help' to see a full list of available command line " "options" msgstr "" #: ../bin/virt-sandbox.c:129 msgid "Libvirt Sandbox" msgstr "" #: ../bin/virt-sandbox.c:131 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1189 msgid "- Libvirt Sandbox" msgstr "" #: ../bin/virt-sandbox.c:144 #, c-format msgid "" "\n" "Usage: %s [OPTIONS] COMMAND-PATH [ARGS...]\n" "\n" "%s\n" "\n" msgstr "" #: ../bin/virt-sandbox.c:160 ../bin/virt-sandbox-service-util.c:65 #, c-format msgid "Unable to open connection: %s\n" msgstr "" #: ../bin/virt-sandbox.c:161 ../bin/virt-sandbox.c:188 #: ../bin/virt-sandbox.c:194 ../bin/virt-sandbox.c:200 #: ../bin/virt-sandbox.c:206 ../bin/virt-sandbox.c:212 #: ../bin/virt-sandbox.c:227 ../bin/virt-sandbox.c:233 #: ../bin/virt-sandbox.c:240 ../bin/virt-sandbox.c:246 #: ../bin/virt-sandbox.c:254 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1247 msgid "Unknown failure" msgstr "" #: ../bin/virt-sandbox.c:187 #, c-format msgid "Unable to parse mounts: %s\n" msgstr "" #: ../bin/virt-sandbox.c:193 #, c-format msgid "Unable to parse includes: %s\n" msgstr "" #: ../bin/virt-sandbox.c:199 #, c-format msgid "Unable to parse include file: %s\n" msgstr "" #: ../bin/virt-sandbox.c:205 #, c-format msgid "Unable to parse networks: %s\n" msgstr "" #: ../bin/virt-sandbox.c:211 #, c-format msgid "Unable to parse security: %s\n" msgstr "" #: ../bin/virt-sandbox.c:226 #, c-format msgid "Unable to start sandbox: %s\n" msgstr "" #: ../bin/virt-sandbox.c:232 #, c-format msgid "Unable to get log console: %s\n" msgstr "" #: ../bin/virt-sandbox.c:239 ../bin/virt-sandbox.c:253 #, c-format msgid "Unable to attach sandbox console: %s\n" msgstr "" #: ../bin/virt-sandbox.c:245 #, c-format msgid "Unable to get app console: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:66 ../bin/virt-sandbox-service-util.c:72 #: ../bin/virt-sandbox-service-util.c:78 #: ../bin/virt-sandbox-service-util.c:104 #: ../bin/virt-sandbox-service-util.c:110 #: ../bin/virt-sandbox-service-util.c:120 #: ../bin/virt-sandbox-service-util.c:127 #: ../bin/virt-sandbox-service-util.c:159 #: ../bin/virt-sandbox-service-util.c:165 #: ../bin/virt-sandbox-service-util.c:175 #: ../bin/virt-sandbox-service-util.c:182 msgid "unknown" msgstr "" #: ../bin/virt-sandbox-service-util.c:71 #, c-format msgid "Unable to read config file %s: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:77 #, c-format msgid "Unable to create new context service: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:103 #, c-format msgid "Unable to start container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:109 #, c-format msgid "Unable to get log console for container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:119 #, c-format msgid "Unable to attach console to stderr in the container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:126 #: ../bin/virt-sandbox-service-util.c:181 #, c-format msgid "Unable to disconnect console from libvirt: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:158 #: ../bin/virt-sandbox-service-util.c:174 #, c-format msgid "Unable to attach to container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:164 #, c-format msgid "Unable to get shell console for container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:240 msgid "Display version information" msgstr "" #: ../bin/virt-sandbox-service-util.c:242 msgid "Start a container" msgstr "" #: ../bin/virt-sandbox-service-util.c:244 msgid "Attach to a container" msgstr "" #: ../bin/virt-sandbox-service-util.c:246 msgid "Pid of process in container to which the command will run" msgstr "" #: ../bin/virt-sandbox-service-util.c:248 msgid "Connect to hypervisor Default:'lxc:///'" msgstr "" #: ../bin/virt-sandbox-service-util.c:253 msgid "" "Run 'virt-sandbox-service-util --help' to see a full list of available " "command line options\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:263 msgid "- Libvirt Sandbox Service" msgstr "" #: ../bin/virt-sandbox-service-util.c:275 #, c-format msgid "" "Invalid command: You must specify --start or --attach\n" "%s" msgstr "" #: ../bin/virt-sandbox-service-util.c:281 #, c-format msgid "Invalid command CONTAINER_NAME required: %s" msgstr "" #: ../bin/virt-sandbox-service-util.c:288 msgid "Libvirt Sandbox Service" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-initrd.c:171 #, c-format msgid "Unable to create temporary directory %s: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-initrd.c:217 #, c-format msgid "Kernel module dir %s does not exist" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-initrd.c:275 #, c-format msgid "Unable to read entries in %s: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-initrd.c:306 #, c-format msgid "Unable to access %s: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-machine.c:446 #, c-format msgid "Kernel image %s does not exist" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:941 #, c-format msgid "Cannot request DHCP with static routes/addresses" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:963 #, c-format msgid "No assignment in filter parameter configuration" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:999 #, c-format msgid "Cannot set static addresses with DHCP" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1019 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1028 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1082 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1090 #, c-format msgid "Unable to parse address %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1058 #, c-format msgid "Cannot set static routes with DHCP" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1076 #, c-format msgid "Missing gateway in route %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1110 #, c-format msgid "Unknown parameter %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1121 #, c-format msgid "Cannot set static routes without addresses" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1285 #, c-format msgid "No mount type prefix on %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1298 #, c-format msgid "Unknown mount type prefix on %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1311 #, c-format msgid "Missing mount source string on %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1411 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1476 #, c-format msgid "No mount with a prefix under %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1578 #, c-format msgid "Unable to get SELinux context of user: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1587 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1596 #, c-format msgid "Unknown security option '%s'" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1630 msgid "Missing mount target in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1635 msgid "Missing mount type in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1647 #, c-format msgid "Unknown mount type %s in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1654 msgid "Missing mount usage in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1663 msgid "Missing mount source in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:2150 msgid "Missing class name in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:2156 #, c-format msgid "Unknown type name '%s' in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:2163 #, c-format msgid "Type name '%s' in config file had wrong parent" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console.c:326 msgid "Unable to isolate console unless direct access flag is set" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:184 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:350 #, c-format msgid "Unable to query terminal attributes: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:201 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:367 #, c-format msgid "Unable to update terminal attributes: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:224 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:395 #, c-format msgid "Unable to restore terminal attributes: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:630 msgid "No devices found for domain" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:660 #, c-format msgid "No device %s found for domain" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:666 #, c-format msgid "Unable to open console %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:699 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:1110 msgid "Console is already attached to a stream" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:628 #, c-format msgid "Unexpected rpc status %u" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:697 #, c-format msgid "Unexpected rpc proc %u" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:753 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:817 #, c-format msgid "Got rx in unexpected state %d" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:1167 msgid "ConsoleRpc is not attached to a stream" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-context.c:253 #: ../libvirt-sandbox/libvirt-sandbox-context.c:396 #, c-format msgid "Domain is not currently running" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-context.c:323 #: ../libvirt-sandbox/libvirt-sandbox-context.c:340 #: ../libvirt-sandbox/libvirt-sandbox-context.c:363 #, c-format msgid "Sandbox is not currently running" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1065 #, c-format msgid "libvirt-sandbox-init-common: unable to create signal pipe: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1084 #, c-format msgid "libvirt-sandbox-init-common: cannot open %s: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1141 #, c-format msgid "libvirt-sandbox-init-common: %s: cannot execute %s: %s\n" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1167 msgid "config file path" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1170 msgid "Run '" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1180 #, c-format msgid "%s: must be launched as root\n" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1187 msgid "Libvirt Sandbox Init Common" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1205 #, c-format msgid "%s: Unable to load config %s: %s\n" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1231 #, c-format msgid "Unsupported configuration type %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:69 msgid "Unable to decode message length" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:76 #, c-format msgid "packet %u bytes received from server too small, want %u" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:86 #, c-format msgid "packet %u bytes received from server too large, want %d" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:130 msgid "Unable to decode message header" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:174 #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:235 #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:303 #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:329 msgid "Unable to encode message length" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:180 msgid "Unable to encode message header" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:192 msgid "Unable to re-encode message length" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:222 msgid "Unable to encode message payload" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:265 msgid "Unable to decode message payload" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:290 #, c-format msgid "Raw data too long to send (%zu bytes needed, %zu bytes available)" msgstr "" libvirt-sandbox-0.5.1+git20160404/po/sq.po000066400000000000000000000342251275305543100176400ustar00rootroot00000000000000# SOME DESCRIPTIVE TITLE. # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # # Translators: msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2015-02-18 14:55+0000\n" "PO-Revision-Date: 2013-04-08 06:10-0400\n" "Last-Translator: FULL NAME \n" "Language-Team: Albanian (http://www.transifex.com/projects/p/fedora/language/sq/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Language: sq\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" "X-Generator: Zanata 3.5.1\n" #: ../bin/virt-sandbox.c:48 ../bin/virt-sandbox-service-util.c:43 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1149 #, c-format msgid "%s version %s\n" msgstr "" #: ../bin/virt-sandbox.c:84 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1161 msgid "display version information" msgstr "" #: ../bin/virt-sandbox.c:86 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1163 msgid "display verbose information" msgstr "" #: ../bin/virt-sandbox.c:88 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1165 msgid "display debugging information" msgstr "" #: ../bin/virt-sandbox.c:90 msgid "connect to hypervisor" msgstr "" #: ../bin/virt-sandbox.c:92 msgid "name of the sandbox" msgstr "" #: ../bin/virt-sandbox.c:94 msgid "root directory of the sandbox" msgstr "" #: ../bin/virt-sandbox.c:96 msgid "mount a filesystem in the guest" msgstr "" #: ../bin/virt-sandbox.c:98 msgid "file to copy into custom dir" msgstr "" #: ../bin/virt-sandbox.c:100 msgid "file contain list of files to include" msgstr "" #: ../bin/virt-sandbox.c:102 msgid "setup network interface properties" msgstr "" #: ../bin/virt-sandbox.c:104 msgid "security properties" msgstr "" #: ../bin/virt-sandbox.c:106 msgid "run the command privileged" msgstr "" #: ../bin/virt-sandbox.c:108 msgid "start a shell" msgstr "" #: ../bin/virt-sandbox.c:110 msgid "kernel version" msgstr "" #: ../bin/virt-sandbox.c:112 msgid "kernel binary path" msgstr "" #: ../bin/virt-sandbox.c:114 msgid "kernel module directory" msgstr "" #: ../bin/virt-sandbox.c:119 msgid "" "Run 'virt-sandbox --help' to see a full list of available command line " "options" msgstr "" #: ../bin/virt-sandbox.c:129 msgid "Libvirt Sandbox" msgstr "" #: ../bin/virt-sandbox.c:131 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1189 msgid "- Libvirt Sandbox" msgstr "" #: ../bin/virt-sandbox.c:144 #, c-format msgid "" "\n" "Usage: %s [OPTIONS] COMMAND-PATH [ARGS...]\n" "\n" "%s\n" "\n" msgstr "" #: ../bin/virt-sandbox.c:160 ../bin/virt-sandbox-service-util.c:65 #, c-format msgid "Unable to open connection: %s\n" msgstr "" #: ../bin/virt-sandbox.c:161 ../bin/virt-sandbox.c:188 #: ../bin/virt-sandbox.c:194 ../bin/virt-sandbox.c:200 #: ../bin/virt-sandbox.c:206 ../bin/virt-sandbox.c:212 #: ../bin/virt-sandbox.c:227 ../bin/virt-sandbox.c:233 #: ../bin/virt-sandbox.c:240 ../bin/virt-sandbox.c:246 #: ../bin/virt-sandbox.c:254 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1247 msgid "Unknown failure" msgstr "" #: ../bin/virt-sandbox.c:187 #, c-format msgid "Unable to parse mounts: %s\n" msgstr "" #: ../bin/virt-sandbox.c:193 #, c-format msgid "Unable to parse includes: %s\n" msgstr "" #: ../bin/virt-sandbox.c:199 #, c-format msgid "Unable to parse include file: %s\n" msgstr "" #: ../bin/virt-sandbox.c:205 #, c-format msgid "Unable to parse networks: %s\n" msgstr "" #: ../bin/virt-sandbox.c:211 #, c-format msgid "Unable to parse security: %s\n" msgstr "" #: ../bin/virt-sandbox.c:226 #, c-format msgid "Unable to start sandbox: %s\n" msgstr "" #: ../bin/virt-sandbox.c:232 #, c-format msgid "Unable to get log console: %s\n" msgstr "" #: ../bin/virt-sandbox.c:239 ../bin/virt-sandbox.c:253 #, c-format msgid "Unable to attach sandbox console: %s\n" msgstr "" #: ../bin/virt-sandbox.c:245 #, c-format msgid "Unable to get app console: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:66 ../bin/virt-sandbox-service-util.c:72 #: ../bin/virt-sandbox-service-util.c:78 #: ../bin/virt-sandbox-service-util.c:104 #: ../bin/virt-sandbox-service-util.c:110 #: ../bin/virt-sandbox-service-util.c:120 #: ../bin/virt-sandbox-service-util.c:127 #: ../bin/virt-sandbox-service-util.c:159 #: ../bin/virt-sandbox-service-util.c:165 #: ../bin/virt-sandbox-service-util.c:175 #: ../bin/virt-sandbox-service-util.c:182 msgid "unknown" msgstr "" #: ../bin/virt-sandbox-service-util.c:71 #, c-format msgid "Unable to read config file %s: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:77 #, c-format msgid "Unable to create new context service: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:103 #, c-format msgid "Unable to start container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:109 #, c-format msgid "Unable to get log console for container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:119 #, c-format msgid "Unable to attach console to stderr in the container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:126 #: ../bin/virt-sandbox-service-util.c:181 #, c-format msgid "Unable to disconnect console from libvirt: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:158 #: ../bin/virt-sandbox-service-util.c:174 #, c-format msgid "Unable to attach to container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:164 #, c-format msgid "Unable to get shell console for container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:240 msgid "Display version information" msgstr "" #: ../bin/virt-sandbox-service-util.c:242 msgid "Start a container" msgstr "" #: ../bin/virt-sandbox-service-util.c:244 msgid "Attach to a container" msgstr "" #: ../bin/virt-sandbox-service-util.c:246 msgid "Pid of process in container to which the command will run" msgstr "" #: ../bin/virt-sandbox-service-util.c:248 msgid "Connect to hypervisor Default:'lxc:///'" msgstr "" #: ../bin/virt-sandbox-service-util.c:253 msgid "" "Run 'virt-sandbox-service-util --help' to see a full list of available " "command line options\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:263 msgid "- Libvirt Sandbox Service" msgstr "" #: ../bin/virt-sandbox-service-util.c:275 #, c-format msgid "" "Invalid command: You must specify --start or --attach\n" "%s" msgstr "" #: ../bin/virt-sandbox-service-util.c:281 #, c-format msgid "Invalid command CONTAINER_NAME required: %s" msgstr "" #: ../bin/virt-sandbox-service-util.c:288 msgid "Libvirt Sandbox Service" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-initrd.c:171 #, c-format msgid "Unable to create temporary directory %s: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-initrd.c:217 #, c-format msgid "Kernel module dir %s does not exist" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-initrd.c:275 #, c-format msgid "Unable to read entries in %s: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-initrd.c:306 #, c-format msgid "Unable to access %s: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-machine.c:446 #, c-format msgid "Kernel image %s does not exist" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:941 #, c-format msgid "Cannot request DHCP with static routes/addresses" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:963 #, c-format msgid "No assignment in filter parameter configuration" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:999 #, c-format msgid "Cannot set static addresses with DHCP" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1019 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1028 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1082 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1090 #, c-format msgid "Unable to parse address %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1058 #, c-format msgid "Cannot set static routes with DHCP" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1076 #, c-format msgid "Missing gateway in route %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1110 #, c-format msgid "Unknown parameter %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1121 #, c-format msgid "Cannot set static routes without addresses" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1285 #, c-format msgid "No mount type prefix on %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1298 #, c-format msgid "Unknown mount type prefix on %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1311 #, c-format msgid "Missing mount source string on %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1411 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1476 #, c-format msgid "No mount with a prefix under %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1578 #, c-format msgid "Unable to get SELinux context of user: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1587 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1596 #, c-format msgid "Unknown security option '%s'" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1630 msgid "Missing mount target in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1635 msgid "Missing mount type in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1647 #, c-format msgid "Unknown mount type %s in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1654 msgid "Missing mount usage in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1663 msgid "Missing mount source in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:2150 msgid "Missing class name in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:2156 #, c-format msgid "Unknown type name '%s' in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:2163 #, c-format msgid "Type name '%s' in config file had wrong parent" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console.c:326 msgid "Unable to isolate console unless direct access flag is set" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:184 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:350 #, c-format msgid "Unable to query terminal attributes: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:201 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:367 #, c-format msgid "Unable to update terminal attributes: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:224 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:395 #, c-format msgid "Unable to restore terminal attributes: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:630 msgid "No devices found for domain" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:660 #, c-format msgid "No device %s found for domain" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:666 #, c-format msgid "Unable to open console %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:699 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:1110 msgid "Console is already attached to a stream" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:628 #, c-format msgid "Unexpected rpc status %u" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:697 #, c-format msgid "Unexpected rpc proc %u" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:753 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:817 #, c-format msgid "Got rx in unexpected state %d" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:1167 msgid "ConsoleRpc is not attached to a stream" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-context.c:253 #: ../libvirt-sandbox/libvirt-sandbox-context.c:396 #, c-format msgid "Domain is not currently running" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-context.c:323 #: ../libvirt-sandbox/libvirt-sandbox-context.c:340 #: ../libvirt-sandbox/libvirt-sandbox-context.c:363 #, c-format msgid "Sandbox is not currently running" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1065 #, c-format msgid "libvirt-sandbox-init-common: unable to create signal pipe: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1084 #, c-format msgid "libvirt-sandbox-init-common: cannot open %s: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1141 #, c-format msgid "libvirt-sandbox-init-common: %s: cannot execute %s: %s\n" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1167 msgid "config file path" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1170 msgid "Run '" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1180 #, c-format msgid "%s: must be launched as root\n" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1187 msgid "Libvirt Sandbox Init Common" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1205 #, c-format msgid "%s: Unable to load config %s: %s\n" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1231 #, c-format msgid "Unsupported configuration type %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:69 msgid "Unable to decode message length" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:76 #, c-format msgid "packet %u bytes received from server too small, want %u" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:86 #, c-format msgid "packet %u bytes received from server too large, want %d" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:130 msgid "Unable to decode message header" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:174 #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:235 #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:303 #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:329 msgid "Unable to encode message length" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:180 msgid "Unable to encode message header" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:192 msgid "Unable to re-encode message length" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:222 msgid "Unable to encode message payload" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:265 msgid "Unable to decode message payload" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:290 #, c-format msgid "Raw data too long to send (%zu bytes needed, %zu bytes available)" msgstr "" libvirt-sandbox-0.5.1+git20160404/po/sr.po000066400000000000000000000343071275305543100176420ustar00rootroot00000000000000# SOME DESCRIPTIVE TITLE. # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # # Translators: msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2015-02-18 14:55+0000\n" "PO-Revision-Date: 2013-04-08 06:10-0400\n" "Last-Translator: FULL NAME \n" "Language-Team: Serbian \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Language: sr\n" "Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n" "X-Generator: Zanata 3.5.1\n" #: ../bin/virt-sandbox.c:48 ../bin/virt-sandbox-service-util.c:43 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1149 #, c-format msgid "%s version %s\n" msgstr "" #: ../bin/virt-sandbox.c:84 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1161 msgid "display version information" msgstr "" #: ../bin/virt-sandbox.c:86 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1163 msgid "display verbose information" msgstr "" #: ../bin/virt-sandbox.c:88 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1165 msgid "display debugging information" msgstr "" #: ../bin/virt-sandbox.c:90 msgid "connect to hypervisor" msgstr "" #: ../bin/virt-sandbox.c:92 msgid "name of the sandbox" msgstr "" #: ../bin/virt-sandbox.c:94 msgid "root directory of the sandbox" msgstr "" #: ../bin/virt-sandbox.c:96 msgid "mount a filesystem in the guest" msgstr "" #: ../bin/virt-sandbox.c:98 msgid "file to copy into custom dir" msgstr "" #: ../bin/virt-sandbox.c:100 msgid "file contain list of files to include" msgstr "" #: ../bin/virt-sandbox.c:102 msgid "setup network interface properties" msgstr "" #: ../bin/virt-sandbox.c:104 msgid "security properties" msgstr "" #: ../bin/virt-sandbox.c:106 msgid "run the command privileged" msgstr "" #: ../bin/virt-sandbox.c:108 msgid "start a shell" msgstr "" #: ../bin/virt-sandbox.c:110 msgid "kernel version" msgstr "" #: ../bin/virt-sandbox.c:112 msgid "kernel binary path" msgstr "" #: ../bin/virt-sandbox.c:114 msgid "kernel module directory" msgstr "" #: ../bin/virt-sandbox.c:119 msgid "" "Run 'virt-sandbox --help' to see a full list of available command line " "options" msgstr "" #: ../bin/virt-sandbox.c:129 msgid "Libvirt Sandbox" msgstr "" #: ../bin/virt-sandbox.c:131 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1189 msgid "- Libvirt Sandbox" msgstr "" #: ../bin/virt-sandbox.c:144 #, c-format msgid "" "\n" "Usage: %s [OPTIONS] COMMAND-PATH [ARGS...]\n" "\n" "%s\n" "\n" msgstr "" #: ../bin/virt-sandbox.c:160 ../bin/virt-sandbox-service-util.c:65 #, c-format msgid "Unable to open connection: %s\n" msgstr "" #: ../bin/virt-sandbox.c:161 ../bin/virt-sandbox.c:188 #: ../bin/virt-sandbox.c:194 ../bin/virt-sandbox.c:200 #: ../bin/virt-sandbox.c:206 ../bin/virt-sandbox.c:212 #: ../bin/virt-sandbox.c:227 ../bin/virt-sandbox.c:233 #: ../bin/virt-sandbox.c:240 ../bin/virt-sandbox.c:246 #: ../bin/virt-sandbox.c:254 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1247 msgid "Unknown failure" msgstr "" #: ../bin/virt-sandbox.c:187 #, c-format msgid "Unable to parse mounts: %s\n" msgstr "" #: ../bin/virt-sandbox.c:193 #, c-format msgid "Unable to parse includes: %s\n" msgstr "" #: ../bin/virt-sandbox.c:199 #, c-format msgid "Unable to parse include file: %s\n" msgstr "" #: ../bin/virt-sandbox.c:205 #, c-format msgid "Unable to parse networks: %s\n" msgstr "" #: ../bin/virt-sandbox.c:211 #, c-format msgid "Unable to parse security: %s\n" msgstr "" #: ../bin/virt-sandbox.c:226 #, c-format msgid "Unable to start sandbox: %s\n" msgstr "" #: ../bin/virt-sandbox.c:232 #, c-format msgid "Unable to get log console: %s\n" msgstr "" #: ../bin/virt-sandbox.c:239 ../bin/virt-sandbox.c:253 #, c-format msgid "Unable to attach sandbox console: %s\n" msgstr "" #: ../bin/virt-sandbox.c:245 #, c-format msgid "Unable to get app console: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:66 ../bin/virt-sandbox-service-util.c:72 #: ../bin/virt-sandbox-service-util.c:78 #: ../bin/virt-sandbox-service-util.c:104 #: ../bin/virt-sandbox-service-util.c:110 #: ../bin/virt-sandbox-service-util.c:120 #: ../bin/virt-sandbox-service-util.c:127 #: ../bin/virt-sandbox-service-util.c:159 #: ../bin/virt-sandbox-service-util.c:165 #: ../bin/virt-sandbox-service-util.c:175 #: ../bin/virt-sandbox-service-util.c:182 msgid "unknown" msgstr "" #: ../bin/virt-sandbox-service-util.c:71 #, c-format msgid "Unable to read config file %s: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:77 #, c-format msgid "Unable to create new context service: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:103 #, c-format msgid "Unable to start container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:109 #, c-format msgid "Unable to get log console for container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:119 #, c-format msgid "Unable to attach console to stderr in the container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:126 #: ../bin/virt-sandbox-service-util.c:181 #, c-format msgid "Unable to disconnect console from libvirt: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:158 #: ../bin/virt-sandbox-service-util.c:174 #, c-format msgid "Unable to attach to container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:164 #, c-format msgid "Unable to get shell console for container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:240 msgid "Display version information" msgstr "" #: ../bin/virt-sandbox-service-util.c:242 msgid "Start a container" msgstr "" #: ../bin/virt-sandbox-service-util.c:244 msgid "Attach to a container" msgstr "" #: ../bin/virt-sandbox-service-util.c:246 msgid "Pid of process in container to which the command will run" msgstr "" #: ../bin/virt-sandbox-service-util.c:248 msgid "Connect to hypervisor Default:'lxc:///'" msgstr "" #: ../bin/virt-sandbox-service-util.c:253 msgid "" "Run 'virt-sandbox-service-util --help' to see a full list of available " "command line options\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:263 msgid "- Libvirt Sandbox Service" msgstr "" #: ../bin/virt-sandbox-service-util.c:275 #, c-format msgid "" "Invalid command: You must specify --start or --attach\n" "%s" msgstr "" #: ../bin/virt-sandbox-service-util.c:281 #, c-format msgid "Invalid command CONTAINER_NAME required: %s" msgstr "" #: ../bin/virt-sandbox-service-util.c:288 msgid "Libvirt Sandbox Service" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-initrd.c:171 #, c-format msgid "Unable to create temporary directory %s: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-initrd.c:217 #, c-format msgid "Kernel module dir %s does not exist" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-initrd.c:275 #, c-format msgid "Unable to read entries in %s: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-initrd.c:306 #, c-format msgid "Unable to access %s: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-machine.c:446 #, c-format msgid "Kernel image %s does not exist" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:941 #, c-format msgid "Cannot request DHCP with static routes/addresses" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:963 #, c-format msgid "No assignment in filter parameter configuration" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:999 #, c-format msgid "Cannot set static addresses with DHCP" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1019 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1028 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1082 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1090 #, c-format msgid "Unable to parse address %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1058 #, c-format msgid "Cannot set static routes with DHCP" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1076 #, c-format msgid "Missing gateway in route %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1110 #, c-format msgid "Unknown parameter %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1121 #, c-format msgid "Cannot set static routes without addresses" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1285 #, c-format msgid "No mount type prefix on %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1298 #, c-format msgid "Unknown mount type prefix on %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1311 #, c-format msgid "Missing mount source string on %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1411 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1476 #, c-format msgid "No mount with a prefix under %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1578 #, c-format msgid "Unable to get SELinux context of user: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1587 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1596 #, c-format msgid "Unknown security option '%s'" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1630 msgid "Missing mount target in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1635 msgid "Missing mount type in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1647 #, c-format msgid "Unknown mount type %s in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1654 msgid "Missing mount usage in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1663 msgid "Missing mount source in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:2150 msgid "Missing class name in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:2156 #, c-format msgid "Unknown type name '%s' in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:2163 #, c-format msgid "Type name '%s' in config file had wrong parent" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console.c:326 msgid "Unable to isolate console unless direct access flag is set" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:184 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:350 #, c-format msgid "Unable to query terminal attributes: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:201 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:367 #, c-format msgid "Unable to update terminal attributes: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:224 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:395 #, c-format msgid "Unable to restore terminal attributes: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:630 msgid "No devices found for domain" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:660 #, c-format msgid "No device %s found for domain" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:666 #, c-format msgid "Unable to open console %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:699 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:1110 msgid "Console is already attached to a stream" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:628 #, c-format msgid "Unexpected rpc status %u" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:697 #, c-format msgid "Unexpected rpc proc %u" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:753 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:817 #, c-format msgid "Got rx in unexpected state %d" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:1167 msgid "ConsoleRpc is not attached to a stream" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-context.c:253 #: ../libvirt-sandbox/libvirt-sandbox-context.c:396 #, c-format msgid "Domain is not currently running" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-context.c:323 #: ../libvirt-sandbox/libvirt-sandbox-context.c:340 #: ../libvirt-sandbox/libvirt-sandbox-context.c:363 #, c-format msgid "Sandbox is not currently running" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1065 #, c-format msgid "libvirt-sandbox-init-common: unable to create signal pipe: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1084 #, c-format msgid "libvirt-sandbox-init-common: cannot open %s: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1141 #, c-format msgid "libvirt-sandbox-init-common: %s: cannot execute %s: %s\n" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1167 msgid "config file path" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1170 msgid "Run '" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1180 #, c-format msgid "%s: must be launched as root\n" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1187 msgid "Libvirt Sandbox Init Common" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1205 #, c-format msgid "%s: Unable to load config %s: %s\n" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1231 #, c-format msgid "Unsupported configuration type %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:69 msgid "Unable to decode message length" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:76 #, c-format msgid "packet %u bytes received from server too small, want %u" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:86 #, c-format msgid "packet %u bytes received from server too large, want %d" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:130 msgid "Unable to decode message header" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:174 #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:235 #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:303 #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:329 msgid "Unable to encode message length" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:180 msgid "Unable to encode message header" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:192 msgid "Unable to re-encode message length" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:222 msgid "Unable to encode message payload" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:265 msgid "Unable to decode message payload" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:290 #, c-format msgid "Raw data too long to send (%zu bytes needed, %zu bytes available)" msgstr "" libvirt-sandbox-0.5.1+git20160404/po/sr@latin.po000066400000000000000000000343621275305543100207730ustar00rootroot00000000000000# SOME DESCRIPTIVE TITLE. # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # # Translators: msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2015-02-18 14:55+0000\n" "PO-Revision-Date: 2013-04-08 06:10-0400\n" "Last-Translator: FULL NAME \n" "Language-Team: Serbian (Latin) (http://www.transifex.com/projects/p/fedora/language/sr@latin/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Language: sr@latin\n" "Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n" "X-Generator: Zanata 3.5.1\n" #: ../bin/virt-sandbox.c:48 ../bin/virt-sandbox-service-util.c:43 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1149 #, c-format msgid "%s version %s\n" msgstr "" #: ../bin/virt-sandbox.c:84 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1161 msgid "display version information" msgstr "" #: ../bin/virt-sandbox.c:86 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1163 msgid "display verbose information" msgstr "" #: ../bin/virt-sandbox.c:88 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1165 msgid "display debugging information" msgstr "" #: ../bin/virt-sandbox.c:90 msgid "connect to hypervisor" msgstr "" #: ../bin/virt-sandbox.c:92 msgid "name of the sandbox" msgstr "" #: ../bin/virt-sandbox.c:94 msgid "root directory of the sandbox" msgstr "" #: ../bin/virt-sandbox.c:96 msgid "mount a filesystem in the guest" msgstr "" #: ../bin/virt-sandbox.c:98 msgid "file to copy into custom dir" msgstr "" #: ../bin/virt-sandbox.c:100 msgid "file contain list of files to include" msgstr "" #: ../bin/virt-sandbox.c:102 msgid "setup network interface properties" msgstr "" #: ../bin/virt-sandbox.c:104 msgid "security properties" msgstr "" #: ../bin/virt-sandbox.c:106 msgid "run the command privileged" msgstr "" #: ../bin/virt-sandbox.c:108 msgid "start a shell" msgstr "" #: ../bin/virt-sandbox.c:110 msgid "kernel version" msgstr "" #: ../bin/virt-sandbox.c:112 msgid "kernel binary path" msgstr "" #: ../bin/virt-sandbox.c:114 msgid "kernel module directory" msgstr "" #: ../bin/virt-sandbox.c:119 msgid "" "Run 'virt-sandbox --help' to see a full list of available command line " "options" msgstr "" #: ../bin/virt-sandbox.c:129 msgid "Libvirt Sandbox" msgstr "" #: ../bin/virt-sandbox.c:131 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1189 msgid "- Libvirt Sandbox" msgstr "" #: ../bin/virt-sandbox.c:144 #, c-format msgid "" "\n" "Usage: %s [OPTIONS] COMMAND-PATH [ARGS...]\n" "\n" "%s\n" "\n" msgstr "" #: ../bin/virt-sandbox.c:160 ../bin/virt-sandbox-service-util.c:65 #, c-format msgid "Unable to open connection: %s\n" msgstr "" #: ../bin/virt-sandbox.c:161 ../bin/virt-sandbox.c:188 #: ../bin/virt-sandbox.c:194 ../bin/virt-sandbox.c:200 #: ../bin/virt-sandbox.c:206 ../bin/virt-sandbox.c:212 #: ../bin/virt-sandbox.c:227 ../bin/virt-sandbox.c:233 #: ../bin/virt-sandbox.c:240 ../bin/virt-sandbox.c:246 #: ../bin/virt-sandbox.c:254 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1247 msgid "Unknown failure" msgstr "" #: ../bin/virt-sandbox.c:187 #, c-format msgid "Unable to parse mounts: %s\n" msgstr "" #: ../bin/virt-sandbox.c:193 #, c-format msgid "Unable to parse includes: %s\n" msgstr "" #: ../bin/virt-sandbox.c:199 #, c-format msgid "Unable to parse include file: %s\n" msgstr "" #: ../bin/virt-sandbox.c:205 #, c-format msgid "Unable to parse networks: %s\n" msgstr "" #: ../bin/virt-sandbox.c:211 #, c-format msgid "Unable to parse security: %s\n" msgstr "" #: ../bin/virt-sandbox.c:226 #, c-format msgid "Unable to start sandbox: %s\n" msgstr "" #: ../bin/virt-sandbox.c:232 #, c-format msgid "Unable to get log console: %s\n" msgstr "" #: ../bin/virt-sandbox.c:239 ../bin/virt-sandbox.c:253 #, c-format msgid "Unable to attach sandbox console: %s\n" msgstr "" #: ../bin/virt-sandbox.c:245 #, c-format msgid "Unable to get app console: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:66 ../bin/virt-sandbox-service-util.c:72 #: ../bin/virt-sandbox-service-util.c:78 #: ../bin/virt-sandbox-service-util.c:104 #: ../bin/virt-sandbox-service-util.c:110 #: ../bin/virt-sandbox-service-util.c:120 #: ../bin/virt-sandbox-service-util.c:127 #: ../bin/virt-sandbox-service-util.c:159 #: ../bin/virt-sandbox-service-util.c:165 #: ../bin/virt-sandbox-service-util.c:175 #: ../bin/virt-sandbox-service-util.c:182 msgid "unknown" msgstr "" #: ../bin/virt-sandbox-service-util.c:71 #, c-format msgid "Unable to read config file %s: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:77 #, c-format msgid "Unable to create new context service: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:103 #, c-format msgid "Unable to start container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:109 #, c-format msgid "Unable to get log console for container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:119 #, c-format msgid "Unable to attach console to stderr in the container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:126 #: ../bin/virt-sandbox-service-util.c:181 #, c-format msgid "Unable to disconnect console from libvirt: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:158 #: ../bin/virt-sandbox-service-util.c:174 #, c-format msgid "Unable to attach to container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:164 #, c-format msgid "Unable to get shell console for container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:240 msgid "Display version information" msgstr "" #: ../bin/virt-sandbox-service-util.c:242 msgid "Start a container" msgstr "" #: ../bin/virt-sandbox-service-util.c:244 msgid "Attach to a container" msgstr "" #: ../bin/virt-sandbox-service-util.c:246 msgid "Pid of process in container to which the command will run" msgstr "" #: ../bin/virt-sandbox-service-util.c:248 msgid "Connect to hypervisor Default:'lxc:///'" msgstr "" #: ../bin/virt-sandbox-service-util.c:253 msgid "" "Run 'virt-sandbox-service-util --help' to see a full list of available " "command line options\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:263 msgid "- Libvirt Sandbox Service" msgstr "" #: ../bin/virt-sandbox-service-util.c:275 #, c-format msgid "" "Invalid command: You must specify --start or --attach\n" "%s" msgstr "" #: ../bin/virt-sandbox-service-util.c:281 #, c-format msgid "Invalid command CONTAINER_NAME required: %s" msgstr "" #: ../bin/virt-sandbox-service-util.c:288 msgid "Libvirt Sandbox Service" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-initrd.c:171 #, c-format msgid "Unable to create temporary directory %s: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-initrd.c:217 #, c-format msgid "Kernel module dir %s does not exist" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-initrd.c:275 #, c-format msgid "Unable to read entries in %s: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-initrd.c:306 #, c-format msgid "Unable to access %s: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-machine.c:446 #, c-format msgid "Kernel image %s does not exist" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:941 #, c-format msgid "Cannot request DHCP with static routes/addresses" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:963 #, c-format msgid "No assignment in filter parameter configuration" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:999 #, c-format msgid "Cannot set static addresses with DHCP" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1019 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1028 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1082 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1090 #, c-format msgid "Unable to parse address %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1058 #, c-format msgid "Cannot set static routes with DHCP" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1076 #, c-format msgid "Missing gateway in route %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1110 #, c-format msgid "Unknown parameter %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1121 #, c-format msgid "Cannot set static routes without addresses" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1285 #, c-format msgid "No mount type prefix on %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1298 #, c-format msgid "Unknown mount type prefix on %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1311 #, c-format msgid "Missing mount source string on %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1411 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1476 #, c-format msgid "No mount with a prefix under %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1578 #, c-format msgid "Unable to get SELinux context of user: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1587 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1596 #, c-format msgid "Unknown security option '%s'" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1630 msgid "Missing mount target in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1635 msgid "Missing mount type in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1647 #, c-format msgid "Unknown mount type %s in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1654 msgid "Missing mount usage in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1663 msgid "Missing mount source in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:2150 msgid "Missing class name in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:2156 #, c-format msgid "Unknown type name '%s' in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:2163 #, c-format msgid "Type name '%s' in config file had wrong parent" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console.c:326 msgid "Unable to isolate console unless direct access flag is set" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:184 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:350 #, c-format msgid "Unable to query terminal attributes: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:201 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:367 #, c-format msgid "Unable to update terminal attributes: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:224 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:395 #, c-format msgid "Unable to restore terminal attributes: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:630 msgid "No devices found for domain" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:660 #, c-format msgid "No device %s found for domain" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:666 #, c-format msgid "Unable to open console %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:699 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:1110 msgid "Console is already attached to a stream" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:628 #, c-format msgid "Unexpected rpc status %u" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:697 #, c-format msgid "Unexpected rpc proc %u" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:753 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:817 #, c-format msgid "Got rx in unexpected state %d" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:1167 msgid "ConsoleRpc is not attached to a stream" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-context.c:253 #: ../libvirt-sandbox/libvirt-sandbox-context.c:396 #, c-format msgid "Domain is not currently running" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-context.c:323 #: ../libvirt-sandbox/libvirt-sandbox-context.c:340 #: ../libvirt-sandbox/libvirt-sandbox-context.c:363 #, c-format msgid "Sandbox is not currently running" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1065 #, c-format msgid "libvirt-sandbox-init-common: unable to create signal pipe: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1084 #, c-format msgid "libvirt-sandbox-init-common: cannot open %s: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1141 #, c-format msgid "libvirt-sandbox-init-common: %s: cannot execute %s: %s\n" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1167 msgid "config file path" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1170 msgid "Run '" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1180 #, c-format msgid "%s: must be launched as root\n" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1187 msgid "Libvirt Sandbox Init Common" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1205 #, c-format msgid "%s: Unable to load config %s: %s\n" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1231 #, c-format msgid "Unsupported configuration type %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:69 msgid "Unable to decode message length" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:76 #, c-format msgid "packet %u bytes received from server too small, want %u" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:86 #, c-format msgid "packet %u bytes received from server too large, want %d" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:130 msgid "Unable to decode message header" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:174 #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:235 #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:303 #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:329 msgid "Unable to encode message length" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:180 msgid "Unable to encode message header" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:192 msgid "Unable to re-encode message length" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:222 msgid "Unable to encode message payload" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:265 msgid "Unable to decode message payload" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:290 #, c-format msgid "Raw data too long to send (%zu bytes needed, %zu bytes available)" msgstr "" libvirt-sandbox-0.5.1+git20160404/po/sv.po000066400000000000000000000342241275305543100176440ustar00rootroot00000000000000# SOME DESCRIPTIVE TITLE. # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # # Translators: msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2015-02-18 14:55+0000\n" "PO-Revision-Date: 2013-04-08 06:10-0400\n" "Last-Translator: FULL NAME \n" "Language-Team: Swedish (http://www.transifex.com/projects/p/fedora/language/sv/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Language: sv\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" "X-Generator: Zanata 3.5.1\n" #: ../bin/virt-sandbox.c:48 ../bin/virt-sandbox-service-util.c:43 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1149 #, c-format msgid "%s version %s\n" msgstr "" #: ../bin/virt-sandbox.c:84 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1161 msgid "display version information" msgstr "" #: ../bin/virt-sandbox.c:86 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1163 msgid "display verbose information" msgstr "" #: ../bin/virt-sandbox.c:88 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1165 msgid "display debugging information" msgstr "" #: ../bin/virt-sandbox.c:90 msgid "connect to hypervisor" msgstr "" #: ../bin/virt-sandbox.c:92 msgid "name of the sandbox" msgstr "" #: ../bin/virt-sandbox.c:94 msgid "root directory of the sandbox" msgstr "" #: ../bin/virt-sandbox.c:96 msgid "mount a filesystem in the guest" msgstr "" #: ../bin/virt-sandbox.c:98 msgid "file to copy into custom dir" msgstr "" #: ../bin/virt-sandbox.c:100 msgid "file contain list of files to include" msgstr "" #: ../bin/virt-sandbox.c:102 msgid "setup network interface properties" msgstr "" #: ../bin/virt-sandbox.c:104 msgid "security properties" msgstr "" #: ../bin/virt-sandbox.c:106 msgid "run the command privileged" msgstr "" #: ../bin/virt-sandbox.c:108 msgid "start a shell" msgstr "" #: ../bin/virt-sandbox.c:110 msgid "kernel version" msgstr "" #: ../bin/virt-sandbox.c:112 msgid "kernel binary path" msgstr "" #: ../bin/virt-sandbox.c:114 msgid "kernel module directory" msgstr "" #: ../bin/virt-sandbox.c:119 msgid "" "Run 'virt-sandbox --help' to see a full list of available command line " "options" msgstr "" #: ../bin/virt-sandbox.c:129 msgid "Libvirt Sandbox" msgstr "" #: ../bin/virt-sandbox.c:131 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1189 msgid "- Libvirt Sandbox" msgstr "" #: ../bin/virt-sandbox.c:144 #, c-format msgid "" "\n" "Usage: %s [OPTIONS] COMMAND-PATH [ARGS...]\n" "\n" "%s\n" "\n" msgstr "" #: ../bin/virt-sandbox.c:160 ../bin/virt-sandbox-service-util.c:65 #, c-format msgid "Unable to open connection: %s\n" msgstr "" #: ../bin/virt-sandbox.c:161 ../bin/virt-sandbox.c:188 #: ../bin/virt-sandbox.c:194 ../bin/virt-sandbox.c:200 #: ../bin/virt-sandbox.c:206 ../bin/virt-sandbox.c:212 #: ../bin/virt-sandbox.c:227 ../bin/virt-sandbox.c:233 #: ../bin/virt-sandbox.c:240 ../bin/virt-sandbox.c:246 #: ../bin/virt-sandbox.c:254 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1247 msgid "Unknown failure" msgstr "" #: ../bin/virt-sandbox.c:187 #, c-format msgid "Unable to parse mounts: %s\n" msgstr "" #: ../bin/virt-sandbox.c:193 #, c-format msgid "Unable to parse includes: %s\n" msgstr "" #: ../bin/virt-sandbox.c:199 #, c-format msgid "Unable to parse include file: %s\n" msgstr "" #: ../bin/virt-sandbox.c:205 #, c-format msgid "Unable to parse networks: %s\n" msgstr "" #: ../bin/virt-sandbox.c:211 #, c-format msgid "Unable to parse security: %s\n" msgstr "" #: ../bin/virt-sandbox.c:226 #, c-format msgid "Unable to start sandbox: %s\n" msgstr "" #: ../bin/virt-sandbox.c:232 #, c-format msgid "Unable to get log console: %s\n" msgstr "" #: ../bin/virt-sandbox.c:239 ../bin/virt-sandbox.c:253 #, c-format msgid "Unable to attach sandbox console: %s\n" msgstr "" #: ../bin/virt-sandbox.c:245 #, c-format msgid "Unable to get app console: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:66 ../bin/virt-sandbox-service-util.c:72 #: ../bin/virt-sandbox-service-util.c:78 #: ../bin/virt-sandbox-service-util.c:104 #: ../bin/virt-sandbox-service-util.c:110 #: ../bin/virt-sandbox-service-util.c:120 #: ../bin/virt-sandbox-service-util.c:127 #: ../bin/virt-sandbox-service-util.c:159 #: ../bin/virt-sandbox-service-util.c:165 #: ../bin/virt-sandbox-service-util.c:175 #: ../bin/virt-sandbox-service-util.c:182 msgid "unknown" msgstr "" #: ../bin/virt-sandbox-service-util.c:71 #, c-format msgid "Unable to read config file %s: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:77 #, c-format msgid "Unable to create new context service: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:103 #, c-format msgid "Unable to start container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:109 #, c-format msgid "Unable to get log console for container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:119 #, c-format msgid "Unable to attach console to stderr in the container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:126 #: ../bin/virt-sandbox-service-util.c:181 #, c-format msgid "Unable to disconnect console from libvirt: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:158 #: ../bin/virt-sandbox-service-util.c:174 #, c-format msgid "Unable to attach to container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:164 #, c-format msgid "Unable to get shell console for container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:240 msgid "Display version information" msgstr "" #: ../bin/virt-sandbox-service-util.c:242 msgid "Start a container" msgstr "" #: ../bin/virt-sandbox-service-util.c:244 msgid "Attach to a container" msgstr "" #: ../bin/virt-sandbox-service-util.c:246 msgid "Pid of process in container to which the command will run" msgstr "" #: ../bin/virt-sandbox-service-util.c:248 msgid "Connect to hypervisor Default:'lxc:///'" msgstr "" #: ../bin/virt-sandbox-service-util.c:253 msgid "" "Run 'virt-sandbox-service-util --help' to see a full list of available " "command line options\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:263 msgid "- Libvirt Sandbox Service" msgstr "" #: ../bin/virt-sandbox-service-util.c:275 #, c-format msgid "" "Invalid command: You must specify --start or --attach\n" "%s" msgstr "" #: ../bin/virt-sandbox-service-util.c:281 #, c-format msgid "Invalid command CONTAINER_NAME required: %s" msgstr "" #: ../bin/virt-sandbox-service-util.c:288 msgid "Libvirt Sandbox Service" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-initrd.c:171 #, c-format msgid "Unable to create temporary directory %s: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-initrd.c:217 #, c-format msgid "Kernel module dir %s does not exist" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-initrd.c:275 #, c-format msgid "Unable to read entries in %s: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-initrd.c:306 #, c-format msgid "Unable to access %s: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-machine.c:446 #, c-format msgid "Kernel image %s does not exist" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:941 #, c-format msgid "Cannot request DHCP with static routes/addresses" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:963 #, c-format msgid "No assignment in filter parameter configuration" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:999 #, c-format msgid "Cannot set static addresses with DHCP" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1019 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1028 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1082 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1090 #, c-format msgid "Unable to parse address %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1058 #, c-format msgid "Cannot set static routes with DHCP" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1076 #, c-format msgid "Missing gateway in route %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1110 #, c-format msgid "Unknown parameter %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1121 #, c-format msgid "Cannot set static routes without addresses" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1285 #, c-format msgid "No mount type prefix on %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1298 #, c-format msgid "Unknown mount type prefix on %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1311 #, c-format msgid "Missing mount source string on %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1411 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1476 #, c-format msgid "No mount with a prefix under %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1578 #, c-format msgid "Unable to get SELinux context of user: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1587 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1596 #, c-format msgid "Unknown security option '%s'" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1630 msgid "Missing mount target in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1635 msgid "Missing mount type in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1647 #, c-format msgid "Unknown mount type %s in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1654 msgid "Missing mount usage in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1663 msgid "Missing mount source in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:2150 msgid "Missing class name in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:2156 #, c-format msgid "Unknown type name '%s' in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:2163 #, c-format msgid "Type name '%s' in config file had wrong parent" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console.c:326 msgid "Unable to isolate console unless direct access flag is set" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:184 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:350 #, c-format msgid "Unable to query terminal attributes: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:201 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:367 #, c-format msgid "Unable to update terminal attributes: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:224 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:395 #, c-format msgid "Unable to restore terminal attributes: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:630 msgid "No devices found for domain" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:660 #, c-format msgid "No device %s found for domain" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:666 #, c-format msgid "Unable to open console %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:699 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:1110 msgid "Console is already attached to a stream" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:628 #, c-format msgid "Unexpected rpc status %u" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:697 #, c-format msgid "Unexpected rpc proc %u" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:753 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:817 #, c-format msgid "Got rx in unexpected state %d" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:1167 msgid "ConsoleRpc is not attached to a stream" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-context.c:253 #: ../libvirt-sandbox/libvirt-sandbox-context.c:396 #, c-format msgid "Domain is not currently running" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-context.c:323 #: ../libvirt-sandbox/libvirt-sandbox-context.c:340 #: ../libvirt-sandbox/libvirt-sandbox-context.c:363 #, c-format msgid "Sandbox is not currently running" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1065 #, c-format msgid "libvirt-sandbox-init-common: unable to create signal pipe: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1084 #, c-format msgid "libvirt-sandbox-init-common: cannot open %s: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1141 #, c-format msgid "libvirt-sandbox-init-common: %s: cannot execute %s: %s\n" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1167 msgid "config file path" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1170 msgid "Run '" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1180 #, c-format msgid "%s: must be launched as root\n" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1187 msgid "Libvirt Sandbox Init Common" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1205 #, c-format msgid "%s: Unable to load config %s: %s\n" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1231 #, c-format msgid "Unsupported configuration type %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:69 msgid "Unable to decode message length" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:76 #, c-format msgid "packet %u bytes received from server too small, want %u" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:86 #, c-format msgid "packet %u bytes received from server too large, want %d" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:130 msgid "Unable to decode message header" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:174 #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:235 #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:303 #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:329 msgid "Unable to encode message length" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:180 msgid "Unable to encode message header" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:192 msgid "Unable to re-encode message length" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:222 msgid "Unable to encode message payload" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:265 msgid "Unable to decode message payload" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:290 #, c-format msgid "Raw data too long to send (%zu bytes needed, %zu bytes available)" msgstr "" libvirt-sandbox-0.5.1+git20160404/po/ta.po000066400000000000000000000341761275305543100176260ustar00rootroot00000000000000# SOME DESCRIPTIVE TITLE. # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # # Translators: msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2015-02-18 14:55+0000\n" "PO-Revision-Date: 2013-04-08 06:10-0400\n" "Last-Translator: FULL NAME \n" "Language-Team: Tamil \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Language: ta\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" "X-Generator: Zanata 3.5.1\n" #: ../bin/virt-sandbox.c:48 ../bin/virt-sandbox-service-util.c:43 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1149 #, c-format msgid "%s version %s\n" msgstr "" #: ../bin/virt-sandbox.c:84 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1161 msgid "display version information" msgstr "" #: ../bin/virt-sandbox.c:86 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1163 msgid "display verbose information" msgstr "" #: ../bin/virt-sandbox.c:88 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1165 msgid "display debugging information" msgstr "" #: ../bin/virt-sandbox.c:90 msgid "connect to hypervisor" msgstr "" #: ../bin/virt-sandbox.c:92 msgid "name of the sandbox" msgstr "" #: ../bin/virt-sandbox.c:94 msgid "root directory of the sandbox" msgstr "" #: ../bin/virt-sandbox.c:96 msgid "mount a filesystem in the guest" msgstr "" #: ../bin/virt-sandbox.c:98 msgid "file to copy into custom dir" msgstr "" #: ../bin/virt-sandbox.c:100 msgid "file contain list of files to include" msgstr "" #: ../bin/virt-sandbox.c:102 msgid "setup network interface properties" msgstr "" #: ../bin/virt-sandbox.c:104 msgid "security properties" msgstr "" #: ../bin/virt-sandbox.c:106 msgid "run the command privileged" msgstr "" #: ../bin/virt-sandbox.c:108 msgid "start a shell" msgstr "" #: ../bin/virt-sandbox.c:110 msgid "kernel version" msgstr "" #: ../bin/virt-sandbox.c:112 msgid "kernel binary path" msgstr "" #: ../bin/virt-sandbox.c:114 msgid "kernel module directory" msgstr "" #: ../bin/virt-sandbox.c:119 msgid "" "Run 'virt-sandbox --help' to see a full list of available command line " "options" msgstr "" #: ../bin/virt-sandbox.c:129 msgid "Libvirt Sandbox" msgstr "" #: ../bin/virt-sandbox.c:131 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1189 msgid "- Libvirt Sandbox" msgstr "" #: ../bin/virt-sandbox.c:144 #, c-format msgid "" "\n" "Usage: %s [OPTIONS] COMMAND-PATH [ARGS...]\n" "\n" "%s\n" "\n" msgstr "" #: ../bin/virt-sandbox.c:160 ../bin/virt-sandbox-service-util.c:65 #, c-format msgid "Unable to open connection: %s\n" msgstr "" #: ../bin/virt-sandbox.c:161 ../bin/virt-sandbox.c:188 #: ../bin/virt-sandbox.c:194 ../bin/virt-sandbox.c:200 #: ../bin/virt-sandbox.c:206 ../bin/virt-sandbox.c:212 #: ../bin/virt-sandbox.c:227 ../bin/virt-sandbox.c:233 #: ../bin/virt-sandbox.c:240 ../bin/virt-sandbox.c:246 #: ../bin/virt-sandbox.c:254 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1247 msgid "Unknown failure" msgstr "" #: ../bin/virt-sandbox.c:187 #, c-format msgid "Unable to parse mounts: %s\n" msgstr "" #: ../bin/virt-sandbox.c:193 #, c-format msgid "Unable to parse includes: %s\n" msgstr "" #: ../bin/virt-sandbox.c:199 #, c-format msgid "Unable to parse include file: %s\n" msgstr "" #: ../bin/virt-sandbox.c:205 #, c-format msgid "Unable to parse networks: %s\n" msgstr "" #: ../bin/virt-sandbox.c:211 #, c-format msgid "Unable to parse security: %s\n" msgstr "" #: ../bin/virt-sandbox.c:226 #, c-format msgid "Unable to start sandbox: %s\n" msgstr "" #: ../bin/virt-sandbox.c:232 #, c-format msgid "Unable to get log console: %s\n" msgstr "" #: ../bin/virt-sandbox.c:239 ../bin/virt-sandbox.c:253 #, c-format msgid "Unable to attach sandbox console: %s\n" msgstr "" #: ../bin/virt-sandbox.c:245 #, c-format msgid "Unable to get app console: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:66 ../bin/virt-sandbox-service-util.c:72 #: ../bin/virt-sandbox-service-util.c:78 #: ../bin/virt-sandbox-service-util.c:104 #: ../bin/virt-sandbox-service-util.c:110 #: ../bin/virt-sandbox-service-util.c:120 #: ../bin/virt-sandbox-service-util.c:127 #: ../bin/virt-sandbox-service-util.c:159 #: ../bin/virt-sandbox-service-util.c:165 #: ../bin/virt-sandbox-service-util.c:175 #: ../bin/virt-sandbox-service-util.c:182 msgid "unknown" msgstr "" #: ../bin/virt-sandbox-service-util.c:71 #, c-format msgid "Unable to read config file %s: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:77 #, c-format msgid "Unable to create new context service: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:103 #, c-format msgid "Unable to start container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:109 #, c-format msgid "Unable to get log console for container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:119 #, c-format msgid "Unable to attach console to stderr in the container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:126 #: ../bin/virt-sandbox-service-util.c:181 #, c-format msgid "Unable to disconnect console from libvirt: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:158 #: ../bin/virt-sandbox-service-util.c:174 #, c-format msgid "Unable to attach to container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:164 #, c-format msgid "Unable to get shell console for container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:240 msgid "Display version information" msgstr "" #: ../bin/virt-sandbox-service-util.c:242 msgid "Start a container" msgstr "" #: ../bin/virt-sandbox-service-util.c:244 msgid "Attach to a container" msgstr "" #: ../bin/virt-sandbox-service-util.c:246 msgid "Pid of process in container to which the command will run" msgstr "" #: ../bin/virt-sandbox-service-util.c:248 msgid "Connect to hypervisor Default:'lxc:///'" msgstr "" #: ../bin/virt-sandbox-service-util.c:253 msgid "" "Run 'virt-sandbox-service-util --help' to see a full list of available " "command line options\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:263 msgid "- Libvirt Sandbox Service" msgstr "" #: ../bin/virt-sandbox-service-util.c:275 #, c-format msgid "" "Invalid command: You must specify --start or --attach\n" "%s" msgstr "" #: ../bin/virt-sandbox-service-util.c:281 #, c-format msgid "Invalid command CONTAINER_NAME required: %s" msgstr "" #: ../bin/virt-sandbox-service-util.c:288 msgid "Libvirt Sandbox Service" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-initrd.c:171 #, c-format msgid "Unable to create temporary directory %s: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-initrd.c:217 #, c-format msgid "Kernel module dir %s does not exist" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-initrd.c:275 #, c-format msgid "Unable to read entries in %s: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-initrd.c:306 #, c-format msgid "Unable to access %s: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-machine.c:446 #, c-format msgid "Kernel image %s does not exist" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:941 #, c-format msgid "Cannot request DHCP with static routes/addresses" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:963 #, c-format msgid "No assignment in filter parameter configuration" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:999 #, c-format msgid "Cannot set static addresses with DHCP" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1019 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1028 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1082 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1090 #, c-format msgid "Unable to parse address %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1058 #, c-format msgid "Cannot set static routes with DHCP" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1076 #, c-format msgid "Missing gateway in route %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1110 #, c-format msgid "Unknown parameter %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1121 #, c-format msgid "Cannot set static routes without addresses" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1285 #, c-format msgid "No mount type prefix on %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1298 #, c-format msgid "Unknown mount type prefix on %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1311 #, c-format msgid "Missing mount source string on %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1411 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1476 #, c-format msgid "No mount with a prefix under %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1578 #, c-format msgid "Unable to get SELinux context of user: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1587 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1596 #, c-format msgid "Unknown security option '%s'" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1630 msgid "Missing mount target in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1635 msgid "Missing mount type in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1647 #, c-format msgid "Unknown mount type %s in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1654 msgid "Missing mount usage in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1663 msgid "Missing mount source in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:2150 msgid "Missing class name in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:2156 #, c-format msgid "Unknown type name '%s' in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:2163 #, c-format msgid "Type name '%s' in config file had wrong parent" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console.c:326 msgid "Unable to isolate console unless direct access flag is set" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:184 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:350 #, c-format msgid "Unable to query terminal attributes: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:201 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:367 #, c-format msgid "Unable to update terminal attributes: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:224 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:395 #, c-format msgid "Unable to restore terminal attributes: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:630 msgid "No devices found for domain" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:660 #, c-format msgid "No device %s found for domain" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:666 #, c-format msgid "Unable to open console %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:699 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:1110 msgid "Console is already attached to a stream" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:628 #, c-format msgid "Unexpected rpc status %u" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:697 #, c-format msgid "Unexpected rpc proc %u" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:753 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:817 #, c-format msgid "Got rx in unexpected state %d" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:1167 msgid "ConsoleRpc is not attached to a stream" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-context.c:253 #: ../libvirt-sandbox/libvirt-sandbox-context.c:396 #, c-format msgid "Domain is not currently running" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-context.c:323 #: ../libvirt-sandbox/libvirt-sandbox-context.c:340 #: ../libvirt-sandbox/libvirt-sandbox-context.c:363 #, c-format msgid "Sandbox is not currently running" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1065 #, c-format msgid "libvirt-sandbox-init-common: unable to create signal pipe: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1084 #, c-format msgid "libvirt-sandbox-init-common: cannot open %s: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1141 #, c-format msgid "libvirt-sandbox-init-common: %s: cannot execute %s: %s\n" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1167 msgid "config file path" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1170 msgid "Run '" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1180 #, c-format msgid "%s: must be launched as root\n" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1187 msgid "Libvirt Sandbox Init Common" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1205 #, c-format msgid "%s: Unable to load config %s: %s\n" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1231 #, c-format msgid "Unsupported configuration type %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:69 msgid "Unable to decode message length" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:76 #, c-format msgid "packet %u bytes received from server too small, want %u" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:86 #, c-format msgid "packet %u bytes received from server too large, want %d" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:130 msgid "Unable to decode message header" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:174 #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:235 #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:303 #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:329 msgid "Unable to encode message length" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:180 msgid "Unable to encode message header" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:192 msgid "Unable to re-encode message length" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:222 msgid "Unable to encode message payload" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:265 msgid "Unable to decode message payload" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:290 #, c-format msgid "Raw data too long to send (%zu bytes needed, %zu bytes available)" msgstr "" libvirt-sandbox-0.5.1+git20160404/po/te.po000066400000000000000000000342461275305543100176300ustar00rootroot00000000000000# SOME DESCRIPTIVE TITLE. # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # # Translators: msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2015-02-18 14:55+0000\n" "PO-Revision-Date: 2013-07-09 03:50-0400\n" "Last-Translator: Daniel Berrange \n" "Language-Team: Telugu (http://www.transifex.com/projects/p/fedora/language/te/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Language: te\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" "X-Generator: Zanata 3.5.1\n" #: ../bin/virt-sandbox.c:48 ../bin/virt-sandbox-service-util.c:43 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1149 #, c-format msgid "%s version %s\n" msgstr "" #: ../bin/virt-sandbox.c:84 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1161 msgid "display version information" msgstr "" #: ../bin/virt-sandbox.c:86 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1163 msgid "display verbose information" msgstr "" #: ../bin/virt-sandbox.c:88 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1165 msgid "display debugging information" msgstr "" #: ../bin/virt-sandbox.c:90 msgid "connect to hypervisor" msgstr "" #: ../bin/virt-sandbox.c:92 msgid "name of the sandbox" msgstr "" #: ../bin/virt-sandbox.c:94 msgid "root directory of the sandbox" msgstr "" #: ../bin/virt-sandbox.c:96 msgid "mount a filesystem in the guest" msgstr "" #: ../bin/virt-sandbox.c:98 msgid "file to copy into custom dir" msgstr "" #: ../bin/virt-sandbox.c:100 msgid "file contain list of files to include" msgstr "" #: ../bin/virt-sandbox.c:102 msgid "setup network interface properties" msgstr "" #: ../bin/virt-sandbox.c:104 msgid "security properties" msgstr "" #: ../bin/virt-sandbox.c:106 msgid "run the command privileged" msgstr "" #: ../bin/virt-sandbox.c:108 msgid "start a shell" msgstr "" #: ../bin/virt-sandbox.c:110 msgid "kernel version" msgstr "" #: ../bin/virt-sandbox.c:112 msgid "kernel binary path" msgstr "" #: ../bin/virt-sandbox.c:114 msgid "kernel module directory" msgstr "" #: ../bin/virt-sandbox.c:119 msgid "" "Run 'virt-sandbox --help' to see a full list of available command line " "options" msgstr "" #: ../bin/virt-sandbox.c:129 msgid "Libvirt Sandbox" msgstr "" #: ../bin/virt-sandbox.c:131 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1189 msgid "- Libvirt Sandbox" msgstr "" #: ../bin/virt-sandbox.c:144 #, c-format msgid "" "\n" "Usage: %s [OPTIONS] COMMAND-PATH [ARGS...]\n" "\n" "%s\n" "\n" msgstr "" #: ../bin/virt-sandbox.c:160 ../bin/virt-sandbox-service-util.c:65 #, c-format msgid "Unable to open connection: %s\n" msgstr "" #: ../bin/virt-sandbox.c:161 ../bin/virt-sandbox.c:188 #: ../bin/virt-sandbox.c:194 ../bin/virt-sandbox.c:200 #: ../bin/virt-sandbox.c:206 ../bin/virt-sandbox.c:212 #: ../bin/virt-sandbox.c:227 ../bin/virt-sandbox.c:233 #: ../bin/virt-sandbox.c:240 ../bin/virt-sandbox.c:246 #: ../bin/virt-sandbox.c:254 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1247 msgid "Unknown failure" msgstr "" #: ../bin/virt-sandbox.c:187 #, c-format msgid "Unable to parse mounts: %s\n" msgstr "" #: ../bin/virt-sandbox.c:193 #, c-format msgid "Unable to parse includes: %s\n" msgstr "" #: ../bin/virt-sandbox.c:199 #, c-format msgid "Unable to parse include file: %s\n" msgstr "" #: ../bin/virt-sandbox.c:205 #, c-format msgid "Unable to parse networks: %s\n" msgstr "" #: ../bin/virt-sandbox.c:211 #, c-format msgid "Unable to parse security: %s\n" msgstr "" #: ../bin/virt-sandbox.c:226 #, c-format msgid "Unable to start sandbox: %s\n" msgstr "" #: ../bin/virt-sandbox.c:232 #, c-format msgid "Unable to get log console: %s\n" msgstr "" #: ../bin/virt-sandbox.c:239 ../bin/virt-sandbox.c:253 #, c-format msgid "Unable to attach sandbox console: %s\n" msgstr "" #: ../bin/virt-sandbox.c:245 #, c-format msgid "Unable to get app console: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:66 ../bin/virt-sandbox-service-util.c:72 #: ../bin/virt-sandbox-service-util.c:78 #: ../bin/virt-sandbox-service-util.c:104 #: ../bin/virt-sandbox-service-util.c:110 #: ../bin/virt-sandbox-service-util.c:120 #: ../bin/virt-sandbox-service-util.c:127 #: ../bin/virt-sandbox-service-util.c:159 #: ../bin/virt-sandbox-service-util.c:165 #: ../bin/virt-sandbox-service-util.c:175 #: ../bin/virt-sandbox-service-util.c:182 msgid "unknown" msgstr "" #: ../bin/virt-sandbox-service-util.c:71 #, c-format msgid "Unable to read config file %s: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:77 #, c-format msgid "Unable to create new context service: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:103 #, c-format msgid "Unable to start container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:109 #, c-format msgid "Unable to get log console for container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:119 #, c-format msgid "Unable to attach console to stderr in the container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:126 #: ../bin/virt-sandbox-service-util.c:181 #, c-format msgid "Unable to disconnect console from libvirt: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:158 #: ../bin/virt-sandbox-service-util.c:174 #, c-format msgid "Unable to attach to container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:164 #, c-format msgid "Unable to get shell console for container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:240 msgid "Display version information" msgstr "" #: ../bin/virt-sandbox-service-util.c:242 msgid "Start a container" msgstr "" #: ../bin/virt-sandbox-service-util.c:244 msgid "Attach to a container" msgstr "" #: ../bin/virt-sandbox-service-util.c:246 msgid "Pid of process in container to which the command will run" msgstr "" #: ../bin/virt-sandbox-service-util.c:248 msgid "Connect to hypervisor Default:'lxc:///'" msgstr "" #: ../bin/virt-sandbox-service-util.c:253 msgid "" "Run 'virt-sandbox-service-util --help' to see a full list of available " "command line options\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:263 msgid "- Libvirt Sandbox Service" msgstr "" #: ../bin/virt-sandbox-service-util.c:275 #, c-format msgid "" "Invalid command: You must specify --start or --attach\n" "%s" msgstr "" #: ../bin/virt-sandbox-service-util.c:281 #, c-format msgid "Invalid command CONTAINER_NAME required: %s" msgstr "" #: ../bin/virt-sandbox-service-util.c:288 msgid "Libvirt Sandbox Service" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-initrd.c:171 #, c-format msgid "Unable to create temporary directory %s: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-initrd.c:217 #, c-format msgid "Kernel module dir %s does not exist" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-initrd.c:275 #, c-format msgid "Unable to read entries in %s: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-initrd.c:306 #, c-format msgid "Unable to access %s: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-machine.c:446 #, c-format msgid "Kernel image %s does not exist" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:941 #, c-format msgid "Cannot request DHCP with static routes/addresses" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:963 #, c-format msgid "No assignment in filter parameter configuration" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:999 #, c-format msgid "Cannot set static addresses with DHCP" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1019 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1028 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1082 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1090 #, c-format msgid "Unable to parse address %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1058 #, c-format msgid "Cannot set static routes with DHCP" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1076 #, c-format msgid "Missing gateway in route %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1110 #, c-format msgid "Unknown parameter %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1121 #, c-format msgid "Cannot set static routes without addresses" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1285 #, c-format msgid "No mount type prefix on %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1298 #, c-format msgid "Unknown mount type prefix on %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1311 #, c-format msgid "Missing mount source string on %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1411 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1476 #, c-format msgid "No mount with a prefix under %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1578 #, c-format msgid "Unable to get SELinux context of user: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1587 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1596 #, c-format msgid "Unknown security option '%s'" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1630 msgid "Missing mount target in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1635 msgid "Missing mount type in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1647 #, c-format msgid "Unknown mount type %s in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1654 msgid "Missing mount usage in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1663 msgid "Missing mount source in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:2150 msgid "Missing class name in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:2156 #, c-format msgid "Unknown type name '%s' in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:2163 #, c-format msgid "Type name '%s' in config file had wrong parent" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console.c:326 msgid "Unable to isolate console unless direct access flag is set" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:184 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:350 #, c-format msgid "Unable to query terminal attributes: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:201 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:367 #, c-format msgid "Unable to update terminal attributes: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:224 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:395 #, c-format msgid "Unable to restore terminal attributes: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:630 msgid "No devices found for domain" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:660 #, c-format msgid "No device %s found for domain" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:666 #, c-format msgid "Unable to open console %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:699 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:1110 msgid "Console is already attached to a stream" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:628 #, c-format msgid "Unexpected rpc status %u" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:697 #, c-format msgid "Unexpected rpc proc %u" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:753 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:817 #, c-format msgid "Got rx in unexpected state %d" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:1167 msgid "ConsoleRpc is not attached to a stream" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-context.c:253 #: ../libvirt-sandbox/libvirt-sandbox-context.c:396 #, c-format msgid "Domain is not currently running" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-context.c:323 #: ../libvirt-sandbox/libvirt-sandbox-context.c:340 #: ../libvirt-sandbox/libvirt-sandbox-context.c:363 #, c-format msgid "Sandbox is not currently running" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1065 #, c-format msgid "libvirt-sandbox-init-common: unable to create signal pipe: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1084 #, c-format msgid "libvirt-sandbox-init-common: cannot open %s: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1141 #, c-format msgid "libvirt-sandbox-init-common: %s: cannot execute %s: %s\n" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1167 msgid "config file path" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1170 msgid "Run '" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1180 #, c-format msgid "%s: must be launched as root\n" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1187 msgid "Libvirt Sandbox Init Common" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1205 #, c-format msgid "%s: Unable to load config %s: %s\n" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1231 #, c-format msgid "Unsupported configuration type %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:69 msgid "Unable to decode message length" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:76 #, c-format msgid "packet %u bytes received from server too small, want %u" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:86 #, c-format msgid "packet %u bytes received from server too large, want %d" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:130 msgid "Unable to decode message header" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:174 #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:235 #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:303 #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:329 msgid "Unable to encode message length" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:180 msgid "Unable to encode message header" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:192 msgid "Unable to re-encode message length" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:222 msgid "Unable to encode message payload" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:265 msgid "Unable to decode message payload" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:290 #, c-format msgid "Raw data too long to send (%zu bytes needed, %zu bytes available)" msgstr "" libvirt-sandbox-0.5.1+git20160404/po/tg.po000066400000000000000000000342221275305543100176240ustar00rootroot00000000000000# SOME DESCRIPTIVE TITLE. # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # # Translators: msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2015-02-18 14:55+0000\n" "PO-Revision-Date: 2013-04-08 06:10-0400\n" "Last-Translator: FULL NAME \n" "Language-Team: Tajik (http://www.transifex.com/projects/p/fedora/language/tg/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Language: tg\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" "X-Generator: Zanata 3.5.1\n" #: ../bin/virt-sandbox.c:48 ../bin/virt-sandbox-service-util.c:43 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1149 #, c-format msgid "%s version %s\n" msgstr "" #: ../bin/virt-sandbox.c:84 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1161 msgid "display version information" msgstr "" #: ../bin/virt-sandbox.c:86 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1163 msgid "display verbose information" msgstr "" #: ../bin/virt-sandbox.c:88 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1165 msgid "display debugging information" msgstr "" #: ../bin/virt-sandbox.c:90 msgid "connect to hypervisor" msgstr "" #: ../bin/virt-sandbox.c:92 msgid "name of the sandbox" msgstr "" #: ../bin/virt-sandbox.c:94 msgid "root directory of the sandbox" msgstr "" #: ../bin/virt-sandbox.c:96 msgid "mount a filesystem in the guest" msgstr "" #: ../bin/virt-sandbox.c:98 msgid "file to copy into custom dir" msgstr "" #: ../bin/virt-sandbox.c:100 msgid "file contain list of files to include" msgstr "" #: ../bin/virt-sandbox.c:102 msgid "setup network interface properties" msgstr "" #: ../bin/virt-sandbox.c:104 msgid "security properties" msgstr "" #: ../bin/virt-sandbox.c:106 msgid "run the command privileged" msgstr "" #: ../bin/virt-sandbox.c:108 msgid "start a shell" msgstr "" #: ../bin/virt-sandbox.c:110 msgid "kernel version" msgstr "" #: ../bin/virt-sandbox.c:112 msgid "kernel binary path" msgstr "" #: ../bin/virt-sandbox.c:114 msgid "kernel module directory" msgstr "" #: ../bin/virt-sandbox.c:119 msgid "" "Run 'virt-sandbox --help' to see a full list of available command line " "options" msgstr "" #: ../bin/virt-sandbox.c:129 msgid "Libvirt Sandbox" msgstr "" #: ../bin/virt-sandbox.c:131 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1189 msgid "- Libvirt Sandbox" msgstr "" #: ../bin/virt-sandbox.c:144 #, c-format msgid "" "\n" "Usage: %s [OPTIONS] COMMAND-PATH [ARGS...]\n" "\n" "%s\n" "\n" msgstr "" #: ../bin/virt-sandbox.c:160 ../bin/virt-sandbox-service-util.c:65 #, c-format msgid "Unable to open connection: %s\n" msgstr "" #: ../bin/virt-sandbox.c:161 ../bin/virt-sandbox.c:188 #: ../bin/virt-sandbox.c:194 ../bin/virt-sandbox.c:200 #: ../bin/virt-sandbox.c:206 ../bin/virt-sandbox.c:212 #: ../bin/virt-sandbox.c:227 ../bin/virt-sandbox.c:233 #: ../bin/virt-sandbox.c:240 ../bin/virt-sandbox.c:246 #: ../bin/virt-sandbox.c:254 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1247 msgid "Unknown failure" msgstr "" #: ../bin/virt-sandbox.c:187 #, c-format msgid "Unable to parse mounts: %s\n" msgstr "" #: ../bin/virt-sandbox.c:193 #, c-format msgid "Unable to parse includes: %s\n" msgstr "" #: ../bin/virt-sandbox.c:199 #, c-format msgid "Unable to parse include file: %s\n" msgstr "" #: ../bin/virt-sandbox.c:205 #, c-format msgid "Unable to parse networks: %s\n" msgstr "" #: ../bin/virt-sandbox.c:211 #, c-format msgid "Unable to parse security: %s\n" msgstr "" #: ../bin/virt-sandbox.c:226 #, c-format msgid "Unable to start sandbox: %s\n" msgstr "" #: ../bin/virt-sandbox.c:232 #, c-format msgid "Unable to get log console: %s\n" msgstr "" #: ../bin/virt-sandbox.c:239 ../bin/virt-sandbox.c:253 #, c-format msgid "Unable to attach sandbox console: %s\n" msgstr "" #: ../bin/virt-sandbox.c:245 #, c-format msgid "Unable to get app console: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:66 ../bin/virt-sandbox-service-util.c:72 #: ../bin/virt-sandbox-service-util.c:78 #: ../bin/virt-sandbox-service-util.c:104 #: ../bin/virt-sandbox-service-util.c:110 #: ../bin/virt-sandbox-service-util.c:120 #: ../bin/virt-sandbox-service-util.c:127 #: ../bin/virt-sandbox-service-util.c:159 #: ../bin/virt-sandbox-service-util.c:165 #: ../bin/virt-sandbox-service-util.c:175 #: ../bin/virt-sandbox-service-util.c:182 msgid "unknown" msgstr "" #: ../bin/virt-sandbox-service-util.c:71 #, c-format msgid "Unable to read config file %s: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:77 #, c-format msgid "Unable to create new context service: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:103 #, c-format msgid "Unable to start container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:109 #, c-format msgid "Unable to get log console for container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:119 #, c-format msgid "Unable to attach console to stderr in the container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:126 #: ../bin/virt-sandbox-service-util.c:181 #, c-format msgid "Unable to disconnect console from libvirt: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:158 #: ../bin/virt-sandbox-service-util.c:174 #, c-format msgid "Unable to attach to container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:164 #, c-format msgid "Unable to get shell console for container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:240 msgid "Display version information" msgstr "" #: ../bin/virt-sandbox-service-util.c:242 msgid "Start a container" msgstr "" #: ../bin/virt-sandbox-service-util.c:244 msgid "Attach to a container" msgstr "" #: ../bin/virt-sandbox-service-util.c:246 msgid "Pid of process in container to which the command will run" msgstr "" #: ../bin/virt-sandbox-service-util.c:248 msgid "Connect to hypervisor Default:'lxc:///'" msgstr "" #: ../bin/virt-sandbox-service-util.c:253 msgid "" "Run 'virt-sandbox-service-util --help' to see a full list of available " "command line options\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:263 msgid "- Libvirt Sandbox Service" msgstr "" #: ../bin/virt-sandbox-service-util.c:275 #, c-format msgid "" "Invalid command: You must specify --start or --attach\n" "%s" msgstr "" #: ../bin/virt-sandbox-service-util.c:281 #, c-format msgid "Invalid command CONTAINER_NAME required: %s" msgstr "" #: ../bin/virt-sandbox-service-util.c:288 msgid "Libvirt Sandbox Service" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-initrd.c:171 #, c-format msgid "Unable to create temporary directory %s: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-initrd.c:217 #, c-format msgid "Kernel module dir %s does not exist" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-initrd.c:275 #, c-format msgid "Unable to read entries in %s: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-initrd.c:306 #, c-format msgid "Unable to access %s: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-machine.c:446 #, c-format msgid "Kernel image %s does not exist" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:941 #, c-format msgid "Cannot request DHCP with static routes/addresses" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:963 #, c-format msgid "No assignment in filter parameter configuration" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:999 #, c-format msgid "Cannot set static addresses with DHCP" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1019 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1028 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1082 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1090 #, c-format msgid "Unable to parse address %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1058 #, c-format msgid "Cannot set static routes with DHCP" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1076 #, c-format msgid "Missing gateway in route %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1110 #, c-format msgid "Unknown parameter %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1121 #, c-format msgid "Cannot set static routes without addresses" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1285 #, c-format msgid "No mount type prefix on %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1298 #, c-format msgid "Unknown mount type prefix on %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1311 #, c-format msgid "Missing mount source string on %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1411 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1476 #, c-format msgid "No mount with a prefix under %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1578 #, c-format msgid "Unable to get SELinux context of user: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1587 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1596 #, c-format msgid "Unknown security option '%s'" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1630 msgid "Missing mount target in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1635 msgid "Missing mount type in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1647 #, c-format msgid "Unknown mount type %s in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1654 msgid "Missing mount usage in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1663 msgid "Missing mount source in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:2150 msgid "Missing class name in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:2156 #, c-format msgid "Unknown type name '%s' in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:2163 #, c-format msgid "Type name '%s' in config file had wrong parent" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console.c:326 msgid "Unable to isolate console unless direct access flag is set" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:184 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:350 #, c-format msgid "Unable to query terminal attributes: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:201 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:367 #, c-format msgid "Unable to update terminal attributes: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:224 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:395 #, c-format msgid "Unable to restore terminal attributes: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:630 msgid "No devices found for domain" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:660 #, c-format msgid "No device %s found for domain" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:666 #, c-format msgid "Unable to open console %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:699 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:1110 msgid "Console is already attached to a stream" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:628 #, c-format msgid "Unexpected rpc status %u" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:697 #, c-format msgid "Unexpected rpc proc %u" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:753 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:817 #, c-format msgid "Got rx in unexpected state %d" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:1167 msgid "ConsoleRpc is not attached to a stream" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-context.c:253 #: ../libvirt-sandbox/libvirt-sandbox-context.c:396 #, c-format msgid "Domain is not currently running" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-context.c:323 #: ../libvirt-sandbox/libvirt-sandbox-context.c:340 #: ../libvirt-sandbox/libvirt-sandbox-context.c:363 #, c-format msgid "Sandbox is not currently running" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1065 #, c-format msgid "libvirt-sandbox-init-common: unable to create signal pipe: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1084 #, c-format msgid "libvirt-sandbox-init-common: cannot open %s: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1141 #, c-format msgid "libvirt-sandbox-init-common: %s: cannot execute %s: %s\n" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1167 msgid "config file path" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1170 msgid "Run '" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1180 #, c-format msgid "%s: must be launched as root\n" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1187 msgid "Libvirt Sandbox Init Common" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1205 #, c-format msgid "%s: Unable to load config %s: %s\n" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1231 #, c-format msgid "Unsupported configuration type %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:69 msgid "Unable to decode message length" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:76 #, c-format msgid "packet %u bytes received from server too small, want %u" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:86 #, c-format msgid "packet %u bytes received from server too large, want %d" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:130 msgid "Unable to decode message header" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:174 #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:235 #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:303 #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:329 msgid "Unable to encode message length" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:180 msgid "Unable to encode message header" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:192 msgid "Unable to re-encode message length" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:222 msgid "Unable to encode message payload" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:265 msgid "Unable to decode message payload" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:290 #, c-format msgid "Raw data too long to send (%zu bytes needed, %zu bytes available)" msgstr "" libvirt-sandbox-0.5.1+git20160404/po/th.po000066400000000000000000000342121275305543100176240ustar00rootroot00000000000000# SOME DESCRIPTIVE TITLE. # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # # Translators: msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2015-02-18 14:55+0000\n" "PO-Revision-Date: 2013-04-08 06:10-0400\n" "Last-Translator: FULL NAME \n" "Language-Team: Thai (http://www.transifex.com/projects/p/fedora/language/th/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Language: th\n" "Plural-Forms: nplurals=1; plural=0;\n" "X-Generator: Zanata 3.5.1\n" #: ../bin/virt-sandbox.c:48 ../bin/virt-sandbox-service-util.c:43 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1149 #, c-format msgid "%s version %s\n" msgstr "" #: ../bin/virt-sandbox.c:84 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1161 msgid "display version information" msgstr "" #: ../bin/virt-sandbox.c:86 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1163 msgid "display verbose information" msgstr "" #: ../bin/virt-sandbox.c:88 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1165 msgid "display debugging information" msgstr "" #: ../bin/virt-sandbox.c:90 msgid "connect to hypervisor" msgstr "" #: ../bin/virt-sandbox.c:92 msgid "name of the sandbox" msgstr "" #: ../bin/virt-sandbox.c:94 msgid "root directory of the sandbox" msgstr "" #: ../bin/virt-sandbox.c:96 msgid "mount a filesystem in the guest" msgstr "" #: ../bin/virt-sandbox.c:98 msgid "file to copy into custom dir" msgstr "" #: ../bin/virt-sandbox.c:100 msgid "file contain list of files to include" msgstr "" #: ../bin/virt-sandbox.c:102 msgid "setup network interface properties" msgstr "" #: ../bin/virt-sandbox.c:104 msgid "security properties" msgstr "" #: ../bin/virt-sandbox.c:106 msgid "run the command privileged" msgstr "" #: ../bin/virt-sandbox.c:108 msgid "start a shell" msgstr "" #: ../bin/virt-sandbox.c:110 msgid "kernel version" msgstr "" #: ../bin/virt-sandbox.c:112 msgid "kernel binary path" msgstr "" #: ../bin/virt-sandbox.c:114 msgid "kernel module directory" msgstr "" #: ../bin/virt-sandbox.c:119 msgid "" "Run 'virt-sandbox --help' to see a full list of available command line " "options" msgstr "" #: ../bin/virt-sandbox.c:129 msgid "Libvirt Sandbox" msgstr "" #: ../bin/virt-sandbox.c:131 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1189 msgid "- Libvirt Sandbox" msgstr "" #: ../bin/virt-sandbox.c:144 #, c-format msgid "" "\n" "Usage: %s [OPTIONS] COMMAND-PATH [ARGS...]\n" "\n" "%s\n" "\n" msgstr "" #: ../bin/virt-sandbox.c:160 ../bin/virt-sandbox-service-util.c:65 #, c-format msgid "Unable to open connection: %s\n" msgstr "" #: ../bin/virt-sandbox.c:161 ../bin/virt-sandbox.c:188 #: ../bin/virt-sandbox.c:194 ../bin/virt-sandbox.c:200 #: ../bin/virt-sandbox.c:206 ../bin/virt-sandbox.c:212 #: ../bin/virt-sandbox.c:227 ../bin/virt-sandbox.c:233 #: ../bin/virt-sandbox.c:240 ../bin/virt-sandbox.c:246 #: ../bin/virt-sandbox.c:254 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1247 msgid "Unknown failure" msgstr "" #: ../bin/virt-sandbox.c:187 #, c-format msgid "Unable to parse mounts: %s\n" msgstr "" #: ../bin/virt-sandbox.c:193 #, c-format msgid "Unable to parse includes: %s\n" msgstr "" #: ../bin/virt-sandbox.c:199 #, c-format msgid "Unable to parse include file: %s\n" msgstr "" #: ../bin/virt-sandbox.c:205 #, c-format msgid "Unable to parse networks: %s\n" msgstr "" #: ../bin/virt-sandbox.c:211 #, c-format msgid "Unable to parse security: %s\n" msgstr "" #: ../bin/virt-sandbox.c:226 #, c-format msgid "Unable to start sandbox: %s\n" msgstr "" #: ../bin/virt-sandbox.c:232 #, c-format msgid "Unable to get log console: %s\n" msgstr "" #: ../bin/virt-sandbox.c:239 ../bin/virt-sandbox.c:253 #, c-format msgid "Unable to attach sandbox console: %s\n" msgstr "" #: ../bin/virt-sandbox.c:245 #, c-format msgid "Unable to get app console: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:66 ../bin/virt-sandbox-service-util.c:72 #: ../bin/virt-sandbox-service-util.c:78 #: ../bin/virt-sandbox-service-util.c:104 #: ../bin/virt-sandbox-service-util.c:110 #: ../bin/virt-sandbox-service-util.c:120 #: ../bin/virt-sandbox-service-util.c:127 #: ../bin/virt-sandbox-service-util.c:159 #: ../bin/virt-sandbox-service-util.c:165 #: ../bin/virt-sandbox-service-util.c:175 #: ../bin/virt-sandbox-service-util.c:182 msgid "unknown" msgstr "" #: ../bin/virt-sandbox-service-util.c:71 #, c-format msgid "Unable to read config file %s: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:77 #, c-format msgid "Unable to create new context service: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:103 #, c-format msgid "Unable to start container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:109 #, c-format msgid "Unable to get log console for container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:119 #, c-format msgid "Unable to attach console to stderr in the container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:126 #: ../bin/virt-sandbox-service-util.c:181 #, c-format msgid "Unable to disconnect console from libvirt: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:158 #: ../bin/virt-sandbox-service-util.c:174 #, c-format msgid "Unable to attach to container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:164 #, c-format msgid "Unable to get shell console for container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:240 msgid "Display version information" msgstr "" #: ../bin/virt-sandbox-service-util.c:242 msgid "Start a container" msgstr "" #: ../bin/virt-sandbox-service-util.c:244 msgid "Attach to a container" msgstr "" #: ../bin/virt-sandbox-service-util.c:246 msgid "Pid of process in container to which the command will run" msgstr "" #: ../bin/virt-sandbox-service-util.c:248 msgid "Connect to hypervisor Default:'lxc:///'" msgstr "" #: ../bin/virt-sandbox-service-util.c:253 msgid "" "Run 'virt-sandbox-service-util --help' to see a full list of available " "command line options\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:263 msgid "- Libvirt Sandbox Service" msgstr "" #: ../bin/virt-sandbox-service-util.c:275 #, c-format msgid "" "Invalid command: You must specify --start or --attach\n" "%s" msgstr "" #: ../bin/virt-sandbox-service-util.c:281 #, c-format msgid "Invalid command CONTAINER_NAME required: %s" msgstr "" #: ../bin/virt-sandbox-service-util.c:288 msgid "Libvirt Sandbox Service" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-initrd.c:171 #, c-format msgid "Unable to create temporary directory %s: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-initrd.c:217 #, c-format msgid "Kernel module dir %s does not exist" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-initrd.c:275 #, c-format msgid "Unable to read entries in %s: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-initrd.c:306 #, c-format msgid "Unable to access %s: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-machine.c:446 #, c-format msgid "Kernel image %s does not exist" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:941 #, c-format msgid "Cannot request DHCP with static routes/addresses" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:963 #, c-format msgid "No assignment in filter parameter configuration" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:999 #, c-format msgid "Cannot set static addresses with DHCP" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1019 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1028 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1082 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1090 #, c-format msgid "Unable to parse address %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1058 #, c-format msgid "Cannot set static routes with DHCP" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1076 #, c-format msgid "Missing gateway in route %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1110 #, c-format msgid "Unknown parameter %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1121 #, c-format msgid "Cannot set static routes without addresses" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1285 #, c-format msgid "No mount type prefix on %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1298 #, c-format msgid "Unknown mount type prefix on %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1311 #, c-format msgid "Missing mount source string on %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1411 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1476 #, c-format msgid "No mount with a prefix under %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1578 #, c-format msgid "Unable to get SELinux context of user: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1587 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1596 #, c-format msgid "Unknown security option '%s'" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1630 msgid "Missing mount target in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1635 msgid "Missing mount type in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1647 #, c-format msgid "Unknown mount type %s in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1654 msgid "Missing mount usage in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1663 msgid "Missing mount source in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:2150 msgid "Missing class name in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:2156 #, c-format msgid "Unknown type name '%s' in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:2163 #, c-format msgid "Type name '%s' in config file had wrong parent" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console.c:326 msgid "Unable to isolate console unless direct access flag is set" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:184 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:350 #, c-format msgid "Unable to query terminal attributes: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:201 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:367 #, c-format msgid "Unable to update terminal attributes: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:224 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:395 #, c-format msgid "Unable to restore terminal attributes: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:630 msgid "No devices found for domain" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:660 #, c-format msgid "No device %s found for domain" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:666 #, c-format msgid "Unable to open console %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:699 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:1110 msgid "Console is already attached to a stream" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:628 #, c-format msgid "Unexpected rpc status %u" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:697 #, c-format msgid "Unexpected rpc proc %u" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:753 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:817 #, c-format msgid "Got rx in unexpected state %d" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:1167 msgid "ConsoleRpc is not attached to a stream" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-context.c:253 #: ../libvirt-sandbox/libvirt-sandbox-context.c:396 #, c-format msgid "Domain is not currently running" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-context.c:323 #: ../libvirt-sandbox/libvirt-sandbox-context.c:340 #: ../libvirt-sandbox/libvirt-sandbox-context.c:363 #, c-format msgid "Sandbox is not currently running" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1065 #, c-format msgid "libvirt-sandbox-init-common: unable to create signal pipe: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1084 #, c-format msgid "libvirt-sandbox-init-common: cannot open %s: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1141 #, c-format msgid "libvirt-sandbox-init-common: %s: cannot execute %s: %s\n" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1167 msgid "config file path" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1170 msgid "Run '" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1180 #, c-format msgid "%s: must be launched as root\n" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1187 msgid "Libvirt Sandbox Init Common" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1205 #, c-format msgid "%s: Unable to load config %s: %s\n" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1231 #, c-format msgid "Unsupported configuration type %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:69 msgid "Unable to decode message length" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:76 #, c-format msgid "packet %u bytes received from server too small, want %u" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:86 #, c-format msgid "packet %u bytes received from server too large, want %d" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:130 msgid "Unable to decode message header" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:174 #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:235 #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:303 #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:329 msgid "Unable to encode message length" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:180 msgid "Unable to encode message header" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:192 msgid "Unable to re-encode message length" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:222 msgid "Unable to encode message payload" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:265 msgid "Unable to decode message payload" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:290 #, c-format msgid "Raw data too long to send (%zu bytes needed, %zu bytes available)" msgstr "" libvirt-sandbox-0.5.1+git20160404/po/tr.po000066400000000000000000000342461275305543100176450ustar00rootroot00000000000000# SOME DESCRIPTIVE TITLE. # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # # Translators: msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2015-02-18 14:55+0000\n" "PO-Revision-Date: 2013-07-09 03:50-0400\n" "Last-Translator: Daniel Berrange \n" "Language-Team: Turkish (http://www.transifex.com/projects/p/fedora/language/tr/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Language: tr\n" "Plural-Forms: nplurals=2; plural=(n > 1);\n" "X-Generator: Zanata 3.5.1\n" #: ../bin/virt-sandbox.c:48 ../bin/virt-sandbox-service-util.c:43 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1149 #, c-format msgid "%s version %s\n" msgstr "" #: ../bin/virt-sandbox.c:84 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1161 msgid "display version information" msgstr "" #: ../bin/virt-sandbox.c:86 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1163 msgid "display verbose information" msgstr "" #: ../bin/virt-sandbox.c:88 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1165 msgid "display debugging information" msgstr "" #: ../bin/virt-sandbox.c:90 msgid "connect to hypervisor" msgstr "" #: ../bin/virt-sandbox.c:92 msgid "name of the sandbox" msgstr "" #: ../bin/virt-sandbox.c:94 msgid "root directory of the sandbox" msgstr "" #: ../bin/virt-sandbox.c:96 msgid "mount a filesystem in the guest" msgstr "" #: ../bin/virt-sandbox.c:98 msgid "file to copy into custom dir" msgstr "" #: ../bin/virt-sandbox.c:100 msgid "file contain list of files to include" msgstr "" #: ../bin/virt-sandbox.c:102 msgid "setup network interface properties" msgstr "" #: ../bin/virt-sandbox.c:104 msgid "security properties" msgstr "" #: ../bin/virt-sandbox.c:106 msgid "run the command privileged" msgstr "" #: ../bin/virt-sandbox.c:108 msgid "start a shell" msgstr "" #: ../bin/virt-sandbox.c:110 msgid "kernel version" msgstr "" #: ../bin/virt-sandbox.c:112 msgid "kernel binary path" msgstr "" #: ../bin/virt-sandbox.c:114 msgid "kernel module directory" msgstr "" #: ../bin/virt-sandbox.c:119 msgid "" "Run 'virt-sandbox --help' to see a full list of available command line " "options" msgstr "" #: ../bin/virt-sandbox.c:129 msgid "Libvirt Sandbox" msgstr "" #: ../bin/virt-sandbox.c:131 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1189 msgid "- Libvirt Sandbox" msgstr "" #: ../bin/virt-sandbox.c:144 #, c-format msgid "" "\n" "Usage: %s [OPTIONS] COMMAND-PATH [ARGS...]\n" "\n" "%s\n" "\n" msgstr "" #: ../bin/virt-sandbox.c:160 ../bin/virt-sandbox-service-util.c:65 #, c-format msgid "Unable to open connection: %s\n" msgstr "" #: ../bin/virt-sandbox.c:161 ../bin/virt-sandbox.c:188 #: ../bin/virt-sandbox.c:194 ../bin/virt-sandbox.c:200 #: ../bin/virt-sandbox.c:206 ../bin/virt-sandbox.c:212 #: ../bin/virt-sandbox.c:227 ../bin/virt-sandbox.c:233 #: ../bin/virt-sandbox.c:240 ../bin/virt-sandbox.c:246 #: ../bin/virt-sandbox.c:254 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1247 msgid "Unknown failure" msgstr "" #: ../bin/virt-sandbox.c:187 #, c-format msgid "Unable to parse mounts: %s\n" msgstr "" #: ../bin/virt-sandbox.c:193 #, c-format msgid "Unable to parse includes: %s\n" msgstr "" #: ../bin/virt-sandbox.c:199 #, c-format msgid "Unable to parse include file: %s\n" msgstr "" #: ../bin/virt-sandbox.c:205 #, c-format msgid "Unable to parse networks: %s\n" msgstr "" #: ../bin/virt-sandbox.c:211 #, c-format msgid "Unable to parse security: %s\n" msgstr "" #: ../bin/virt-sandbox.c:226 #, c-format msgid "Unable to start sandbox: %s\n" msgstr "" #: ../bin/virt-sandbox.c:232 #, c-format msgid "Unable to get log console: %s\n" msgstr "" #: ../bin/virt-sandbox.c:239 ../bin/virt-sandbox.c:253 #, c-format msgid "Unable to attach sandbox console: %s\n" msgstr "" #: ../bin/virt-sandbox.c:245 #, c-format msgid "Unable to get app console: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:66 ../bin/virt-sandbox-service-util.c:72 #: ../bin/virt-sandbox-service-util.c:78 #: ../bin/virt-sandbox-service-util.c:104 #: ../bin/virt-sandbox-service-util.c:110 #: ../bin/virt-sandbox-service-util.c:120 #: ../bin/virt-sandbox-service-util.c:127 #: ../bin/virt-sandbox-service-util.c:159 #: ../bin/virt-sandbox-service-util.c:165 #: ../bin/virt-sandbox-service-util.c:175 #: ../bin/virt-sandbox-service-util.c:182 msgid "unknown" msgstr "" #: ../bin/virt-sandbox-service-util.c:71 #, c-format msgid "Unable to read config file %s: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:77 #, c-format msgid "Unable to create new context service: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:103 #, c-format msgid "Unable to start container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:109 #, c-format msgid "Unable to get log console for container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:119 #, c-format msgid "Unable to attach console to stderr in the container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:126 #: ../bin/virt-sandbox-service-util.c:181 #, c-format msgid "Unable to disconnect console from libvirt: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:158 #: ../bin/virt-sandbox-service-util.c:174 #, c-format msgid "Unable to attach to container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:164 #, c-format msgid "Unable to get shell console for container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:240 msgid "Display version information" msgstr "" #: ../bin/virt-sandbox-service-util.c:242 msgid "Start a container" msgstr "" #: ../bin/virt-sandbox-service-util.c:244 msgid "Attach to a container" msgstr "" #: ../bin/virt-sandbox-service-util.c:246 msgid "Pid of process in container to which the command will run" msgstr "" #: ../bin/virt-sandbox-service-util.c:248 msgid "Connect to hypervisor Default:'lxc:///'" msgstr "" #: ../bin/virt-sandbox-service-util.c:253 msgid "" "Run 'virt-sandbox-service-util --help' to see a full list of available " "command line options\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:263 msgid "- Libvirt Sandbox Service" msgstr "" #: ../bin/virt-sandbox-service-util.c:275 #, c-format msgid "" "Invalid command: You must specify --start or --attach\n" "%s" msgstr "" #: ../bin/virt-sandbox-service-util.c:281 #, c-format msgid "Invalid command CONTAINER_NAME required: %s" msgstr "" #: ../bin/virt-sandbox-service-util.c:288 msgid "Libvirt Sandbox Service" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-initrd.c:171 #, c-format msgid "Unable to create temporary directory %s: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-initrd.c:217 #, c-format msgid "Kernel module dir %s does not exist" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-initrd.c:275 #, c-format msgid "Unable to read entries in %s: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-initrd.c:306 #, c-format msgid "Unable to access %s: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-machine.c:446 #, c-format msgid "Kernel image %s does not exist" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:941 #, c-format msgid "Cannot request DHCP with static routes/addresses" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:963 #, c-format msgid "No assignment in filter parameter configuration" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:999 #, c-format msgid "Cannot set static addresses with DHCP" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1019 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1028 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1082 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1090 #, c-format msgid "Unable to parse address %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1058 #, c-format msgid "Cannot set static routes with DHCP" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1076 #, c-format msgid "Missing gateway in route %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1110 #, c-format msgid "Unknown parameter %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1121 #, c-format msgid "Cannot set static routes without addresses" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1285 #, c-format msgid "No mount type prefix on %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1298 #, c-format msgid "Unknown mount type prefix on %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1311 #, c-format msgid "Missing mount source string on %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1411 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1476 #, c-format msgid "No mount with a prefix under %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1578 #, c-format msgid "Unable to get SELinux context of user: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1587 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1596 #, c-format msgid "Unknown security option '%s'" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1630 msgid "Missing mount target in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1635 msgid "Missing mount type in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1647 #, c-format msgid "Unknown mount type %s in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1654 msgid "Missing mount usage in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1663 msgid "Missing mount source in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:2150 msgid "Missing class name in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:2156 #, c-format msgid "Unknown type name '%s' in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:2163 #, c-format msgid "Type name '%s' in config file had wrong parent" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console.c:326 msgid "Unable to isolate console unless direct access flag is set" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:184 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:350 #, c-format msgid "Unable to query terminal attributes: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:201 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:367 #, c-format msgid "Unable to update terminal attributes: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:224 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:395 #, c-format msgid "Unable to restore terminal attributes: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:630 msgid "No devices found for domain" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:660 #, c-format msgid "No device %s found for domain" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:666 #, c-format msgid "Unable to open console %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:699 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:1110 msgid "Console is already attached to a stream" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:628 #, c-format msgid "Unexpected rpc status %u" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:697 #, c-format msgid "Unexpected rpc proc %u" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:753 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:817 #, c-format msgid "Got rx in unexpected state %d" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:1167 msgid "ConsoleRpc is not attached to a stream" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-context.c:253 #: ../libvirt-sandbox/libvirt-sandbox-context.c:396 #, c-format msgid "Domain is not currently running" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-context.c:323 #: ../libvirt-sandbox/libvirt-sandbox-context.c:340 #: ../libvirt-sandbox/libvirt-sandbox-context.c:363 #, c-format msgid "Sandbox is not currently running" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1065 #, c-format msgid "libvirt-sandbox-init-common: unable to create signal pipe: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1084 #, c-format msgid "libvirt-sandbox-init-common: cannot open %s: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1141 #, c-format msgid "libvirt-sandbox-init-common: %s: cannot execute %s: %s\n" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1167 msgid "config file path" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1170 msgid "Run '" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1180 #, c-format msgid "%s: must be launched as root\n" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1187 msgid "Libvirt Sandbox Init Common" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1205 #, c-format msgid "%s: Unable to load config %s: %s\n" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1231 #, c-format msgid "Unsupported configuration type %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:69 msgid "Unable to decode message length" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:76 #, c-format msgid "packet %u bytes received from server too small, want %u" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:86 #, c-format msgid "packet %u bytes received from server too large, want %d" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:130 msgid "Unable to decode message header" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:174 #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:235 #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:303 #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:329 msgid "Unable to encode message length" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:180 msgid "Unable to encode message header" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:192 msgid "Unable to re-encode message length" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:222 msgid "Unable to encode message payload" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:265 msgid "Unable to decode message payload" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:290 #, c-format msgid "Raw data too long to send (%zu bytes needed, %zu bytes available)" msgstr "" libvirt-sandbox-0.5.1+git20160404/po/tw.po000066400000000000000000000340671275305543100176530ustar00rootroot00000000000000# SOME DESCRIPTIVE TITLE. # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # FIRST AUTHOR , YEAR. # msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2015-02-18 14:55+0000\n" "PO-Revision-Date: \n" "Last-Translator: \n" "Language-Team: Twi\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Language: tw\n" "Plural-Forms: nplurals=1; plural=0\n" "X-Generator: Zanata 3.5.1\n" #: ../bin/virt-sandbox.c:48 ../bin/virt-sandbox-service-util.c:43 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1149 #, c-format msgid "%s version %s\n" msgstr "" #: ../bin/virt-sandbox.c:84 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1161 msgid "display version information" msgstr "" #: ../bin/virt-sandbox.c:86 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1163 msgid "display verbose information" msgstr "" #: ../bin/virt-sandbox.c:88 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1165 msgid "display debugging information" msgstr "" #: ../bin/virt-sandbox.c:90 msgid "connect to hypervisor" msgstr "" #: ../bin/virt-sandbox.c:92 msgid "name of the sandbox" msgstr "" #: ../bin/virt-sandbox.c:94 msgid "root directory of the sandbox" msgstr "" #: ../bin/virt-sandbox.c:96 msgid "mount a filesystem in the guest" msgstr "" #: ../bin/virt-sandbox.c:98 msgid "file to copy into custom dir" msgstr "" #: ../bin/virt-sandbox.c:100 msgid "file contain list of files to include" msgstr "" #: ../bin/virt-sandbox.c:102 msgid "setup network interface properties" msgstr "" #: ../bin/virt-sandbox.c:104 msgid "security properties" msgstr "" #: ../bin/virt-sandbox.c:106 msgid "run the command privileged" msgstr "" #: ../bin/virt-sandbox.c:108 msgid "start a shell" msgstr "" #: ../bin/virt-sandbox.c:110 msgid "kernel version" msgstr "" #: ../bin/virt-sandbox.c:112 msgid "kernel binary path" msgstr "" #: ../bin/virt-sandbox.c:114 msgid "kernel module directory" msgstr "" #: ../bin/virt-sandbox.c:119 msgid "" "Run 'virt-sandbox --help' to see a full list of available command line " "options" msgstr "" #: ../bin/virt-sandbox.c:129 msgid "Libvirt Sandbox" msgstr "" #: ../bin/virt-sandbox.c:131 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1189 msgid "- Libvirt Sandbox" msgstr "" #: ../bin/virt-sandbox.c:144 #, c-format msgid "" "\n" "Usage: %s [OPTIONS] COMMAND-PATH [ARGS...]\n" "\n" "%s\n" "\n" msgstr "" #: ../bin/virt-sandbox.c:160 ../bin/virt-sandbox-service-util.c:65 #, c-format msgid "Unable to open connection: %s\n" msgstr "" #: ../bin/virt-sandbox.c:161 ../bin/virt-sandbox.c:188 #: ../bin/virt-sandbox.c:194 ../bin/virt-sandbox.c:200 #: ../bin/virt-sandbox.c:206 ../bin/virt-sandbox.c:212 #: ../bin/virt-sandbox.c:227 ../bin/virt-sandbox.c:233 #: ../bin/virt-sandbox.c:240 ../bin/virt-sandbox.c:246 #: ../bin/virt-sandbox.c:254 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1247 msgid "Unknown failure" msgstr "" #: ../bin/virt-sandbox.c:187 #, c-format msgid "Unable to parse mounts: %s\n" msgstr "" #: ../bin/virt-sandbox.c:193 #, c-format msgid "Unable to parse includes: %s\n" msgstr "" #: ../bin/virt-sandbox.c:199 #, c-format msgid "Unable to parse include file: %s\n" msgstr "" #: ../bin/virt-sandbox.c:205 #, c-format msgid "Unable to parse networks: %s\n" msgstr "" #: ../bin/virt-sandbox.c:211 #, c-format msgid "Unable to parse security: %s\n" msgstr "" #: ../bin/virt-sandbox.c:226 #, c-format msgid "Unable to start sandbox: %s\n" msgstr "" #: ../bin/virt-sandbox.c:232 #, c-format msgid "Unable to get log console: %s\n" msgstr "" #: ../bin/virt-sandbox.c:239 ../bin/virt-sandbox.c:253 #, c-format msgid "Unable to attach sandbox console: %s\n" msgstr "" #: ../bin/virt-sandbox.c:245 #, c-format msgid "Unable to get app console: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:66 ../bin/virt-sandbox-service-util.c:72 #: ../bin/virt-sandbox-service-util.c:78 #: ../bin/virt-sandbox-service-util.c:104 #: ../bin/virt-sandbox-service-util.c:110 #: ../bin/virt-sandbox-service-util.c:120 #: ../bin/virt-sandbox-service-util.c:127 #: ../bin/virt-sandbox-service-util.c:159 #: ../bin/virt-sandbox-service-util.c:165 #: ../bin/virt-sandbox-service-util.c:175 #: ../bin/virt-sandbox-service-util.c:182 msgid "unknown" msgstr "" #: ../bin/virt-sandbox-service-util.c:71 #, c-format msgid "Unable to read config file %s: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:77 #, c-format msgid "Unable to create new context service: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:103 #, c-format msgid "Unable to start container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:109 #, c-format msgid "Unable to get log console for container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:119 #, c-format msgid "Unable to attach console to stderr in the container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:126 #: ../bin/virt-sandbox-service-util.c:181 #, c-format msgid "Unable to disconnect console from libvirt: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:158 #: ../bin/virt-sandbox-service-util.c:174 #, c-format msgid "Unable to attach to container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:164 #, c-format msgid "Unable to get shell console for container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:240 msgid "Display version information" msgstr "" #: ../bin/virt-sandbox-service-util.c:242 msgid "Start a container" msgstr "" #: ../bin/virt-sandbox-service-util.c:244 msgid "Attach to a container" msgstr "" #: ../bin/virt-sandbox-service-util.c:246 msgid "Pid of process in container to which the command will run" msgstr "" #: ../bin/virt-sandbox-service-util.c:248 msgid "Connect to hypervisor Default:'lxc:///'" msgstr "" #: ../bin/virt-sandbox-service-util.c:253 msgid "" "Run 'virt-sandbox-service-util --help' to see a full list of available " "command line options\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:263 msgid "- Libvirt Sandbox Service" msgstr "" #: ../bin/virt-sandbox-service-util.c:275 #, c-format msgid "" "Invalid command: You must specify --start or --attach\n" "%s" msgstr "" #: ../bin/virt-sandbox-service-util.c:281 #, c-format msgid "Invalid command CONTAINER_NAME required: %s" msgstr "" #: ../bin/virt-sandbox-service-util.c:288 msgid "Libvirt Sandbox Service" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-initrd.c:171 #, c-format msgid "Unable to create temporary directory %s: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-initrd.c:217 #, c-format msgid "Kernel module dir %s does not exist" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-initrd.c:275 #, c-format msgid "Unable to read entries in %s: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-initrd.c:306 #, c-format msgid "Unable to access %s: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-machine.c:446 #, c-format msgid "Kernel image %s does not exist" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:941 #, c-format msgid "Cannot request DHCP with static routes/addresses" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:963 #, c-format msgid "No assignment in filter parameter configuration" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:999 #, c-format msgid "Cannot set static addresses with DHCP" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1019 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1028 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1082 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1090 #, c-format msgid "Unable to parse address %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1058 #, c-format msgid "Cannot set static routes with DHCP" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1076 #, c-format msgid "Missing gateway in route %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1110 #, c-format msgid "Unknown parameter %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1121 #, c-format msgid "Cannot set static routes without addresses" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1285 #, c-format msgid "No mount type prefix on %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1298 #, c-format msgid "Unknown mount type prefix on %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1311 #, c-format msgid "Missing mount source string on %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1411 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1476 #, c-format msgid "No mount with a prefix under %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1578 #, c-format msgid "Unable to get SELinux context of user: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1587 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1596 #, c-format msgid "Unknown security option '%s'" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1630 msgid "Missing mount target in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1635 msgid "Missing mount type in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1647 #, c-format msgid "Unknown mount type %s in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1654 msgid "Missing mount usage in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1663 msgid "Missing mount source in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:2150 msgid "Missing class name in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:2156 #, c-format msgid "Unknown type name '%s' in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:2163 #, c-format msgid "Type name '%s' in config file had wrong parent" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console.c:326 msgid "Unable to isolate console unless direct access flag is set" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:184 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:350 #, c-format msgid "Unable to query terminal attributes: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:201 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:367 #, c-format msgid "Unable to update terminal attributes: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:224 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:395 #, c-format msgid "Unable to restore terminal attributes: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:630 msgid "No devices found for domain" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:660 #, c-format msgid "No device %s found for domain" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:666 #, c-format msgid "Unable to open console %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:699 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:1110 msgid "Console is already attached to a stream" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:628 #, c-format msgid "Unexpected rpc status %u" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:697 #, c-format msgid "Unexpected rpc proc %u" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:753 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:817 #, c-format msgid "Got rx in unexpected state %d" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:1167 msgid "ConsoleRpc is not attached to a stream" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-context.c:253 #: ../libvirt-sandbox/libvirt-sandbox-context.c:396 #, c-format msgid "Domain is not currently running" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-context.c:323 #: ../libvirt-sandbox/libvirt-sandbox-context.c:340 #: ../libvirt-sandbox/libvirt-sandbox-context.c:363 #, c-format msgid "Sandbox is not currently running" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1065 #, c-format msgid "libvirt-sandbox-init-common: unable to create signal pipe: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1084 #, c-format msgid "libvirt-sandbox-init-common: cannot open %s: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1141 #, c-format msgid "libvirt-sandbox-init-common: %s: cannot execute %s: %s\n" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1167 msgid "config file path" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1170 msgid "Run '" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1180 #, c-format msgid "%s: must be launched as root\n" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1187 msgid "Libvirt Sandbox Init Common" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1205 #, c-format msgid "%s: Unable to load config %s: %s\n" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1231 #, c-format msgid "Unsupported configuration type %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:69 msgid "Unable to decode message length" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:76 #, c-format msgid "packet %u bytes received from server too small, want %u" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:86 #, c-format msgid "packet %u bytes received from server too large, want %d" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:130 msgid "Unable to decode message header" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:174 #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:235 #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:303 #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:329 msgid "Unable to encode message length" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:180 msgid "Unable to encode message header" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:192 msgid "Unable to re-encode message length" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:222 msgid "Unable to encode message payload" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:265 msgid "Unable to decode message payload" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:290 #, c-format msgid "Raw data too long to send (%zu bytes needed, %zu bytes available)" msgstr "" libvirt-sandbox-0.5.1+git20160404/po/uk.po000066400000000000000000000524031275305543100176320ustar00rootroot00000000000000# SOME DESCRIPTIVE TITLE. # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # # Translators: # Yuri Chornoivan , 2013 msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2015-02-18 14:55+0000\n" "PO-Revision-Date: 2013-07-09 03:50-0400\n" "Last-Translator: Daniel Berrange \n" "Language-Team: Ukrainian \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Language: uk\n" "Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n" "X-Generator: Zanata 3.5.1\n" #: ../bin/virt-sandbox.c:48 ../bin/virt-sandbox-service-util.c:43 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1149 #, c-format msgid "%s version %s\n" msgstr "%s, версія %s\n" #: ../bin/virt-sandbox.c:84 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1161 msgid "display version information" msgstr "показати інформацію щодо версії" #: ../bin/virt-sandbox.c:86 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1163 msgid "display verbose information" msgstr "показати докладну інформацію" #: ../bin/virt-sandbox.c:88 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1165 msgid "display debugging information" msgstr "показати діагностичну інформацію" #: ../bin/virt-sandbox.c:90 msgid "connect to hypervisor" msgstr "з’єднатися з гіпервізором" #: ../bin/virt-sandbox.c:92 msgid "name of the sandbox" msgstr "назва пісочниці" #: ../bin/virt-sandbox.c:94 msgid "root directory of the sandbox" msgstr "" #: ../bin/virt-sandbox.c:96 msgid "mount a filesystem in the guest" msgstr "змонтувати файлову систему у гостьовій системі" #: ../bin/virt-sandbox.c:98 msgid "file to copy into custom dir" msgstr "файл, який слід скопіювати до нетипового каталогу" #: ../bin/virt-sandbox.c:100 msgid "file contain list of files to include" msgstr "файл, що містить список включених файлів" #: ../bin/virt-sandbox.c:102 msgid "setup network interface properties" msgstr "налаштувати параметри інтерфейсу мережі" #: ../bin/virt-sandbox.c:104 msgid "security properties" msgstr "параметри захисту" #: ../bin/virt-sandbox.c:106 msgid "run the command privileged" msgstr "виконати команду з вказаними правами доступу" #: ../bin/virt-sandbox.c:108 msgid "start a shell" msgstr "запустити оболонку" #: ../bin/virt-sandbox.c:110 msgid "kernel version" msgstr "" #: ../bin/virt-sandbox.c:112 msgid "kernel binary path" msgstr "" #: ../bin/virt-sandbox.c:114 msgid "kernel module directory" msgstr "" #: ../bin/virt-sandbox.c:119 msgid "" "Run 'virt-sandbox --help' to see a full list of available command line " "options" msgstr "" "Щоб переглянути список можливих параметрів командного рядка повністю, " "віддайте команду «virt-sandbox --help»" #: ../bin/virt-sandbox.c:129 msgid "Libvirt Sandbox" msgstr "Пісочниця Libvirt" #: ../bin/virt-sandbox.c:131 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1189 msgid "- Libvirt Sandbox" msgstr "- Пісочниця Libvirt" #: ../bin/virt-sandbox.c:144 #, c-format msgid "" "\n" "Usage: %s [OPTIONS] COMMAND-PATH [ARGS...]\n" "\n" "%s\n" "\n" msgstr "" "\n" "Користування: %s [ПАРАМЕТРИ] ШЛЯХ-ДО-КОМАНДИ [АРГУМЕНТИ...]\n" "\n" "%s\n" "\n" #: ../bin/virt-sandbox.c:160 ../bin/virt-sandbox-service-util.c:65 #, c-format msgid "Unable to open connection: %s\n" msgstr "Не вдалося відкрити з’єднання: %s\n" #: ../bin/virt-sandbox.c:161 ../bin/virt-sandbox.c:188 #: ../bin/virt-sandbox.c:194 ../bin/virt-sandbox.c:200 #: ../bin/virt-sandbox.c:206 ../bin/virt-sandbox.c:212 #: ../bin/virt-sandbox.c:227 ../bin/virt-sandbox.c:233 #: ../bin/virt-sandbox.c:240 ../bin/virt-sandbox.c:246 #: ../bin/virt-sandbox.c:254 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1247 msgid "Unknown failure" msgstr "Невідома помилка" #: ../bin/virt-sandbox.c:187 #, c-format msgid "Unable to parse mounts: %s\n" msgstr "Не вдалося обробити записи монтування: %s\n" #: ../bin/virt-sandbox.c:193 #, c-format msgid "Unable to parse includes: %s\n" msgstr "Не вдалося обробити включення: %s\n" #: ../bin/virt-sandbox.c:199 #, c-format msgid "Unable to parse include file: %s\n" msgstr "Не вдалося обробити файл включень: %s\n" #: ../bin/virt-sandbox.c:205 #, c-format msgid "Unable to parse networks: %s\n" msgstr "Не вдалося обробити запис мереж: %s\n" #: ../bin/virt-sandbox.c:211 #, c-format msgid "Unable to parse security: %s\n" msgstr "Не вдалося обробити запис захисту: %s\n" #: ../bin/virt-sandbox.c:226 #, c-format msgid "Unable to start sandbox: %s\n" msgstr "Не вдалося запустити пісочницю: %s\n" #: ../bin/virt-sandbox.c:232 #, c-format msgid "Unable to get log console: %s\n" msgstr "Не вдалося отримати консоль журналу: %s\n" #: ../bin/virt-sandbox.c:239 ../bin/virt-sandbox.c:253 #, c-format msgid "Unable to attach sandbox console: %s\n" msgstr "Не вдалося долучити консоль пісочниці: %s\n" #: ../bin/virt-sandbox.c:245 #, c-format msgid "Unable to get app console: %s\n" msgstr "Не вдалося отримати консоль програм: %s\n" #: ../bin/virt-sandbox-service-util.c:66 ../bin/virt-sandbox-service-util.c:72 #: ../bin/virt-sandbox-service-util.c:78 #: ../bin/virt-sandbox-service-util.c:104 #: ../bin/virt-sandbox-service-util.c:110 #: ../bin/virt-sandbox-service-util.c:120 #: ../bin/virt-sandbox-service-util.c:127 #: ../bin/virt-sandbox-service-util.c:159 #: ../bin/virt-sandbox-service-util.c:165 #: ../bin/virt-sandbox-service-util.c:175 #: ../bin/virt-sandbox-service-util.c:182 msgid "unknown" msgstr "невідомо" #: ../bin/virt-sandbox-service-util.c:71 #, c-format msgid "Unable to read config file %s: %s\n" msgstr "Не вдалося прочитати файл налаштувань %s: %s\n" #: ../bin/virt-sandbox-service-util.c:77 #, c-format msgid "Unable to create new context service: %s\n" msgstr "Не вдалося створити службу контексту: %s\n" #: ../bin/virt-sandbox-service-util.c:103 #, c-format msgid "Unable to start container: %s\n" msgstr "Не вдалося запустити контейнер: %s\n" #: ../bin/virt-sandbox-service-util.c:109 #, c-format msgid "Unable to get log console for container: %s\n" msgstr "Не вдалося отримати консоль журналу для контейнера: %s\n" #: ../bin/virt-sandbox-service-util.c:119 #, c-format msgid "Unable to attach console to stderr in the container: %s\n" msgstr "Не вдалося долучити консоль до stderr у контейнері: %s\n" #: ../bin/virt-sandbox-service-util.c:126 #: ../bin/virt-sandbox-service-util.c:181 #, c-format msgid "Unable to disconnect console from libvirt: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:158 #: ../bin/virt-sandbox-service-util.c:174 #, c-format msgid "Unable to attach to container: %s\n" msgstr "Не вдалося долучити до контейнера: %s\n" #: ../bin/virt-sandbox-service-util.c:164 #, c-format msgid "Unable to get shell console for container: %s\n" msgstr "Не вдалося отримати консоль командної оболонки для контейнера: %s\n" #: ../bin/virt-sandbox-service-util.c:240 msgid "Display version information" msgstr "Показати інформацію щодо версії" #: ../bin/virt-sandbox-service-util.c:242 msgid "Start a container" msgstr "Розпочати роботу контейнера" #: ../bin/virt-sandbox-service-util.c:244 msgid "Attach to a container" msgstr "Долучити до контейнера" #: ../bin/virt-sandbox-service-util.c:246 msgid "Pid of process in container to which the command will run" msgstr "PID процесу у контейнері, для якого слід виконати команду" #: ../bin/virt-sandbox-service-util.c:248 msgid "Connect to hypervisor Default:'lxc:///'" msgstr "З’єднатися з гіпервізором. Типовим гіпервізором є «lxc:///»" #: ../bin/virt-sandbox-service-util.c:253 msgid "" "Run 'virt-sandbox-service-util --help' to see a full list of available " "command line options\n" msgstr "" "Щоб переглянути список можливих параметрів командного рядка повністю, " "віддайте команду «virt-sandbox-service-util --help»\n" #: ../bin/virt-sandbox-service-util.c:263 msgid "- Libvirt Sandbox Service" msgstr "- Служба пісочниць Libvirt" #: ../bin/virt-sandbox-service-util.c:275 #, c-format msgid "" "Invalid command: You must specify --start or --attach\n" "%s" msgstr "" #: ../bin/virt-sandbox-service-util.c:281 #, c-format msgid "Invalid command CONTAINER_NAME required: %s" msgstr "Некоректна команда: слід вказати CONTAINER_NAME: %s" #: ../bin/virt-sandbox-service-util.c:288 msgid "Libvirt Sandbox Service" msgstr "Служба пісочниць Libvirt" #: ../libvirt-sandbox/libvirt-sandbox-builder-initrd.c:171 #, c-format msgid "Unable to create temporary directory %s: %s" msgstr "Не вдалося створити тимчасовий каталог %s: %s" #: ../libvirt-sandbox/libvirt-sandbox-builder-initrd.c:217 #, c-format msgid "Kernel module dir %s does not exist" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-initrd.c:275 #, c-format msgid "Unable to read entries in %s: %s" msgstr "Не вдалося прочитати записи у %s: %s" #: ../libvirt-sandbox/libvirt-sandbox-builder-initrd.c:306 #, c-format msgid "Unable to access %s: %s" msgstr "Не вдалося отримати доступ до %s: %s" #: ../libvirt-sandbox/libvirt-sandbox-builder-machine.c:446 #, c-format msgid "Kernel image %s does not exist" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:941 #, c-format msgid "Cannot request DHCP with static routes/addresses" msgstr "" "Не можна надсилати запит щодо використання DHCP, якщо використовуються " "статичні маршрути або адреси" #: ../libvirt-sandbox/libvirt-sandbox-config.c:963 #, c-format msgid "No assignment in filter parameter configuration" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:999 #, c-format msgid "Cannot set static addresses with DHCP" msgstr "Не можна встановлювати статичні адреси, якщо використовується DHCP" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1019 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1028 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1082 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1090 #, c-format msgid "Unable to parse address %s" msgstr "Не вдалося обробити адресу %s" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1058 #, c-format msgid "Cannot set static routes with DHCP" msgstr "Не можна встановлювати статичні маршрути, якщо використовується DHCP" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1076 #, c-format msgid "Missing gateway in route %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1110 #, c-format msgid "Unknown parameter %s" msgstr "Невідомий параметр %s" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1121 #, c-format msgid "Cannot set static routes without addresses" msgstr "Не можна встановлювати статичні маршрути без адрес" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1285 #, c-format msgid "No mount type prefix on %s" msgstr "У %s немає префікса типу монтування" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1298 #, c-format msgid "Unknown mount type prefix on %s" msgstr "Невідомий префікс типу монтування у %s" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1311 #, c-format msgid "Missing mount source string on %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1411 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1476 #, c-format msgid "No mount with a prefix under %s" msgstr "У %s немає точки монтування з префіксом" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1578 #, c-format msgid "Unable to get SELinux context of user: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1587 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1596 #, c-format msgid "Unknown security option '%s'" msgstr "Невідомий параметр захисту, «%s»" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1630 msgid "Missing mount target in config file" msgstr "У файлі налаштувань не вказано призначення монтування" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1635 msgid "Missing mount type in config file" msgstr "У файлі налаштувань не вказано тип монтування" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1647 #, c-format msgid "Unknown mount type %s in config file" msgstr "У файлі налаштувань виявлено невідомий тип монтування, %s" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1654 msgid "Missing mount usage in config file" msgstr "У файлі налаштувань не вказано використання монтування" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1663 msgid "Missing mount source in config file" msgstr "У файлі налаштувань не вказано джерело монтування" #: ../libvirt-sandbox/libvirt-sandbox-config.c:2150 msgid "Missing class name in config file" msgstr "У файлі налаштувань не вказано назву класу" #: ../libvirt-sandbox/libvirt-sandbox-config.c:2156 #, c-format msgid "Unknown type name '%s' in config file" msgstr "Невідома назва типу, «%s» у файлі налаштувань" #: ../libvirt-sandbox/libvirt-sandbox-config.c:2163 #, c-format msgid "Type name '%s' in config file had wrong parent" msgstr "" "Тип з назвою «%s» у файлі налаштувань мав помилковий батьківський елемент" #: ../libvirt-sandbox/libvirt-sandbox-console.c:326 msgid "Unable to isolate console unless direct access flag is set" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:184 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:350 #, c-format msgid "Unable to query terminal attributes: %s" msgstr "Не вдалося отримати атрибути термінала: %s" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:201 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:367 #, c-format msgid "Unable to update terminal attributes: %s" msgstr "Не вдалося оновити атрибути термінала: %s" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:224 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:395 #, c-format msgid "Unable to restore terminal attributes: %s" msgstr "Не вдалося відновити атрибути термінала: %s" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:630 msgid "No devices found for domain" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:660 #, c-format msgid "No device %s found for domain" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:666 #, c-format msgid "Unable to open console %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:699 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:1110 msgid "Console is already attached to a stream" msgstr "Консоль вже долучено до потоку даних" #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:628 #, c-format msgid "Unexpected rpc status %u" msgstr "Неочікуваний стан RPC %u" #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:697 #, c-format msgid "Unexpected rpc proc %u" msgstr "Неочікувана процедура RPC %u" #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:753 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:817 #, c-format msgid "Got rx in unexpected state %d" msgstr "Отримано rx у неочікуваному стані %d" #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:1167 msgid "ConsoleRpc is not attached to a stream" msgstr "ConsoleRpc не долучено до потоку даних" #: ../libvirt-sandbox/libvirt-sandbox-context.c:253 #: ../libvirt-sandbox/libvirt-sandbox-context.c:396 #, c-format msgid "Domain is not currently running" msgstr "Зараз домен не запущено" #: ../libvirt-sandbox/libvirt-sandbox-context.c:323 #: ../libvirt-sandbox/libvirt-sandbox-context.c:340 #: ../libvirt-sandbox/libvirt-sandbox-context.c:363 #, c-format msgid "Sandbox is not currently running" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1065 #, c-format msgid "libvirt-sandbox-init-common: unable to create signal pipe: %s" msgstr "libvirt-sandbox-init-common: не вдалося створити канал сигналів: %s" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1084 #, c-format msgid "libvirt-sandbox-init-common: cannot open %s: %s" msgstr "libvirt-sandbox-init-common: не вдалося відкрити %s: %s" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1141 #, c-format msgid "libvirt-sandbox-init-common: %s: cannot execute %s: %s\n" msgstr "libvirt-sandbox-init-common: %s: не вдалося виконати %s: %s\n" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1167 msgid "config file path" msgstr "шлях до файла налаштувань" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1170 msgid "Run '" msgstr "Запустити '" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1180 #, c-format msgid "%s: must be launched as root\n" msgstr "%s: слід виконувати від імені користувача root\n" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1187 msgid "Libvirt Sandbox Init Common" msgstr "Загальна ініціалізація пісочниці Libvirt" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1205 #, c-format msgid "%s: Unable to load config %s: %s\n" msgstr "%s: не вдалося завантажити налаштування %s: %s\n" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1231 #, c-format msgid "Unsupported configuration type %s" msgstr "Непідтримуваний тип налаштувань %s" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:69 msgid "Unable to decode message length" msgstr "Не вдалося декодувати довжину повідомлення" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:76 #, c-format msgid "packet %u bytes received from server too small, want %u" msgstr "отриманий від сервера пакет у %u байтів є занадто малим, потрібно %u" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:86 #, c-format msgid "packet %u bytes received from server too large, want %d" msgstr "" "отриманий від сервера пакет у %u байтів є занадто великим, потрібно %d" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:130 msgid "Unable to decode message header" msgstr "Не вдалося декодувати заголовок повідомлення" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:174 #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:235 #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:303 #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:329 msgid "Unable to encode message length" msgstr "Не вдалося закодувати довжину повідомлення" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:180 msgid "Unable to encode message header" msgstr "Не вдалося закодувати заголовок повідомлення" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:192 msgid "Unable to re-encode message length" msgstr "Не вдалося перекодувати довжину повідомлення" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:222 msgid "Unable to encode message payload" msgstr "Не вдалося закодувати вміст повідомлення" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:265 msgid "Unable to decode message payload" msgstr "Не вдалося декодувати вміст повідомлення" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:290 #, c-format msgid "Raw data too long to send (%zu bytes needed, %zu bytes available)" msgstr "" "Необроблені дані занадто довгі для надсилання (потрібно %zu байтів, доступно" " %zu байтів)" libvirt-sandbox-0.5.1+git20160404/po/ur.po000066400000000000000000000341741275305543100176460ustar00rootroot00000000000000# SOME DESCRIPTIVE TITLE. # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # # Translators: msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2015-02-18 14:55+0000\n" "PO-Revision-Date: 2013-04-08 06:10-0400\n" "Last-Translator: FULL NAME \n" "Language-Team: Urdu \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Language: ur\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" "X-Generator: Zanata 3.5.1\n" #: ../bin/virt-sandbox.c:48 ../bin/virt-sandbox-service-util.c:43 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1149 #, c-format msgid "%s version %s\n" msgstr "" #: ../bin/virt-sandbox.c:84 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1161 msgid "display version information" msgstr "" #: ../bin/virt-sandbox.c:86 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1163 msgid "display verbose information" msgstr "" #: ../bin/virt-sandbox.c:88 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1165 msgid "display debugging information" msgstr "" #: ../bin/virt-sandbox.c:90 msgid "connect to hypervisor" msgstr "" #: ../bin/virt-sandbox.c:92 msgid "name of the sandbox" msgstr "" #: ../bin/virt-sandbox.c:94 msgid "root directory of the sandbox" msgstr "" #: ../bin/virt-sandbox.c:96 msgid "mount a filesystem in the guest" msgstr "" #: ../bin/virt-sandbox.c:98 msgid "file to copy into custom dir" msgstr "" #: ../bin/virt-sandbox.c:100 msgid "file contain list of files to include" msgstr "" #: ../bin/virt-sandbox.c:102 msgid "setup network interface properties" msgstr "" #: ../bin/virt-sandbox.c:104 msgid "security properties" msgstr "" #: ../bin/virt-sandbox.c:106 msgid "run the command privileged" msgstr "" #: ../bin/virt-sandbox.c:108 msgid "start a shell" msgstr "" #: ../bin/virt-sandbox.c:110 msgid "kernel version" msgstr "" #: ../bin/virt-sandbox.c:112 msgid "kernel binary path" msgstr "" #: ../bin/virt-sandbox.c:114 msgid "kernel module directory" msgstr "" #: ../bin/virt-sandbox.c:119 msgid "" "Run 'virt-sandbox --help' to see a full list of available command line " "options" msgstr "" #: ../bin/virt-sandbox.c:129 msgid "Libvirt Sandbox" msgstr "" #: ../bin/virt-sandbox.c:131 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1189 msgid "- Libvirt Sandbox" msgstr "" #: ../bin/virt-sandbox.c:144 #, c-format msgid "" "\n" "Usage: %s [OPTIONS] COMMAND-PATH [ARGS...]\n" "\n" "%s\n" "\n" msgstr "" #: ../bin/virt-sandbox.c:160 ../bin/virt-sandbox-service-util.c:65 #, c-format msgid "Unable to open connection: %s\n" msgstr "" #: ../bin/virt-sandbox.c:161 ../bin/virt-sandbox.c:188 #: ../bin/virt-sandbox.c:194 ../bin/virt-sandbox.c:200 #: ../bin/virt-sandbox.c:206 ../bin/virt-sandbox.c:212 #: ../bin/virt-sandbox.c:227 ../bin/virt-sandbox.c:233 #: ../bin/virt-sandbox.c:240 ../bin/virt-sandbox.c:246 #: ../bin/virt-sandbox.c:254 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1247 msgid "Unknown failure" msgstr "" #: ../bin/virt-sandbox.c:187 #, c-format msgid "Unable to parse mounts: %s\n" msgstr "" #: ../bin/virt-sandbox.c:193 #, c-format msgid "Unable to parse includes: %s\n" msgstr "" #: ../bin/virt-sandbox.c:199 #, c-format msgid "Unable to parse include file: %s\n" msgstr "" #: ../bin/virt-sandbox.c:205 #, c-format msgid "Unable to parse networks: %s\n" msgstr "" #: ../bin/virt-sandbox.c:211 #, c-format msgid "Unable to parse security: %s\n" msgstr "" #: ../bin/virt-sandbox.c:226 #, c-format msgid "Unable to start sandbox: %s\n" msgstr "" #: ../bin/virt-sandbox.c:232 #, c-format msgid "Unable to get log console: %s\n" msgstr "" #: ../bin/virt-sandbox.c:239 ../bin/virt-sandbox.c:253 #, c-format msgid "Unable to attach sandbox console: %s\n" msgstr "" #: ../bin/virt-sandbox.c:245 #, c-format msgid "Unable to get app console: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:66 ../bin/virt-sandbox-service-util.c:72 #: ../bin/virt-sandbox-service-util.c:78 #: ../bin/virt-sandbox-service-util.c:104 #: ../bin/virt-sandbox-service-util.c:110 #: ../bin/virt-sandbox-service-util.c:120 #: ../bin/virt-sandbox-service-util.c:127 #: ../bin/virt-sandbox-service-util.c:159 #: ../bin/virt-sandbox-service-util.c:165 #: ../bin/virt-sandbox-service-util.c:175 #: ../bin/virt-sandbox-service-util.c:182 msgid "unknown" msgstr "" #: ../bin/virt-sandbox-service-util.c:71 #, c-format msgid "Unable to read config file %s: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:77 #, c-format msgid "Unable to create new context service: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:103 #, c-format msgid "Unable to start container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:109 #, c-format msgid "Unable to get log console for container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:119 #, c-format msgid "Unable to attach console to stderr in the container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:126 #: ../bin/virt-sandbox-service-util.c:181 #, c-format msgid "Unable to disconnect console from libvirt: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:158 #: ../bin/virt-sandbox-service-util.c:174 #, c-format msgid "Unable to attach to container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:164 #, c-format msgid "Unable to get shell console for container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:240 msgid "Display version information" msgstr "" #: ../bin/virt-sandbox-service-util.c:242 msgid "Start a container" msgstr "" #: ../bin/virt-sandbox-service-util.c:244 msgid "Attach to a container" msgstr "" #: ../bin/virt-sandbox-service-util.c:246 msgid "Pid of process in container to which the command will run" msgstr "" #: ../bin/virt-sandbox-service-util.c:248 msgid "Connect to hypervisor Default:'lxc:///'" msgstr "" #: ../bin/virt-sandbox-service-util.c:253 msgid "" "Run 'virt-sandbox-service-util --help' to see a full list of available " "command line options\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:263 msgid "- Libvirt Sandbox Service" msgstr "" #: ../bin/virt-sandbox-service-util.c:275 #, c-format msgid "" "Invalid command: You must specify --start or --attach\n" "%s" msgstr "" #: ../bin/virt-sandbox-service-util.c:281 #, c-format msgid "Invalid command CONTAINER_NAME required: %s" msgstr "" #: ../bin/virt-sandbox-service-util.c:288 msgid "Libvirt Sandbox Service" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-initrd.c:171 #, c-format msgid "Unable to create temporary directory %s: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-initrd.c:217 #, c-format msgid "Kernel module dir %s does not exist" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-initrd.c:275 #, c-format msgid "Unable to read entries in %s: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-initrd.c:306 #, c-format msgid "Unable to access %s: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-machine.c:446 #, c-format msgid "Kernel image %s does not exist" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:941 #, c-format msgid "Cannot request DHCP with static routes/addresses" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:963 #, c-format msgid "No assignment in filter parameter configuration" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:999 #, c-format msgid "Cannot set static addresses with DHCP" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1019 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1028 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1082 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1090 #, c-format msgid "Unable to parse address %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1058 #, c-format msgid "Cannot set static routes with DHCP" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1076 #, c-format msgid "Missing gateway in route %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1110 #, c-format msgid "Unknown parameter %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1121 #, c-format msgid "Cannot set static routes without addresses" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1285 #, c-format msgid "No mount type prefix on %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1298 #, c-format msgid "Unknown mount type prefix on %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1311 #, c-format msgid "Missing mount source string on %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1411 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1476 #, c-format msgid "No mount with a prefix under %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1578 #, c-format msgid "Unable to get SELinux context of user: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1587 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1596 #, c-format msgid "Unknown security option '%s'" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1630 msgid "Missing mount target in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1635 msgid "Missing mount type in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1647 #, c-format msgid "Unknown mount type %s in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1654 msgid "Missing mount usage in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1663 msgid "Missing mount source in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:2150 msgid "Missing class name in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:2156 #, c-format msgid "Unknown type name '%s' in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:2163 #, c-format msgid "Type name '%s' in config file had wrong parent" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console.c:326 msgid "Unable to isolate console unless direct access flag is set" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:184 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:350 #, c-format msgid "Unable to query terminal attributes: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:201 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:367 #, c-format msgid "Unable to update terminal attributes: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:224 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:395 #, c-format msgid "Unable to restore terminal attributes: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:630 msgid "No devices found for domain" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:660 #, c-format msgid "No device %s found for domain" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:666 #, c-format msgid "Unable to open console %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:699 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:1110 msgid "Console is already attached to a stream" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:628 #, c-format msgid "Unexpected rpc status %u" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:697 #, c-format msgid "Unexpected rpc proc %u" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:753 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:817 #, c-format msgid "Got rx in unexpected state %d" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:1167 msgid "ConsoleRpc is not attached to a stream" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-context.c:253 #: ../libvirt-sandbox/libvirt-sandbox-context.c:396 #, c-format msgid "Domain is not currently running" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-context.c:323 #: ../libvirt-sandbox/libvirt-sandbox-context.c:340 #: ../libvirt-sandbox/libvirt-sandbox-context.c:363 #, c-format msgid "Sandbox is not currently running" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1065 #, c-format msgid "libvirt-sandbox-init-common: unable to create signal pipe: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1084 #, c-format msgid "libvirt-sandbox-init-common: cannot open %s: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1141 #, c-format msgid "libvirt-sandbox-init-common: %s: cannot execute %s: %s\n" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1167 msgid "config file path" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1170 msgid "Run '" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1180 #, c-format msgid "%s: must be launched as root\n" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1187 msgid "Libvirt Sandbox Init Common" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1205 #, c-format msgid "%s: Unable to load config %s: %s\n" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1231 #, c-format msgid "Unsupported configuration type %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:69 msgid "Unable to decode message length" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:76 #, c-format msgid "packet %u bytes received from server too small, want %u" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:86 #, c-format msgid "packet %u bytes received from server too large, want %d" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:130 msgid "Unable to decode message header" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:174 #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:235 #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:303 #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:329 msgid "Unable to encode message length" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:180 msgid "Unable to encode message header" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:192 msgid "Unable to re-encode message length" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:222 msgid "Unable to encode message payload" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:265 msgid "Unable to decode message payload" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:290 #, c-format msgid "Raw data too long to send (%zu bytes needed, %zu bytes available)" msgstr "" libvirt-sandbox-0.5.1+git20160404/po/vi.po000066400000000000000000000342431275305543100176330ustar00rootroot00000000000000# SOME DESCRIPTIVE TITLE. # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # # Translators: msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2015-02-18 14:55+0000\n" "PO-Revision-Date: 2013-07-09 03:50-0400\n" "Last-Translator: Daniel Berrange \n" "Language-Team: Vietnamese (http://www.transifex.com/projects/p/fedora/language/vi/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Language: vi\n" "Plural-Forms: nplurals=1; plural=0;\n" "X-Generator: Zanata 3.5.1\n" #: ../bin/virt-sandbox.c:48 ../bin/virt-sandbox-service-util.c:43 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1149 #, c-format msgid "%s version %s\n" msgstr "" #: ../bin/virt-sandbox.c:84 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1161 msgid "display version information" msgstr "" #: ../bin/virt-sandbox.c:86 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1163 msgid "display verbose information" msgstr "" #: ../bin/virt-sandbox.c:88 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1165 msgid "display debugging information" msgstr "" #: ../bin/virt-sandbox.c:90 msgid "connect to hypervisor" msgstr "" #: ../bin/virt-sandbox.c:92 msgid "name of the sandbox" msgstr "" #: ../bin/virt-sandbox.c:94 msgid "root directory of the sandbox" msgstr "" #: ../bin/virt-sandbox.c:96 msgid "mount a filesystem in the guest" msgstr "" #: ../bin/virt-sandbox.c:98 msgid "file to copy into custom dir" msgstr "" #: ../bin/virt-sandbox.c:100 msgid "file contain list of files to include" msgstr "" #: ../bin/virt-sandbox.c:102 msgid "setup network interface properties" msgstr "" #: ../bin/virt-sandbox.c:104 msgid "security properties" msgstr "" #: ../bin/virt-sandbox.c:106 msgid "run the command privileged" msgstr "" #: ../bin/virt-sandbox.c:108 msgid "start a shell" msgstr "" #: ../bin/virt-sandbox.c:110 msgid "kernel version" msgstr "" #: ../bin/virt-sandbox.c:112 msgid "kernel binary path" msgstr "" #: ../bin/virt-sandbox.c:114 msgid "kernel module directory" msgstr "" #: ../bin/virt-sandbox.c:119 msgid "" "Run 'virt-sandbox --help' to see a full list of available command line " "options" msgstr "" #: ../bin/virt-sandbox.c:129 msgid "Libvirt Sandbox" msgstr "" #: ../bin/virt-sandbox.c:131 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1189 msgid "- Libvirt Sandbox" msgstr "" #: ../bin/virt-sandbox.c:144 #, c-format msgid "" "\n" "Usage: %s [OPTIONS] COMMAND-PATH [ARGS...]\n" "\n" "%s\n" "\n" msgstr "" #: ../bin/virt-sandbox.c:160 ../bin/virt-sandbox-service-util.c:65 #, c-format msgid "Unable to open connection: %s\n" msgstr "" #: ../bin/virt-sandbox.c:161 ../bin/virt-sandbox.c:188 #: ../bin/virt-sandbox.c:194 ../bin/virt-sandbox.c:200 #: ../bin/virt-sandbox.c:206 ../bin/virt-sandbox.c:212 #: ../bin/virt-sandbox.c:227 ../bin/virt-sandbox.c:233 #: ../bin/virt-sandbox.c:240 ../bin/virt-sandbox.c:246 #: ../bin/virt-sandbox.c:254 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1247 msgid "Unknown failure" msgstr "" #: ../bin/virt-sandbox.c:187 #, c-format msgid "Unable to parse mounts: %s\n" msgstr "" #: ../bin/virt-sandbox.c:193 #, c-format msgid "Unable to parse includes: %s\n" msgstr "" #: ../bin/virt-sandbox.c:199 #, c-format msgid "Unable to parse include file: %s\n" msgstr "" #: ../bin/virt-sandbox.c:205 #, c-format msgid "Unable to parse networks: %s\n" msgstr "" #: ../bin/virt-sandbox.c:211 #, c-format msgid "Unable to parse security: %s\n" msgstr "" #: ../bin/virt-sandbox.c:226 #, c-format msgid "Unable to start sandbox: %s\n" msgstr "" #: ../bin/virt-sandbox.c:232 #, c-format msgid "Unable to get log console: %s\n" msgstr "" #: ../bin/virt-sandbox.c:239 ../bin/virt-sandbox.c:253 #, c-format msgid "Unable to attach sandbox console: %s\n" msgstr "" #: ../bin/virt-sandbox.c:245 #, c-format msgid "Unable to get app console: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:66 ../bin/virt-sandbox-service-util.c:72 #: ../bin/virt-sandbox-service-util.c:78 #: ../bin/virt-sandbox-service-util.c:104 #: ../bin/virt-sandbox-service-util.c:110 #: ../bin/virt-sandbox-service-util.c:120 #: ../bin/virt-sandbox-service-util.c:127 #: ../bin/virt-sandbox-service-util.c:159 #: ../bin/virt-sandbox-service-util.c:165 #: ../bin/virt-sandbox-service-util.c:175 #: ../bin/virt-sandbox-service-util.c:182 msgid "unknown" msgstr "" #: ../bin/virt-sandbox-service-util.c:71 #, c-format msgid "Unable to read config file %s: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:77 #, c-format msgid "Unable to create new context service: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:103 #, c-format msgid "Unable to start container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:109 #, c-format msgid "Unable to get log console for container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:119 #, c-format msgid "Unable to attach console to stderr in the container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:126 #: ../bin/virt-sandbox-service-util.c:181 #, c-format msgid "Unable to disconnect console from libvirt: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:158 #: ../bin/virt-sandbox-service-util.c:174 #, c-format msgid "Unable to attach to container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:164 #, c-format msgid "Unable to get shell console for container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:240 msgid "Display version information" msgstr "" #: ../bin/virt-sandbox-service-util.c:242 msgid "Start a container" msgstr "" #: ../bin/virt-sandbox-service-util.c:244 msgid "Attach to a container" msgstr "" #: ../bin/virt-sandbox-service-util.c:246 msgid "Pid of process in container to which the command will run" msgstr "" #: ../bin/virt-sandbox-service-util.c:248 msgid "Connect to hypervisor Default:'lxc:///'" msgstr "" #: ../bin/virt-sandbox-service-util.c:253 msgid "" "Run 'virt-sandbox-service-util --help' to see a full list of available " "command line options\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:263 msgid "- Libvirt Sandbox Service" msgstr "" #: ../bin/virt-sandbox-service-util.c:275 #, c-format msgid "" "Invalid command: You must specify --start or --attach\n" "%s" msgstr "" #: ../bin/virt-sandbox-service-util.c:281 #, c-format msgid "Invalid command CONTAINER_NAME required: %s" msgstr "" #: ../bin/virt-sandbox-service-util.c:288 msgid "Libvirt Sandbox Service" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-initrd.c:171 #, c-format msgid "Unable to create temporary directory %s: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-initrd.c:217 #, c-format msgid "Kernel module dir %s does not exist" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-initrd.c:275 #, c-format msgid "Unable to read entries in %s: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-initrd.c:306 #, c-format msgid "Unable to access %s: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-machine.c:446 #, c-format msgid "Kernel image %s does not exist" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:941 #, c-format msgid "Cannot request DHCP with static routes/addresses" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:963 #, c-format msgid "No assignment in filter parameter configuration" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:999 #, c-format msgid "Cannot set static addresses with DHCP" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1019 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1028 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1082 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1090 #, c-format msgid "Unable to parse address %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1058 #, c-format msgid "Cannot set static routes with DHCP" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1076 #, c-format msgid "Missing gateway in route %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1110 #, c-format msgid "Unknown parameter %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1121 #, c-format msgid "Cannot set static routes without addresses" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1285 #, c-format msgid "No mount type prefix on %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1298 #, c-format msgid "Unknown mount type prefix on %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1311 #, c-format msgid "Missing mount source string on %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1411 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1476 #, c-format msgid "No mount with a prefix under %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1578 #, c-format msgid "Unable to get SELinux context of user: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1587 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1596 #, c-format msgid "Unknown security option '%s'" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1630 msgid "Missing mount target in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1635 msgid "Missing mount type in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1647 #, c-format msgid "Unknown mount type %s in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1654 msgid "Missing mount usage in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1663 msgid "Missing mount source in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:2150 msgid "Missing class name in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:2156 #, c-format msgid "Unknown type name '%s' in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:2163 #, c-format msgid "Type name '%s' in config file had wrong parent" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console.c:326 msgid "Unable to isolate console unless direct access flag is set" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:184 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:350 #, c-format msgid "Unable to query terminal attributes: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:201 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:367 #, c-format msgid "Unable to update terminal attributes: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:224 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:395 #, c-format msgid "Unable to restore terminal attributes: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:630 msgid "No devices found for domain" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:660 #, c-format msgid "No device %s found for domain" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:666 #, c-format msgid "Unable to open console %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:699 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:1110 msgid "Console is already attached to a stream" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:628 #, c-format msgid "Unexpected rpc status %u" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:697 #, c-format msgid "Unexpected rpc proc %u" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:753 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:817 #, c-format msgid "Got rx in unexpected state %d" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:1167 msgid "ConsoleRpc is not attached to a stream" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-context.c:253 #: ../libvirt-sandbox/libvirt-sandbox-context.c:396 #, c-format msgid "Domain is not currently running" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-context.c:323 #: ../libvirt-sandbox/libvirt-sandbox-context.c:340 #: ../libvirt-sandbox/libvirt-sandbox-context.c:363 #, c-format msgid "Sandbox is not currently running" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1065 #, c-format msgid "libvirt-sandbox-init-common: unable to create signal pipe: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1084 #, c-format msgid "libvirt-sandbox-init-common: cannot open %s: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1141 #, c-format msgid "libvirt-sandbox-init-common: %s: cannot execute %s: %s\n" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1167 msgid "config file path" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1170 msgid "Run '" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1180 #, c-format msgid "%s: must be launched as root\n" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1187 msgid "Libvirt Sandbox Init Common" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1205 #, c-format msgid "%s: Unable to load config %s: %s\n" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1231 #, c-format msgid "Unsupported configuration type %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:69 msgid "Unable to decode message length" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:76 #, c-format msgid "packet %u bytes received from server too small, want %u" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:86 #, c-format msgid "packet %u bytes received from server too large, want %d" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:130 msgid "Unable to decode message header" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:174 #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:235 #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:303 #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:329 msgid "Unable to encode message length" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:180 msgid "Unable to encode message header" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:192 msgid "Unable to re-encode message length" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:222 msgid "Unable to encode message payload" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:265 msgid "Unable to decode message payload" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:290 #, c-format msgid "Raw data too long to send (%zu bytes needed, %zu bytes available)" msgstr "" libvirt-sandbox-0.5.1+git20160404/po/wba.po000066400000000000000000000340701275305543100177640ustar00rootroot00000000000000# SOME DESCRIPTIVE TITLE. # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # FIRST AUTHOR , YEAR. # msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2015-02-18 14:55+0000\n" "PO-Revision-Date: \n" "Last-Translator: \n" "Language-Team: wba\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Language: wba\n" "Plural-Forms: nplurals=1; plural=0\n" "X-Generator: Zanata 3.5.1\n" #: ../bin/virt-sandbox.c:48 ../bin/virt-sandbox-service-util.c:43 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1149 #, c-format msgid "%s version %s\n" msgstr "" #: ../bin/virt-sandbox.c:84 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1161 msgid "display version information" msgstr "" #: ../bin/virt-sandbox.c:86 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1163 msgid "display verbose information" msgstr "" #: ../bin/virt-sandbox.c:88 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1165 msgid "display debugging information" msgstr "" #: ../bin/virt-sandbox.c:90 msgid "connect to hypervisor" msgstr "" #: ../bin/virt-sandbox.c:92 msgid "name of the sandbox" msgstr "" #: ../bin/virt-sandbox.c:94 msgid "root directory of the sandbox" msgstr "" #: ../bin/virt-sandbox.c:96 msgid "mount a filesystem in the guest" msgstr "" #: ../bin/virt-sandbox.c:98 msgid "file to copy into custom dir" msgstr "" #: ../bin/virt-sandbox.c:100 msgid "file contain list of files to include" msgstr "" #: ../bin/virt-sandbox.c:102 msgid "setup network interface properties" msgstr "" #: ../bin/virt-sandbox.c:104 msgid "security properties" msgstr "" #: ../bin/virt-sandbox.c:106 msgid "run the command privileged" msgstr "" #: ../bin/virt-sandbox.c:108 msgid "start a shell" msgstr "" #: ../bin/virt-sandbox.c:110 msgid "kernel version" msgstr "" #: ../bin/virt-sandbox.c:112 msgid "kernel binary path" msgstr "" #: ../bin/virt-sandbox.c:114 msgid "kernel module directory" msgstr "" #: ../bin/virt-sandbox.c:119 msgid "" "Run 'virt-sandbox --help' to see a full list of available command line " "options" msgstr "" #: ../bin/virt-sandbox.c:129 msgid "Libvirt Sandbox" msgstr "" #: ../bin/virt-sandbox.c:131 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1189 msgid "- Libvirt Sandbox" msgstr "" #: ../bin/virt-sandbox.c:144 #, c-format msgid "" "\n" "Usage: %s [OPTIONS] COMMAND-PATH [ARGS...]\n" "\n" "%s\n" "\n" msgstr "" #: ../bin/virt-sandbox.c:160 ../bin/virt-sandbox-service-util.c:65 #, c-format msgid "Unable to open connection: %s\n" msgstr "" #: ../bin/virt-sandbox.c:161 ../bin/virt-sandbox.c:188 #: ../bin/virt-sandbox.c:194 ../bin/virt-sandbox.c:200 #: ../bin/virt-sandbox.c:206 ../bin/virt-sandbox.c:212 #: ../bin/virt-sandbox.c:227 ../bin/virt-sandbox.c:233 #: ../bin/virt-sandbox.c:240 ../bin/virt-sandbox.c:246 #: ../bin/virt-sandbox.c:254 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1247 msgid "Unknown failure" msgstr "" #: ../bin/virt-sandbox.c:187 #, c-format msgid "Unable to parse mounts: %s\n" msgstr "" #: ../bin/virt-sandbox.c:193 #, c-format msgid "Unable to parse includes: %s\n" msgstr "" #: ../bin/virt-sandbox.c:199 #, c-format msgid "Unable to parse include file: %s\n" msgstr "" #: ../bin/virt-sandbox.c:205 #, c-format msgid "Unable to parse networks: %s\n" msgstr "" #: ../bin/virt-sandbox.c:211 #, c-format msgid "Unable to parse security: %s\n" msgstr "" #: ../bin/virt-sandbox.c:226 #, c-format msgid "Unable to start sandbox: %s\n" msgstr "" #: ../bin/virt-sandbox.c:232 #, c-format msgid "Unable to get log console: %s\n" msgstr "" #: ../bin/virt-sandbox.c:239 ../bin/virt-sandbox.c:253 #, c-format msgid "Unable to attach sandbox console: %s\n" msgstr "" #: ../bin/virt-sandbox.c:245 #, c-format msgid "Unable to get app console: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:66 ../bin/virt-sandbox-service-util.c:72 #: ../bin/virt-sandbox-service-util.c:78 #: ../bin/virt-sandbox-service-util.c:104 #: ../bin/virt-sandbox-service-util.c:110 #: ../bin/virt-sandbox-service-util.c:120 #: ../bin/virt-sandbox-service-util.c:127 #: ../bin/virt-sandbox-service-util.c:159 #: ../bin/virt-sandbox-service-util.c:165 #: ../bin/virt-sandbox-service-util.c:175 #: ../bin/virt-sandbox-service-util.c:182 msgid "unknown" msgstr "" #: ../bin/virt-sandbox-service-util.c:71 #, c-format msgid "Unable to read config file %s: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:77 #, c-format msgid "Unable to create new context service: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:103 #, c-format msgid "Unable to start container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:109 #, c-format msgid "Unable to get log console for container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:119 #, c-format msgid "Unable to attach console to stderr in the container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:126 #: ../bin/virt-sandbox-service-util.c:181 #, c-format msgid "Unable to disconnect console from libvirt: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:158 #: ../bin/virt-sandbox-service-util.c:174 #, c-format msgid "Unable to attach to container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:164 #, c-format msgid "Unable to get shell console for container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:240 msgid "Display version information" msgstr "" #: ../bin/virt-sandbox-service-util.c:242 msgid "Start a container" msgstr "" #: ../bin/virt-sandbox-service-util.c:244 msgid "Attach to a container" msgstr "" #: ../bin/virt-sandbox-service-util.c:246 msgid "Pid of process in container to which the command will run" msgstr "" #: ../bin/virt-sandbox-service-util.c:248 msgid "Connect to hypervisor Default:'lxc:///'" msgstr "" #: ../bin/virt-sandbox-service-util.c:253 msgid "" "Run 'virt-sandbox-service-util --help' to see a full list of available " "command line options\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:263 msgid "- Libvirt Sandbox Service" msgstr "" #: ../bin/virt-sandbox-service-util.c:275 #, c-format msgid "" "Invalid command: You must specify --start or --attach\n" "%s" msgstr "" #: ../bin/virt-sandbox-service-util.c:281 #, c-format msgid "Invalid command CONTAINER_NAME required: %s" msgstr "" #: ../bin/virt-sandbox-service-util.c:288 msgid "Libvirt Sandbox Service" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-initrd.c:171 #, c-format msgid "Unable to create temporary directory %s: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-initrd.c:217 #, c-format msgid "Kernel module dir %s does not exist" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-initrd.c:275 #, c-format msgid "Unable to read entries in %s: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-initrd.c:306 #, c-format msgid "Unable to access %s: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-machine.c:446 #, c-format msgid "Kernel image %s does not exist" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:941 #, c-format msgid "Cannot request DHCP with static routes/addresses" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:963 #, c-format msgid "No assignment in filter parameter configuration" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:999 #, c-format msgid "Cannot set static addresses with DHCP" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1019 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1028 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1082 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1090 #, c-format msgid "Unable to parse address %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1058 #, c-format msgid "Cannot set static routes with DHCP" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1076 #, c-format msgid "Missing gateway in route %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1110 #, c-format msgid "Unknown parameter %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1121 #, c-format msgid "Cannot set static routes without addresses" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1285 #, c-format msgid "No mount type prefix on %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1298 #, c-format msgid "Unknown mount type prefix on %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1311 #, c-format msgid "Missing mount source string on %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1411 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1476 #, c-format msgid "No mount with a prefix under %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1578 #, c-format msgid "Unable to get SELinux context of user: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1587 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1596 #, c-format msgid "Unknown security option '%s'" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1630 msgid "Missing mount target in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1635 msgid "Missing mount type in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1647 #, c-format msgid "Unknown mount type %s in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1654 msgid "Missing mount usage in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1663 msgid "Missing mount source in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:2150 msgid "Missing class name in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:2156 #, c-format msgid "Unknown type name '%s' in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:2163 #, c-format msgid "Type name '%s' in config file had wrong parent" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console.c:326 msgid "Unable to isolate console unless direct access flag is set" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:184 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:350 #, c-format msgid "Unable to query terminal attributes: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:201 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:367 #, c-format msgid "Unable to update terminal attributes: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:224 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:395 #, c-format msgid "Unable to restore terminal attributes: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:630 msgid "No devices found for domain" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:660 #, c-format msgid "No device %s found for domain" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:666 #, c-format msgid "Unable to open console %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:699 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:1110 msgid "Console is already attached to a stream" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:628 #, c-format msgid "Unexpected rpc status %u" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:697 #, c-format msgid "Unexpected rpc proc %u" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:753 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:817 #, c-format msgid "Got rx in unexpected state %d" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:1167 msgid "ConsoleRpc is not attached to a stream" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-context.c:253 #: ../libvirt-sandbox/libvirt-sandbox-context.c:396 #, c-format msgid "Domain is not currently running" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-context.c:323 #: ../libvirt-sandbox/libvirt-sandbox-context.c:340 #: ../libvirt-sandbox/libvirt-sandbox-context.c:363 #, c-format msgid "Sandbox is not currently running" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1065 #, c-format msgid "libvirt-sandbox-init-common: unable to create signal pipe: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1084 #, c-format msgid "libvirt-sandbox-init-common: cannot open %s: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1141 #, c-format msgid "libvirt-sandbox-init-common: %s: cannot execute %s: %s\n" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1167 msgid "config file path" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1170 msgid "Run '" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1180 #, c-format msgid "%s: must be launched as root\n" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1187 msgid "Libvirt Sandbox Init Common" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1205 #, c-format msgid "%s: Unable to load config %s: %s\n" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1231 #, c-format msgid "Unsupported configuration type %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:69 msgid "Unable to decode message length" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:76 #, c-format msgid "packet %u bytes received from server too small, want %u" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:86 #, c-format msgid "packet %u bytes received from server too large, want %d" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:130 msgid "Unable to decode message header" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:174 #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:235 #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:303 #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:329 msgid "Unable to encode message length" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:180 msgid "Unable to encode message header" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:192 msgid "Unable to re-encode message length" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:222 msgid "Unable to encode message payload" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:265 msgid "Unable to decode message payload" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:290 #, c-format msgid "Raw data too long to send (%zu bytes needed, %zu bytes available)" msgstr "" libvirt-sandbox-0.5.1+git20160404/po/yo.po000066400000000000000000000341011275305543100176350ustar00rootroot00000000000000# SOME DESCRIPTIVE TITLE. # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # FIRST AUTHOR , YEAR. # msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2015-02-18 14:55+0000\n" "PO-Revision-Date: \n" "Last-Translator: \n" "Language-Team: Yoruba\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Language: yo\n" "Plural-Forms: nplurals=2; plural=(n != 1)\n" "X-Generator: Zanata 3.5.1\n" #: ../bin/virt-sandbox.c:48 ../bin/virt-sandbox-service-util.c:43 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1149 #, c-format msgid "%s version %s\n" msgstr "" #: ../bin/virt-sandbox.c:84 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1161 msgid "display version information" msgstr "" #: ../bin/virt-sandbox.c:86 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1163 msgid "display verbose information" msgstr "" #: ../bin/virt-sandbox.c:88 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1165 msgid "display debugging information" msgstr "" #: ../bin/virt-sandbox.c:90 msgid "connect to hypervisor" msgstr "" #: ../bin/virt-sandbox.c:92 msgid "name of the sandbox" msgstr "" #: ../bin/virt-sandbox.c:94 msgid "root directory of the sandbox" msgstr "" #: ../bin/virt-sandbox.c:96 msgid "mount a filesystem in the guest" msgstr "" #: ../bin/virt-sandbox.c:98 msgid "file to copy into custom dir" msgstr "" #: ../bin/virt-sandbox.c:100 msgid "file contain list of files to include" msgstr "" #: ../bin/virt-sandbox.c:102 msgid "setup network interface properties" msgstr "" #: ../bin/virt-sandbox.c:104 msgid "security properties" msgstr "" #: ../bin/virt-sandbox.c:106 msgid "run the command privileged" msgstr "" #: ../bin/virt-sandbox.c:108 msgid "start a shell" msgstr "" #: ../bin/virt-sandbox.c:110 msgid "kernel version" msgstr "" #: ../bin/virt-sandbox.c:112 msgid "kernel binary path" msgstr "" #: ../bin/virt-sandbox.c:114 msgid "kernel module directory" msgstr "" #: ../bin/virt-sandbox.c:119 msgid "" "Run 'virt-sandbox --help' to see a full list of available command line " "options" msgstr "" #: ../bin/virt-sandbox.c:129 msgid "Libvirt Sandbox" msgstr "" #: ../bin/virt-sandbox.c:131 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1189 msgid "- Libvirt Sandbox" msgstr "" #: ../bin/virt-sandbox.c:144 #, c-format msgid "" "\n" "Usage: %s [OPTIONS] COMMAND-PATH [ARGS...]\n" "\n" "%s\n" "\n" msgstr "" #: ../bin/virt-sandbox.c:160 ../bin/virt-sandbox-service-util.c:65 #, c-format msgid "Unable to open connection: %s\n" msgstr "" #: ../bin/virt-sandbox.c:161 ../bin/virt-sandbox.c:188 #: ../bin/virt-sandbox.c:194 ../bin/virt-sandbox.c:200 #: ../bin/virt-sandbox.c:206 ../bin/virt-sandbox.c:212 #: ../bin/virt-sandbox.c:227 ../bin/virt-sandbox.c:233 #: ../bin/virt-sandbox.c:240 ../bin/virt-sandbox.c:246 #: ../bin/virt-sandbox.c:254 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1247 msgid "Unknown failure" msgstr "" #: ../bin/virt-sandbox.c:187 #, c-format msgid "Unable to parse mounts: %s\n" msgstr "" #: ../bin/virt-sandbox.c:193 #, c-format msgid "Unable to parse includes: %s\n" msgstr "" #: ../bin/virt-sandbox.c:199 #, c-format msgid "Unable to parse include file: %s\n" msgstr "" #: ../bin/virt-sandbox.c:205 #, c-format msgid "Unable to parse networks: %s\n" msgstr "" #: ../bin/virt-sandbox.c:211 #, c-format msgid "Unable to parse security: %s\n" msgstr "" #: ../bin/virt-sandbox.c:226 #, c-format msgid "Unable to start sandbox: %s\n" msgstr "" #: ../bin/virt-sandbox.c:232 #, c-format msgid "Unable to get log console: %s\n" msgstr "" #: ../bin/virt-sandbox.c:239 ../bin/virt-sandbox.c:253 #, c-format msgid "Unable to attach sandbox console: %s\n" msgstr "" #: ../bin/virt-sandbox.c:245 #, c-format msgid "Unable to get app console: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:66 ../bin/virt-sandbox-service-util.c:72 #: ../bin/virt-sandbox-service-util.c:78 #: ../bin/virt-sandbox-service-util.c:104 #: ../bin/virt-sandbox-service-util.c:110 #: ../bin/virt-sandbox-service-util.c:120 #: ../bin/virt-sandbox-service-util.c:127 #: ../bin/virt-sandbox-service-util.c:159 #: ../bin/virt-sandbox-service-util.c:165 #: ../bin/virt-sandbox-service-util.c:175 #: ../bin/virt-sandbox-service-util.c:182 msgid "unknown" msgstr "" #: ../bin/virt-sandbox-service-util.c:71 #, c-format msgid "Unable to read config file %s: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:77 #, c-format msgid "Unable to create new context service: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:103 #, c-format msgid "Unable to start container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:109 #, c-format msgid "Unable to get log console for container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:119 #, c-format msgid "Unable to attach console to stderr in the container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:126 #: ../bin/virt-sandbox-service-util.c:181 #, c-format msgid "Unable to disconnect console from libvirt: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:158 #: ../bin/virt-sandbox-service-util.c:174 #, c-format msgid "Unable to attach to container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:164 #, c-format msgid "Unable to get shell console for container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:240 msgid "Display version information" msgstr "" #: ../bin/virt-sandbox-service-util.c:242 msgid "Start a container" msgstr "" #: ../bin/virt-sandbox-service-util.c:244 msgid "Attach to a container" msgstr "" #: ../bin/virt-sandbox-service-util.c:246 msgid "Pid of process in container to which the command will run" msgstr "" #: ../bin/virt-sandbox-service-util.c:248 msgid "Connect to hypervisor Default:'lxc:///'" msgstr "" #: ../bin/virt-sandbox-service-util.c:253 msgid "" "Run 'virt-sandbox-service-util --help' to see a full list of available " "command line options\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:263 msgid "- Libvirt Sandbox Service" msgstr "" #: ../bin/virt-sandbox-service-util.c:275 #, c-format msgid "" "Invalid command: You must specify --start or --attach\n" "%s" msgstr "" #: ../bin/virt-sandbox-service-util.c:281 #, c-format msgid "Invalid command CONTAINER_NAME required: %s" msgstr "" #: ../bin/virt-sandbox-service-util.c:288 msgid "Libvirt Sandbox Service" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-initrd.c:171 #, c-format msgid "Unable to create temporary directory %s: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-initrd.c:217 #, c-format msgid "Kernel module dir %s does not exist" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-initrd.c:275 #, c-format msgid "Unable to read entries in %s: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-initrd.c:306 #, c-format msgid "Unable to access %s: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-machine.c:446 #, c-format msgid "Kernel image %s does not exist" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:941 #, c-format msgid "Cannot request DHCP with static routes/addresses" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:963 #, c-format msgid "No assignment in filter parameter configuration" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:999 #, c-format msgid "Cannot set static addresses with DHCP" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1019 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1028 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1082 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1090 #, c-format msgid "Unable to parse address %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1058 #, c-format msgid "Cannot set static routes with DHCP" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1076 #, c-format msgid "Missing gateway in route %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1110 #, c-format msgid "Unknown parameter %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1121 #, c-format msgid "Cannot set static routes without addresses" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1285 #, c-format msgid "No mount type prefix on %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1298 #, c-format msgid "Unknown mount type prefix on %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1311 #, c-format msgid "Missing mount source string on %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1411 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1476 #, c-format msgid "No mount with a prefix under %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1578 #, c-format msgid "Unable to get SELinux context of user: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1587 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1596 #, c-format msgid "Unknown security option '%s'" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1630 msgid "Missing mount target in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1635 msgid "Missing mount type in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1647 #, c-format msgid "Unknown mount type %s in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1654 msgid "Missing mount usage in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1663 msgid "Missing mount source in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:2150 msgid "Missing class name in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:2156 #, c-format msgid "Unknown type name '%s' in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:2163 #, c-format msgid "Type name '%s' in config file had wrong parent" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console.c:326 msgid "Unable to isolate console unless direct access flag is set" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:184 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:350 #, c-format msgid "Unable to query terminal attributes: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:201 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:367 #, c-format msgid "Unable to update terminal attributes: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:224 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:395 #, c-format msgid "Unable to restore terminal attributes: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:630 msgid "No devices found for domain" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:660 #, c-format msgid "No device %s found for domain" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:666 #, c-format msgid "Unable to open console %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:699 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:1110 msgid "Console is already attached to a stream" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:628 #, c-format msgid "Unexpected rpc status %u" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:697 #, c-format msgid "Unexpected rpc proc %u" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:753 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:817 #, c-format msgid "Got rx in unexpected state %d" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:1167 msgid "ConsoleRpc is not attached to a stream" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-context.c:253 #: ../libvirt-sandbox/libvirt-sandbox-context.c:396 #, c-format msgid "Domain is not currently running" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-context.c:323 #: ../libvirt-sandbox/libvirt-sandbox-context.c:340 #: ../libvirt-sandbox/libvirt-sandbox-context.c:363 #, c-format msgid "Sandbox is not currently running" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1065 #, c-format msgid "libvirt-sandbox-init-common: unable to create signal pipe: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1084 #, c-format msgid "libvirt-sandbox-init-common: cannot open %s: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1141 #, c-format msgid "libvirt-sandbox-init-common: %s: cannot execute %s: %s\n" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1167 msgid "config file path" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1170 msgid "Run '" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1180 #, c-format msgid "%s: must be launched as root\n" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1187 msgid "Libvirt Sandbox Init Common" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1205 #, c-format msgid "%s: Unable to load config %s: %s\n" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1231 #, c-format msgid "Unsupported configuration type %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:69 msgid "Unable to decode message length" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:76 #, c-format msgid "packet %u bytes received from server too small, want %u" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:86 #, c-format msgid "packet %u bytes received from server too large, want %d" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:130 msgid "Unable to decode message header" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:174 #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:235 #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:303 #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:329 msgid "Unable to encode message length" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:180 msgid "Unable to encode message header" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:192 msgid "Unable to re-encode message length" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:222 msgid "Unable to encode message payload" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:265 msgid "Unable to decode message payload" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:290 #, c-format msgid "Raw data too long to send (%zu bytes needed, %zu bytes available)" msgstr "" libvirt-sandbox-0.5.1+git20160404/po/zanata.xml000066400000000000000000000051151275305543100206510ustar00rootroot00000000000000 https://fedora.zanata.org/ libvirt-sandbox master gettext sq ar as ast bal eu bn bn-IN brx bs br bg ca zh-CN zh-HK zh-TW kw kw-GB cs da nl en-GB eo et fi fr gl ka de el gu he hi hu is id ia it ja kn kk km ky ko lt nds mk mai ms ml mr mn ne nb nn or pa fa pl pt pt-BR ro ru sr sr@latin si sk sl es sv tg ta te bo tr uk ur wba cy lv kw@uccor kw@kkcor af am be hr de-CH th vi zu ilo nso tw yo anp libvirt-sandbox-0.5.1+git20160404/po/zh_CN.po000066400000000000000000000342271275305543100202200ustar00rootroot00000000000000# SOME DESCRIPTIVE TITLE. # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # # Translators: msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2015-02-18 14:55+0000\n" "PO-Revision-Date: 2013-07-09 03:50-0400\n" "Last-Translator: Daniel Berrange \n" "Language-Team: Chinese (China) \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Language: zh-CN\n" "Plural-Forms: nplurals=1; plural=0;\n" "X-Generator: Zanata 3.5.1\n" #: ../bin/virt-sandbox.c:48 ../bin/virt-sandbox-service-util.c:43 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1149 #, c-format msgid "%s version %s\n" msgstr "" #: ../bin/virt-sandbox.c:84 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1161 msgid "display version information" msgstr "" #: ../bin/virt-sandbox.c:86 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1163 msgid "display verbose information" msgstr "" #: ../bin/virt-sandbox.c:88 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1165 msgid "display debugging information" msgstr "" #: ../bin/virt-sandbox.c:90 msgid "connect to hypervisor" msgstr "" #: ../bin/virt-sandbox.c:92 msgid "name of the sandbox" msgstr "" #: ../bin/virt-sandbox.c:94 msgid "root directory of the sandbox" msgstr "" #: ../bin/virt-sandbox.c:96 msgid "mount a filesystem in the guest" msgstr "" #: ../bin/virt-sandbox.c:98 msgid "file to copy into custom dir" msgstr "" #: ../bin/virt-sandbox.c:100 msgid "file contain list of files to include" msgstr "" #: ../bin/virt-sandbox.c:102 msgid "setup network interface properties" msgstr "" #: ../bin/virt-sandbox.c:104 msgid "security properties" msgstr "" #: ../bin/virt-sandbox.c:106 msgid "run the command privileged" msgstr "" #: ../bin/virt-sandbox.c:108 msgid "start a shell" msgstr "" #: ../bin/virt-sandbox.c:110 msgid "kernel version" msgstr "" #: ../bin/virt-sandbox.c:112 msgid "kernel binary path" msgstr "" #: ../bin/virt-sandbox.c:114 msgid "kernel module directory" msgstr "" #: ../bin/virt-sandbox.c:119 msgid "" "Run 'virt-sandbox --help' to see a full list of available command line " "options" msgstr "" #: ../bin/virt-sandbox.c:129 msgid "Libvirt Sandbox" msgstr "" #: ../bin/virt-sandbox.c:131 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1189 msgid "- Libvirt Sandbox" msgstr "" #: ../bin/virt-sandbox.c:144 #, c-format msgid "" "\n" "Usage: %s [OPTIONS] COMMAND-PATH [ARGS...]\n" "\n" "%s\n" "\n" msgstr "" #: ../bin/virt-sandbox.c:160 ../bin/virt-sandbox-service-util.c:65 #, c-format msgid "Unable to open connection: %s\n" msgstr "" #: ../bin/virt-sandbox.c:161 ../bin/virt-sandbox.c:188 #: ../bin/virt-sandbox.c:194 ../bin/virt-sandbox.c:200 #: ../bin/virt-sandbox.c:206 ../bin/virt-sandbox.c:212 #: ../bin/virt-sandbox.c:227 ../bin/virt-sandbox.c:233 #: ../bin/virt-sandbox.c:240 ../bin/virt-sandbox.c:246 #: ../bin/virt-sandbox.c:254 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1247 msgid "Unknown failure" msgstr "" #: ../bin/virt-sandbox.c:187 #, c-format msgid "Unable to parse mounts: %s\n" msgstr "" #: ../bin/virt-sandbox.c:193 #, c-format msgid "Unable to parse includes: %s\n" msgstr "" #: ../bin/virt-sandbox.c:199 #, c-format msgid "Unable to parse include file: %s\n" msgstr "" #: ../bin/virt-sandbox.c:205 #, c-format msgid "Unable to parse networks: %s\n" msgstr "" #: ../bin/virt-sandbox.c:211 #, c-format msgid "Unable to parse security: %s\n" msgstr "" #: ../bin/virt-sandbox.c:226 #, c-format msgid "Unable to start sandbox: %s\n" msgstr "" #: ../bin/virt-sandbox.c:232 #, c-format msgid "Unable to get log console: %s\n" msgstr "" #: ../bin/virt-sandbox.c:239 ../bin/virt-sandbox.c:253 #, c-format msgid "Unable to attach sandbox console: %s\n" msgstr "" #: ../bin/virt-sandbox.c:245 #, c-format msgid "Unable to get app console: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:66 ../bin/virt-sandbox-service-util.c:72 #: ../bin/virt-sandbox-service-util.c:78 #: ../bin/virt-sandbox-service-util.c:104 #: ../bin/virt-sandbox-service-util.c:110 #: ../bin/virt-sandbox-service-util.c:120 #: ../bin/virt-sandbox-service-util.c:127 #: ../bin/virt-sandbox-service-util.c:159 #: ../bin/virt-sandbox-service-util.c:165 #: ../bin/virt-sandbox-service-util.c:175 #: ../bin/virt-sandbox-service-util.c:182 msgid "unknown" msgstr "" #: ../bin/virt-sandbox-service-util.c:71 #, c-format msgid "Unable to read config file %s: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:77 #, c-format msgid "Unable to create new context service: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:103 #, c-format msgid "Unable to start container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:109 #, c-format msgid "Unable to get log console for container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:119 #, c-format msgid "Unable to attach console to stderr in the container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:126 #: ../bin/virt-sandbox-service-util.c:181 #, c-format msgid "Unable to disconnect console from libvirt: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:158 #: ../bin/virt-sandbox-service-util.c:174 #, c-format msgid "Unable to attach to container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:164 #, c-format msgid "Unable to get shell console for container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:240 msgid "Display version information" msgstr "" #: ../bin/virt-sandbox-service-util.c:242 msgid "Start a container" msgstr "" #: ../bin/virt-sandbox-service-util.c:244 msgid "Attach to a container" msgstr "" #: ../bin/virt-sandbox-service-util.c:246 msgid "Pid of process in container to which the command will run" msgstr "" #: ../bin/virt-sandbox-service-util.c:248 msgid "Connect to hypervisor Default:'lxc:///'" msgstr "" #: ../bin/virt-sandbox-service-util.c:253 msgid "" "Run 'virt-sandbox-service-util --help' to see a full list of available " "command line options\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:263 msgid "- Libvirt Sandbox Service" msgstr "" #: ../bin/virt-sandbox-service-util.c:275 #, c-format msgid "" "Invalid command: You must specify --start or --attach\n" "%s" msgstr "" #: ../bin/virt-sandbox-service-util.c:281 #, c-format msgid "Invalid command CONTAINER_NAME required: %s" msgstr "" #: ../bin/virt-sandbox-service-util.c:288 msgid "Libvirt Sandbox Service" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-initrd.c:171 #, c-format msgid "Unable to create temporary directory %s: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-initrd.c:217 #, c-format msgid "Kernel module dir %s does not exist" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-initrd.c:275 #, c-format msgid "Unable to read entries in %s: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-initrd.c:306 #, c-format msgid "Unable to access %s: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-machine.c:446 #, c-format msgid "Kernel image %s does not exist" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:941 #, c-format msgid "Cannot request DHCP with static routes/addresses" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:963 #, c-format msgid "No assignment in filter parameter configuration" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:999 #, c-format msgid "Cannot set static addresses with DHCP" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1019 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1028 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1082 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1090 #, c-format msgid "Unable to parse address %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1058 #, c-format msgid "Cannot set static routes with DHCP" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1076 #, c-format msgid "Missing gateway in route %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1110 #, c-format msgid "Unknown parameter %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1121 #, c-format msgid "Cannot set static routes without addresses" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1285 #, c-format msgid "No mount type prefix on %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1298 #, c-format msgid "Unknown mount type prefix on %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1311 #, c-format msgid "Missing mount source string on %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1411 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1476 #, c-format msgid "No mount with a prefix under %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1578 #, c-format msgid "Unable to get SELinux context of user: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1587 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1596 #, c-format msgid "Unknown security option '%s'" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1630 msgid "Missing mount target in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1635 msgid "Missing mount type in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1647 #, c-format msgid "Unknown mount type %s in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1654 msgid "Missing mount usage in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1663 msgid "Missing mount source in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:2150 msgid "Missing class name in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:2156 #, c-format msgid "Unknown type name '%s' in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:2163 #, c-format msgid "Type name '%s' in config file had wrong parent" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console.c:326 msgid "Unable to isolate console unless direct access flag is set" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:184 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:350 #, c-format msgid "Unable to query terminal attributes: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:201 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:367 #, c-format msgid "Unable to update terminal attributes: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:224 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:395 #, c-format msgid "Unable to restore terminal attributes: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:630 msgid "No devices found for domain" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:660 #, c-format msgid "No device %s found for domain" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:666 #, c-format msgid "Unable to open console %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:699 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:1110 msgid "Console is already attached to a stream" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:628 #, c-format msgid "Unexpected rpc status %u" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:697 #, c-format msgid "Unexpected rpc proc %u" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:753 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:817 #, c-format msgid "Got rx in unexpected state %d" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:1167 msgid "ConsoleRpc is not attached to a stream" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-context.c:253 #: ../libvirt-sandbox/libvirt-sandbox-context.c:396 #, c-format msgid "Domain is not currently running" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-context.c:323 #: ../libvirt-sandbox/libvirt-sandbox-context.c:340 #: ../libvirt-sandbox/libvirt-sandbox-context.c:363 #, c-format msgid "Sandbox is not currently running" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1065 #, c-format msgid "libvirt-sandbox-init-common: unable to create signal pipe: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1084 #, c-format msgid "libvirt-sandbox-init-common: cannot open %s: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1141 #, c-format msgid "libvirt-sandbox-init-common: %s: cannot execute %s: %s\n" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1167 msgid "config file path" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1170 msgid "Run '" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1180 #, c-format msgid "%s: must be launched as root\n" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1187 msgid "Libvirt Sandbox Init Common" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1205 #, c-format msgid "%s: Unable to load config %s: %s\n" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1231 #, c-format msgid "Unsupported configuration type %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:69 msgid "Unable to decode message length" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:76 #, c-format msgid "packet %u bytes received from server too small, want %u" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:86 #, c-format msgid "packet %u bytes received from server too large, want %d" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:130 msgid "Unable to decode message header" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:174 #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:235 #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:303 #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:329 msgid "Unable to encode message length" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:180 msgid "Unable to encode message header" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:192 msgid "Unable to re-encode message length" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:222 msgid "Unable to encode message payload" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:265 msgid "Unable to decode message payload" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:290 #, c-format msgid "Raw data too long to send (%zu bytes needed, %zu bytes available)" msgstr "" libvirt-sandbox-0.5.1+git20160404/po/zh_HK.po000066400000000000000000000342041275305543100202150ustar00rootroot00000000000000# SOME DESCRIPTIVE TITLE. # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # # Translators: msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2015-02-18 14:55+0000\n" "PO-Revision-Date: 2013-04-08 06:10-0400\n" "Last-Translator: FULL NAME \n" "Language-Team: Chinese (Hong Kong) \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Language: zh-HK\n" "Plural-Forms: nplurals=1; plural=0;\n" "X-Generator: Zanata 3.5.1\n" #: ../bin/virt-sandbox.c:48 ../bin/virt-sandbox-service-util.c:43 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1149 #, c-format msgid "%s version %s\n" msgstr "" #: ../bin/virt-sandbox.c:84 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1161 msgid "display version information" msgstr "" #: ../bin/virt-sandbox.c:86 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1163 msgid "display verbose information" msgstr "" #: ../bin/virt-sandbox.c:88 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1165 msgid "display debugging information" msgstr "" #: ../bin/virt-sandbox.c:90 msgid "connect to hypervisor" msgstr "" #: ../bin/virt-sandbox.c:92 msgid "name of the sandbox" msgstr "" #: ../bin/virt-sandbox.c:94 msgid "root directory of the sandbox" msgstr "" #: ../bin/virt-sandbox.c:96 msgid "mount a filesystem in the guest" msgstr "" #: ../bin/virt-sandbox.c:98 msgid "file to copy into custom dir" msgstr "" #: ../bin/virt-sandbox.c:100 msgid "file contain list of files to include" msgstr "" #: ../bin/virt-sandbox.c:102 msgid "setup network interface properties" msgstr "" #: ../bin/virt-sandbox.c:104 msgid "security properties" msgstr "" #: ../bin/virt-sandbox.c:106 msgid "run the command privileged" msgstr "" #: ../bin/virt-sandbox.c:108 msgid "start a shell" msgstr "" #: ../bin/virt-sandbox.c:110 msgid "kernel version" msgstr "" #: ../bin/virt-sandbox.c:112 msgid "kernel binary path" msgstr "" #: ../bin/virt-sandbox.c:114 msgid "kernel module directory" msgstr "" #: ../bin/virt-sandbox.c:119 msgid "" "Run 'virt-sandbox --help' to see a full list of available command line " "options" msgstr "" #: ../bin/virt-sandbox.c:129 msgid "Libvirt Sandbox" msgstr "" #: ../bin/virt-sandbox.c:131 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1189 msgid "- Libvirt Sandbox" msgstr "" #: ../bin/virt-sandbox.c:144 #, c-format msgid "" "\n" "Usage: %s [OPTIONS] COMMAND-PATH [ARGS...]\n" "\n" "%s\n" "\n" msgstr "" #: ../bin/virt-sandbox.c:160 ../bin/virt-sandbox-service-util.c:65 #, c-format msgid "Unable to open connection: %s\n" msgstr "" #: ../bin/virt-sandbox.c:161 ../bin/virt-sandbox.c:188 #: ../bin/virt-sandbox.c:194 ../bin/virt-sandbox.c:200 #: ../bin/virt-sandbox.c:206 ../bin/virt-sandbox.c:212 #: ../bin/virt-sandbox.c:227 ../bin/virt-sandbox.c:233 #: ../bin/virt-sandbox.c:240 ../bin/virt-sandbox.c:246 #: ../bin/virt-sandbox.c:254 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1247 msgid "Unknown failure" msgstr "" #: ../bin/virt-sandbox.c:187 #, c-format msgid "Unable to parse mounts: %s\n" msgstr "" #: ../bin/virt-sandbox.c:193 #, c-format msgid "Unable to parse includes: %s\n" msgstr "" #: ../bin/virt-sandbox.c:199 #, c-format msgid "Unable to parse include file: %s\n" msgstr "" #: ../bin/virt-sandbox.c:205 #, c-format msgid "Unable to parse networks: %s\n" msgstr "" #: ../bin/virt-sandbox.c:211 #, c-format msgid "Unable to parse security: %s\n" msgstr "" #: ../bin/virt-sandbox.c:226 #, c-format msgid "Unable to start sandbox: %s\n" msgstr "" #: ../bin/virt-sandbox.c:232 #, c-format msgid "Unable to get log console: %s\n" msgstr "" #: ../bin/virt-sandbox.c:239 ../bin/virt-sandbox.c:253 #, c-format msgid "Unable to attach sandbox console: %s\n" msgstr "" #: ../bin/virt-sandbox.c:245 #, c-format msgid "Unable to get app console: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:66 ../bin/virt-sandbox-service-util.c:72 #: ../bin/virt-sandbox-service-util.c:78 #: ../bin/virt-sandbox-service-util.c:104 #: ../bin/virt-sandbox-service-util.c:110 #: ../bin/virt-sandbox-service-util.c:120 #: ../bin/virt-sandbox-service-util.c:127 #: ../bin/virt-sandbox-service-util.c:159 #: ../bin/virt-sandbox-service-util.c:165 #: ../bin/virt-sandbox-service-util.c:175 #: ../bin/virt-sandbox-service-util.c:182 msgid "unknown" msgstr "" #: ../bin/virt-sandbox-service-util.c:71 #, c-format msgid "Unable to read config file %s: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:77 #, c-format msgid "Unable to create new context service: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:103 #, c-format msgid "Unable to start container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:109 #, c-format msgid "Unable to get log console for container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:119 #, c-format msgid "Unable to attach console to stderr in the container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:126 #: ../bin/virt-sandbox-service-util.c:181 #, c-format msgid "Unable to disconnect console from libvirt: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:158 #: ../bin/virt-sandbox-service-util.c:174 #, c-format msgid "Unable to attach to container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:164 #, c-format msgid "Unable to get shell console for container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:240 msgid "Display version information" msgstr "" #: ../bin/virt-sandbox-service-util.c:242 msgid "Start a container" msgstr "" #: ../bin/virt-sandbox-service-util.c:244 msgid "Attach to a container" msgstr "" #: ../bin/virt-sandbox-service-util.c:246 msgid "Pid of process in container to which the command will run" msgstr "" #: ../bin/virt-sandbox-service-util.c:248 msgid "Connect to hypervisor Default:'lxc:///'" msgstr "" #: ../bin/virt-sandbox-service-util.c:253 msgid "" "Run 'virt-sandbox-service-util --help' to see a full list of available " "command line options\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:263 msgid "- Libvirt Sandbox Service" msgstr "" #: ../bin/virt-sandbox-service-util.c:275 #, c-format msgid "" "Invalid command: You must specify --start or --attach\n" "%s" msgstr "" #: ../bin/virt-sandbox-service-util.c:281 #, c-format msgid "Invalid command CONTAINER_NAME required: %s" msgstr "" #: ../bin/virt-sandbox-service-util.c:288 msgid "Libvirt Sandbox Service" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-initrd.c:171 #, c-format msgid "Unable to create temporary directory %s: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-initrd.c:217 #, c-format msgid "Kernel module dir %s does not exist" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-initrd.c:275 #, c-format msgid "Unable to read entries in %s: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-initrd.c:306 #, c-format msgid "Unable to access %s: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-machine.c:446 #, c-format msgid "Kernel image %s does not exist" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:941 #, c-format msgid "Cannot request DHCP with static routes/addresses" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:963 #, c-format msgid "No assignment in filter parameter configuration" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:999 #, c-format msgid "Cannot set static addresses with DHCP" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1019 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1028 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1082 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1090 #, c-format msgid "Unable to parse address %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1058 #, c-format msgid "Cannot set static routes with DHCP" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1076 #, c-format msgid "Missing gateway in route %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1110 #, c-format msgid "Unknown parameter %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1121 #, c-format msgid "Cannot set static routes without addresses" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1285 #, c-format msgid "No mount type prefix on %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1298 #, c-format msgid "Unknown mount type prefix on %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1311 #, c-format msgid "Missing mount source string on %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1411 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1476 #, c-format msgid "No mount with a prefix under %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1578 #, c-format msgid "Unable to get SELinux context of user: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1587 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1596 #, c-format msgid "Unknown security option '%s'" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1630 msgid "Missing mount target in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1635 msgid "Missing mount type in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1647 #, c-format msgid "Unknown mount type %s in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1654 msgid "Missing mount usage in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1663 msgid "Missing mount source in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:2150 msgid "Missing class name in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:2156 #, c-format msgid "Unknown type name '%s' in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:2163 #, c-format msgid "Type name '%s' in config file had wrong parent" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console.c:326 msgid "Unable to isolate console unless direct access flag is set" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:184 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:350 #, c-format msgid "Unable to query terminal attributes: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:201 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:367 #, c-format msgid "Unable to update terminal attributes: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:224 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:395 #, c-format msgid "Unable to restore terminal attributes: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:630 msgid "No devices found for domain" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:660 #, c-format msgid "No device %s found for domain" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:666 #, c-format msgid "Unable to open console %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:699 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:1110 msgid "Console is already attached to a stream" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:628 #, c-format msgid "Unexpected rpc status %u" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:697 #, c-format msgid "Unexpected rpc proc %u" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:753 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:817 #, c-format msgid "Got rx in unexpected state %d" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:1167 msgid "ConsoleRpc is not attached to a stream" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-context.c:253 #: ../libvirt-sandbox/libvirt-sandbox-context.c:396 #, c-format msgid "Domain is not currently running" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-context.c:323 #: ../libvirt-sandbox/libvirt-sandbox-context.c:340 #: ../libvirt-sandbox/libvirt-sandbox-context.c:363 #, c-format msgid "Sandbox is not currently running" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1065 #, c-format msgid "libvirt-sandbox-init-common: unable to create signal pipe: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1084 #, c-format msgid "libvirt-sandbox-init-common: cannot open %s: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1141 #, c-format msgid "libvirt-sandbox-init-common: %s: cannot execute %s: %s\n" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1167 msgid "config file path" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1170 msgid "Run '" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1180 #, c-format msgid "%s: must be launched as root\n" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1187 msgid "Libvirt Sandbox Init Common" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1205 #, c-format msgid "%s: Unable to load config %s: %s\n" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1231 #, c-format msgid "Unsupported configuration type %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:69 msgid "Unable to decode message length" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:76 #, c-format msgid "packet %u bytes received from server too small, want %u" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:86 #, c-format msgid "packet %u bytes received from server too large, want %d" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:130 msgid "Unable to decode message header" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:174 #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:235 #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:303 #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:329 msgid "Unable to encode message length" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:180 msgid "Unable to encode message header" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:192 msgid "Unable to re-encode message length" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:222 msgid "Unable to encode message payload" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:265 msgid "Unable to decode message payload" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:290 #, c-format msgid "Raw data too long to send (%zu bytes needed, %zu bytes available)" msgstr "" libvirt-sandbox-0.5.1+git20160404/po/zh_TW.po000066400000000000000000000342301275305543100202440ustar00rootroot00000000000000# SOME DESCRIPTIVE TITLE. # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # # Translators: msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2015-02-18 14:55+0000\n" "PO-Revision-Date: 2013-07-09 03:50-0400\n" "Last-Translator: Daniel Berrange \n" "Language-Team: Chinese (Taiwan) \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Language: zh-TW\n" "Plural-Forms: nplurals=1; plural=0;\n" "X-Generator: Zanata 3.5.1\n" #: ../bin/virt-sandbox.c:48 ../bin/virt-sandbox-service-util.c:43 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1149 #, c-format msgid "%s version %s\n" msgstr "" #: ../bin/virt-sandbox.c:84 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1161 msgid "display version information" msgstr "" #: ../bin/virt-sandbox.c:86 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1163 msgid "display verbose information" msgstr "" #: ../bin/virt-sandbox.c:88 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1165 msgid "display debugging information" msgstr "" #: ../bin/virt-sandbox.c:90 msgid "connect to hypervisor" msgstr "" #: ../bin/virt-sandbox.c:92 msgid "name of the sandbox" msgstr "" #: ../bin/virt-sandbox.c:94 msgid "root directory of the sandbox" msgstr "" #: ../bin/virt-sandbox.c:96 msgid "mount a filesystem in the guest" msgstr "" #: ../bin/virt-sandbox.c:98 msgid "file to copy into custom dir" msgstr "" #: ../bin/virt-sandbox.c:100 msgid "file contain list of files to include" msgstr "" #: ../bin/virt-sandbox.c:102 msgid "setup network interface properties" msgstr "" #: ../bin/virt-sandbox.c:104 msgid "security properties" msgstr "" #: ../bin/virt-sandbox.c:106 msgid "run the command privileged" msgstr "" #: ../bin/virt-sandbox.c:108 msgid "start a shell" msgstr "" #: ../bin/virt-sandbox.c:110 msgid "kernel version" msgstr "" #: ../bin/virt-sandbox.c:112 msgid "kernel binary path" msgstr "" #: ../bin/virt-sandbox.c:114 msgid "kernel module directory" msgstr "" #: ../bin/virt-sandbox.c:119 msgid "" "Run 'virt-sandbox --help' to see a full list of available command line " "options" msgstr "" #: ../bin/virt-sandbox.c:129 msgid "Libvirt Sandbox" msgstr "" #: ../bin/virt-sandbox.c:131 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1189 msgid "- Libvirt Sandbox" msgstr "" #: ../bin/virt-sandbox.c:144 #, c-format msgid "" "\n" "Usage: %s [OPTIONS] COMMAND-PATH [ARGS...]\n" "\n" "%s\n" "\n" msgstr "" #: ../bin/virt-sandbox.c:160 ../bin/virt-sandbox-service-util.c:65 #, c-format msgid "Unable to open connection: %s\n" msgstr "" #: ../bin/virt-sandbox.c:161 ../bin/virt-sandbox.c:188 #: ../bin/virt-sandbox.c:194 ../bin/virt-sandbox.c:200 #: ../bin/virt-sandbox.c:206 ../bin/virt-sandbox.c:212 #: ../bin/virt-sandbox.c:227 ../bin/virt-sandbox.c:233 #: ../bin/virt-sandbox.c:240 ../bin/virt-sandbox.c:246 #: ../bin/virt-sandbox.c:254 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1247 msgid "Unknown failure" msgstr "" #: ../bin/virt-sandbox.c:187 #, c-format msgid "Unable to parse mounts: %s\n" msgstr "" #: ../bin/virt-sandbox.c:193 #, c-format msgid "Unable to parse includes: %s\n" msgstr "" #: ../bin/virt-sandbox.c:199 #, c-format msgid "Unable to parse include file: %s\n" msgstr "" #: ../bin/virt-sandbox.c:205 #, c-format msgid "Unable to parse networks: %s\n" msgstr "" #: ../bin/virt-sandbox.c:211 #, c-format msgid "Unable to parse security: %s\n" msgstr "" #: ../bin/virt-sandbox.c:226 #, c-format msgid "Unable to start sandbox: %s\n" msgstr "" #: ../bin/virt-sandbox.c:232 #, c-format msgid "Unable to get log console: %s\n" msgstr "" #: ../bin/virt-sandbox.c:239 ../bin/virt-sandbox.c:253 #, c-format msgid "Unable to attach sandbox console: %s\n" msgstr "" #: ../bin/virt-sandbox.c:245 #, c-format msgid "Unable to get app console: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:66 ../bin/virt-sandbox-service-util.c:72 #: ../bin/virt-sandbox-service-util.c:78 #: ../bin/virt-sandbox-service-util.c:104 #: ../bin/virt-sandbox-service-util.c:110 #: ../bin/virt-sandbox-service-util.c:120 #: ../bin/virt-sandbox-service-util.c:127 #: ../bin/virt-sandbox-service-util.c:159 #: ../bin/virt-sandbox-service-util.c:165 #: ../bin/virt-sandbox-service-util.c:175 #: ../bin/virt-sandbox-service-util.c:182 msgid "unknown" msgstr "" #: ../bin/virt-sandbox-service-util.c:71 #, c-format msgid "Unable to read config file %s: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:77 #, c-format msgid "Unable to create new context service: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:103 #, c-format msgid "Unable to start container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:109 #, c-format msgid "Unable to get log console for container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:119 #, c-format msgid "Unable to attach console to stderr in the container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:126 #: ../bin/virt-sandbox-service-util.c:181 #, c-format msgid "Unable to disconnect console from libvirt: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:158 #: ../bin/virt-sandbox-service-util.c:174 #, c-format msgid "Unable to attach to container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:164 #, c-format msgid "Unable to get shell console for container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:240 msgid "Display version information" msgstr "" #: ../bin/virt-sandbox-service-util.c:242 msgid "Start a container" msgstr "" #: ../bin/virt-sandbox-service-util.c:244 msgid "Attach to a container" msgstr "" #: ../bin/virt-sandbox-service-util.c:246 msgid "Pid of process in container to which the command will run" msgstr "" #: ../bin/virt-sandbox-service-util.c:248 msgid "Connect to hypervisor Default:'lxc:///'" msgstr "" #: ../bin/virt-sandbox-service-util.c:253 msgid "" "Run 'virt-sandbox-service-util --help' to see a full list of available " "command line options\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:263 msgid "- Libvirt Sandbox Service" msgstr "" #: ../bin/virt-sandbox-service-util.c:275 #, c-format msgid "" "Invalid command: You must specify --start or --attach\n" "%s" msgstr "" #: ../bin/virt-sandbox-service-util.c:281 #, c-format msgid "Invalid command CONTAINER_NAME required: %s" msgstr "" #: ../bin/virt-sandbox-service-util.c:288 msgid "Libvirt Sandbox Service" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-initrd.c:171 #, c-format msgid "Unable to create temporary directory %s: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-initrd.c:217 #, c-format msgid "Kernel module dir %s does not exist" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-initrd.c:275 #, c-format msgid "Unable to read entries in %s: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-initrd.c:306 #, c-format msgid "Unable to access %s: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-machine.c:446 #, c-format msgid "Kernel image %s does not exist" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:941 #, c-format msgid "Cannot request DHCP with static routes/addresses" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:963 #, c-format msgid "No assignment in filter parameter configuration" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:999 #, c-format msgid "Cannot set static addresses with DHCP" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1019 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1028 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1082 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1090 #, c-format msgid "Unable to parse address %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1058 #, c-format msgid "Cannot set static routes with DHCP" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1076 #, c-format msgid "Missing gateway in route %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1110 #, c-format msgid "Unknown parameter %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1121 #, c-format msgid "Cannot set static routes without addresses" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1285 #, c-format msgid "No mount type prefix on %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1298 #, c-format msgid "Unknown mount type prefix on %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1311 #, c-format msgid "Missing mount source string on %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1411 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1476 #, c-format msgid "No mount with a prefix under %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1578 #, c-format msgid "Unable to get SELinux context of user: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1587 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1596 #, c-format msgid "Unknown security option '%s'" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1630 msgid "Missing mount target in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1635 msgid "Missing mount type in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1647 #, c-format msgid "Unknown mount type %s in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1654 msgid "Missing mount usage in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1663 msgid "Missing mount source in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:2150 msgid "Missing class name in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:2156 #, c-format msgid "Unknown type name '%s' in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:2163 #, c-format msgid "Type name '%s' in config file had wrong parent" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console.c:326 msgid "Unable to isolate console unless direct access flag is set" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:184 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:350 #, c-format msgid "Unable to query terminal attributes: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:201 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:367 #, c-format msgid "Unable to update terminal attributes: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:224 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:395 #, c-format msgid "Unable to restore terminal attributes: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:630 msgid "No devices found for domain" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:660 #, c-format msgid "No device %s found for domain" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:666 #, c-format msgid "Unable to open console %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:699 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:1110 msgid "Console is already attached to a stream" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:628 #, c-format msgid "Unexpected rpc status %u" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:697 #, c-format msgid "Unexpected rpc proc %u" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:753 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:817 #, c-format msgid "Got rx in unexpected state %d" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:1167 msgid "ConsoleRpc is not attached to a stream" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-context.c:253 #: ../libvirt-sandbox/libvirt-sandbox-context.c:396 #, c-format msgid "Domain is not currently running" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-context.c:323 #: ../libvirt-sandbox/libvirt-sandbox-context.c:340 #: ../libvirt-sandbox/libvirt-sandbox-context.c:363 #, c-format msgid "Sandbox is not currently running" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1065 #, c-format msgid "libvirt-sandbox-init-common: unable to create signal pipe: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1084 #, c-format msgid "libvirt-sandbox-init-common: cannot open %s: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1141 #, c-format msgid "libvirt-sandbox-init-common: %s: cannot execute %s: %s\n" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1167 msgid "config file path" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1170 msgid "Run '" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1180 #, c-format msgid "%s: must be launched as root\n" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1187 msgid "Libvirt Sandbox Init Common" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1205 #, c-format msgid "%s: Unable to load config %s: %s\n" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1231 #, c-format msgid "Unsupported configuration type %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:69 msgid "Unable to decode message length" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:76 #, c-format msgid "packet %u bytes received from server too small, want %u" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:86 #, c-format msgid "packet %u bytes received from server too large, want %d" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:130 msgid "Unable to decode message header" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:174 #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:235 #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:303 #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:329 msgid "Unable to encode message length" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:180 msgid "Unable to encode message header" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:192 msgid "Unable to re-encode message length" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:222 msgid "Unable to encode message payload" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:265 msgid "Unable to decode message payload" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:290 #, c-format msgid "Raw data too long to send (%zu bytes needed, %zu bytes available)" msgstr "" libvirt-sandbox-0.5.1+git20160404/po/zu.po000066400000000000000000000342211275305543100176470ustar00rootroot00000000000000# SOME DESCRIPTIVE TITLE. # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # # Translators: msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2015-02-18 14:55+0000\n" "PO-Revision-Date: 2013-04-08 06:10-0400\n" "Last-Translator: FULL NAME \n" "Language-Team: Zulu (http://www.transifex.com/projects/p/fedora/language/zu/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Language: zu\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" "X-Generator: Zanata 3.5.1\n" #: ../bin/virt-sandbox.c:48 ../bin/virt-sandbox-service-util.c:43 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1149 #, c-format msgid "%s version %s\n" msgstr "" #: ../bin/virt-sandbox.c:84 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1161 msgid "display version information" msgstr "" #: ../bin/virt-sandbox.c:86 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1163 msgid "display verbose information" msgstr "" #: ../bin/virt-sandbox.c:88 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1165 msgid "display debugging information" msgstr "" #: ../bin/virt-sandbox.c:90 msgid "connect to hypervisor" msgstr "" #: ../bin/virt-sandbox.c:92 msgid "name of the sandbox" msgstr "" #: ../bin/virt-sandbox.c:94 msgid "root directory of the sandbox" msgstr "" #: ../bin/virt-sandbox.c:96 msgid "mount a filesystem in the guest" msgstr "" #: ../bin/virt-sandbox.c:98 msgid "file to copy into custom dir" msgstr "" #: ../bin/virt-sandbox.c:100 msgid "file contain list of files to include" msgstr "" #: ../bin/virt-sandbox.c:102 msgid "setup network interface properties" msgstr "" #: ../bin/virt-sandbox.c:104 msgid "security properties" msgstr "" #: ../bin/virt-sandbox.c:106 msgid "run the command privileged" msgstr "" #: ../bin/virt-sandbox.c:108 msgid "start a shell" msgstr "" #: ../bin/virt-sandbox.c:110 msgid "kernel version" msgstr "" #: ../bin/virt-sandbox.c:112 msgid "kernel binary path" msgstr "" #: ../bin/virt-sandbox.c:114 msgid "kernel module directory" msgstr "" #: ../bin/virt-sandbox.c:119 msgid "" "Run 'virt-sandbox --help' to see a full list of available command line " "options" msgstr "" #: ../bin/virt-sandbox.c:129 msgid "Libvirt Sandbox" msgstr "" #: ../bin/virt-sandbox.c:131 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1189 msgid "- Libvirt Sandbox" msgstr "" #: ../bin/virt-sandbox.c:144 #, c-format msgid "" "\n" "Usage: %s [OPTIONS] COMMAND-PATH [ARGS...]\n" "\n" "%s\n" "\n" msgstr "" #: ../bin/virt-sandbox.c:160 ../bin/virt-sandbox-service-util.c:65 #, c-format msgid "Unable to open connection: %s\n" msgstr "" #: ../bin/virt-sandbox.c:161 ../bin/virt-sandbox.c:188 #: ../bin/virt-sandbox.c:194 ../bin/virt-sandbox.c:200 #: ../bin/virt-sandbox.c:206 ../bin/virt-sandbox.c:212 #: ../bin/virt-sandbox.c:227 ../bin/virt-sandbox.c:233 #: ../bin/virt-sandbox.c:240 ../bin/virt-sandbox.c:246 #: ../bin/virt-sandbox.c:254 #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1247 msgid "Unknown failure" msgstr "" #: ../bin/virt-sandbox.c:187 #, c-format msgid "Unable to parse mounts: %s\n" msgstr "" #: ../bin/virt-sandbox.c:193 #, c-format msgid "Unable to parse includes: %s\n" msgstr "" #: ../bin/virt-sandbox.c:199 #, c-format msgid "Unable to parse include file: %s\n" msgstr "" #: ../bin/virt-sandbox.c:205 #, c-format msgid "Unable to parse networks: %s\n" msgstr "" #: ../bin/virt-sandbox.c:211 #, c-format msgid "Unable to parse security: %s\n" msgstr "" #: ../bin/virt-sandbox.c:226 #, c-format msgid "Unable to start sandbox: %s\n" msgstr "" #: ../bin/virt-sandbox.c:232 #, c-format msgid "Unable to get log console: %s\n" msgstr "" #: ../bin/virt-sandbox.c:239 ../bin/virt-sandbox.c:253 #, c-format msgid "Unable to attach sandbox console: %s\n" msgstr "" #: ../bin/virt-sandbox.c:245 #, c-format msgid "Unable to get app console: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:66 ../bin/virt-sandbox-service-util.c:72 #: ../bin/virt-sandbox-service-util.c:78 #: ../bin/virt-sandbox-service-util.c:104 #: ../bin/virt-sandbox-service-util.c:110 #: ../bin/virt-sandbox-service-util.c:120 #: ../bin/virt-sandbox-service-util.c:127 #: ../bin/virt-sandbox-service-util.c:159 #: ../bin/virt-sandbox-service-util.c:165 #: ../bin/virt-sandbox-service-util.c:175 #: ../bin/virt-sandbox-service-util.c:182 msgid "unknown" msgstr "" #: ../bin/virt-sandbox-service-util.c:71 #, c-format msgid "Unable to read config file %s: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:77 #, c-format msgid "Unable to create new context service: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:103 #, c-format msgid "Unable to start container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:109 #, c-format msgid "Unable to get log console for container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:119 #, c-format msgid "Unable to attach console to stderr in the container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:126 #: ../bin/virt-sandbox-service-util.c:181 #, c-format msgid "Unable to disconnect console from libvirt: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:158 #: ../bin/virt-sandbox-service-util.c:174 #, c-format msgid "Unable to attach to container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:164 #, c-format msgid "Unable to get shell console for container: %s\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:240 msgid "Display version information" msgstr "" #: ../bin/virt-sandbox-service-util.c:242 msgid "Start a container" msgstr "" #: ../bin/virt-sandbox-service-util.c:244 msgid "Attach to a container" msgstr "" #: ../bin/virt-sandbox-service-util.c:246 msgid "Pid of process in container to which the command will run" msgstr "" #: ../bin/virt-sandbox-service-util.c:248 msgid "Connect to hypervisor Default:'lxc:///'" msgstr "" #: ../bin/virt-sandbox-service-util.c:253 msgid "" "Run 'virt-sandbox-service-util --help' to see a full list of available " "command line options\n" msgstr "" #: ../bin/virt-sandbox-service-util.c:263 msgid "- Libvirt Sandbox Service" msgstr "" #: ../bin/virt-sandbox-service-util.c:275 #, c-format msgid "" "Invalid command: You must specify --start or --attach\n" "%s" msgstr "" #: ../bin/virt-sandbox-service-util.c:281 #, c-format msgid "Invalid command CONTAINER_NAME required: %s" msgstr "" #: ../bin/virt-sandbox-service-util.c:288 msgid "Libvirt Sandbox Service" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-initrd.c:171 #, c-format msgid "Unable to create temporary directory %s: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-initrd.c:217 #, c-format msgid "Kernel module dir %s does not exist" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-initrd.c:275 #, c-format msgid "Unable to read entries in %s: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-initrd.c:306 #, c-format msgid "Unable to access %s: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-builder-machine.c:446 #, c-format msgid "Kernel image %s does not exist" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:941 #, c-format msgid "Cannot request DHCP with static routes/addresses" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:963 #, c-format msgid "No assignment in filter parameter configuration" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:999 #, c-format msgid "Cannot set static addresses with DHCP" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1019 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1028 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1082 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1090 #, c-format msgid "Unable to parse address %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1058 #, c-format msgid "Cannot set static routes with DHCP" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1076 #, c-format msgid "Missing gateway in route %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1110 #, c-format msgid "Unknown parameter %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1121 #, c-format msgid "Cannot set static routes without addresses" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1285 #, c-format msgid "No mount type prefix on %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1298 #, c-format msgid "Unknown mount type prefix on %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1311 #, c-format msgid "Missing mount source string on %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1411 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1476 #, c-format msgid "No mount with a prefix under %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1578 #, c-format msgid "Unable to get SELinux context of user: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1587 #: ../libvirt-sandbox/libvirt-sandbox-config.c:1596 #, c-format msgid "Unknown security option '%s'" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1630 msgid "Missing mount target in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1635 msgid "Missing mount type in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1647 #, c-format msgid "Unknown mount type %s in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1654 msgid "Missing mount usage in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:1663 msgid "Missing mount source in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:2150 msgid "Missing class name in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:2156 #, c-format msgid "Unknown type name '%s' in config file" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-config.c:2163 #, c-format msgid "Type name '%s' in config file had wrong parent" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console.c:326 msgid "Unable to isolate console unless direct access flag is set" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:184 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:350 #, c-format msgid "Unable to query terminal attributes: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:201 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:367 #, c-format msgid "Unable to update terminal attributes: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:224 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:395 #, c-format msgid "Unable to restore terminal attributes: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:630 msgid "No devices found for domain" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:660 #, c-format msgid "No device %s found for domain" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:666 #, c-format msgid "Unable to open console %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-raw.c:699 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:1110 msgid "Console is already attached to a stream" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:628 #, c-format msgid "Unexpected rpc status %u" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:697 #, c-format msgid "Unexpected rpc proc %u" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:753 #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:817 #, c-format msgid "Got rx in unexpected state %d" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-console-rpc.c:1167 msgid "ConsoleRpc is not attached to a stream" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-context.c:253 #: ../libvirt-sandbox/libvirt-sandbox-context.c:396 #, c-format msgid "Domain is not currently running" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-context.c:323 #: ../libvirt-sandbox/libvirt-sandbox-context.c:340 #: ../libvirt-sandbox/libvirt-sandbox-context.c:363 #, c-format msgid "Sandbox is not currently running" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1065 #, c-format msgid "libvirt-sandbox-init-common: unable to create signal pipe: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1084 #, c-format msgid "libvirt-sandbox-init-common: cannot open %s: %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1141 #, c-format msgid "libvirt-sandbox-init-common: %s: cannot execute %s: %s\n" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1167 msgid "config file path" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1170 msgid "Run '" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1180 #, c-format msgid "%s: must be launched as root\n" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1187 msgid "Libvirt Sandbox Init Common" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1205 #, c-format msgid "%s: Unable to load config %s: %s\n" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-init-common.c:1231 #, c-format msgid "Unsupported configuration type %s" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:69 msgid "Unable to decode message length" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:76 #, c-format msgid "packet %u bytes received from server too small, want %u" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:86 #, c-format msgid "packet %u bytes received from server too large, want %d" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:130 msgid "Unable to decode message header" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:174 #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:235 #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:303 #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:329 msgid "Unable to encode message length" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:180 msgid "Unable to encode message header" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:192 msgid "Unable to re-encode message length" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:222 msgid "Unable to encode message payload" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:265 msgid "Unable to decode message payload" msgstr "" #: ../libvirt-sandbox/libvirt-sandbox-rpcpacket.c:290 #, c-format msgid "Raw data too long to send (%zu bytes needed, %zu bytes available)" msgstr ""