]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
tree-wide: fix typo
authorYu Watanabe <watanabe.yu+github@gmail.com>
Tue, 30 Nov 2021 09:26:17 +0000 (18:26 +0900)
committerLuca Boccassi <luca.boccassi@gmail.com>
Tue, 30 Nov 2021 12:30:07 +0000 (12:30 +0000)
16 files changed:
docs/ENVIRONMENT.md
docs/USER_RECORD.md
man/sd_event_source_set_ratelimit.xml
man/sd_listen_fds.xml
man/systemd.exec.xml
src/basic/filesystems-gperf.gperf
src/boot/efi/meson.build
src/home/homed-manager.c
src/home/homework-directory.c
src/home/homework-luks.c
src/home/homework.c
src/network/networkd-dhcp6.c
src/partition/repart.c
src/shared/base-filesystem.c
src/test/test-fd-util.c
test/units/testsuite-67.sh

index 5f783ed9155a639e3b13e9d211869a2df8d253c2..71d6c55010dba43bd5196de761e4cc061d197351 100644 (file)
@@ -417,7 +417,7 @@ and `homectl`:
 
 * `$SYSTEMD_HOME_DEBUG_SUFFIX` – takes a short string that is suffixed to
   `systemd-homed`'s D-Bus and Varlink service names/sockets. This is also
-  understood by `homectl`. This too is useful for running an additiona copy of
+  understood by `homectl`. This too is useful for running an additional copy of
   `systemd-homed` that doesn't interfere with the host's main one.
 
 * `$SYSTEMD_HOMEWORK_PATH` – configures the path to the `systemd-homework`
index ea800c9928b5a0ebc581a34b90abf0312b5ae3b2..bac0ce1721dd8e6e0969214b360559c1bec62e32 100644 (file)
@@ -879,7 +879,8 @@ on removable media the delay is selected very low to minimize the chance the
 home directory remains in unclean state if the storage device is removed from
 the system by the user).
 
-`accessMode` → The access mode currently in effect for the home directory iself.
+`accessMode` → The access mode currently in effect for the home directory
+itself.
 
 `fileSystemType` → The file system type backing the home directory: a short
 string, such as "btrfs", "ext4", "xfs".
index 37354a09f6e610007253a1a5b9ae1fbf09491fc7..b8e6380ddd39ebc6e1170d9b4cb5bcdf3979d433 100644 (file)
@@ -87,7 +87,7 @@
 
     <para><function>sd_event_source_set_ratelimit_expire_callback</function> may be used to set a callback
     function that is invoked every time the event source leaves rate limited state. Note that function is
-    called in the same event loop iteration in which state transition occured.</para>
+    called in the same event loop iteration in which state transition occurred.</para>
 
     <para>Rate limiting is currently implemented for I/O, timer, signal, defer and inotify event
     sources.</para>
index a71c291adf2a389f4a0ddc209fc4e9bf9e9fa9c5..83d94c79031579ec23d6258f60589409b333b9c2 100644 (file)
@@ -55,7 +55,7 @@
     to the processes themselves to close them after use or whether to leave them open until the process exits
     (in which case the kernel closes them automatically). Note that the file descriptors received by daemons
     are duplicates of the file descriptors the service manager originally allocated and bound and of which it
-    continously keeps a copy (except if <varname>Accept=yes</varname> is used). This means any socket option
+    continuously keeps a copy (except if <varname>Accept=yes</varname> is used). This means any socket option
     changes and other changes made to the sockets will visible to the service manager too. Most importanly
     this means it's generally not a good idea to invoke <citerefentry
     project='man-pages'><refentrytitle>shutdown</refentrytitle><manvolnum>2</manvolnum></citerefentry> on
index 4f37c22b759021aff8622bc3b447169410806f27..cd21d5b28d070f14fe0afb958745c166f5470458 100644 (file)
@@ -1337,7 +1337,7 @@ CapabilityBoundingSet=~CAP_B CAP_C</programlisting>
         The second parameter will be interpreted as a destination path that will be created as a symlink to the directory.
         The symlinks will be created after any <varname>BindPaths=</varname> or <varname>TemporaryFileSystem=</varname>
         options have been set up, to make ephemeral symlinking possible. The same source can have multiple symlinks, by
-        using the same first parameter, but a diferent second parameter.</para></listitem>
+        using the same first parameter, but a different second parameter.</para></listitem>
 
         <para>The directories defined by these options are always created under the standard paths used by systemd
         (<filename>/var/</filename>, <filename>/run/</filename>, <filename>/etc/</filename>, …). If the service needs
index 7dd660addf1ef6c22aa626e33e80a8a25972f483..08c8c445105a1cb9edd0cf10e38c06f57d7250d9 100644 (file)
@@ -77,7 +77,7 @@ minix,           {MINIX_SUPER_MAGIC, MINIX_SUPER_MAGIC2, MINIX2_SUPER_MAGIC, MIN
 mqueue,          {MQUEUE_MAGIC}
 # msdos is an older legacy version of vfat, shares the magic
 msdos,           {MSDOS_SUPER_MAGIC}
-# ncp/ncpfs have been removed from the kernel, but ncpfs was the offical name
+# ncp/ncpfs have been removed from the kernel, but ncpfs was the official name
 ncp,             {NCP_SUPER_MAGIC}
 ncpfs,           {NCP_SUPER_MAGIC}
 # nfs is the old version of nfs4, and they share the same magic
index 17407281bb10c0170384bf8b1645f7a9601f0dc6..ffc62a98da598b082ceec074fb19255e81cf0c6f 100644 (file)
@@ -26,7 +26,7 @@ endif
 
 if efi_arch.length() == 0
         if get_option('gnu-efi') == 'true'
-                error('gnu-efi support requested, but headers not found or efi arch is unkown')
+                error('gnu-efi support requested, but headers not found or efi arch is unknown')
         endif
         warning('gnu-efi headers not found or efi arch is unkown, disabling gnu-efi support')
         subdir_done()
index 3e5bd9c29d1d0350b3b22db17cf261dc439358ba..65d7d98dbc4bf2233c8441825287befd947d0917 100644 (file)
@@ -1800,7 +1800,7 @@ static int home_cmp(Home *const*a, Home *const*b) {
         assert(*b);
 
         /* Order user records by their weight (and by their name, to make things stable). We put the records
-         * with the heighest weight last, since we distribute space from the beginning and round down, hence
+         * with the highest weight last, since we distribute space from the beginning and round down, hence
          * later entries tend to get slightly more than earlier entries. */
 
         r = CMP(user_record_rebalance_weight((*a)->record), user_record_rebalance_weight((*b)->record));
@@ -2012,7 +2012,7 @@ static int manager_rebalance_now(Manager *m) {
         log_debug("Rebalancing now...");
 
         /* We maintain a simple state engine here to keep track of what we are doing. We'll first shrink all
-         * homes that shall be shrinked and then grow all homes that shall be grown, so that they can take up
+         * homes that shall be shrunk and then grow all homes that shall be grown, so that they can take up
          * the space now freed. */
 
         for (;;) {
index c2b383b7cd5ab7fa301ff82e62159e30fe072bad..6dc3df55a85acf980f385990a214a72e9f76c1fc 100644 (file)
@@ -178,7 +178,7 @@ int home_create_directory_or_subvolume(UserRecord *h, HomeSetup *setup, UserReco
         temporary = TAKE_PTR(d); /* Needs to be destroyed now */
 
         /* Let's decouple namespaces now, so that we can possibly mount a UID map mount into
-         * /run/systemd/user-home-mount/ that noone will see but us. */
+         * /run/systemd/user-home-mount/ that no one will see but us. */
         r = home_unshare_and_mkdir();
         if (r < 0)
                 return r;
index 9c008586fc7cfa74843bbd9079f8e81896adee6b..8063206358934a98c956e1fe44165e3c9a3a220a 100644 (file)
@@ -2848,7 +2848,7 @@ static int get_smallest_fs_size(int fd, uint64_t *ret) {
         if (fstatfs(fd, &sfs) < 0)
                 return log_error_errno(errno, "Failed to statfs() home file system: %m");
 
-        /* Let's determine the minimal file syste size of the used fstype */
+        /* Let's determine the minimal file system size of the used fstype */
         minsz = minimal_size_by_fs_magic(sfs.f_type);
         if (minsz == UINT64_MAX)
                 return log_error_errno(SYNTHETIC_ERRNO(EOPNOTSUPP), "Don't know minimum file system size of file system type '%s' of home directory.", fs_type_to_string(sfs.f_type));
@@ -3779,7 +3779,7 @@ int wait_for_block_device_gone(HomeSetup *setup, usec_t timeout_usec) {
         /* So here's the thing: we enable "deferred deactivation" on our dm-crypt volumes. This means they
          * are automatically torn down once not used anymore (i.e. once unmounted). Which is great. It also
          * means that when we deactivate a home directory and try to tear down the volume that backs it, it
-         * possibly is aleady torn down or in the process of being torn down, since we race against the
+         * possibly is already torn down or in the process of being torn down, since we race against the
          * automatic tearing down. Which is fine, we handle errors from that. However, we lose the ability to
          * naturally wait for the tear down operation to complete: if we are not the ones who tear down the
          * device we are also not the ones who naturally block on that operation. Hence let's add some code
index db6c15242ff67161c0c54c88683fa33c4d8466f2..9fdc74b77549578ab191e641bf690b9696e81d1e 100644 (file)
@@ -305,7 +305,7 @@ int home_setup_undo_mount(HomeSetup *setup, int level) {
                                          * repeat that here */
                         return r;
 
-                /* If a higher log level is requested, the generate a non-debug mesage here too. */
+                /* If a higher log level is requested, the generate a non-debug message here too. */
                 return log_full_errno(level, r, "Failed to unmount mount tree below %s: %m", HOME_RUNTIME_WORK_DIR);
         }
 
index 170cf7d57dbd7ef7b911eabae05e3d310a7ccd68..8d48aa9f88b53c579b6f77c3a1ba8309559308de 100644 (file)
@@ -1346,7 +1346,7 @@ int dhcp6_start_on_ra(Link *link, bool information_request) {
         assert(in6_addr_is_link_local(&link->ipv6ll_address));
 
         if (link_get_dhcp6_client_start_mode(link) != DHCP6_CLIENT_START_MODE_NO)
-                /* When WithoutRA= is specified, then the DHCPv6 client should be already runnging in
+                /* When WithoutRA= is specified, then the DHCPv6 client should be already running in
                  * the requested mode. Hence, ignore the requests by RA. */
                 return 0;
 
index 50b1f453151c22a4a300308c9c988301e9ee873d..f1af5bb0ee973f3fc33e31cdb1208688dd930418 100644 (file)
@@ -1480,7 +1480,7 @@ static int determine_current_padding(
         offset = round_up_size(offset, 4096);
         next = round_down_size(next, 4096);
 
-        *ret = LESS_BY(next, offset); /* Saturated substraction, rounding might have fucked things up */
+        *ret = LESS_BY(next, offset); /* Saturated subtraction, rounding might have fucked things up */
         return 0;
 }
 
index aede7171c163df2e2e45dc76ccf35d4c6ba921e8..5f5328c8cfa1ad4f4b0fa2d55303e6f7dfd5e270 100644 (file)
@@ -24,7 +24,7 @@ typedef struct BaseFilesystem {
         const char *dir;      /* directory or symlink to create */
         mode_t mode;
         const char *target;   /* if non-NULL create as symlink to this target */
-        const char *exists;   /* conditionalize this entry on existance of this file */
+        const char *exists;   /* conditionalize this entry on existence of this file */
         bool ignore_failure;
 } BaseFilesystem;
 
index 167fecab253be50fc4aef16e0ea8623dac32b258..5b5a712469dd0fdaac283fc21eba65298b2da312 100644 (file)
@@ -314,7 +314,7 @@ static int seccomp_prohibit_close_range(void) {
 
         return 0;
 #else
-        return log_warning_errno(SYNTHETIC_ERRNO(EOPNOTSUPP), "Seccomp support or close_range() syscall definition not availeble.");
+        return log_warning_errno(SYNTHETIC_ERRNO(EOPNOTSUPP), "Seccomp support or close_range() syscall definition not available.");
 #endif
 }
 
index 01b6a5b001ba7934fe9c60d71cb2bd426409ad2d..ac7e7ba01633ed9f6760392a2d65bc853dd3f1f1 100755 (executable)
@@ -65,7 +65,7 @@ do
     # Cause the generator to re-run
     systemctl daemon-reload || exit 1
 
-    # Check for existance of unit files...
+    # Check for existence of unit files...
     if [[ ! -e "/run/systemd/generator/systemd-integritysetup@${DM_NAME}.service" ]]; then
         echo "Service file does not exist!"
         exit 1
@@ -89,7 +89,7 @@ do
     systemctl stop systemd-integritysetup@"${DM_NAME}".service || exit 1
 
     if [ -e "${FULL_DM_DEV_NAME}" ]; then
-        echo "Expecting ${FULL_DM_DEV_NAME} to not exist after stoping unit!"
+        echo "Expecting ${FULL_DM_DEV_NAME} to not exist after stopping unit!"
         exit 1
     fi