PORTABLECTL(1) portablectl PORTABLECTL(1) (NAME) portablectl - (Portable Services) (SYNOPSIS) portablectl [OPTIONS...] {COMMAND} [NAME...] (DESCRIPTION) portablectl . systemd-portabled.service(8) . systemd(1) . <<>> (attach) . RootDirectory= RootImage= ( ) . . () . : Portable Services[1]. : o /usr/ /etc/ . o btrfs . o ("raw") MBR GPT . ( .raw .) (COMMANDS) : list . ( ) . . . 239. attach IMAGE [PREFIX...] . . ("/") ( ). "./" . : 1. .service .socket .target .timer .path /etc/systemd/system.attached/ ( /run/systemd/system.attached/ -- --runtime ) . 2. .service (drop-in) RootDirectory= RootImage= ( systemd.unit(5) ) . 3. : "profile" ( ) . . . 4. ( ) (symlink) /etc/portables/ /run/portables/ . . .raw ("_") . foobar_47.11.raw foobar . "-" "." "@" . : foobar_47.11.raw foobar-quux-waldi.service foobar.service foobar@.service . : . (reload) --no-reload ( ). . --now / --enable ( --no-block ) / . (image policy) (pin) ( dm-verity) . systemd.image-policy(7) . ".v/" systemd.v(7) . ".v/" systemd.v(7) . 239. detach IMAGE [PREFIX...] . attach . . ( ) . attach detach . --now / --enable ( ) / . () attach . 239. reattach IMAGE [PREFIX...] . . . : "_" . . attach . --now / --enable / . attach . 248. inspect IMAGE [PREFIX...] . os-release(5) . ( attach ). --cat ( ) os-release . . attach . 239. is-attached IMAGE . --quiet . : . +-----------------+--------------------------------+ | | | +-----------------+--------------------------------+ |detached | | | | | | | . | +-----------------+--------------------------------+ |attached | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | . | +-----------------+--------------------------------+ |attached-runtime | attached | | | | | | | | | | | | | | | | | | | | | | | | | | | attach | | | --runtime | | | | | | . | +-----------------+--------------------------------+ |enabled | | | | | | | | | | | | | | | | | | | | | | | | | . | +-----------------+--------------------------------+ |enabled-runtime | enabled | | | | | | | | | | | | | | | | | | | | | | | | | | | attach | | | --runtime | | | | | | . | +-----------------+--------------------------------+ |running | | | | | | | | | | | | | | | | | | | | | | | | | . | +-----------------+--------------------------------+ |running-runtime | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | . | +-----------------+--------------------------------+ 239. read-only IMAGE [BOOL] ( ). . . 239. remove IMAGE... . -- . 239. set-limit [IMAGE] BYTES ( ). . . . . K M G T . "-" . btrfs . BindPaths= . 239. (OPTIONS) : -q, --quiet . 239. -p PROFILE, --profile=PROFILE . "default" . . 239. --copy= . : "copy" ( ) "symlink" ( ) "auto" "mixed" ( v256 ) . -- -- . 239. --runtime /etc/systemd/system.attached/ /run/systemd/system.attached/ . . 239. --no-reload . . 239. --cat () . os-release(5) . 239. --enable / / . 245. --now / / // . 245. --no-block attach --now . 245. --clean (cache) . 256. --extension=PATH PATH / IMAGE . systemd.exec(5) ExtensionImages= systemd-sysext(8) systemd-confext(8) . extension-release os-release IMAGE . : os-release(5). btrfs . "Extension Images" Portable Services[1] . . ".v/" systemd.v(7) . ".v/" systemd.v(7) . 249. --force ( ) extension-release.NAME . 252. -H, --host= . "@" . ssh ":" "/" . SSH . machinectl -H HOST . IPv6 . -M, --machine= . "@" . ".host" ( : "--user --machine=lennart@.host"). "@" root . "@" ( ) ".host" . --no-pager (pager) (pipe) . --no-legend (legend) . --no-ask-password . -h, --help . --version . (FILES AND DIRECTORIES) /var/lib/portables/ /etc/portables/ /run/portables/ /usr/local/lib/portables/ /usr/lib/portables/ . /etc/portables/ /run/portables/ ( ) . /etc/systemd/system.attached/ /run/systemd/system.attached/ . . (PROFILES) "profile" ( ) . /usr/lib/systemd/portable/profile/ . /etc/systemd/portable/profile/ . : . +----------+------------------------------------+ | | | +----------+------------------------------------+ |default | | | | | | | | | | | | | | | | --profile= | | | | | | ( | | | ). | | | | | | | | | | | | | | | | | | | | | | | | | | | . | | | | | | | | | | | | | | | | | | IPC | | | D-Bus | | | . | +----------+------------------------------------+ |nonetwork | | | | default | | | | | | | | | | | | | | | | | | . | +----------+------------------------------------+ |strict | | | | | | | | | | . | | | | | | IPC (D-Bus) | | | | | | | | | | | | . | +----------+------------------------------------+ |trusted | | | | | | | | | | . | | | | | | | | | | | | | | | | | | . | +----------+------------------------------------+ /usr/lib/systemd/portable/profile/default/service.conf . (EXIT STATUS) 0 . (ENVIRONMENT) $SYSTEMD_LOG_LEVEL () ( ). . ( ) : emerg alert crit err warning notice info debug 0 7. syslog(3) . console syslog kmsg journal ( SYSTEMD_LOG_LEVEL=debug,console:info debug info ). . $SYSTEMD_LOG_COLOR (boolean). (true) tty . journalctl(1) . $SYSTEMD_LOG_TIME . . journalctl(1) . $SYSTEMD_LOG_LOCATION . . . . $SYSTEMD_LOG_TID . (TID) . . . $SYSTEMD_LOG_TARGET . : console ( tty ) console-prefixed ( tty syslog(3) ) kmsg ( ) journal ( ) journal-or-kmsg ( kmsg) auto ( ) null ( ). $SYSTEMD_LOG_RATELIMIT_KMSG kmsg . . "true" . systemd kmsg . $SYSTEMD_PAGER, $PAGER --no-pager . $SYSTEMD_PAGER $PAGER . $SYSTEMD_PAGER $PAGER less(1) more(1) . . "cat" --no-pager . : $SYSTEMD_PAGERSECURE $SYSTEMD_PAGER $PAGER ( "cat" "") . $SYSTEMD_LESS less ( "FRSXMK"). : K Ctrl+C . less Ctrl+C . $SYSTEMD_LESS "K" less Ctrl+C . X termcap . . . $LESS less systemd . less(1) . $SYSTEMD_LESSCHARSET less ( "utf-8" UTF-8 ). $LESSCHARSET less systemd . $SYSTEMD_PAGERSECURE less(1) <<>> () . sudo(8) pkexec(1) . . << >> ( ). << >> --no-pager PAGER=cat . . true << >> . << >> LESSSECURE=1 . less(1) << >> . false . SYSTEMD_PAGERSECURE=0 . $SYSTEMD_PAGERSECURE systemd << >> . (UID) ( geteuid(2) sd_pid_get_owner_uid(3) ) sudo(8) ( $SUDO_UID [2]) << >> . SYSTEMD_PAGERSECURE=1 << >> . . $SYSTEMD_PAGERSECURE . $SYSTEMD_PAGER $PAGER $SYSTEMD_PAGERSECURE . $SYSTEMD_COLORS . () systemd . $COLORTERM "truecolor" "24bit" $NO_COLOR $TERM . true $NO_COLOR . false ( ) . "16" "256" "24bit" ANSI . "auto-16" "auto-256" "auto-24bit" $TERM . $SYSTEMD_URLIFY . . systemd $TERM . (SEE ALSO) systemd(1), systemd-sysext(8), org.freedesktop.portable1(5), systemd- portabled.service(8), importctl(1) (NOTES) 1. Portable Services https://systemd.io/PORTABLE_SERVICES 2. $SUDO_UID . systemd 261.2 PORTABLECTL(1)