Re: [CentOS] How do I confirm importing repo key without user intervention?

2017-03-12 Thread Yuri Kanivetsky
...Check out the full typescript of what happens when installing passenger, please: https://gist.github.com/x-yuri/1dc92db44f89253679ab44f6c3de125c Regards, Yuri ___ CentOS mailing list CentOS@centos.org https://lists.centos.org/mailman/listinfo/centos

Re: [CentOS] How do I confirm importing repo key without user intervention?

2017-03-12 Thread Yuri Kanivetsky
> It looks like the passenger RPM has a script importing the GPG key. Check > using "rpm -q --scripts passenger". >From what I can see, it doesn't: # rpm -q --scripts passenger postinstall scriptlet (using /bin/sh): if /usr/sbin/sestatus | grep 'SELinux status' | grep -q enabled; then actu

Re: [CentOS] How do I confirm importing repo key without user intervention?

2017-03-12 Thread Alexander Dalloz
Am 12.03.2017 um 18:30 schrieb Yuri Kanivetsky: what about importing the key beforehand rpm --import keyfile That's what I do. But when I try to install a package from that (passenger) repository manually, yum wants my confirmation: # curl --fail -sSLo /etc/yum.repos.d/passenger.repo https:

Re: [CentOS] How do I confirm importing repo key without user intervention?

2017-03-12 Thread Yuri Kanivetsky
> what about importing the key beforehand > rpm --import keyfile That's what I do. But when I try to install a package from that (passenger) repository manually, yum wants my confirmation: # curl --fail -sSLo /etc/yum.repos.d/passenger.repo https://oss-binaries.phusionpassenger.com/yum/definitio

Re: [CentOS] How do I confirm importing repo key without user intervention?

2017-03-12 Thread Leon Fauster
Am 12.03.2017 um 16:42 schrieb Yuri Kanivetsky : > > Sorry for asking it again. I just thought I asked the question the > wrong way. Too much unnecessary details. And therefore, got no > replies. > > I'm configuring a server from, say, a script (automatically). I need > it to be done without user

[CentOS] How do I confirm importing repo key without user intervention?

2017-03-12 Thread Yuri Kanivetsky
Hi, Sorry for asking it again. I just thought I asked the question the wrong way. Too much unnecessary details. And therefore, got no replies. I'm configuring a server from, say, a script (automatically). I need it to be done without user saying, "Yes, it's okay to import the key." I was told to

Re: [CentOS] How rc-local.service works?

2017-03-12 Thread Yuri Kanivetsky
> It will be run according to the status of the rc-local service - i.e. what does > systemctl status rc-local > say. It's enabled by default, but it only runs if rc.local is executable (as defined in the [Unit] section). When booted with /etc/rc.d/rc.local being not executable, it says: ● rc-

Re: [CentOS] How rc-local.service works?

2017-03-12 Thread Pete Biggs
> Let me cite the service file here: > > [Unit] > Description=/etc/rc.d/rc.local Compatibility > ConditionFileIsExecutable=/etc/rc.d/rc.local > After=network.target > > [Service] > Type=forking > ExecStart=/etc/rc.d/rc.local start > TimeoutSec=0 > RemainAfterExit=yes > > I basically don't under

[CentOS] How rc-local.service works?

2017-03-12 Thread Yuri Kanivetsky
Hi, Let me cite the service file here: [Unit] Description=/etc/rc.d/rc.local Compatibility ConditionFileIsExecutable=/etc/rc.d/rc.local After=network.target [Service] Type=forking ExecStart=/etc/rc.d/rc.local start TimeoutSec=0 RemainAfterExit=yes I basically don't understand two things here: