Difference between revisions of "Talk:Systemd"

From ArchWiki
Jump to: navigation, search
(Should we add a note about CUPS under 'Transitioning from initscripts to systemd'?)
(video group is still needed!: Remove closed discussion.)
Line 34: Line 34:
 
:::::: Got an answer to the question on the systemd mailing list now: [http://lists.freedesktop.org/archives/systemd-devel/2012-October/007245.html Link]  
 
:::::: Got an answer to the question on the systemd mailing list now: [http://lists.freedesktop.org/archives/systemd-devel/2012-October/007245.html Link]  
 
::::::-- [[User:Jakobh|jakobh]] [[User talk:Jakobh|✉]]  17:56, 30 October 2012 (UTC)
 
::::::-- [[User:Jakobh|jakobh]] [[User talk:Jakobh|✉]]  17:56, 30 October 2012 (UTC)
 
== <s> video group is still needed! </s> ==
 
 
"Adding your user to groups (optical, audio, scanner, ...) is not necessary for most use cases with systemd. The groups can even cause some functionality to break." ([[Systemd#Supplementary_information]])
 
 
This statement might be too generic. For example, without the video group, mesa will use the llvm driver instead of the Gallium AMD driver in my laptop.<br>
 
-- [[User:MSal|MSal]] ([[User_talk:MSal|talk]]) 22:07, 30 October 2012 (UTC)
 
 
: No, the statement is correct and you don't need the video group. see https://bbs.archlinux.org/viewtopic.php?pid=1183090#p1183090 [[User:65kid|65kid]] ([[User talk:65kid|talk]]) 14:05, 31 October 2012 (UTC)
 
  
 
== GNOME 3.6 issues inhibited commands ==
 
== GNOME 3.6 issues inhibited commands ==

Revision as of 01:38, 12 November 2012

Display manager fails to load with fast SSD

I was having a problem with my display manager (LXDM) not loading on my laptop, which has a Sandisk Extreme SSD. Xorg.log would show errors like "No screens found."

I eventually figured out that the problem was that my computer was booting so fast that KMS didn't have enough time to kick in before X was started. I solved by adding the KMS driver (i915 in my case) to the initramfs.

Just a tip for SSD users, not sure if it should be added to the page or not.
--Steev (talk) 16:59, 2 September 2012 (UTC)

This is a general problem that needs to be solved in the display manager. GDM already implements the bits for the CanGraphical flag.
-- Falconindy (talk) 21:34, 2 September 2012 (UTC)

Hibernation with systemd

The hibernation section should be considered a hack since systemd does not directly handle the backend that handles power management. Systemd uses the Upower interface to handle such requests
-- Yungtrizzle (talk) 06:25, 10 October 2012‎

I talked about hibernation process with Lennart Poettering and he said that systemd-hibernate does only "echo disk > /sys/power/state" . As far as i can see, it works perfectly with tuxonice, since it seems it is now using the same userspace API as kernel hibernation; so it works even without hibernate-script installed (i use it without that package).
-- Nierro (talk) 13:54, 24 October 2012
what is the #Hibernation section all about anyway? It makes it sound like you need to use uswsusp to hibernate while it should work out of the box just fine. It doesn't explain at all why you would want to use uswsusp instead of the default command. I don't use hibernate nor do I know what uswsusp actually does, so what am I missing here?
-- 65kid (talk) 15:12, 25 October 2012 (UTC)
I agree with 65kid. In fact, systemctl hibernate works out of the box (it only does an "echo disk...", nothing else). We don't need uswsusp at all. I tried with stock arch kernel and it works.
-- Nierro (talk) 11:24, 26 October 2012
Then I suggest that - unless someone explains why you would want to use uswsusp - we remove this whole section because it is nothing but confusing. This article is already way too big to waste text on something that doesn't seem to make any sense.
-- 65kid (talk) 10:10, 26 October 2012 (UTC)
I went ahead and removed the irrelevant information from the page, moving it to Uswsusp. I also added a note pointing readers there if they want to use another backend for suspending or hibernating.
-- Ifaigios (talk) 18:16, 26 October 2012 (UTC)
Hey Nierro, do systemctl hibernate and systemctl suspend really do different things on your box? In my setup (linux-pf, systemd 195-2), if I do the latter, my box is also in suspend mode, meaning that my power button is glowing on and off and I don't see grub after pressing the power button again but are back to my desktop almost immediately. To me, it rather seems as if systemctl hibernate goes into hybrid mode?
-- jakobh 10:07, 29 October 2012 (UTC)
Got an answer to the question on the systemd mailing list now: Link
-- jakobh 17:56, 30 October 2012 (UTC)

GNOME 3.6 issues inhibited commands

It seems that GNOME 3.6 now issues the necessary "inhibited" commands, at my system now doesn't suspend twice with the standard configuration anymore. However I'm not familiar enough with the whole concept to be absolutely sure, so I won't update the page itself. Maybe someone with more competence regarding the inhibited commands can confirm this and edit the page?
-- Johnpatcher (talk) 00:34, 31 October 2012 (UTC)


Should we add a note about CUPS under 'Transitioning from initscripts to systemd'?

Are there any more sockets that change?

Copied from the CUPS wiki:

...

Systemd uses a different CUPS socket file located at:

/usr/lib/systemd/system/cups.socket

The default CUPS socket file is located at:

/var/run/cups/cups.sock

Edit /etc/cups/cupsd.conf and /etc/cups/client.conf as root to use the systemd socket instead of the default. Make sure to restart CUPS when you are done:

# systemctl restart cups

...
-- JKAbrams 5 November 2012

This sounds more like a cups packaging bug that should just be fixed.
-- Jstjohn (talk) 01:11, 8 November 2012 (UTC)
It sounds like someone who doesn't have a clue about systemd. That cups.socket file is a systemd unit file of type socket, which contains the location of the socket file for CUPS (and that is still /var/run/cups/cups.sock).
Raynman (talk) 22:49, 9 November 2012 (UTC)