Страница 1 из 1

Failed to start Create Volatile Files and Directories

Добавлено: 18 май 2014, 23:52
GLwolf
Hi

Reviewing the logs start here error occurred:

Код: Выделить всё

[[1;31mFAILED[0m] Failed to start Create Volatile Files and Directories.
See 'systemctl status systemd-tmpfiles-setup.service' for details.

Код: Выделить всё

[root@Blaszak wolf]# systemctl status systemd-tmpfiles-setup.service
systemd-tmpfiles-setup.service - Create Volatile Files and Directories
   Loaded: loaded (/lib/systemd/system/systemd-tmpfiles-setup.service; static)
   Active: failed (Result: exit-code) since nie 2014-05-18 21:27:54 CEST; 11min ago
     Docs: man:tmpfiles.d(5)
           man:systemd-tmpfiles(8)
  Process: 2768 ExecStart=/bin/systemd-tmpfiles --create --remove --boot --exclude-prefix=/dev (code=exited, status=1/FAILURE)
 Main PID: 2768 (code=exited, status=1/FAILURE)

maj 18 21:27:54 Blaszak systemd-tmpfiles[2768]: [/usr/lib/tmpfiles.d/legacy.conf:26] Unknown g...k'.
maj 18 21:27:54 Blaszak systemd[1]: systemd-tmpfiles-setup.service: main process exited, code...LURE
maj 18 21:27:54 Blaszak systemd[1]: Failed to start Create Volatile Files and Directories.
maj 18 21:27:54 Blaszak systemd[1]: Unit systemd-tmpfiles-setup.service entered failed state.
Hint: Some lines were ellipsized, use -l to show in full.
[root@Blaszak wolf]# 
Checking the contents of the file usr/lib/tmpfiles.d/legacy.conf error refers to this line

Код: Выделить всё

# /run/lock/lockdev is used to serialize access to tty devices via
# LCK..xxx style lock files, For more information see:
# http://lists.freedesktop.org/archives/systemd-devel/2011-March/001823.html
# On modern systems a BSD file lock is a better choice if
# serialization is needed on those devices.

d /run/lock/lockdev 0775 root lock -

is there a way to remove this error?

Re: Failed to start Create Volatile Files and Directories

Добавлено: 19 май 2014, 21:38
GLwolf
Hi

I found the solution here: http://bugs.rosalinux.ru/show_bug.cgi?id=1306 . Maybe someone will have a problem it will be useful.

I installed it again and done with root

Код: Выделить всё

urpmi --replacepkg lockdev

Код: Выделить всё

systemd-tmpfiles --clean
After the restart, the error was gone.

Код: Выделить всё

[wolf@Blaszak ~]$ su
Hasło: 
[root@Blaszak wolf]# systemctl status systemd-tmpfiles-setup.service
systemd-tmpfiles-setup.service - Create Volatile Files and Directories
   Loaded: loaded (/lib/systemd/system/systemd-tmpfiles-setup.service; static)
   Active: active (exited) since pon 2014-05-19 19:27:31 CEST; 4min 59s ago
     Docs: man:tmpfiles.d(5)
           man:systemd-tmpfiles(8)
  Process: 2883 ExecStart=/bin/systemd-tmpfiles --create --remove --boot --exclude-prefix=/dev (code=exited, status=0/SUCCESS)
 Main PID: 2883 (code=exited, status=0/SUCCESS)

maj 19 19:27:31 Blaszak systemd[1]: Started Create Volatile Files and Directories.
[root@Blaszak wolf]#