Obsidian-StudiosInc / entrance

General purpose Display Manager built on the Enlightenment Foundation Libraries (EFL)
GNU General Public License v3.0
23 stars 10 forks source link

Entrance.service isn't installed to systemd directories #10

Closed SolarAquarion closed 6 years ago

wltjr commented 6 years ago

I some what left that up to packagers, but I guess I can see about having meson install. Should be a standard location. I am not a systemd user so hard to test, etc. Does it work otherwise under systemd? Think some others had issues there. I will see about addressing ASAP. Thanks for the report!

SolarAquarion commented 6 years ago

/usr/lib/systemd/system/

That's where arch does it. Probably Fedora etc. There could be a "systemdddir" switch to set i suppose

wltjr commented 6 years ago

Thanks, I will check it out, I am pretty sure it should be the same for all. That was part of the idea behind systemd, standardization :)

SolarAquarion commented 6 years ago

lol

On Sun, Dec 3, 2017 at 3:52 PM, William L Thomson Jr < notifications@github.com> wrote:

Thanks, I will check it out, I am pretty sure it should be the same for all. That was part of the idea behind systemd, standardization :)

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/Obsidian-StudiosInc/entrance/issues/10#issuecomment-348813555, or mute the thread https://github.com/notifications/unsubscribe-auth/AFD6iDllWc8qRZxAJ_4_QuC5gtbyK6Gbks5s8woYgaJpZM4Qz3jb .

wltjr commented 6 years ago

Your not even kidding, this is crazy... https://www.freedesktop.org/software/systemd/man/systemd.unit.html

I guess any of those directories... That sure does not seem like standardization or making things better. Init scripts always went into a single directory in a single location. That there are system and user, in addition to the different locations...

Safe to say we are not looking to put this in a user subdir. I would think /etc/ to be the proper location. I assume the /usr/lib is for shared /usr. I am some what confused as I thought they moved everything to under /usr.

Anyway likely a trivial fix once we figure out what directory... :P

SolarAquarion commented 6 years ago

well, /etc or /usr/lib works

On Dec 3, 2017 7:34 PM, "William L Thomson Jr" notifications@github.com wrote:

Your not even kidding, this is crazy... https://www.freedesktop.org/software/systemd/man/systemd.unit.html

I guess any of those directories... That sure does not seem like standardization or making things better. Init scripts always went into a single directory in a single location. That there are system and user, in addition to the different locations...

Safe to say we are not looking to put this in a user subdir. I would think /etc/ to be the proper location. I assume the /usr/lib is for shared /usr. I am some what confused as I thought they moved everything to under /usr.

Anyway likely a trivial fix once we figure out what directory... :P

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/Obsidian-StudiosInc/entrance/issues/10#issuecomment-348833688, or mute the thread https://github.com/notifications/unsubscribe-auth/AFD6iLcPueCzfkgn7_YB32qDmHRzZygvks5s8z4kgaJpZM4Qz3jb .

wltjr commented 6 years ago

I think I will go with your suggested /usr/lib. Seems like /etc is proper, but I feel like they are merging stuff into /usr so that maybe safest. /usr will always be there, not sure about /etc :)

This clarifies it a bit https://unix.stackexchange.com/questions/206315/what-is-difference-between-usr-lib-and-etc-systemd

Not sure what category this falls. I guess since not coming as part of distribution it goes in /etc. I guess to separate out base system as provided by upstream and anything an admin has installed.

I am good with either. Which do you think?

SolarAquarion commented 6 years ago

/etc works

On Dec 3, 2017 7:40 PM, "William L Thomson Jr" notifications@github.com wrote:

I think I will go with your suggested /usr/lib. Seems like /etc is proper, but I feel like they are merging stuff into /usr so that maybe safest. /usr will always be there, not sure about /etc :)

This clarifies it a bit https://unix.stackexchange.com/questions/206315/what-is- difference-between-usr-lib-and-etc-systemd

Not sure what category this falls. I guess since not coming as part of distribution it goes in /etc. I guess to separate out base system as provided by upstream and anything an admin has installed.

I am good with either. Which do you think?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/Obsidian-StudiosInc/entrance/issues/10#issuecomment-348834076, or mute the thread https://github.com/notifications/unsubscribe-auth/AFD6iAAPwZ0RwsgKt2xOU9q30Hewkv1Aks5s8z9tgaJpZM4Qz3jb .

wltjr commented 6 years ago

Ok there you go. Turns out I had the block already just under has_pam vs has_logind. There is no code written for logind/elogind. I assume this works under systemd, no clue. Past problems I think were due to use of sudo which I got rid of. Maybe that was needed for systemd, or not. I need to setup some travis tests builds, with other options. Though not sure I can start entrance under travis. Do not care about an UI, logs would be enough. Likely have to break down and setup another VM. Been on my todo list for over a year. Still bitter I lost a 1TB spinning disk that was like 1yr old. Last spinning disk drive I had and of course where I had my debian and centos dev vms. Next time will do one for arch, as I think that should be the main 3. Also need to do FreeBSD. Though if I go that route I may switch to FreeBSD myself. Its what I would run if I stopped running Gentoo and was not using say Funtoo. Love the FreeBSD Foundation and the organization all around.

wltjr commented 6 years ago

Great I guess that resolved it :) Thanks for testing!