blob: f50ed77fd0189a474d204a9d149a83039845e60b (
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<TITLE> [Mageia-discuss] /var/lock/tty on Mageia 3
</TITLE>
<LINK REL="Index" HREF="index.html" >
<LINK REL="made" HREF="mailto:mageia-discuss%40mageia.org?Subject=Re%3A%20%5BMageia-discuss%5D%20/var/lock/tty%20on%20Mageia%203&In-Reply-To=%3C50B90E0E.8020508%40mageia.org%3E">
<META NAME="robots" CONTENT="index,nofollow">
<META http-equiv="Content-Type" content="text/html; charset=us-ascii">
<LINK REL="Previous" HREF="008958.html">
<LINK REL="Next" HREF="008960.html">
</HEAD>
<BODY BGCOLOR="#ffffff">
<H1>[Mageia-discuss] /var/lock/tty on Mageia 3</H1>
<B>Thomas Backlund</B>
<A HREF="mailto:mageia-discuss%40mageia.org?Subject=Re%3A%20%5BMageia-discuss%5D%20/var/lock/tty%20on%20Mageia%203&In-Reply-To=%3C50B90E0E.8020508%40mageia.org%3E"
TITLE="[Mageia-discuss] /var/lock/tty on Mageia 3">tmb at mageia.org
</A><BR>
<I>Fri Nov 30 20:50:38 CET 2012</I>
<P><UL>
<LI>Previous message: <A HREF="008958.html">[Mageia-discuss] /var/lock/tty on Mageia 3
</A></li>
<LI>Next message: <A HREF="008960.html">[Mageia-discuss] /var/lock/tty on Mageia 3
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#8959">[ date ]</a>
<a href="thread.html#8959">[ thread ]</a>
<a href="subject.html#8959">[ subject ]</a>
<a href="author.html#8959">[ author ]</a>
</LI>
</UL>
<HR>
<!--beginarticle-->
<PRE>Juergen Harms skrev 30.11.2012 19:48:
><i> I am having problems with utility programs that do serial I/O and use
</I>><i> locks in /var/lock/tty (and they often require group ownership of this
</I>><i> directory to be dialout (back in the past it was tty).
</I>><i>
</I>><i> In the past, it was sufficient to create /var/lock/tty after system
</I>><i> generation. In Mageia 3 /var/lock/tty now disappears at each reboot,
</I>><i> which breaks the locking facility of these programs (in Mageia 3
</I>><i> /var/lock/ is a link to /var/run, which in turn links to /run)
</I>><i>
</I>><i> Is this design, a bug, a consequence of the run-dir support that comes
</I>><i> with Mageia 3? I guess it is the last. What can be done to make these
</I>><i> programs work again (they run at user level and do not have the
</I>><i> priviledges to, at run-time, create /var/lock/tty with the correct
</I>><i> ownership)?
</I>
Add a /etc/tmpfiles.d/<app_name>.conf
with the contents:
d /run/tty 0775 root dialout -
--
Thomas
</PRE>
<!--endarticle-->
<HR>
<P><UL>
<!--threads-->
<LI>Previous message: <A HREF="008958.html">[Mageia-discuss] /var/lock/tty on Mageia 3
</A></li>
<LI>Next message: <A HREF="008960.html">[Mageia-discuss] /var/lock/tty on Mageia 3
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#8959">[ date ]</a>
<a href="thread.html#8959">[ thread ]</a>
<a href="subject.html#8959">[ subject ]</a>
<a href="author.html#8959">[ author ]</a>
</LI>
</UL>
<hr>
<a href="https://www.mageia.org/mailman/listinfo/mageia-discuss">More information about the Mageia-discuss
mailing list</a><br>
</body></html>
|