bug#56786: guix pull: error: You found a bug: the program '/gnu/store/zai6skiyaygn0dm2jm18kdzz5najsa99-compute-guix-derivation'

2022-07-26 Thread Antti Tarkiainen
❯ guix pull
Updating channel 'flat' from Git repository at '
https://github.com/flatwhatson/guix-channel.git'...
Updating channel 'guix' from Git repository at '
https://git.savannah.gnu.org/git/guix.git'...
Building from these channels:
  guix  https://git.savannah.gnu.org/git/guix.git eafdd4f
  flat  https://github.com/flatwhatson/guix-channel.git d95204c
building /gnu/store/fvsrh3gv7fwz58jsxci05xqbfxzql0li-config.scm.drv...
building /gnu/store/qb5bg37bkbz4yjisks46w3rcp421a4bd-git.scm.drv...
building /gnu/store/3l9y7hj3s4rp9lwdf8z031y5nhxqn3bl-hash.scm.drv...
building /gnu/store/54sssahnyx5dg6hlpx7lr9ns71xslmpg-module-import.drv...
building /gnu/store/q77h3s054jgzbjpwfmi38dq80swgcigw-module-import.drv...
building
/gnu/store/rlyyg7mfkpi1x7hk6k9lj22hfdiim3cf-module-import-compiled.drv...
building
/gnu/store/432r0h8z8nxisdf0j50cqi54xwzqfh67-module-import-compiled.drv...
building
/gnu/store/ciqqjh53njxyj928wsx8nal1a2c3fys5-compute-guix-derivation.drv...
substitute: updating substitutes from 'https://ci.guix.gnu.org'... 100.0%
substitute: updating substitutes from 'https://ci.guix.gnu.org'... 100.0%
substitute: updating substitutes from 'https://ci.guix.gnu.org'... 100.0%
substitute: updating substitutes from 'https://ci.guix.gnu.org'... 100.0%
substitute: updating substitutes from 'https://ci.guix.gnu.org'... 100.0%
substitute: updating substitutes from 'https://ci.guix.gnu.org'... 100.0%
substitute: updating substitutes from 'https://ci.guix.gnu.org'... 100.0%
substitute: updating substitutes from 'https://ci.guix.gnu.org'... 100.0%
substitute: updating substitutes from 'https://ci.guix.gnu.org'... 100.0%
substitute: updating substitutes from 'https://ci.guix.gnu.org'... 100.0%
substitute: updating substitutes from 'https://ci.guix.gnu.org'... 100.0%
substitute: updating substitutes from 'https://ci.guix.gnu.org'... 100.0%
substitute: updating substitutes from 'https://ci.guix.gnu.org'... 100.0%
substitute: updating substitutes from 'https://ci.guix.gnu.org'... 100.0%
substitute: updating substitutes from 'https://ci.guix.gnu.org'... 100.0%
substitute: updating substitutes from 'https://ci.guix.gnu.org'... 100.0%
substitute: updating substitutes from 'https://ci.guix.gnu.org'... 100.0%
substitute: updating substitutes from 'https://ci.guix.gnu.org'... 100.0%
substitute: updating substitutes from 'https://ci.guix.gnu.org'... 100.0%
substitute: updating substitutes from 'https://ci.guix.gnu.org'... 100.0%
substitute: updating substitutes from 'https://ci.guix.gnu.org'... 100.0%
substitute: updating substitutes from 'https://ci.guix.gnu.org'... 100.0%
substitute: updating substitutes from 'https://ci.guix.gnu.org'... 100.0%
substitute: updating substitutes from 'https://ci.guix.gnu.org'... 100.0%
substitute: updating substitutes from 'https://ci.guix.gnu.org'... 100.0%
 curl-7.84.0-doc  667KiB  934KiB/s 00:01 [##]
100.0%
 bash-static-5.1.8  646KiB3.5MiB/s 00:00 [##]
100.0%
 glibc-utf8-locales-2.33  382KiB  709KiB/s 00:01 [##]
100.0%
 glibc-2.33  8.2MiB   3.5MiB/s 00:02 [##]
100.0%
 gnutls-3.7.2-doc  1.0MiB 1.4MiB/s 00:01 [##]
100.0%
 bash-minimal-5.1.8  569KiB   588KiB/s 00:01 [##]
100.0%
 gcc-10.3.0-lib  4.6MiB   3.2MiB/s 00:01 [##]
100.0%
 bash-minimal-5.1.8  570KiB   801KiB/s 00:01 [##]
100.0%
 gmp-6.2.1  571KiB1.5MiB/s 00:00 [##]
100.0%
 libffi-3.3  51KiB108KiB/s 00:00 [##]
100.0%
 libgc-8.0.4  214KiB397.9MiB/s 00:00 [##]
100./%
 libtasn1-4.17.0  102KiB301.4MiB/s 00:00 [##]
100.0%
 libunistring-0.9.10  492KiB  941KiB/s 00:01 [##]
100.0%
 nettle-3.7.3  369KiB 1.1MiB/s 00:00 [##]
100.0%
 libidn2-2.3.1  138KiB558KiB/s 00:00 [##]
100.0%
 nghttp2-1.44.0-lib  92KiB189KiB/s 00:00 [##]
100.0%
 openssl-1.1.1l  1.6MiB  1024KiB/s 00:02 [##]
100.0%
 p11-kit-0.23.22  433KiB  1.9MiB/s 00:00 [##]
100.0%
 mit-krb5-1.19.2  1.0MiB  843KiB/s 00:01 [##]
100.0%
 pkg-config-0.29.2  187KiB698KiB/s 00:00 [##]
100.0%
 zlib-1.2.11  77KiB   162KiB/s 00:00 [##]
100.0%
 guile-3.0.7  6.9MiB  940KiB/s 00:07 [##]
100.0%
 gnutls-3.7.2  1.8MiB 3.7MiB/s 00:00 [##]
100.0%
 curl-7.84.0  389KiB  899KiB/s 00:00 [##]
100.0%
 gnutls-3.7.2-debug  4.4MiB   2.5MiB/s 00:02 [##]
100.0%
substitute: updating substitutes from 'https://ci.guix.gnu.org'... 100.0%
substitute: updating substitutes from 'https://ci.guix.gnu.org'... 100.0%

bug#56780: rottlog ignores the subdir structure

2022-07-26 Thread Attila Lendvai
my service puts its log files into subdirs under 
/var/log/myservice/some-config/logfile.

i set up some rottlog-service-type and rottlog-configuration to rotate these 
log files, and to my surprise rottlog puts them under /var/log (ignoring the 
subdir structure).

is this a feature or a bug? if the former, could we change the default to put 
the rotated files into the same directory as the files being rotated?

--
• attila lendvai
• PGP: 963F 5D5F 45C7 DFCD 0A39
--
“A political situation is the manifestation of a parallel psychological problem 
in millions of individuals. This problem is largely unconscious (which makes it 
a particularly dangerous one!)”
— Carl Jung (1875–1961), Letters, vol.1 pg. 535






bug#56669: enhancement: Link guix system and guix home

2022-07-26 Thread Andrew Tropin
On 2022-07-21 19:25, Maxime Devos wrote:

> On 21-07-2022 19:13, Andrew Tropin wrote:
>
>> The source code is here:
>> https://git.sr.ht/~abcdw/rde/commit/c5b4097ab99309ace23e40d957e9fa1f938f97e9
>
> What's the 'guix-home-gc-roots' for? I would expect the reference 
> #$(file-append he "/activate") to be sufficient to keep things from 
> being gc'ed.

It was needed while I was testing manual activation without shepherd
service, not needed anymore, already removed it locally.

>
>> + 
>> 
>>  
>> (start #~(make-forkexec-constructor + 
>> 
>>  
>> '(#$(file-append he "/activate")) + 
>> 
>>  
>> #:user #$user + 
>> 
>>  
>> #:environment-variables + 
>> 
>>  
>> (list (string-append "HOME=" (passwd:dir (getpw #$user + 
>> 
>>  
>> #:group (group:name (getgrgid (passwd:gid (getpw #$user))
> I'm wondering if GUIX_LOCPATH is needed as well. Anyway, if not done 
> already internally by /activate, you could consider doing it in a 
> container to reduce potential irreproducibility, or insecurity on 
> multi-user systems (I'd assume the #:user + #:group to be sufficient for 
> security, especially if it appears sufficient for other system services, 
> but I'm not some expert on what things need to be set).
>
It's not set by /activate.

>> + 
>> 
>>  
>> (provision (list (symbol-append 'guix-home- (string->symbol user + 
>> 
>>  
>> (one-shot? #t) + 
>> 
>>  
>> (auto-start? #f)
> Wouldn't it then be possible for the user to login via the login manager 
> before initialisation has completed, as gdm etc don't wait for 
> guix-home-... currently?

You are right, the same as the first one, needed for more manual
approach, changed to #t, thank you.

Three patches for this service to work is on the way on guix-patches.
In the meantime, will try to build livecd with the home environment
inside.

P.S. Probably this system service is far from final version of this
feature, I still think about making home-environment a part of
user-account.  Will evaluate pros and cons, after I get livecd built
successfully.

-- 
Best regards,
Andrew Tropin


signature.asc
Description: PGP signature