sudo rm /usr/lib/tmpfiles.d/opencryptoki.conf
It's not a 100% kosher solution, but it should fix the issue for now, and hopefully if the AUR package gets an update they will fix that problem.
But mostly I'm posting because I wanted to say thanks for sharing all of your troubleshooting steps! I had an unrelated problem with my tmpfiles, searching brought me here, and your steps helped me both confirm that I had a different issue and fix my own issue.
]]>I got an error message on boot saying that tmpfiles fails to start.
systemctl --failed
● systemd-tmpfiles-clean.service loaded failed failed Cleanup of Temporary Directories
● systemd-tmpfiles-setup-dev.service loaded failed failed Create Static Device Nodes in /dev
● systemd-tmpfiles-setup.service loaded failed failed Create Volatile Files and Directories
sudo systemctl status systemd-tmpfiles-setup
● systemd-tmpfiles-setup.service - Create Volatile Files and Directories
Loaded: loaded (/usr/lib/systemd/system/systemd-tmpfiles-setup.service; static)
Active: failed (Result: exit-code) since lun. 2014-04-07 11:06:29 CEST; 22min ago
Docs: man:tmpfiles.d(5)
man:systemd-tmpfiles(8)
Process: 371 ExecStart=/usr/bin/systemd-tmpfiles --create --remove --boot --exclude-prefix=/dev (code=exited, status=1/FAILURE)
Main PID: 371 (code=exited, status=1/FAILURE)
avril 07 11:06:29 silence systemd-tmpfiles[371]: [/usr/lib/tmpfiles.d/opencryptoki.conf:39] Unknown modifier 'stdll'
avril 07 11:06:29 silence systemd-tmpfiles[371]: [/usr/lib/tmpfiles.d/opencryptoki.conf:40] Syntax error.
avril 07 11:06:29 silence systemd-tmpfiles[371]: [/usr/lib/tmpfiles.d/opencryptoki.conf:42] Unknown modifier 'slot'
avril 07 11:06:29 silence systemd-tmpfiles[371]: [/usr/lib/tmpfiles.d/opencryptoki.conf:43] Syntax error.
avril 07 11:06:29 silence systemd-tmpfiles[371]: [/usr/lib/tmpfiles.d/opencryptoki.conf:44] Unknown modifier 'stdll'
avril 07 11:06:29 silence systemd-tmpfiles[371]: [/usr/lib/tmpfiles.d/opencryptoki.conf:45] Unknown modifier 'confname'
avril 07 11:06:29 silence systemd-tmpfiles[371]: [/usr/lib/tmpfiles.d/opencryptoki.conf:46] Syntax error.
avril 07 11:06:29 silence systemd[1]: systemd-tmpfiles-setup.service: main process exited, code=exited, status=1/FAILURE
avril 07 11:06:29 silence systemd[1]: Failed to start Create Volatile Files and Directories.
avril 07 11:06:29 silence systemd[1]: Unit systemd-tmpfiles-setup.service entered failed state.
Inside /usr/lib/tmpfiles.d there is indeed a opencryptoki.conf that is a symobolic link like this :
lrwxrwxrwx 1 root root 35 4 avril 11:06 opencryptoki.conf -> /etc/opencryptoki/opencryptoki.conf
And finally here is the content of my opencryptoki.conf
version opencryptoki-3.0
# The following defaults are defined:
# hwversion = 0.0
# firmwareversion = 0.0
# description = Linux
# manufacturer = IBM
#
# The slot definitions below may be overriden and/or customized.
# For example:
# slot 0
# {
# stdll = libpkcs11_cca.so
# description = "OCK CCA Token"
# manufacturer = "MyCompany Inc."
# hwversion = 2.32
# firmwareversion = 1.0
# }
#
# See man(5) opencryptoki.conf for further information.
#
slot 0
{
stdll = libpkcs11_tpm.so
}
slot 1
{
stdll = libpkcs11_ica.so
}
slot 2
{
stdll = libpkcs11_cca.so
}
slot 3
{
stdll = libpkcs11_sw.so
}
slot 4
{
stdll = libpkcs11_ep11.so
confname = ep11tok.conf
}
There is no .pacnew in this folder, so I guess something broke opencryptoki. That doesn't seem to cause me troubles right now but right now I failed to start my httpd service because of a lack of disk space. I guess that is not a good thing.
Could someone help me ?
]]>