chrootman Tux's lil' helper
Joined: 18 Aug 2020 Posts: 95
|
Posted: Wed Jan 25, 2023 3:15 am Post subject: genlop:cannot open v/log/emerge.log+groups missing[solved] |
|
|
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!
Code: |
export TZ=GMT && genlop -l
* packages merged:
Wed Jan 25 02:54:21 2023 >>> app-portage/genlop-0.30.10-r2 |
|
|