summarylogtreecommitdiffstats
path: root/known-lockdev-bug.patch
diff options
context:
space:
mode:
Diffstat (limited to 'known-lockdev-bug.patch')
-rw-r--r--known-lockdev-bug.patch31
1 files changed, 31 insertions, 0 deletions
diff --git a/known-lockdev-bug.patch b/known-lockdev-bug.patch
new file mode 100644
index 000000000000..e4d7f2f357de
--- /dev/null
+++ b/known-lockdev-bug.patch
@@ -0,0 +1,31 @@
+From bf776a6a38a79f3518b7a5f8866d789aa377e467 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= <karel.koci@nic.cz>
+Date: Mon, 5 Dec 2016 07:54:27 +0100
+Subject: [PATCH 2/2] Add documentation about known bug with lockdev to man
+
+---
+ sterm.man | 8 +++++++-
+ 1 file changed, 7 insertions(+), 1 deletion(-)
+
+diff --git a/sterm.man b/sterm.man
+index 3a77f2a..07356f6 100644
+--- a/sterm.man
++++ b/sterm.man
+@@ -90,7 +90,13 @@ Any other input in the command mode raises an error and causes the
+ program to exit.
+
+ .SH BUGS
+-No known bugs.
++.I dev_lock(): No such file or directory
++.RS
++This is caused by known bug with lockdev and Systemd on Archlinux. After boot
++there is no directory '/var/lock/lockdev'. You have to create it after every boot
++with:
++ \fBsudo (mkdir /var/lock/lockdev; chown root:lock /var/lock/lockdev)\fR
++.RE
+
+ .SH SEE ALSO
+ .BR minicom (1),
+--
+2.10.2
+