diff mbox series

[v2,01/18] umlrunner: Also mount /var/lib as tmpfs

Message ID 20240202225405.993792-1-denkenz@gmail.com (mailing list archive)
State Accepted
Commit aba0f71b784ae5baf42395b840f413f72bde1d0f
Headers show
Series [v2,01/18] umlrunner: Also mount /var/lib as tmpfs | expand

Commit Message

Denis Kenzior Feb. 2, 2024, 10:53 p.m. UTC
/var/lib is used by oFono to store various long term settings.  Make
sure the settings from the system are not used by mistake.  Also, since
the host filesystem is mounted read-only, updating of /var/lib locations
by oFono wouldn't work anyway, which might be confusing.
---
 tools/umlrunner | 2 ++
 1 file changed, 2 insertions(+)

Comments

patchwork-bot+ofono@kernel.org Feb. 2, 2024, 11:30 p.m. UTC | #1
Hello:

This series was applied to ofono.git (master)
by Denis Kenzior <denkenz@gmail.com>:

On Fri,  2 Feb 2024 16:53:33 -0600 you wrote:
> /var/lib is used by oFono to store various long term settings.  Make
> sure the settings from the system are not used by mistake.  Also, since
> the host filesystem is mounted read-only, updating of /var/lib locations
> by oFono wouldn't work anyway, which might be confusing.
> ---
>  tools/umlrunner | 2 ++
>  1 file changed, 2 insertions(+)

Here is the summary with links:
  - [v2,01/18] umlrunner: Also mount /var/lib as tmpfs
    https://git.kernel.org/pub/scm/network/ofono/ofono.git/?id=aba0f71b784a
  - [v2,02/18] build: Only enable backtrace(3) in maintainer mode
    https://git.kernel.org/pub/scm/network/ofono/ofono.git/?id=05eabee2524d
  - [v2,03/18] build: Bring in more ell classes
    https://git.kernel.org/pub/scm/network/ofono/ofono.git/?id=2a9ccea64b54
  - [v2,04/18] build: Enable _auto_ syntax
    https://git.kernel.org/pub/scm/network/ofono/ofono.git/?id=2da2e9cc26e7
  - [v2,05/18] provisiondb: Remove some duplicate MCCMNC entries
    https://git.kernel.org/pub/scm/network/ofono/ofono.git/?id=19a0d53ba5d5
  - [v2,06/18] storage: Introduce storage_get_file_path()
    https://git.kernel.org/pub/scm/network/ofono/ofono.git/?id=cebe22caedd1
  - [v2,07/18] storage: Convert g_strdup_* use to l_strdup_*
    https://git.kernel.org/pub/scm/network/ofono/ofono.git/?id=d650fe8936cf
  - [v2,08/18] common: Drop GLib use from gprs_auth_proto_to_string
    https://git.kernel.org/pub/scm/network/ofono/ofono.git/?id=6f63dbbbb5c9
  - [v2,09/18] common: Drop GLib use from gprs_proto_to_string
    https://git.kernel.org/pub/scm/network/ofono/ofono.git/?id=c934b708742c
  - [v2,10/18] storage: Remove mode parameter
    https://git.kernel.org/pub/scm/network/ofono/ofono.git/?id=405039ff9601
  - [v2,11/18] storage: Use l_malloc
    https://git.kernel.org/pub/scm/network/ofono/ofono.git/?id=4619f19d3ac7
  - [v2,12/18] storage: Remove mode argument
    https://git.kernel.org/pub/scm/network/ofono/ofono.git/?id=e4fdf579649f
  - [v2,13/18] storage: Use void * instead of unsigned char *
    https://git.kernel.org/pub/scm/network/ofono/ofono.git/?id=75998e0898bc
  - [v2,14/18] storage: use l_file_set_contents
    https://git.kernel.org/pub/scm/network/ofono/ofono.git/?id=eaa03eee6c1d
  - [v2,15/18] lte: Refactor lte settings management
    https://git.kernel.org/pub/scm/network/ofono/ofono.git/?id=2ce572d56759
  - [v2,16/18] lte: Add provisioning support
    https://git.kernel.org/pub/scm/network/ofono/ofono.git/?id=69adffb51633
  - [v2,17/18] phonesim: Add lte atom
    https://git.kernel.org/pub/scm/network/ofono/ofono.git/?id=783b036d7bc8
  - [v2,18/18] lte: Write provisioned info to disk
    https://git.kernel.org/pub/scm/network/ofono/ofono.git/?id=53c13ead095c

You are awesome, thank you!
diff mbox series

Patch

diff --git a/tools/umlrunner b/tools/umlrunner
index c1d4c9864487..bb2f24a6dbb9 100755
--- a/tools/umlrunner
+++ b/tools/umlrunner
@@ -45,6 +45,8 @@  mounts_common = [
     MountInfo('tmpfs', 'tmpfs', '/etc', '', 0),
     MountInfo('tmpfs', 'tmpfs', '/usr/share/dbus-1', 'mode=0755',
               MS_NOSUID|MS_NOEXEC|MS_NODEV|MS_STRICTATIME),
+    MountInfo('tmpfs', 'tmpfs', '/var/lib', 'mode=0755',
+              MS_NOSUID|MS_NOEXEC|MS_NODEV|MS_STRICTATIME),
 ]
 
 dev_table = [