bug#44649: 1.2.0rc0 tarball includes guix-daemon.cil.in

2020-11-16 Thread Ludovic Courtès
Daniel Brooks skribis: > Ludovic Courtès writes: > Good point! The installed ‘guix’ has that file under share/selinux/guix-daemon.cil, so perhaps the script could copy it from there? >>> >>> It only has it if you run configure first. >> >> “The installed ‘guix’” here refers to

bug#44649: 1.2.0rc0 tarball includes guix-daemon.cil.in

2020-11-16 Thread Daniel Brooks
Ludovic Courtès writes: >>> Good point! The installed ‘guix’ has that file under >>> share/selinux/guix-daemon.cil, so perhaps the script could copy it from >>> there? >> >> It only has it if you run configure first. > > “The installed ‘guix’” here refers to the one >

bug#44649: 1.2.0rc0 tarball includes guix-daemon.cil.in

2020-11-16 Thread Ludovic Courtès
Daniel Brooks skribis: > Ludovic Courtès writes: > >> Good point! The installed ‘guix’ has that file under >> share/selinux/guix-daemon.cil, so perhaps the script could copy it from >> there? > > It only has it if you run configure first. “The installed ‘guix’” here refers to the one

bug#44649: 1.2.0rc0 tarball includes guix-daemon.cil.in

2020-11-16 Thread Daniel Brooks
Ludovic Courtès writes: > Good point! The installed ‘guix’ has that file under > share/selinux/guix-daemon.cil, so perhaps the script could copy it from > there? It only has it if you run configure first. db48x

bug#44649: 1.2.0rc0 tarball includes guix-daemon.cil.in

2020-11-16 Thread Ludovic Courtès
Hi Daniel, Daniel Brooks skribis: > Ludovic Courtès writes: > >> Yes, but running “./configure” gives you the ‘etc/guix-daemon.cil’ for >> your configuration. What’s wrong with that? >> >> Marius: common practice is to not include instantiated templates; we >> wouldn’t use templates in the

bug#44649: 1.2.0rc0 tarball includes guix-daemon.cil.in

2020-11-15 Thread Marius Bakke
Ludovic Courtès writes: > Hi, > > Daniel Brooks skribis: > >> It should instead include the guix-daemon.cil file which was built from >> it. The .in file has unsubstituted variabels in it which make it useless >> as an SELinux policy. > > Yes, but running “./configure” gives you the

bug#44649: 1.2.0rc0 tarball includes guix-daemon.cil.in

2020-11-15 Thread Daniel Brooks
Ludovic Courtès writes: > Yes, but running “./configure” gives you the ‘etc/guix-daemon.cil’ for > your configuration. What’s wrong with that? > > Marius: common practice is to not include instantiated templates; we > wouldn’t use templates in the first place if contents were always the > same.

bug#44649: 1.2.0rc0 tarball includes guix-daemon.cil.in

2020-11-15 Thread Tobias Geerinckx-Rice via Bug reports for GNU Guix
Daniel Brooks 写道: Marius Bakke writes: Actually I think both should be included. The processed file will work for 99% of users, and the template is needed for the 1% that use a different store directory. Fair enough. Is a pre-generated .cil file required to run ./configure at all on

bug#44649: 1.2.0rc0 tarball includes guix-daemon.cil.in

2020-11-15 Thread Ludovic Courtès
Hi, Daniel Brooks skribis: > It should instead include the guix-daemon.cil file which was built from > it. The .in file has unsubstituted variabels in it which make it useless > as an SELinux policy. Yes, but running “./configure” gives you the ‘etc/guix-daemon.cil’ for your configuration.

bug#44649: 1.2.0rc0 tarball includes guix-daemon.cil.in

2020-11-15 Thread Daniel Brooks
Marius Bakke writes: > Actually I think both should be included. The processed file will work > for 99% of users, and the template is needed for the 1% that use a > different store directory. Fair enough.

bug#44649: 1.2.0rc0 tarball includes guix-daemon.cil.in

2020-11-15 Thread Marius Bakke
Daniel Brooks writes: > It should instead include the guix-daemon.cil file which was built from > it. The .in file has unsubstituted variabels in it which make it useless > as an SELinux policy. Actually I think both should be included. The processed file will work for 99% of users, and the

bug#44649: 1.2.0rc0 tarball includes guix-daemon.cil.in

2020-11-14 Thread Daniel Brooks
It should instead include the guix-daemon.cil file which was built from it. The .in file has unsubstituted variabels in it which make it useless as an SELinux policy.