Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 497340

Summary: gnome-base/gdm-2* installs systemd unit file in /usr/portage/gnome-base/gdm/files/3.2.1.1/gdm.service instead of /usr/lib/systemd/system/gdm.service
Product: Gentoo Linux Reporter: three sixes <666threesixes666>
Component: [OLD] GNOMEAssignee: Gentoo Linux Gnome Desktop Team <gnome>
Status: RESOLVED OBSOLETE    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description three sixes 2014-01-07 01:42:52 UTC
gdm2 systemd unit file is located @ /usr/portage/gnome-base/gdm/files/3.2.1.1/gdm.service instead of @ /usr/lib/systemd/system/gdm.service

i have verified the contents work for systemd already it just needs migration.  in case i got the file in a strange fluke of things here are its contents.

[Unit]
Description=GNOME Display Manager
After=systemd-user-sessions.service

[Service]
ExecStart=/usr/bin/gdm --nodaemon
Type=dbus
BusName=org.gnome.DisplayManager

[Install]
WantedBy=graphical.target

Reproducible: Always

Steps to Reproduce:
1. mask gdm 3.x.x
2. emerge gdm 2.x.x
3. ???
4. profit!!!

im working on building this up as i seen forums posts about it.
https://wiki.gentoo.org/wiki/GNOME/gdm
Actual Results:  
cp /usr/portage/gnome-base/gdm/files/3.2.1.1/gdm.service /usr/lib/systemd/system/gdm.service

systemctl enable gdm
systemctl start gdm
success!

Expected Results:  
not having to run a hurricane of commands and copy paste files from one part of the system to the other.

"
systemctl enable gdm
systemctl start gdm
success!
"
only

i love you guys
Comment 1 Steev Klimaszewski (RETIRED) gentoo-dev 2014-01-07 20:31:34 UTC
You're misunderstanding.  The systemd unit file isn't *installed* there, it's in there so that the ebuild (likely 3.x gdm ebuilds) copy it as part of *their* installation process.  So you probably want to add that to the 2.x gdm ebuild as well.
Comment 2 three sixes 2014-02-28 17:18:47 UTC
gnome2 out the window