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

Udev rules are not creating #74

Closed
fardinkamal62 opened this issue Jan 24, 2022 · 2 comments
Closed

Udev rules are not creating #74

fardinkamal62 opened this issue Jan 24, 2022 · 2 comments

Comments

@fardinkamal62
Copy link

Udev rules are not creating when installing brightnessctl from dnf in Fedora 35. But when I compile manually or install it from apt(I tried in Kubuntu), it does.

@xdbob
Copy link
Contributor

xdbob commented Jan 25, 2022

That's expected. The fedora package is using logind for unprivileged operations the build/install process looks like:

$ make ENABLE_SYSTEMD=1
$ [sudo] make install INSTALL_UDEV_RULES=0 ENABLE_SYSTEMD=1 PREFIX=/usr

And if you are on the master branch:

$ ./configure --enable-logind --prefix=/usr
$ make
$ [sudo] make install

@fardinkamal62
Copy link
Author

That's expected. The fedora package is using logind for unprivileged operations the build/install process looks like:

$ make ENABLE_SYSTEMD=1
$ [sudo] make install INSTALL_UDEV_RULES=0 ENABLE_SYSTEMD=1 PREFIX=/usr

And if you are on the master branch:

$ ./configure --enable-logind --prefix=/usr
$ make
$ [sudo] make install

Yes this works
But if I install it via DNF it doesn't create udev rules; that's what I'm saying
And I saw this in my machine and also on VM

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