all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* binary installation on Fedora 25
@ 2017-01-27 14:54 Catonano
  2017-01-27 16:07 ` Hartmut Goebel
  2017-01-27 21:15 ` Marius Bakke
  0 siblings, 2 replies; 8+ messages in thread
From: Catonano @ 2017-01-27 14:54 UTC (permalink / raw)
  To: help-guix

[-- Attachment #1: Type: text/plain, Size: 691 bytes --]

On a fresh installation of Fedora 25 I am trying to do a binary
installation of Guix

When attempting

systemctl start guix-daemon && systemctl enable guix-daemon

I get

Failed to start guix-daemon.service: Unit guix-daemon.service not found.

Now:

$ ls -lha /etc/systemd/system/guix-daemon.service
lrwxrwxrwx. 1 root root 58 27 gen 14.18
/etc/systemd/system/guix-daemon.service ->
/root/.guix-profile/lib/systemd/system/guix-daemon.service

Several times selinux complained that some process was trying to read some
file unduly.

I blindly copied and pasted the lines to instruct selinux to not care. I
might have taken something wrong. But I m not able to troubleshoot selinux
policies.

[-- Attachment #2: Type: text/html, Size: 900 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: binary installation on Fedora 25
  2017-01-27 14:54 binary installation on Fedora 25 Catonano
@ 2017-01-27 16:07 ` Hartmut Goebel
  2017-01-27 20:22   ` Catonano
  2017-01-28  7:55   ` Leo Famulari
  2017-01-27 21:15 ` Marius Bakke
  1 sibling, 2 replies; 8+ messages in thread
From: Hartmut Goebel @ 2017-01-27 16:07 UTC (permalink / raw)
  To: help-guix

Hi,

Am 27.01.2017 um 15:54 schrieb Catonano:
> $ ls -lha /etc/systemd/system/guix-daemon.service
> lrwxrwxrwx. 1 root root 58 27 gen 14.18
> /etc/systemd/system/guix-daemon.service ->
> /root/.guix-profile/lib/systemd/system/guix-daemon.service

AFAIK systemd changed its behaviour and does not longer accept symlinks
for .service files.

cp /root/.guix-profile/lib/systemd/system/guix-daemon.service
/etc/systemd/system/guix-daemon.service

should fix the problem.

-- 
Regards
Hartmut Goebel

| Hartmut Goebel          | h.goebel@crazy-compilers.com               |
| www.crazy-compilers.com | compilers which you thought are impossible |

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: binary installation on Fedora 25
  2017-01-27 16:07 ` Hartmut Goebel
@ 2017-01-27 20:22   ` Catonano
  2017-01-28 16:28     ` Hartmut Goebel
  2017-01-28  7:55   ` Leo Famulari
  1 sibling, 1 reply; 8+ messages in thread
From: Catonano @ 2017-01-27 20:22 UTC (permalink / raw)
  To: Hartmut Goebel; +Cc: help-guix

[-- Attachment #1: Type: text/plain, Size: 1109 bytes --]

Hartmut,

2017-01-27 17:07 GMT+01:00 Hartmut Goebel <h.goebel@crazy-compilers.com>:

> Hi,
>
> Am 27.01.2017 um 15:54 schrieb Catonano:
> > $ ls -lha /etc/systemd/system/guix-daemon.service
> > lrwxrwxrwx. 1 root root 58 27 gen 14.18
> > /etc/systemd/system/guix-daemon.service ->
> > /root/.guix-profile/lib/systemd/system/guix-daemon.service
>
> AFAIK systemd changed its behaviour and does not longer accept symlinks
> for .service files.
>
> cp /root/.guix-profile/lib/systemd/system/guix-daemon.service
> /etc/systemd/system/guix-daemon.service
>
> should fix the problem.
>
> --
>

thank you

It didn't fix it.

No error was raised but when trying to install the hello package some
socket couldn't be found, as if the daemon was not running

But that wasn't the only problem

This line

# ln -sf /var/guix/profiles/per-user/root/guix-profile \
         ~root/.guix-profile

didn't raise an error and yet didn't create the link to the root profile

Ok, this idea of going back to Fedora (Ubuntu turned out to be not exactly
a good idea) was not successful

For now, I'll leave it at that.

Thanks anyway

[-- Attachment #2: Type: text/html, Size: 2055 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: binary installation on Fedora 25
  2017-01-27 14:54 binary installation on Fedora 25 Catonano
  2017-01-27 16:07 ` Hartmut Goebel
@ 2017-01-27 21:15 ` Marius Bakke
  2017-01-28 12:00   ` Ricardo Wurmus
  1 sibling, 1 reply; 8+ messages in thread
From: Marius Bakke @ 2017-01-27 21:15 UTC (permalink / raw)
  To: Catonano, help-guix

[-- Attachment #1: Type: text/plain, Size: 827 bytes --]

Catonano <catonano@gmail.com> writes:

> On a fresh installation of Fedora 25 I am trying to do a binary
> installation of Guix
>
> When attempting
>
> systemctl start guix-daemon && systemctl enable guix-daemon
>
> I get
>
> Failed to start guix-daemon.service: Unit guix-daemon.service not found.
>
> Now:
>
> $ ls -lha /etc/systemd/system/guix-daemon.service
> lrwxrwxrwx. 1 root root 58 27 gen 14.18
> /etc/systemd/system/guix-daemon.service ->
> /root/.guix-profile/lib/systemd/system/guix-daemon.service
>
> Several times selinux complained that some process was trying to read some
> file unduly.

I think SELinux needs to be disabled, since we don't have any policy for
the Guix daemon at the moment. Can you try that and report back?

Perhaps a note should be added to the manual if this fixes it.

Thanks in advance!

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 487 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: binary installation on Fedora 25
  2017-01-27 16:07 ` Hartmut Goebel
  2017-01-27 20:22   ` Catonano
@ 2017-01-28  7:55   ` Leo Famulari
  1 sibling, 0 replies; 8+ messages in thread
From: Leo Famulari @ 2017-01-28  7:55 UTC (permalink / raw)
  To: Hartmut Goebel; +Cc: help-guix

On Fri, Jan 27, 2017 at 05:07:34PM +0100, Hartmut Goebel wrote:
> Hi,
> 
> Am 27.01.2017 um 15:54 schrieb Catonano:
> > $ ls -lha /etc/systemd/system/guix-daemon.service
> > lrwxrwxrwx. 1 root root 58 27 gen 14.18
> > /etc/systemd/system/guix-daemon.service ->
> > /root/.guix-profile/lib/systemd/system/guix-daemon.service
> 
> AFAIK systemd changed its behaviour and does not longer accept symlinks
> for .service files.

My understanding is the opposite; that systemd only supports symlinked
service files in recent releases.

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: binary installation on Fedora 25
  2017-01-27 21:15 ` Marius Bakke
@ 2017-01-28 12:00   ` Ricardo Wurmus
  0 siblings, 0 replies; 8+ messages in thread
From: Ricardo Wurmus @ 2017-01-28 12:00 UTC (permalink / raw)
  To: Marius Bakke; +Cc: help-guix


Marius Bakke <mbakke@fastmail.com> writes:

> Catonano <catonano@gmail.com> writes:
[…]
>> Several times selinux complained that some process was trying to read some
>> file unduly.
>
> I think SELinux needs to be disabled, since we don't have any policy for
> the Guix daemon at the moment. Can you try that and report back?

After FOSDEM I could take a look at this and see if I can come up with a
simple SELinux policy.  I don’t think it’s good to suggest SELinux be
disabled (other than as a workaround).

-- 
Ricardo

GPG: BCA6 89B6 3655 3801 C3C6  2150 197A 5888 235F ACAC
https://elephly.net

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: binary installation on Fedora 25
  2017-01-27 20:22   ` Catonano
@ 2017-01-28 16:28     ` Hartmut Goebel
  2017-01-29 10:11       ` Catonano
  0 siblings, 1 reply; 8+ messages in thread
From: Hartmut Goebel @ 2017-01-28 16:28 UTC (permalink / raw)
  To: Catonano; +Cc: help-guix

Am 27.01.2017 um 21:22 schrieb Catonano:
> No error was raised but when trying to install the hello package some
> socket couldn't be found, as if the daemon was not running

Did you actually reload systemd and start the daemon?

-- 
Regards
Hartmut Goebel

| Hartmut Goebel          | h.goebel@crazy-compilers.com               |
| www.crazy-compilers.com | compilers which you thought are impossible |

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: binary installation on Fedora 25
  2017-01-28 16:28     ` Hartmut Goebel
@ 2017-01-29 10:11       ` Catonano
  0 siblings, 0 replies; 8+ messages in thread
From: Catonano @ 2017-01-29 10:11 UTC (permalink / raw)
  To: Hartmut Goebel; +Cc: help-guix

[-- Attachment #1: Type: text/plain, Size: 628 bytes --]

2017-01-28 17:28 GMT+01:00 Hartmut Goebel <h.goebel@crazy-compilers.com>:

> Am 27.01.2017 um 21:22 schrieb Catonano:
> > No error was raised but when trying to install the hello package some
> > socket couldn't be found, as if the daemon was not running
>
> Did you actually reload systemd and start the daemon?
>

I set it to "permissive" mode rather than "enforcing", I don' t know how to
restart selinux

The result is the same

Ok, it doesn' t matter anyway. I' ll stay on Ubuntu. For now

The best solution would be to have an rpm package for Fedora so that Fedora
users could use the vanilla system tools to install Guix

[-- Attachment #2: Type: text/html, Size: 1109 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2017-01-29 10:11 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-01-27 14:54 binary installation on Fedora 25 Catonano
2017-01-27 16:07 ` Hartmut Goebel
2017-01-27 20:22   ` Catonano
2017-01-28 16:28     ` Hartmut Goebel
2017-01-29 10:11       ` Catonano
2017-01-28  7:55   ` Leo Famulari
2017-01-27 21:15 ` Marius Bakke
2017-01-28 12:00   ` Ricardo Wurmus

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.