summarylogtreecommitdiffstats
path: root/known-lockdev-bug.patch
diff options
context:
space:
mode:
authorKarel Kočí2016-12-05 08:14:58 +0100
committerKarel Kočí2016-12-05 08:18:04 +0100
commit1a587a652d1fb54a9a115606905a76ca28f0840c (patch)
tree02f64cc3ea58c6da9940d0ece6fe8d08a4a53cf8 /known-lockdev-bug.patch
downloadaur-1a587a652d1fb54a9a115606905a76ca28f0840c.tar.gz
Create ttysterm package
Exeecutable it installs is named sterm, but because there is other project named sterm alreary in aur tty prefix is added to signal that this is terminal serial console, not graphical terminal.
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
+