summarylogtreecommitdiffstats
path: root/known-lockdev-bug.patch
blob: e4d7f2f357debfcccadc3d14cdf7ae3466176daf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
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