Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
genlop:cannot open v/log/emerge.log+groups missing[solved]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Spanish
View previous topic :: View next topic  
Author Message
chrootman
Tux's lil' helper
Tux's lil' helper


Joined: 18 Aug 2020
Posts: 95

PostPosted: Wed Jan 25, 2023 3:15 am    Post subject: genlop:cannot open v/log/emerge.log+groups missing[solved] Reply with quote

Hola,

Según lo que sale en
[SOLVED] genlop: cannot open /var/log/emerge.log
pwck warns: user portage not having an entry in /etc/shadow
pwck warnings: {adm,lp,news,uucp} home dirs missing
[SOLVED] chgrp: invalid group: 'portage'
La solución era recompilar
Code:
emerge -1av  acct-group/portage  acct-user/portage portage
...y no funcionó

La segunda solución era agregar manualmente a /etc/shadow
Code:
portage:*:9797:0:::::
Lo agregué manualmente y aparecieron dos luego de reiniciar
Code:
sudo egrep "^portage" /etc/passwd /etc/shadow /etc/group
/etc/passwd:portage:x:250:250:System user; portage:/var/lib/portage/home:/sbin/nologin
/etc/shadow:portage:*:9797:0:::::
/etc/shadow:portage:*:9797:0:::::
/etc/group:portage:x:250:portage

Así que volví a eliminar la última entrada portage:*:9797:0:::::
Luego volví a agregar mi usuario a /etc/group manualmente porque no estaba, tal como sale [SOLVED] portage user and group missing
Aunque todo funcionaba bien
Code:
wheel:x:10:root,chrootman
audio:x:18:root,chrootman
cdrom:x:19:bacula,chrootman
usb:x:85:chrootman
users:x:100:chrootman
portage:x:250:portage,chrootman
chrootman:x:1000:
plugdev:x:272:chrootman
Luego volví a instalar
Code:
emerge --ask app-portage/genlop
Y ahora si funciona! :P
Code:

export TZ=GMT && genlop -l
 * packages merged:

     Wed Jan 25 02:54:21 2023 >>> app-portage/genlop-0.30.10-r2
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Spanish All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum