Why Linux startup behaves different with overlayFS?

Clash Royale CLAN TAG#URR8PPP
up vote
0
down vote
favorite
I have an issue related to overlay filesystem, and I don't understand how to overcome it. I hope someone can help:
I have vncserver (tigervnc), and in startup I see that vncserver service has started for all users (root+user) have vncserver (tigervnc).
Recently we added overlayfs using init script as done here:
https://blockdev.io/read-only-rpi/
As you can see in above link, the overlay is above rootfs (rootfs is readonly).
At first, it seemed to me that all works the same (as without overlay).
But today I noticed a strange thing:
With overlay, only the root's vncserver has started, not the user's vncserver.
I have no idea why.
I actually assume that EVERYTHING should be the same whether I use overlay or not, including all the started services.
What can be the reason for this change in behavior of started services per user with overlay ?
The Linux is Gentoo distribution.
filesystems startup readonly overlayfs
add a comment |Â
up vote
0
down vote
favorite
I have an issue related to overlay filesystem, and I don't understand how to overcome it. I hope someone can help:
I have vncserver (tigervnc), and in startup I see that vncserver service has started for all users (root+user) have vncserver (tigervnc).
Recently we added overlayfs using init script as done here:
https://blockdev.io/read-only-rpi/
As you can see in above link, the overlay is above rootfs (rootfs is readonly).
At first, it seemed to me that all works the same (as without overlay).
But today I noticed a strange thing:
With overlay, only the root's vncserver has started, not the user's vncserver.
I have no idea why.
I actually assume that EVERYTHING should be the same whether I use overlay or not, including all the started services.
What can be the reason for this change in behavior of started services per user with overlay ?
The Linux is Gentoo distribution.
filesystems startup readonly overlayfs
add a comment |Â
up vote
0
down vote
favorite
up vote
0
down vote
favorite
I have an issue related to overlay filesystem, and I don't understand how to overcome it. I hope someone can help:
I have vncserver (tigervnc), and in startup I see that vncserver service has started for all users (root+user) have vncserver (tigervnc).
Recently we added overlayfs using init script as done here:
https://blockdev.io/read-only-rpi/
As you can see in above link, the overlay is above rootfs (rootfs is readonly).
At first, it seemed to me that all works the same (as without overlay).
But today I noticed a strange thing:
With overlay, only the root's vncserver has started, not the user's vncserver.
I have no idea why.
I actually assume that EVERYTHING should be the same whether I use overlay or not, including all the started services.
What can be the reason for this change in behavior of started services per user with overlay ?
The Linux is Gentoo distribution.
filesystems startup readonly overlayfs
I have an issue related to overlay filesystem, and I don't understand how to overcome it. I hope someone can help:
I have vncserver (tigervnc), and in startup I see that vncserver service has started for all users (root+user) have vncserver (tigervnc).
Recently we added overlayfs using init script as done here:
https://blockdev.io/read-only-rpi/
As you can see in above link, the overlay is above rootfs (rootfs is readonly).
At first, it seemed to me that all works the same (as without overlay).
But today I noticed a strange thing:
With overlay, only the root's vncserver has started, not the user's vncserver.
I have no idea why.
I actually assume that EVERYTHING should be the same whether I use overlay or not, including all the started services.
What can be the reason for this change in behavior of started services per user with overlay ?
The Linux is Gentoo distribution.
filesystems startup readonly overlayfs
filesystems startup readonly overlayfs
edited 2 mins ago
asked 8 mins ago
ransh
368249
368249
add a comment |Â
add a comment |Â
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f474624%2fwhy-linux-startup-behaves-different-with-overlayfs%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password