Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
steam
systemd
Commits
2bcec691
Commit
2bcec691
authored
Feb 15, 2014
by
Michael Stapelberg
Browse files
do a one-time migration of RAMTMP=
from /etc/default/rcS and /etc/default/tmpfs, i.e. enable tmp.mount Closes: #738687
parent
751b8ce6
Changes
2
Hide whitespace changes
Inline
Side-by-side
debian/changelog
View file @
2bcec691
systemd
(
204
-
8
)
UNRELEASED
;
urgency
=
low
[
Michael
Stapelberg
]
*
move
manpages
from
systemd
to
libsystemd
-*-
dev
as
appropriate
(
Closes
:
#
738723
)
*
fix
systemctl
enable
/
disable
/
…
error
message
“
Failed
to
issue
method
call
:
No
such
file
or
directory
”
(
the
previous
upload
did
actually
not
contain
this
fix
due
to
a
merge
conflict
)
(
Closes
:
#
738843
)
[
Michael
Biebl
]
*
do
a
one
-
time
migration
of
RAMTMP
=
from
/
etc
/
default
/
rcS
and
/
etc
/
default
/
tmpfs
,
i
.
e
.
enable
tmp
.
mount
(
Closes
:
#
738687
)
--
Michael
Stapelberg
<
stapelberg
@
debian
.
org
>
Thu
,
13
Feb
2014
22
:
52
:
45
+
0100
systemd
(
204
-
7
)
unstable
;
urgency
=
low
...
...
debian/systemd.postinst
View file @
2bcec691
...
...
@@ -59,6 +59,20 @@ EOF
fi
fi
# Do a one-time migration of the RAMTMP setting
if
dpkg
--compare-versions
"
$2
"
lt
"204-8"
;
then
if
[
-f
/etc/default/rcS
]
;
then
.
/etc/default/rcS
fi
if
[
-f
/etc/default/tmpfs
]
;
then
.
/etc/default/tmpfs
fi
if
[
"
$RAMTMP
"
=
"yes"
]
;
then
# systemctl enable will work even when systemd is not the active PID 1.
systemctl
enable
tmp.mount
||
true
fi
fi
# Create /run/initctl → /dev/initctl compat symlink on upgrades
if
[
-d
/run/systemd/system
]
;
then
_systemctl restart systemd-initctl.socket
||
true
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment