blob: edb9910241f18619ab45e1adc3075dbc8f99709f (
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
|
<!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=%3C50B9330A.1000302%40unige.ch%3E">
<META NAME="robots" CONTENT="index,nofollow">
<META http-equiv="Content-Type" content="text/html; charset=us-ascii">
<LINK REL="Previous" HREF="008959.html">
</HEAD>
<BODY BGCOLOR="#ffffff">
<H1>[Mageia-discuss] /var/lock/tty on Mageia 3</H1>
<B>Juergen Harms</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=%3C50B9330A.1000302%40unige.ch%3E"
TITLE="[Mageia-discuss] /var/lock/tty on Mageia 3">Juergen.Harms at unige.ch
</A><BR>
<I>Fri Nov 30 23:28:26 CET 2012</I>
<P><UL>
<LI>Previous message: <A HREF="008959.html">[Mageia-discuss] /var/lock/tty on Mageia 3
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#8960">[ date ]</a>
<a href="thread.html#8960">[ thread ]</a>
<a href="subject.html#8960">[ subject ]</a>
<a href="author.html#8960">[ author ]</a>
</LI>
</UL>
<HR>
<!--beginarticle-->
<PRE>On 11/30/2012 08:50 PM, Thomas Backlund wrote:
><i>
</I>><i> Add a /etc/tmpfiles.d/<app_name>.conf
</I>><i>
</I>><i> with the contents:
</I>><i> d /run/tty 0775 root dialout -
</I>><i>
</I>><i>
</I>><i> --
</I>><i> Thomas
</I>><i>
</I>
Thank you, I did not know about tmpfiles.d (which even has a man-page).
That is more correct than the quick fix I had done locally (append the
creation to my /etc/rc.d/rc.local).
There is one issue that is intreaguing: I had already seen, before
posting my original mail, that sometimes /run/lock (sorry for the typo
in that mail) is linked to /run, sometimes it is a plain directory -
sometimes meaning one boot creates the link, another boot does not.
Correspondingly, creating /run/tty sometimes makes /var/lock/tty exist
as a link to that target, but sometimes leaves /var/lock/tty as
non-existing since there is only the link /var/lock -> /run/lock but not
/run/lock -> /run. Looks like a random bug.
Juergen
</PRE>
<!--endarticle-->
<HR>
<P><UL>
<!--threads-->
<LI>Previous message: <A HREF="008959.html">[Mageia-discuss] /var/lock/tty on Mageia 3
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#8960">[ date ]</a>
<a href="thread.html#8960">[ thread ]</a>
<a href="subject.html#8960">[ subject ]</a>
<a href="author.html#8960">[ 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>
|