Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

zram.service overwritten by Anaconda. #15

Open
binarybana opened this issue May 29, 2015 · 4 comments
Open

zram.service overwritten by Anaconda. #15

binarybana opened this issue May 29, 2015 · 4 comments

Comments

@binarybana
Copy link

I found this in my (Fedora 21) system today:

$ dnf whatprovides /usr/lib/systemd/system/zram.service
Using metadata from Tue May 19 15:25:37 2015 (9 days, 18:24:36 hours old)
anaconda-core-21.48.22-1.fc21.x86_64 : Core of the Anaconda installer
Repo        : @System

So I think it would be more correct to install zram.service into /etc/systemd/system/ which is where Local Configuration units should be installed (and will mask the anaconda one).

@Hubbitus
Copy link
Contributor

Hubbitus commented Jun 2, 2015

I think it is not common practice to install under /etc/systemd/system/ from packages. It is primarily intended for system administrators customization: https://fedoraproject.org/wiki/Systemd#How_do_I_customize_a_unit_file.2F_add_a_custom_unit_file.3F

@binarybana
Copy link
Author

I can see that point. I guess when I installed this package by cloning from github and running the makefile, I felt like I was customizing my install, but I forgot that the makefile can also generate an rpm.

But there still is the issue of overlap with the Anaconda service file.

@Hubbitus
Copy link
Contributor

Hubbitus commented Jun 3, 2015

May be just rename file is enough?

@binarybana
Copy link
Author

Agreed.

On Wed, Jun 3, 2015, 3:26 AM Pavel Alexeev aka Pahan-Hubbitus <
[email protected]> wrote:

May be just rename file is enough?


Reply to this email directly or view it on GitHub
#15 (comment)
.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants