Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
SystemD migration, installation - cryptsetup
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
kernelOfTruth
Watchman
Watchman


Joined: 20 Dec 2005
Posts: 6108
Location: Vienna, Austria; Germany; hello world :)

PostPosted: Mon Nov 09, 2015 2:28 pm    Post subject: SystemD migration, installation - cryptsetup Reply with quote

Hi guys,


I'm currently trying out systemd since I want to migrate to Gnome 3 with its extensions as a replacement (maybe) of Xfce4 + kwin


So ... emerge finished compiling systemd


and when wanting to add cryptsetup, etc. to the boot process (there's some encrypted partitions besides / (root))

Code:
systemctl status


bails out with:

Quote:
Running in chroot, ignoring request.




Well, systemd-nspawn and all its advantages are great but how to do it if the host system outside of the chroot

is still running openRC or other init systems ?


Now it's being processed via /etc/init.d/dmcrypt


With systemd it's done via /etc/crypttab ?

https://wiki.archlinux.org/index.php/Dm-crypt/System_configuration


Thanks in advance for your help :)


edit:


References:

https://forums.gentoo.org/viewtopic-p-7418278.html systemd + cryptsetup (Solved) (2 solutions given) [via busybox]
http://www.freedesktop.org/software/systemd/man/systemd-cryptsetup-generator.html
http://www.freedesktop.org/software/systemd/man/systemd-cryptsetup@.service.html
https://forums.gentoo.org/viewtopic-p-7334238.html Systemd timing out during local disk mount
https://forums.gentoo.org/viewtopic-p-7669202.html [SOLVED] dmcrypt-luks systemd timeout at boottime
_________________
https://github.com/kernelOfTruth/ZFS-for-SystemRescueCD/tree/ZFS-for-SysRescCD-4.9.0
https://github.com/kernelOfTruth/pulseaudio-equalizer-ladspa

Hardcore Gentoo Linux user since 2004 :D
Back to top
View user's profile Send private message
dantrell
Guru
Guru


Joined: 01 Jun 2007
Posts: 565
Location: Earth

PostPosted: Mon Nov 09, 2015 8:28 pm    Post subject: Re: SystemD migration, installation - cryptsetup Reply with quote

kernelOfTruth wrote:
Hi guys,


I'm currently trying out systemd since I want to migrate to Gnome 3 with its extensions as a replacement (maybe) of Xfce4 + kwin

[...]

I remember your previous post here about wanting to try GNOME but not systemd.

Just so you know, this is possible through GNOME Without Systemd and I expect it will continue to be throughout GNOME 3.18 and perhaps 3.20.
_________________
Dantrell B.
Back to top
View user's profile Send private message
kernelOfTruth
Watchman
Watchman


Joined: 20 Dec 2005
Posts: 6108
Location: Vienna, Austria; Germany; hello world :)

PostPosted: Mon Nov 09, 2015 9:06 pm    Post subject: Reply with quote

Thanks dantrell,

I didn't forget about that option but it would have involved additional fiddling with more overlays and/or using the funtoo overlay, ebuilds from funtoo, etc. etc.

Also while working on systemd in an chroot I accidentally b0rked my main install so there was no way back :lol:


I've meanwhile finally managed to kill the dragon so to speak :mrgreen:

and Gnome-Shell and all other parts appear to work fine (if I didn't forget to enable any service)


The animations and the compositing could be somewhat smoother (compared to compiz-fusion and kwin) but at least it works with nvidia-drivers


https://extensions.gnome.org/extension/277/impatience/

might be of help in that regard


The compositing appears rather power-hungry compared to the one from kwin (nvidia-settings oftentimes showing the GPU ramping up to 3rd, max, power level during e.g. switching to Activities)
_________________
https://github.com/kernelOfTruth/ZFS-for-SystemRescueCD/tree/ZFS-for-SysRescCD-4.9.0
https://github.com/kernelOfTruth/pulseaudio-equalizer-ladspa

Hardcore Gentoo Linux user since 2004 :D
Back to top
View user's profile Send private message
dantrell
Guru
Guru


Joined: 01 Jun 2007
Posts: 565
Location: Earth

PostPosted: Mon Nov 09, 2015 9:46 pm    Post subject: Reply with quote

kernelOfTruth wrote:
Thanks dantrell,

I didn't forget about that option but it would have involved additional fiddling with more overlays and/or using the funtoo overlay, ebuilds from funtoo, etc. etc.

It would have involved adding the overlays related to the GNOME release versions you wanted, optionally switching profiles and then upgrading @world but nothing to do with Funtoo. I should know, since I setup the GNOME Without Systemd project, in part, to streamline the install process for Gentoo users. If you ever try it and there's truly some fiddling to be had, let me know so I can smooth things out.

kernelOfTruth wrote:
Also while working on systemd in an chroot I accidentally b0rked my main install so there was no way back :lol:


I've meanwhile finally managed to kill the dragon so to speak :mrgreen:

Glad to hear you got everything working though. :)
_________________
Dantrell B.
Back to top
View user's profile Send private message
krinn
Watchman
Watchman


Joined: 02 May 2003
Posts: 7071

PostPosted: Tue Nov 10, 2015 4:09 am    Post subject: Reply with quote

kernelOfTruth wrote:
The compositing appears rather power-hungry compared to the one from kwin (nvidia-settings oftentimes showing the GPU ramping up to 3rd, max, power level during e.g. switching to Activities)

On my 770 it goes from 2% (nothing on screen except handling the 3360x1050 screen) to 8% gpu usage displaying the cube with gears.
Considering the huge gap i still have to reach its limits, do you have a real weak nvidia card (as mine is far from be high end one) or does gnome3 is that so poorly made?
Back to top
View user's profile Send private message
kernelOfTruth
Watchman
Watchman


Joined: 20 Dec 2005
Posts: 6108
Location: Vienna, Austria; Germany; hello world :)

PostPosted: Tue Nov 10, 2015 9:10 am    Post subject: Reply with quote

krinn wrote:
kernelOfTruth wrote:
The compositing appears rather power-hungry compared to the one from kwin (nvidia-settings oftentimes showing the GPU ramping up to 3rd, max, power level during e.g. switching to Activities)

On my 770 it goes from 2% (nothing on screen except handling the 3360x1050 screen) to 8% gpu usage displaying the cube with gears.
Considering the huge gap i still have to reach its limits, do you have a real weak nvidia card (as mine is far from be high end one) or does gnome3 is that so poorly made?



It's an GTX 760 Phantom - didn't look at the actual gpu usage but the power state jumping from 0 to 3 and then lingering there for some time,

from the behavior of it compared to kwin it's more hungry.


Gnome-Shell is great but the animations are stuttery, the desktop is dumbed down (no easy way to modify the launchers from the dock), no easy maximize (well available), minimize (not available)

and other minor nitpicks throughout.


I'd go with Xfce and compiz-fusion but it doesn't work with the proprietary nvidia drivers (locks the gpu and X up) and nouveau is seemingly too slow for 60fps smoothened playback with mpv + vdpau (and reclocking doesn't appear to work with my particular card)

also I need shortcuts to launch mpv with additional commands for smoothened playback or want to drop a video from konqueror onto a video on the docker,

besides that I don't need a DE that forces me to change my workflow or irritates me

in this important time (got lots of work to do in a short amount of time).


Seems like I have to come up with something different :(



Systemd works fine - it's really fast and several things were migrated automatically (local scripts), btw, besides that syslog-ng doesn't seem to want to start

the error-message output and/or handling with systemd appears to be reduced compared to the "vanilla" daemons and other init systems

still okay, only the limitation of not working in chroot environments easily is somewhat a bummer

but if consistency, security and other factors are improved - I guess I have to re-learn how to do it "properly"
_________________
https://github.com/kernelOfTruth/ZFS-for-SystemRescueCD/tree/ZFS-for-SysRescCD-4.9.0
https://github.com/kernelOfTruth/pulseaudio-equalizer-ladspa

Hardcore Gentoo Linux user since 2004 :D
Back to top
View user's profile Send private message
krinn
Watchman
Watchman


Joined: 02 May 2003
Posts: 7071

PostPosted: Tue Nov 10, 2015 10:05 am    Post subject: Reply with quote

I use myself nvidia-drivers + fusion (that's the cube i speak about) and mate.

It looks odd that xfce would prevent this from working, so you must have done something wrong. Could help digging this out if you wish.
Back to top
View user's profile Send private message
kernelOfTruth
Watchman
Watchman


Joined: 20 Dec 2005
Posts: 6108
Location: Vienna, Austria; Germany; hello world :)

PostPosted: Fri Nov 13, 2015 1:09 am    Post subject: Reply with quote

Thanks a lot for the offer, krinn - I much appreciate you extending a helping hand,

meanwhile I've upgraded to 4.3 kernel with latest upstream nouveau changes (4.4 kernel queue) and reclocking works to 0e (that's the 2nd highest clocking level),

even though error messages are being shown,


compiz-fusion appears to work again with nouveau and the functionality (with userfriendliness a litte reduced compared to "modern" kwin) is fully there

so I guess I'll stay there for a while unless something really weird turns up.



Those errors with compiz and nvidia-drivers were Xid errors, I should have googled for those to diagnose what lies beneath them,

now I can't seem to find the message and I'm hesitant to attempt to trigger it again since last time X froze and no meaningful error output was given :roll:
_________________
https://github.com/kernelOfTruth/ZFS-for-SystemRescueCD/tree/ZFS-for-SysRescCD-4.9.0
https://github.com/kernelOfTruth/pulseaudio-equalizer-ladspa

Hardcore Gentoo Linux user since 2004 :D
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum