You are not logged in.
Hi,
I'm new in OpenRC. Recently I installed OpenRC following this guide. I just reached step 1.
After reboot, I get the error:
sysctl: cannot open "/etc/sysctl.conf": No such file or directory
sysctl failed to start
I thought that sysctl.conf was deprecated.
What can I do for leaving the error?
Many thanks
@@aaditya: very good job
Owning one OpenRC (artoo way) and other three systemd machines
Offline
On the other hand, can someone points me an equivalent of netctl with openrc? thanks,
Owning one OpenRC (artoo way) and other three systemd machines
Offline
Hi,
I'm new in OpenRC. Recently I installed OpenRC following this guide. I just reached step 1.
After reboot, I get the error:
sysctl: cannot open "/etc/sysctl.conf": No such file or directory sysctl failed to start
I thought that sysctl.conf was deprecated.
What can I do for leaving the error?
Many thanks
@@aaditya: very good job
Hi xanb,
TBH most of the work was artoo's, mine was documentation
sysctl.conf is deprecated wrt systemd, but not OpenRC I think.
You could create a sysctl.conf file with
sudo touch /etc/sysctl.conf
and that error would probably go away (I will add a note about it in the guide).
For something like netctl, maybe you could look at wicd which has wicd-curses.
Offline
xanb wrote:Hi,
I'm new in OpenRC. Recently I installed OpenRC following this guide. I just reached step 1.
After reboot, I get the error:
sysctl: cannot open "/etc/sysctl.conf": No such file or directory sysctl failed to start
I thought that sysctl.conf was deprecated.
What can I do for leaving the error?
Many thanks
@@aaditya: very good jobHi xanb,
TBH most of the work was artoo's, mine was documentation
sysctl.conf is deprecated wrt systemd, but not OpenRC I think.
You could create a sysctl.conf file with
sudo touch /etc/sysctl.conf
and that error would probably go away (I will add a note about it in the guide).
For something like netctl, maybe you could look at wicd which has wicd-curses.
Thank you very much. For the netctl substitution I re-discovered netcfg. Perhaps it's better if you install before the reboot of the step 1 of this guide.
Thanks,
Owning one OpenRC (artoo way) and other three systemd machines
Offline
Thank you very much. For the netctl substitution I re-discovered netcfg. Perhaps it's better if you install before the reboot of the step 1 of this guide.
Thanks,
Indeed, there seems to be a netcfg package in the AUR which I didnt know about, thx
sysctl error is not much serious in my opinion, more like a warning.
Offline
Changing topic: I see that systemd has a lot (lot) of dependencies:
pacman -Sii systemd
for example gives me procps-ng, lighttpd, lvm2, xorg-xdm, chromium, docker, ...
I this really true?
Thanks,
Owning one OpenRC (artoo way) and other three systemd machines
Offline
Changing topic: I see that systemd has a lot (lot) of dependencies:
pacman -Sii systemd
for example gives me procps-ng, lighttpd, lvm2, xorg-xdm, chromium, docker, ...
I this really true?
Thanks,
A lot of packages are dependent on udev rather than systemd, but as it is the same package, yup..
Offline
@xanb
There's also openrc-systemdcompat package which you will install and won't have any problem with packages depending on systemd.
Offline
@xanb
There's also openrc-systemdcompat package which you will install and won't have any problem with packages depending on systemd.
OK. Thanks a lot.
Owning one OpenRC (artoo way) and other three systemd machines
Offline
Just a very radical point: I have a remote server in which I want to install OpenRC (and remove systemd). But if I follow the guide of aaditya [https://abchk1234.wordpress.com/2014/06 … aro-linux/], then after step 1 (reboot), I would loose my ssh connection.
Is there any way of putting ssh as a service of openrc *before* rebooting (end of step 1)? How?
Apart of that, my server is ARM, so I have to trick the packages, but I think I will survive.... ;-)
Owning one OpenRC (artoo way) and other three systemd machines
Offline
Just a very radical point: I have a remote server in which I want to install OpenRC (and remove systemd). But if I follow the guide of aaditya [https://abchk1234.wordpress.com/2014/06 … aro-linux/], then after step 1 (reboot), I would loose my ssh connection.
Is there any way of putting ssh as a service of openrc *before* rebooting (end of step 1)? How?
Apart of that, my server is ARM, so I have to trick the packages, but I think I will survive.... ;-)
Before rebooting you could do:
sudo pacman -S openssh-openrc
sudo rc-service sshd start
sudo rc-update add sshd
Offline
xanb wrote:Thank you very much. For the netctl substitution I re-discovered netcfg. Perhaps it's better if you install before the reboot of the step 1 of this guide.
Thanks,
Indeed, there seems to be a netcfg package in the AUR which I didnt know about, thx
sysctl error is not much serious in my opinion, more like a warning.
Here you have the git tree and here its official page. You can look to old documentation here (be aware that the wiki version has to be later than 2012-05-13). I think we could contact software developer for maintain this tool. I think it's a great tool for who use the OpenRC. What do you think?
Last edited by xanb (2014-12-31 15:36:34)
Owning one OpenRC (artoo way) and other three systemd machines
Offline
xanb wrote:Just a very radical point: I have a remote server in which I want to install OpenRC (and remove systemd). But if I follow the guide of aaditya [https://abchk1234.wordpress.com/2014/06 … aro-linux/], then after step 1 (reboot), I would loose my ssh connection.
Is there any way of putting ssh as a service of openrc *before* rebooting (end of step 1)? How?
Apart of that, my server is ARM, so I have to trick the packages, but I think I will survive.... ;-)
Before rebooting you could do:
sudo pacman -S openssh-openrc sudo rc-service sshd start sudo rc-update add sshd
Thanks. I will try.
Owning one OpenRC (artoo way) and other three systemd machines
Offline
aaditya wrote:xanb wrote:Thank you very much. For the netctl substitution I re-discovered netcfg. Perhaps it's better if you install before the reboot of the step 1 of this guide.
Thanks,
Indeed, there seems to be a netcfg package in the AUR which I didnt know about, thx
sysctl error is not much serious in my opinion, more like a warning.
Here you have the git tree and here its official page. You can look to old documentation here (be aware that the wiki version has to be later than 2012-05-13). I think we could contact software developer for maintain this tool. I think it's a great tool for who use the OpenRC. What do you think?
If it works, I would say just use it.
If it does not, maybe contact the authors (who may have moved on to systemd and may not be interested anymore).
Maybe you can find something in the Gentoo networking docs:
https://wiki.gentoo.org/wiki/Handbook:X … figuration
Offline
xanb wrote:aaditya wrote:Indeed, there seems to be a netcfg package in the AUR which I didnt know about, thx
sysctl error is not much serious in my opinion, more like a warning.
Here you have the git tree and here its official page. You can look to old documentation here (be aware that the wiki version has to be later than 2012-05-13). I think we could contact software developer for maintain this tool. I think it's a great tool for who use the OpenRC. What do you think?
If it works, I would say just use it.
If it does not, maybe contact the authors (who may have moved on to systemd and may not be interested anymore).Maybe you can find something in the Gentoo networking docs:
https://wiki.gentoo.org/wiki/Handbook:X … figuration
I try to start automatically my wifi using netcfg. I use this page: https://www.archlinux.org/netcfg/features.html, but net-profiles is missing service. Can anyone could help me to write it?
Thanks,
Owning one OpenRC (artoo way) and other three systemd machines
Offline
I try to start automatically my wifi using netcfg. I use this page: https://www.archlinux.org/netcfg/features.html, but net-profiles is missing service. Can anyone could help me to write it?
Thanks,
I find this: https://github.com/kylef/netcfg/blob/0d … t-profiles but I don't know how to adapt to OpenRC.. No, I think, this is better: https://projects.archlinux.org/netcfg.git/tree/scripts
Last edited by xanb (2014-12-31 16:00:03)
Owning one OpenRC (artoo way) and other three systemd machines
Offline
Check this post on page 5 of this thread :
https://bbs.archlinux.org/viewtopic.php … 8#p1211408
That's the service i've been using with openrc apg packages for a long time now.
You just have to adapt it artoo way of configuring openrc.
Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
clean chroot building not flexible enough ?
Try clean chroot manager by graysky
Offline
Check this post on page 5 of this thread :
https://bbs.archlinux.org/viewtopic.php … 8#p1211408That's the service i've been using with openrc apg packages for a long time now.
You just have to adapt it artoo way of configuring openrc.
Thanks a lot, Lone_Wolf. But I need multiple profiles. I have my profiles in
NETWORKS =(@myprof @anotherprof)
in /etc/conf.d/netcfg
And surely I have no idea of adapting such thing. I'm newbee here :-) Can anyone help me? thanks in advance and happy new year!
Owning one OpenRC (artoo way) and other three systemd machines
Offline
When I update to new openrc 0.13.6-1 I get:
error: openrc-core: signature from "Aaditya Bagga <...>" is unknown trust
....
error: failed to commit transaction (invalid or corrupted package (PGP signature))
Owning one OpenRC (artoo way) and other three systemd machines
Offline
When I update to new openrc 0.13.6-1 I get:
error: openrc-core: signature from "Aaditya Bagga <...>" is unknown trust .... error: failed to commit transaction (invalid or corrupted package (PGP signature))
Hi Xanb,
I had tried the update on my Arch VM, it had worked there.
Maybe you downloaded a corrupt package, or the key is missing, in which case you could try the following:
sudo rm /var/cache/pacman/pkg/openrc-core-0.13.6-1-*
sudo pacman-key -r 518B147D
sudo pacman-key --lsign 518B147D
sudo pacman -Syu
Offline
xanb wrote:When I update to new openrc 0.13.6-1 I get:
error: openrc-core: signature from "Aaditya Bagga <...>" is unknown trust .... error: failed to commit transaction (invalid or corrupted package (PGP signature))
Hi Xanb,
I had tried the update on my Arch VM, it had worked there.
Maybe you downloaded a corrupt package, or the key is missing, in which case you could try the following:
sudo rm /var/cache/pacman/pkg/openrc-core-0.13.6-1-* sudo pacman-key -r 518B147D sudo pacman-key --lsign 518B147D sudo pacman -Syu
No. It does not work. The problem is not with old files is with new ones (even if I run pacman-key with no problems):
error: openrc-core: signature from "Aaditya Bagga <...>" is unknown trust
:: File /var/cache/pacman/pkg/openrc-core-0.13.6-1-x86_64.tar.xz is corrupted (invalid or corrupted package (PGP signature))
Do you want to delete it? [Y/n]
... (in every single package the same message appears)
error: failed to commit transaction (invalid or corrupted package (PGP signature))
Owning one OpenRC (artoo way) and other three systemd machines
Offline
I know the reason: date is not properly set. Sorry for the inconvenience. My fault. I have to install ntp
Owning one OpenRC (artoo way) and other three systemd machines
Offline
I have to rebuild the entire pacman-key for this minimal issue. Now, no problem. Thanks.
Owning one OpenRC (artoo way) and other three systemd machines
Offline
I have to rebuild the entire pacman-key for this minimal issue. Now, no problem. Thanks.
Ah, and there is haveged-openrc package for the haveged service if you need it in the future
Offline
xanb wrote:I have to rebuild the entire pacman-key for this minimal issue. Now, no problem. Thanks.
Ah, and there is haveged-openrc package for the haveged service if you need it in the future
Thank you very much.
Owning one OpenRC (artoo way) and other three systemd machines
Offline