[opensuse] On switching from runlevel 3 to 5, two partitions are umounted (by systemd??)
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi, I boot this system in level 3, text mode with network. Some times I manually mount two encrypted partitions there, as root. Then I switch to runlevel 5, and log in. Eventually, I noticed that those two partitions were not mounted. I thought that perhaps I did not mount them. So this time I checked. I mounted them, and verified that the content was available. I then started level 5 (init 5). I typed ctrl-alt-f1, and listed the content of those partitions: not mounted. Not only that, but the "/dev/mapper/..." device had disappeared as well. This is 12.3. Problem happens on every boot. - -- Cheers, Carlos E. R. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (GNU/Linux) iEYEARECAAYFAlJCJEEACgkQtTMYHG2NR9WmBgCfTk0PfcGUXxYh6VN8Exeeik8A xQ4An1RLzrsBnSC9rrANb1vCDbx6d3Q3 =z19R -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
El 24/09/13 20:46, Carlos E. R. escribió:
Hi,
I boot this system in level 3, text mode with network.
First, there is no such thing as level 3 "text mode with network" anymore, though to the user it looks like that ( a compatibility shim) This arbitrary divisions of the sysvinit era no longer exist. Some times I
manually mount two encrypted partitions there, as root. Then I switch to runlevel 5, and log in.
Eventually, I noticed that those two partitions were not mounted. I thought that perhaps I did not mount them. So this time I checked. I mounted them, and verified that the content was available. I then started level 5 (init 5). I typed ctrl-alt-f1, and listed the content of those partitions: not mounted.
OK, this was probably a bug already fixed in systemd 199.. Not only that, but the "/dev/mapper/..."
device had disappeared as well.
Now we are talking about something completely different, (udev/lvm/kernel) and not about the systemd mount logic. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Tuesday, 2013-09-24 at 21:18 -0300, Cristian Rodríguez wrote:
I boot this system in level 3, text mode with network.
First, there is no such thing as level 3 "text mode with network" anymore, though to the user it looks like that ( a compatibility shim) This arbitrary divisions of the sysvinit era no longer exist.
Yes, there is. See photo - corresponds to 13.1 Beta. <http://susepaste.org/89180823> (red mark on the wrong place - look two paragraphs above it) That's YaST during installation, talking of "level 3" >:-) - -- Cheers, Carlos E. R. (from 12.3 x86_64 "Dartmouth" at Telcontar) -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (GNU/Linux) iEYEARECAAYFAlJGLbYACgkQtTMYHG2NR9VhzQCfZ+vSBL2wC1F4XI5hzxf73gvA ogcAnRkl36Gxkj0gFfpcybzJ55A6qtFG =g4eX -----END PGP SIGNATURE-----
El 27/09/13 22:15, Carlos E. R. escribió:
That's YaST during installation, talking of "level 3" >:-)
Heh, yast is wrong. or lets say outdated. the "runlevel" terminology was already removed from the new system-services module that replaces yast-runlevel but some dialogs still refer to "runlevel". It should say "Default target" multiuser with network.. -- "Judging by their response, the meanest thing you can do to people on the Internet is to give them really good software for free". - Anil Dash -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Wednesday, 2013-09-25 at 01:46 +0200, Carlos E. R. wrote:
Hi,
I boot this system in level 3, text mode with network. Some times I manually mount two encrypted partitions there, as root. Then I switch to runlevel 5, and log in.
Eventually, I noticed that those two partitions were not mounted. I thought that perhaps I did not mount them. So this time I checked. I mounted them, and verified that the content was available. I then started level 5 (init 5). I typed ctrl-alt-f1, and listed the content of those partitions: not mounted. Not only that, but the "/dev/mapper/..." device had disappeared as well.
This is 12.3.
Problem happens on every boot.
Log entries proving this: <10.5> 2013-09-25 01:24:41 Telcontar login - - - ROOT LOGIN ON tty1 <3.6> 2013-09-25 01:25:35 Telcontar systemd 1 - - Found device /dev/disk/by-uuid/8a177751-d9ba-472c-9d5d-d868ca5407d8. <3.6> 2013-09-25 01:25:35 Telcontar systemd 1 - - Found device /dev/disk/by-label/other. <3.6> 2013-09-25 01:25:35 Telcontar systemd 1 - - Found device /dev/disk/by-id/dm-uuid-CRYPT-LUKS1-35ddcabc7e6f4ffeb5e573a942da6425-cr_other. <3.6> 2013-09-25 01:25:35 Telcontar systemd 1 - - Found device /dev/disk/by-id/dm-name-cr_other. <3.6> 2013-09-25 01:25:35 Telcontar systemd 1 - - Found device /dev/dm-1. <3.6> 2013-09-25 01:25:35 Telcontar systemd 1 - - Found device /sys/devices/virtual/block/dm-1. <3.6> 2013-09-25 01:25:35 Telcontar systemd 1 - - Starting Cryptography Setup for cr_other... <3.6> 2013-09-25 01:25:35 Telcontar systemd-cryptsetup 4100 - - Volume cr_other already active. <3.6> 2013-09-25 01:25:35 Telcontar systemd 1 - - Started Cryptography Setup for cr_other. <3.6> 2013-09-25 01:25:38 Telcontar systemd 1 - - Found device /dev/disk/by-uuid/0c698c18-157e-4a9f-ad39-054228b372c6. <3.6> 2013-09-25 01:25:38 Telcontar systemd 1 - - Found device /dev/disk/by-label/Datum. <3.6> 2013-09-25 01:25:38 Telcontar systemd 1 - - Found device /dev/disk/by-id/dm-uuid-CRYPT-LUKS1-39334baa941f42aba0a47c20a427aff2-cr_Datum. <3.6> 2013-09-25 01:25:38 Telcontar systemd 1 - - Found device /dev/disk/by-id/dm-name-cr_Datum. <3.6> 2013-09-25 01:25:38 Telcontar systemd 1 - - Found device /dev/dm-2. <3.6> 2013-09-25 01:25:38 Telcontar systemd 1 - - Found device /sys/devices/virtual/block/dm-2. <3.6> 2013-09-25 01:25:38 Telcontar systemd 1 - - Starting Cryptography Setup for cr_Datum... <3.6> 2013-09-25 01:25:38 Telcontar systemd-cryptsetup 4142 - - Volume cr_Datum already active. <3.6> 2013-09-25 01:25:38 Telcontar systemd 1 - - Started Cryptography Setup for cr_Datum. <0.5> 2013-09-25 01:25:39 Telcontar kernel - - - [ 208.540714] XFS (dm-1): Mounting Filesystem <0.6> 2013-09-25 01:25:40 Telcontar kernel - - - [ 208.665690] XFS (dm-1): Ending clean mount <0.5> 2013-09-25 01:25:40 Telcontar kernel - - - [ 208.682251] XFS (dm-2): Mounting Filesystem <0.6> 2013-09-25 01:25:40 Telcontar kernel - - - [ 208.821286] XFS (dm-2): Ending clean mount <3.6> 2013-09-25 01:26:10 Telcontar systemd 1 - - Unmounting /data/Datum... <=============== <3.6> 2013-09-25 01:26:10 Telcontar systemd 1 - - Stopping /sys/devices/virtual/block/dm-2. <=============== <3.6> 2013-09-25 01:26:10 Telcontar systemd 1 - - last message repeated 5 times <3.6> 2013-09-25 01:26:10 Telcontar systemd 1 - - Stopping Cryptography Setup for cr_Datum... <=============== <3.6> 2013-09-25 01:26:10 Telcontar systemd 1 - - Unmounting /data/other... <3.6> 2013-09-25 01:26:10 Telcontar systemd 1 - - Stopping /sys/devices/virtual/block/dm-1. <=============== <3.6> 2013-09-25 01:26:10 Telcontar systemd 1 - - last message repeated 4 times <3.6> 2013-09-25 01:26:10 Telcontar systemd 1 - - Stopping Authorization Manager... <3.6> 2013-09-25 01:26:10 Telcontar systemd 1 - - Stopping Console Manager... <3.6> 2013-09-25 01:26:10 Telcontar systemd 1 - - Stopping CUPS Printing Service... Why has systemd to stop those services? Why has it to umount my partitions? Those are not my orders :-/ - -- Cheers, Carlos E. R. (from 12.3 x86_64 "Dartmouth" at Telcontar) -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (GNU/Linux) iEYEARECAAYFAlJCLHUACgkQtTMYHG2NR9U+UQCfQ/Z1w1xhlSRdPqOwd/XV2p6P 9ycAn0G+sDpM6ZIFIZTt52awhfywUB3r =iZn+ -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
El 24/09/13 21:21, Carlos E. R. escribió:
(dm-2): Mounting Filesystem <0.6> 2013-09-25 01:25:40 Telcontar kernel - - - [ 208.821286] XFS (dm-2): Ending clean mount
OK, and *here* you issued init 5 right ?.
Why has it to umount my partitions? Those are not my orders :-/
It looks like a bug, the question is if it is already fixed or not. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Content-ID: <alpine.LNX.2.00.1309250247240.13249@Telcontar.valinor> On Tuesday, 2013-09-24 at 21:39 -0300, Cristian Rodríguez wrote:
El 24/09/13 21:21, Carlos E. R. escribió:
(dm-2): Mounting Filesystem <0.6> 2013-09-25 01:25:40 Telcontar kernel - - - [ 208.821286] XFS (dm-2): Ending clean mount
OK, and *here* you issued init 5 right ?.
I guess that somewhere around there, the fact is not logged. it must be between these two lines, judging be the timestamp difference: <0.6> 2013-09-25 01:25:40 Telcontar kernel - - - [ 208.821286] XFS (dm-2): Ending clean mount <3.6> 2013-09-25 01:26:10 Telcontar systemd 1 - - Unmounting /data/Datum...
Why has it to umount my partitions? Those are not my orders :-/
It looks like a bug, the question is if it is already fixed or not.
Sigh. But it is such a waste: things like stopping cups, for instance, and restarting it again moments later. - -- Cheers, Carlos E. R. (from 12.3 x86_64 "Dartmouth" at Telcontar) -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (GNU/Linux) iEYEARECAAYFAlJCNqMACgkQtTMYHG2NR9WFbACeLgMKeJoXnvVZZNQjyaSv7XT3 8N0An36LkwSyp9jFPMAMBHBW0UxsJVQw =WXJM -----END PGP SIGNATURE-----
Carlos E. R. wrote:
Sigh.
But it is such a waste: things like stopping cups, for instance, and restarting it again moments later.
But with systemd stopping and starting things is so fast that you've got some time to spare :-) -- Per Jessen, Zürich (12.8°C) http://www.dns24.ch/ - free DNS hosting, made in Switzerland. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Wednesday, 2013-09-25 at 08:09 +0200, Per Jessen wrote:
Carlos E. R. wrote:
Sigh.
But it is such a waste: things like stopping cups, for instance, and restarting it again moments later.
But with systemd stopping and starting things is so fast that you've got some time to spare :-)
It is not that fast, it takes about half a minute to go from one level to the other. Some times more, waiting for something or other. Now I know why it is not fast >:-) (it still has to learn tricks from system V) - -- Cheers, Carlos E. R. (from 12.3 x86_64 "Dartmouth" at Telcontar) -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (GNU/Linux) iEYEARECAAYFAlJG7TUACgkQtTMYHG2NR9VehACgiL2FoswU50slrxv/8LnnUYn0 5o8An3jNlRjqQkY6tg88ET9XJcnEE+lb =gOLm -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Carlos E. R. wrote:
But it is such a waste: things like stopping cups, for instance, and restarting it again moments later.
Maybe systemd needs run levels so it can keep track of where it is and where it is going so as to not go through unnecessary transitions? -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 В Wed, 25 Sep 2013 02:21:09 +0200 (CEST) "Carlos E. R." <robin.listas@telefonica.net> пишет:
<3.6> 2013-09-25 01:25:35 Telcontar systemd 1 - - Starting Cryptography Setup for cr_other... ...
Why has systemd to stop those services?
Most likely because crypto service is not in the dependency closure of runlevel5.target and does not have IgnoreOnIsolate flag set. Could you show systemctl show systemd-cryptsetup@cr_other.service -p IgnoreOnIsolate
Why has it to umount my partitions? Those are not my orders :-/
That is side effect of stopping crypto services. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (GNU/Linux) iEYEARECAAYFAlJCZU4ACgkQR6LMutpd94z7lgCcCtpQbkpI7caWJKDGZ3Uuc2uf G/oAn2KTs8IMt+C4dBGBQkqZDml6riMT =U4wi -----END PGP SIGNATURE-----
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Wednesday, 2013-09-25 at 08:23 +0400, Andrey Borzenkov wrote:
В Wed, 25 Sep 2013 02:21:09 +0200 (CEST) "Carlos E. R." <> пишет:
<3.6> 2013-09-25 01:25:35 Telcontar systemd 1 - - Starting Cryptography Setup for cr_other... ...
Why has systemd to stop those services?
Most likely because crypto service is not in the dependency closure of runlevel5.target and does not have IgnoreOnIsolate flag set. Could you show
systemctl show systemd-cryptsetup@cr_other.service -p IgnoreOnIsolate
IgnoreOnIsolate=no - -- Cheers, Carlos E. R. (from 12.3 x86_64 "Dartmouth" at Telcontar) -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (GNU/Linux) iEYEARECAAYFAlJG7fUACgkQtTMYHG2NR9Ui6QCfSjffunezzznezOIHA8bKc7D8 V+oAni1LfsSDJgIhKiesy6qJTAg1sKUM =B99N -----END PGP SIGNATURE-----
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 В Sat, 28 Sep 2013 16:55:49 +0200 (CEST) "Carlos E. R." <robin.listas@telefonica.net> пишет:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On Wednesday, 2013-09-25 at 08:23 +0400, Andrey Borzenkov wrote:
В Wed, 25 Sep 2013 02:21:09 +0200 (CEST) "Carlos E. R." <> пишет:
<3.6> 2013-09-25 01:25:35 Telcontar systemd 1 - - Starting Cryptography Setup for cr_other... ...
Why has systemd to stop those services?
Most likely because crypto service is not in the dependency closure of runlevel5.target and does not have IgnoreOnIsolate flag set. Could you show
systemctl show systemd-cryptsetup@cr_other.service -p IgnoreOnIsolate
IgnoreOnIsolate=no
Unfortunately, there is no easy way to override in 12.3 it as unit definitions are autogenerated. In 13.1 it can be worked around. Care to open bug report and post number? I think it should be fixed for 13.1 while there is time. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (GNU/Linux) iEYEARECAAYFAlJG7yUACgkQR6LMutpd94z/sQCfZGZjlBkTMZYzp6xMw8q/P/uF g8IAn2mD57wG1yZVXo9vFeAf8rmcvSSC =SqZd -----END PGP SIGNATURE----- N▀╖╡ФЛr╦⌡yИ ┼Z)z{.╠О╝·к⌡╠йБmЙ)z{.╠Й+│:╒{Zrшaz▄'z╥╕j)h╔ИЛ╨г╬ё ч╝┼^·к╛z┼Ю
El 28/09/13 11:55, Carlos E. R. escribió:
IgnoreOnIsolate=no
Andrey submitted a patch to systemd-devel to get this fixed for 13.1 .. -- "If debugging is the process of removing bugs, then programming must be the process of putting them in." - Edsger Dijkstra -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Sunday, 2013-09-29 at 15:44 -0300, Cristian Rodríguez wrote:
El 28/09/13 11:55, Carlos E. R. escribió:
IgnoreOnIsolate=no
Andrey submitted a patch to systemd-devel to get this fixed for 13.1 ..
Then there is no need for me to report in bugzilla? - -- Cheers, Carlos E. R. (from 12.3 x86_64 "Dartmouth" at Telcontar) -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (GNU/Linux) iEYEARECAAYFAlJIvGcACgkQtTMYHG2NR9XHAQCZAYKDRj3JAEEfesxI7lCIONJA EvAAnifWH7w487i94ReXbL3JAwJ/jra9 =l/co -----END PGP SIGNATURE-----
El 29/09/13 20:48, Carlos E. R. escribió:
On Sunday, 2013-09-29 at 15:44 -0300, Cristian Rodríguez wrote:
El 28/09/13 11:55, Carlos E. R. escribió:
IgnoreOnIsolate=no
Andrey submitted a patch to systemd-devel to get this fixed for 13.1 ..
Then there is no need for me to report in bugzilla?
if it needs to be fixed in 12.3 ..then yes.. pointing to this commit http://cgit.freedesktop.org/systemd/systemd/commit/?id=4469ff4adebbed4778e7f... -- "If debugging is the process of removing bugs, then programming must be the process of putting them in." - Edsger Dijkstra -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Content-ID: <alpine.LNX.2.00.1310031945040.6639@Telcontar.valinor> On Sunday, 2013-09-29 at 21:14 -0300, Cristian Rodríguez wrote:
El 29/09/13 20:48, Carlos E. R. escribió:
Then there is no need for me to report in bugzilla?
if it needs to be fixed in 12.3 ..then yes.. pointing to this commit http://cgit.freedesktop.org/systemd/systemd/commit/?id=4469ff4adebbed4778e7f...
Ok, done. <https://bugzilla.novell.com/show_bug.cgi?id=843085> - -- Cheers, Carlos E. R. (from 12.3 x86_64 "Dartmouth" at Telcontar) -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (GNU/Linux) iEYEARECAAYFAlJNrSQACgkQtTMYHG2NR9WewACZAawjrLnGyIXcC0DFZ/QWcJbd K9QAnibG7TgL2IeuYwDLb8FffLQ1BXvN =/xwZ -----END PGP SIGNATURE-----
participants (6)
-
Andrey Borzenkov
-
Carlos E. R.
-
Carlos E. R.
-
Cristian Rodríguez
-
Linda Walsh
-
Per Jessen