Home
last modified time | relevance | path

Searched refs:var (Results 1 – 25 of 99) sorted by relevance

1234

/systemd-251/test/units/
Dtestsuite-33.sh24 test ! -e /var/lib/testservice
25 test ! -e /var/cache/testservice
26 test ! -e /var/log/testservice
32 test -d /var/lib/testservice
33 test -d /var/cache/testservice
34 test -d /var/log/testservice
42 test -d /var/lib/testservice
43 test -d /var/cache/testservice
44 test -d /var/log/testservice
50 test -d /var/lib/testservice
[all …]
Dtestsuite-25.sh8 dd if=/dev/urandom of=/var/tmp/testimage.raw bs=$((1024*1024+7)) count=5
11 machinectl import-raw /var/tmp/testimage.raw
13 test -f /var/lib/machines/testimage.raw
14 cmp /var/tmp/testimage.raw /var/lib/machines/testimage.raw
17 machinectl export-raw testimage /var/tmp/testimage2.raw
18 cmp /var/tmp/testimage.raw /var/tmp/testimage2.raw
19 rm /var/tmp/testimage2.raw
22 machinectl export-raw testimage /var/tmp/testimage2.raw.gz
23 gunzip /var/tmp/testimage2.raw.gz
24 cmp /var/tmp/testimage.raw /var/tmp/testimage2.raw
[all …]
Dtestsuite-72.sh18 rm -f /var/tmp/72-joined.raw
19 truncate -s 10M /var/tmp/72-joined.raw
21 sfdisk /var/tmp/72-joined.raw <<EOF
32 rm -rf /var/tmp/72-dirs
34 rm -rf /var/tmp/72-defs
35 mkdir -p /var/tmp/72-defs
37 cat >/var/tmp/72-defs/01-first.conf <<"EOF"
40 Path=/var/tmp/72-source
45 Path=/var/tmp/72-joined.raw
50 cat >/var/tmp/72-defs/02-second.conf <<"EOF"
[all …]
Dtestsuite-22.06.sh10 d /var/tmp/foobar-test-06
11 d /var/tmp/foobar-test-06/important
12 R /var/tmp/foobar-test-06
17 test -d /var/tmp/foobar-test-06
18 test -d /var/tmp/foobar-test-06/important
21 test ! -f /var/tmp/foobar-test-06
22 test ! -f /var/tmp/foobar-test-06/important
25 test -d /var/tmp/foobar-test-06
26 test -d /var/tmp/foobar-test-06/important
28 touch /var/tmp/foobar-test-06/something-else
[all …]
Dtestsuite-58.sh68 rm -f /var/tmp/testsuite-58.img /var/tmp/testsuite-58.2.img /tmp/testsuite-58.dump
100 /var/tmp/testsuite-58.img
102 sfdisk --dump /var/tmp/testsuite-58.img | tee /tmp/testsuite-58.dump
133 --image=/var/tmp/testsuite-58.img \
134 /var/tmp/testsuite-58.2.img
136 cmp /var/tmp/testsuite-58.img /var/tmp/testsuite-58.2.img
138 rm /var/tmp/testsuite-58.img /var/tmp/testsuite-58.2.img /tmp/testsuite-58.dump
143 rm -f /var/tmp/testsuite-58.3.img /tmp/testsuite-58-3.dump
151 truncate -s 10g /var/tmp/testsuite-58.3.img
152 sfdisk /var/tmp/testsuite-58.3.img <<EOF
[all …]
Dbasic.target17 # We support /var, /tmp, /var/tmp, being on NFS, but we don't pull in
19 # require /var and /var/tmp, but only add a Wants= type dependency on /tmp, as
21 RequiresMountsFor=/var /var/tmp
/systemd-251/test/test-execute/
Dexec-dynamicuser-statedir-migrate-step2.service6 ExecStart=test -w /var/lib/test-dynamicuser-migrate
7 ExecStart=test -w /var/lib/test-dynamicuser-migrate2/hoge
8 ExecStart=test -L /var/lib/test-dynamicuser-migrate
9 ExecStart=test -L /var/lib/test-dynamicuser-migrate2/hoge
10 ExecStart=test -d /var/lib/test-dynamicuser-migrate
11 ExecStart=test -d /var/lib/test-dynamicuser-migrate2/hoge
12 ExecStart=test -f /var/lib/test-dynamicuser-migrate/yay
13 ExecStart=test -f /var/lib/test-dynamicuser-migrate2/hoge/yayyay
14 ExecStart=test -d /var/lib/private/test-dynamicuser-migrate
15 ExecStart=test -d /var/lib/private/test-dynamicuser-migrate2/hoge
[all …]
Dexec-temporaryfilesystem-rw.service9 ExecStart=test -d /var/test-exec-temporaryfilesystem/rw -a -d /var/test-exec-temporaryfilesystem/ro
12 ExecStart=sh -c 'for i in $$(ls -A /var); do test $$i = test-exec-temporaryfilesystem || false; don…
15 ExecStart=sh -x -c 'test "$$(stat -c %%a /var)" = "755"'
17 # Create a file in /var
18 ExecStart=touch /var/hoge
20 # Create a file in /var/test-exec-temporaryfilesystem/rw
21 ExecStart=touch /var/test-exec-temporaryfilesystem/rw/thisisasimpletest-temporaryfilesystem
26 # Also, through /var/test-exec-temporaryfilesystem/ro
27 ExecStart=test -f /var/test-exec-temporaryfilesystem/ro/thisisasimpletest-temporaryfilesystem
29 # The file cannot modify through /var/test-exec-temporaryfilesystem/ro
[all …]
Dexec-temporaryfilesystem-ro.service9 ExecStart=/bin/sh -c 'test -d /var/test-exec-temporaryfilesystem/rw && test -d /var/test-exec-tempo…
12 ExecStart=/bin/sh -c 'for i in $$(ls -A /var); do test $$i = test-exec-temporaryfilesystem || false…
15 ExecStart=sh -x -c 'test "$$(stat -c %%a /var)" = "755"'
17 # Cannot create a file in /var
18 ExecStart=/bin/sh -c '! touch /var/hoge'
20 # Create a file in /var/test-exec-temporaryfilesystem/rw
21 ExecStart=/bin/sh -c 'touch /var/test-exec-temporaryfilesystem/rw/thisisasimpletest-temporaryfilesy…
26 # Also, through /var/test-exec-temporaryfilesystem/ro
27 ExecStart=/bin/sh -c 'test -f /var/test-exec-temporaryfilesystem/ro/thisisasimpletest-temporaryfile…
29 # The file cannot modify through /var/test-exec-temporaryfilesystem/ro
[all …]
Dexec-dynamicuser-statedir.service6 ExecStart=test -w /var/lib/waldo
7 ExecStart=test -w /var/lib/quux/pief
8 ExecStart=touch /var/lib/waldo/yay
9 ExecStart=touch /var/lib/quux/pief/yayyay
10 ExecStart=test -f /var/lib/waldo/yay
11 ExecStart=test -f /var/lib/quux/pief/yayyay
12 ExecStart=test -f /var/lib/private/waldo/yay
13 ExecStart=test -f /var/lib/private/quux/pief/yayyay
16 # Make sure that /var/lib/private/waldo is really the only writable directory besides the obvious c…
17var/tmp -o -path /tmp -o -path /proc -o -path /dev/mqueue -o -path /dev/shm -o -path /sys/fs/bpf -…
Dexec-dynamicuser-statedir-migrate-step1.service6 ExecStart=test -w /var/lib/test-dynamicuser-migrate
7 ExecStart=test -w /var/lib/test-dynamicuser-migrate2/hoge
8 ExecStart=test ! -L /var/lib/test-dynamicuser-migrate
9 ExecStart=test ! -L /var/lib/test-dynamicuser-migrate2/hoge
10 ExecStart=test -d /var/lib/test-dynamicuser-migrate
11 ExecStart=test -d /var/lib/test-dynamicuser-migrate2/hoge
12 ExecStart=touch /var/lib/test-dynamicuser-migrate/yay
13 ExecStart=touch /var/lib/test-dynamicuser-migrate2/hoge/yayyay
Dexec-temporaryfilesystem-options.service10 TemporaryFileSystem=/var:ro,mode=0700,nostrictatime
13 ExecStart=/bin/sh -x -c 'test "$$(awk \'$$5 == "/var" && $$11 !~ /(^|,)mode=700(,|$$)/ { print $$6 …
15 ExecStart=/bin/sh -x -c 'test "$$(awk \'$$5 == "/var" && $$6 !~ /(^|,)ro(,|$$)/ { print $$6 }\' /pr…
16 ExecStart=/bin/sh -x -c 'test "$$(awk \'$$5 == "/var" && $$6 !~ /(^|,)nodev(,|$$)/ { print $$6 }\' …
17 ExecStart=/bin/sh -x -c 'test "$$(awk \'$$5 == "/var" && $$6 ~ /(^|,)strictatime(,|$$)/ { print $$6…
Dexec-specifier.service17 ExecStart=test %S = /var/lib
18 ExecStart=test %C = /var/cache
19 ExecStart=test %L = /var/log
22 ExecStart=test %V = /var/tmp
/systemd-251/docs/
Dstyle.css38 --sd-foreground-color: var(--sd-gray-extradark);
39 --sd-background-color: var(--sd-gray-extralight);
40 --sd-logo-color: var(--sd-brand-black);
41 --sd-link-color: var(--sd-green);
42 --sd-small-color: var(--sd-gray-dark);
43 --sd-highlight-bg: var(--sd-highlight-bg-light);
44 --sd-highlight-inline-bg: var(--sd-highlight-inline-bg-light);
45 --sd-link-font-weight: var(--sd-font-weight-bold);
51 --sd-foreground-color: var(--sd-gray);
52 --sd-background-color: var(--sd-brand-black);
[all …]
DTEMPORARY_DIRECTORIES.md2 title: Using /tmp/ and /var/tmp/ Safely
8 # Using `/tmp/` and `/var/tmp/` Safely
10 `/tmp/` and `/var/tmp/` are two world-writable directories Linux systems
16 1. `/tmp/` should be used for smaller, size-bounded files only; `/var/tmp/`
22 `/tmp/` nor `/var/tmp/` directly.
30 Note that `/tmp/` and `/var/tmp/` each define a common namespace shared by all
36 untrusted files. Hence: do not use guessable names in `/tmp/` or `/var/tmp/` —
56 (Linux; this doesn't bother with `/tmp/` or `/var/tmp/` at all, but uses the
62 `/var/tmp/` are replaced by private sub-directories, implemented through Linux
64 view `/tmp/` and `/var/tmp/` look and behave like they normally do, but in
[all …]
/systemd-251/test/test-sysusers/
Dtest-5.expected-passwd7 man:x:6:12::/var/cache/man:NOLOGIN
8 lp:x:7:7::/var/spool/lpd:NOLOGIN
9 mail:x:8:8::/var/mail:NOLOGIN
10 news:x:9:9::/var/spool/news:NOLOGIN
11 uucp:x:10:10::/var/spool/uucp:NOLOGIN
13 www-data:x:33:33::/var/www:NOLOGIN
14 backup:x:34:34::/var/backups:NOLOGIN
15 list:x:38:38::/var/list:NOLOGIN
16 irc:x:39:39::/var/run/ircd:NOLOGIN
17 gnats:x:41:41::/var/lib/gnats:NOLOGIN
Dtest-5.input37 u man 6:12 - /var/cache/man
38 u lp 7 - /var/spool/lpd
39 u mail 8 - /var/mail
40 u news 9 - /var/spool/news
41 u uucp 10 - /var/spool/uucp
43 u www-data 33 - /var/www
44 u backup 34 - /var/backups
45 u list 38 - /var/list
46 u irc 39 - /var/run/ircd
47 u gnats 41 - /var/lib/gnats
/systemd-251/tmpfiles.d/
Dvar.conf.in10 q /var 0755 - - -
12 L /var/run - - - - ../run
14 d /var/log 0755 - - -
16 f /var/log/wtmp 0664 root utmp -
17 f /var/log/btmp 0660 root utmp -
18 f /var/log/lastlog 0664 root utmp -
21 d /var/cache 0755 - - -
23 d /var/lib 0755 - - -
25 d /var/spool 0755 - - -
Dsystemd.conf.in42 z /var/log/journal 2755 root systemd-journal - -
43 z /var/log/journal/%m 2755 root systemd-journal - -
44 z /var/log/journal/%m/system.journal 0640 root systemd-journal - -
47 a+ /var/log/journal - - - - d:group::r-x,d:group:adm:r-x,d:group:wheel:r-x,group::r-x,group:adm:…
48 a+ /var/log/journal/%m - - - - d:group:adm:r-x,d:group:wheel:r-x,group:adm:r-x,group:wheel:r-x
49 a+ /var/log/journal/%m/system.journal - - - - group:adm:r--,group:wheel:r--
51 a+ /var/log/journal - - - - d:group::r-x,d:group:adm:r-x,group::r-x,group:adm:r-x
52 a+ /var/log/journal/%m - - - - d:group:adm:r-x,group:adm:r-x
53 a+ /var/log/journal/%m/system.journal - - - - group:adm:r--
55 a+ /var/log/journal - - - - d:group::r-x,d:group:wheel:r-x,group::r-x,group:wheel:r-x
[all …]
Dsystemd-tmp.conf13 x /var/tmp/systemd-private-%b-*
14 X /var/tmp/systemd-private-%b-*/tmp
18 R! /var/tmp/systemd-private-*
22 x /var/lib/systemd/coredump/.#core*.%b*
23 r! /var/lib/systemd/coredump/.#*
Djournal-nocow.conf25 h /var/log/journal - - - - +C
26 h /var/log/journal/%m - - - - +C
27 h /var/log/journal/remote - - - - +C
/systemd-251/src/basic/
Dstat-util.h75 # define STRUCT_STATX_DEFINE(var) \ argument
76 struct statx var = {}
77 # define STRUCT_NEW_STATX_DEFINE(var) \ argument
81 } var = {}
83 # define STRUCT_STATX_DEFINE(var) \ argument
84 struct statx var
85 # define STRUCT_NEW_STATX_DEFINE(var) \ argument
89 } var
/systemd-251/test/test-path/
Dbasic.target10 # We support /var, /tmp, /var/tmp, being on NFS, but we don't pull in
12 # require /var and /var/tmp, but only add a Wants= type dependency on /tmp, as
14 RequiresMountsFor=/var /var/tmp
/systemd-251/units/
Dbasic.target17 # We support /var, /tmp, /var/tmp, being on NFS, but we don't pull in
19 # require /var and /var/tmp, but only add a Wants= type dependency on /tmp, as
21 RequiresMountsFor=/var /var/tmp
Dvar-lib-machines.mount11 # up /var/lib/machines.raw as loopback-mounted btrfs file system. Later
17 ConditionPathExists=/var/lib/machines.raw
20 What=/var/lib/machines.raw
21 Where=/var/lib/machines

1234