Re: [sabayon-dev] Sabayon fails to boot after last update (Limbo)

2014-03-26 Thread Fabio Erculiani
I will fix it in a bunch of hours. I will create a compat eselect-init that
deals with that case.



Re: [sabayon-dev] Sabayon fails to boot after last update (Limbo)

2014-03-26 Thread pierigno
Same's here. I had to specify init=/usr/lib64/systemd/systemd though to
boot the system.
After my last upgrade today my systems fails to boot unless I instruct to
load init=/usr/lib/systemd/systemd directly from the command line.

To me it seems it is a symlink that went /dev/null here.

A snip. from my entropy.log:

 * Purging current Entropy cache

 * If you want to enable Entropy packages delta download support, please
 * install dev-util/bsdiff.

[22:50:25 25/03/2014 CET] INFO: [Package] [client] Unpacking package:
/var/lib/entropy/client/packages/packages/amd64/5/sys-apps/sys-apps:systemd-208-r3.69eb7a7bd25d09dcddd0bbc0a4c53eda1bef5cac~3.tbz2
 * Determining the location of the kernel source code
 * Found kernel source directory:
 * /usr/src/linux
 * Found sources for kernel version:
 * 3.12.0-sabayon
 * Checking for suitable kernel configuration options... [
ok ]
[22:50:29 25/03/2014 CET] INFO: [Package] [client] Installing package:
sys-apps/systemd-208-r3
[22:50:29 25/03/2014 CET] INFO: [Package] [client] WARNING!!! Failed to
handle file protection for: /etc/sysctl.d/99-sysctl.conf, broken symlink in
package
Setting the init implementation to systemd
[22:50:33 25/03/2014 CET] INFO: [Trigger] [client] [POST] Running env_update
!!! Error: Target systemd doesn't appear to be valid!
exiting
[22:50:34 25/03/2014 CET] INFO: [Package] [client] Remove old package (spm
data): sys-apps/systemd-208-r3
[22:50:34 25/03/2014 CET] INFO: [Package] [client] Removing from SPM:
sys-apps/systemd-208-r3
[22:50:34 25/03/2014 CET] INFO: [Package] [client] Installing new SPM
entry: sys-apps/systemd-208-r3
[22:50:35 25/03/2014 CET] INFO: [Trigger] [client] [POST] Running env_update
 * Updating systemd journal catalogs ... [
ok ]
 * Running udev control --reload for reloading rules and databases ...   [
ok ]
[22:51:10 25/03/2014 CET] INFO: [Package] [client] Removing package:
sys-apps/sysvinit-2.88-r10
!!! Error: Target systemd doesn't appear to be valid!
exiting
[22:51:15 25/03/2014 CET] INFO: [Trigger] [client] [POST] Running env_update
!!! Error: Target systemd doesn't appear to be valid!
exiting
[22:51:16 25/03/2014 CET] INFO: [Package] [client] Removing from SPM:
sys-apps/sysvinit-2.88-r10
[22:51:16 25/03/2014 CET] INFO: [Package] [client] Unpacking package:
/var/lib/entropy/client/packages/packages/amd64/5/sys-apps/sys-apps:systemd-sysv-utils-208.75d36f23df9e16a08f896014956eee0f4eade8e1~0.tbz2
[22:51:16 25/03/2014 CET] INFO: [Package] [client] Installing package:
sys-apps/systemd-sysv-utils-208
[22:51:17 25/03/2014 CET] INFO: [Package] [client] Installing new SPM
entry: sys-apps/systemd-sysv-utils-208
[22:51:27 25/03/2014 CET] INFO: [Package] [client] Removing package:
app-admin/eselect-init-0.6
[22:51:28 25/03/2014 CET] INFO: [Package] [client] Removing from SPM:
app-admin/eselect-init-0.6
[22:51:28 25/03/2014 CET] INFO: [Package] [client] Unpacking package:
/var/lib/entropy/client/packages/packages/amd64/5/app-misc/app-misc:sabayon-version-14.04-r2.14860fc183ded0b12aee1fac793a3ea7c5fe3ae5~0.tbz2
[22:51:28 25/03/2014 CET] INFO: [Package] [client] Installing package:
app-misc/sabayon-version-14.04-r2
[22:51:29 25/03/2014 CET] INFO: [Package] [client] Remove old package (spm
data): app-misc/sabayon-version-14.04
[22:51:29 25/03/2014 CET] INFO: [Package] [client] Removing from SPM:
app-misc/sabayon-version-14.04
[22:51:29 25/03/2014 CET] INFO: [Package] [client] Installing new SPM
entry: app-misc/sabayon-version-14.04-r2
[22:52:19 25/03/2014 CET] INFO: [Package] [client] Unpacking package:
/var/lib/entropy/client/packages/packages/amd64/5/sys-kernel/sys-kernel:dracut-037.69b2206b913ace722401c876f8606e02457f578e~0.tbz2
[22:52:22 25/03/2014 CET] INFO: [Package] [client] Installing package:
sys-kernel/dracut-037
[22:52:23 25/03/2014 CET] INFO: [Package] [client] Remove old package (spm
data): sys-kernel/dracut-036-r4
[22:52:23 25/03/2014 CET] INFO: [Package] [client] Removing from SPM:
sys-kernel/dracut-036-r4
[22:52:23 25/03/2014 CET] INFO: [Package] [client] Installing new SPM
entry: sys-kernel/dracut-037



Re: [sabayon-dev] Sabayon fails to boot after last update (Limbo)

2014-03-26 Thread pierigno
Attached is an entropy.log snippet relative to yesterday.

I find interesting that:

$ ls -al /lib
lrwxrwxrwx   1 root root 5 12 ott  2011 lib - lib64

I mean, why did I need to specify lib64 if the symlink is in place?

2014-03-26 10:27 GMT+00:00 Fabio Erculiani lx...@sabayon.org:
 Please post full log files, not just snippets. /sbin/init is now owned
 by systemd-sysv-utils and is expected to be a symlink to
 ../usr/lib/systemd/systemd.
 Logs.

 --
 Fabio Erculiani

[21:07:14 25/03/2014 UTC] INFO: [Package] [client] Removing package: 
sys-apps/sysvinit-2.88-r10
[21:07:23 25/03/2014 UTC] INFO: [Trigger] [client] [POST] Running env_update
[21:07:24 25/03/2014 UTC] INFO: [Package] [client] Removing from SPM: 
sys-apps/sysvinit-2.88-r10
[21:07:24 25/03/2014 UTC] INFO: [Package] [client] Unpacking package: 
/var/lib/entropy/client/packages/packages/amd64/5/sys-apps/sys-apps:systemd-sysv-utils-208.75d36f23df9e16a08f896014956eee0f4eade8e1~0.tbz2
[21:07:24 25/03/2014 UTC] INFO: [Package] [client] Installing package: 
sys-apps/systemd-sysv-utils-208
[21:07:25 25/03/2014 UTC] INFO: [Package] [client] Installing new SPM entry: 
sys-apps/systemd-sysv-utils-208
[21:07:27 25/03/2014 UTC] INFO: [Package] [client] Unpacking package: 
/var/lib/entropy/client/packages/packages/amd64/5/kde-base/kde-base:kdm-4.11.7-r1.97535568a1258b84c23f59799daf8479f9d317a0~0.tbz2
[21:07:28 25/03/2014 UTC] INFO: [Package] [client] Unpacking package: 
/var/lib/entropy/client/packages/packages/amd64/5/kde-base/kde-base:kdm-4.11.7-r1.05ada0950891edc943e9fcdb819f72b2.debug.tar.bz2
[21:07:30 25/03/2014 UTC] INFO: [Package] [client] Installing package: 
kde-base/kdm-4.11.7-r1
[21:07:30 25/03/2014 UTC] INFO: [Package] [client] Protecting config file: 
/usr/share/config/kdm/kdmrc
[21:07:30 25/03/2014 UTC] INFO: [Package] [client] Protecting config file: 
/usr/share/config/kdm/README
[21:07:35 25/03/2014 UTC] INFO: [Package] [client] Remove old package (spm 
data): kde-base/kdm-4.11.6
[21:07:35 25/03/2014 UTC] INFO: [Package] [client] Removing from SPM: 
kde-base/kdm-4.11.6
[21:07:35 25/03/2014 UTC] INFO: [Package] [client] Installing new SPM entry: 
kde-base/kdm-4.11.7-r1
[21:07:37 25/03/2014 UTC] INFO: [Package] [client] Unpacking package: 
/var/lib/entropy/client/packages/packages/amd64/5/kde-base/kde-base:ksmserver-4.11.7.351daf1e7409598bf6a0e14162f16b34cbeb1c33~0.tbz2
[21:07:37 25/03/2014 UTC] INFO: [Package] [client] Unpacking package: 
/var/lib/entropy/client/packages/packages/amd64/5/kde-base/kde-base:ksmserver-4.11.7.de300aaaec232391a9b1c6f54628e527.debug.tar.bz2
[21:07:38 25/03/2014 UTC] INFO: [Package] [client] Installing package: 
kde-base/ksmserver-4.11.7
[21:07:41 25/03/2014 UTC] INFO: [Trigger] [client] [POST] Running env_update
[21:07:43 25/03/2014 UTC] INFO: [Package] [client] Remove old package (spm 
data): kde-base/ksmserver-4.11.6
[21:07:43 25/03/2014 UTC] INFO: [Package] [client] Removing from SPM: 
kde-base/ksmserver-4.11.6
[21:07:43 25/03/2014 UTC] INFO: [Package] [client] Installing new SPM entry: 
kde-base/ksmserver-4.11.7
[21:07:44 25/03/2014 UTC] INFO: [Trigger] [client] [POST] Running env_update
[21:07:45 25/03/2014 UTC] INFO: [Package] [client] Unpacking package: 
/var/lib/entropy/client/packages/packages/amd64/5/kde-base/kde-base:krunner-4.11.7.6f026428b6d5f0c8a4b63257bdee5bfaf0c5bf8d~0.tbz2
[21:07:45 25/03/2014 UTC] INFO: [Package] [client] Unpacking package: 
/var/lib/entropy/client/packages/packages/amd64/5/kde-base/kde-base:krunner-4.11.7.15bb55b32e4aabee347857e63852b6a8.debug.tar.bz2
[21:07:47 25/03/2014 UTC] INFO: [Package] [client] Installing package: 
kde-base/krunner-4.11.7
[21:07:50 25/03/2014 UTC] INFO: [Trigger] [client] [POST] Running env_update
[21:07:52 25/03/2014 UTC] INFO: [Package] [client] Remove old package (spm 
data): kde-base/krunner-4.11.6
[21:07:52 25/03/2014 UTC] INFO: [Package] [client] Removing from SPM: 
kde-base/krunner-4.11.6
[21:07:52 25/03/2014 UTC] INFO: [Package] [client] Installing new SPM entry: 
kde-base/krunner-4.11.7
[21:07:53 25/03/2014 UTC] INFO: [Trigger] [client] [POST] Running env_update
[21:07:54 25/03/2014 UTC] INFO: [Package] [client] Unpacking package: 
/var/lib/entropy/client/packages/packages/amd64/5/kde-base/kde-base:kdebase-startkde-4.11.7.7d056f3cb428c72420be43148965b8cd191f7584~0.tbz2
[21:07:55 25/03/2014 UTC] INFO: [Package] [client] Installing package: 
kde-base/kdebase-startkde-4.11.7
[21:07:59 25/03/2014 UTC] INFO: [Package] [client] Remove old package (spm 
data): kde-base/kdebase-startkde-4.11.6
[21:07:59 25/03/2014 UTC] INFO: [Package] [client] Removing from SPM: 
kde-base/kdebase-startkde-4.11.6
[21:07:59 25/03/2014 UTC] INFO: [Package] [client] Installing new SPM entry: 
kde-base/kdebase-startkde-4.11.7
[21:09:11 25/03/2014 UTC] INFO: [Package] [client] Removing package: 
app-admin/eselect-init-0.6
[21:09:13 25/03/2014 UTC] INFO: [Package] [client] Removing from SPM: 
app-admin/eselect-init-0.6
[21:09:13 25/03/2014 UTC] INFO: [Package] [client] 

Re: [sabayon-dev] Sabayon fails to boot after last update (Limbo)

2014-03-26 Thread Fabio Erculiani
I should have fixed the issue in the repositories. There are now new
systemd (from sabayon-distro instead of systemd-love overlay) and
systemd-sysv-utils (this one blocks eselect-init).

-- 
Fabio Erculiani



Re: [sabayon-dev] Sabayon fails to boot after last update (Limbo)

2014-03-26 Thread pierigno
still no luck.

eselect-init was already removed by last update.


my grub menu entry has init=/linuxrc but the error message says it
cannot find valid init at /sbin/init

After equo install systemd-sysvinit-utils-208 I get:

# ls -al /sbin/init
lrwxrwxrwx 1 root root 24 26 mar 13.43 /sbin/init - ../usr/lib/systemd/systemd

# ls -al /usr/lib
lrwxrwxrwx 1 root root 11 29 gen  2012 /usr/lib - /usr/lib64/



Maybe /usr/lib should link to ../usr/lib64 also? I don't have a
virtual machine at the moment to test it though



2014-03-26 13:11 GMT+00:00 Fabio Erculiani lx...@sabayon.org:
 I should have fixed the issue in the repositories. There are now new
 systemd (from sabayon-distro instead of systemd-love overlay) and
 systemd-sysv-utils (this one blocks eselect-init).

 --
 Fabio Erculiani




Re: [sabayon-dev] Sabayon fails to boot after last update (Limbo)

2014-03-26 Thread Fabio Erculiani
The fix was not supposed to solve the problem of already broken
systems. However, reinstalling systemd-sysv-utils should always bring
back a correct /sbin/init (which is a symlink). /usr/lib has always
been a symlink to lib64 (and /lib is a symlink to lib64).

On Wed, Mar 26, 2014 at 6:20 PM, pierigno pieri...@gmail.com wrote:
 still no luck.

 eselect-init was already removed by last update.


 my grub menu entry has init=/linuxrc but the error message says it
 cannot find valid init at /sbin/init

init=/linuxrc can be safely removed (genkernel ignores it, actually).
If /sbin/init is correctly configured and you don't have a separate
/usr (or genkernel is correctly mounting it for you), then the problem
is elsewhere and not related to the last changes implemented in
systemd.


 After equo install systemd-sysvinit-utils-208 I get:

 # ls -al /sbin/init
 lrwxrwxrwx 1 root root 24 26 mar 13.43 /sbin/init - 
 ../usr/lib/systemd/systemd

Yes, this is correct. This leads me to believe that the problem is elsewhere.

Also, I saw in your logs that you have anaconda installed on your
system, this looks completely wrong, how did you get that system
installed?


 # ls -al /usr/lib
 lrwxrwxrwx 1 root root 11 29 gen  2012 /usr/lib - /usr/lib64/



 Maybe /usr/lib should link to ../usr/lib64 also? I don't have a
 virtual machine at the moment to test it though



 2014-03-26 13:11 GMT+00:00 Fabio Erculiani lx...@sabayon.org:
 I should have fixed the issue in the repositories. There are now new
 systemd (from sabayon-distro instead of systemd-love overlay) and
 systemd-sysv-utils (this one blocks eselect-init).

 --
 Fabio Erculiani





-- 
Fabio Erculiani



Re: [sabayon-dev] Sabayon fails to boot after last update (Limbo)

2014-03-25 Thread Joost Ruis
*So I manually created the symlink


On Tue, Mar 25, 2014 at 10:43 PM, Joost Ruis joost.r...@sabayonlinux.orgwrote:

  @Fabio I noticed your commit here:

 https://github.com/Sabayon/sabayon-distro/commit/0d25ba5780aa6366fc1d559f6a99f6d8f8cf8113

  To see how it was on my end..
  sabayon / # ls -l /sbin/init
 ls: cannot access /sbin/init: No such file or directory

  So I manually did:

  sabayon / # ls -l  /sbin/init
 lrwxrwxrwx 1 root root 24 Mar 25 22:28 /sbin/init -
 /usr/lib/systemd/systemd

 Sadly this didn't work. I'm a bit lost here. Hopefully it only affects me.
 (o:


  On Tue, Mar 25, 2014 at 11:15 PM, Joost Ruis joost.r...@sabayon.orgwrote:

 After my last upgrade today my systems fails to boot unless I instruct to
 load init=/usr/lib/systemd/systemd directly from the command line.

  To me it seems it is a symlink that went /dev/null here.

  A snip. from my entropy.log:

   * Purging current Entropy cache

   * If you want to enable Entropy packages delta download support, please
   * install dev-util/bsdiff.

  [22:50:25 25/03/2014 CET] INFO: [Package] [client] Unpacking package:
 /var/lib/entropy/client/packages/packages/amd64/5/sys-apps/sys-apps:systemd-208-r3.69eb7a7bd25d09dcddd0bbc0a4c53eda1bef5cac~3.tbz2
  * Determining the location of the kernel source code
  * Found kernel source directory:
  * /usr/src/linux
  * Found sources for kernel version:
  * 3.12.0-sabayon
   * Checking for suitable kernel configuration options...
 [ ok ]
 [22:50:29 25/03/2014 CET] INFO: [Package] [client] Installing package:
 sys-apps/systemd-208-r3
 [22:50:29 25/03/2014 CET] INFO: [Package] [client] WARNING!!! Failed to
 handle file protection for: /etc/sysctl.d/99-sysctl.conf, broken symlink in
 package
 Setting the init implementation to systemd
 [22:50:33 25/03/2014 CET] INFO: [Trigger] [client] [POST] Running
 env_update
 !!! Error: Target systemd doesn't appear to be valid!
  exiting
 [22:50:34 25/03/2014 CET] INFO: [Package] [client] Remove old package
 (spm data): sys-apps/systemd-208-r3
 [22:50:34 25/03/2014 CET] INFO: [Package] [client] Removing from SPM:
 sys-apps/systemd-208-r3
 [22:50:34 25/03/2014 CET] INFO: [Package] [client] Installing new SPM
 entry: sys-apps/systemd-208-r3
 [22:50:35 25/03/2014 CET] INFO: [Trigger] [client] [POST] Running
 env_update
  * Updating systemd journal catalogs ...
 [ ok ]
  * Running udev control --reload for reloading rules and databases ...
 [ ok ]
 [22:51:10 25/03/2014 CET] INFO: [Package] [client] Removing package:
 sys-apps/sysvinit-2.88-r10
 !!! Error: Target systemd doesn't appear to be valid!
 exiting
 [22:51:15 25/03/2014 CET] INFO: [Trigger] [client] [POST] Running
 env_update
 !!! Error: Target systemd doesn't appear to be valid!
 exiting
 [22:51:16 25/03/2014 CET] INFO: [Package] [client] Removing from SPM:
 sys-apps/sysvinit-2.88-r10
 [22:51:16 25/03/2014 CET] INFO: [Package] [client] Unpacking package:
 /var/lib/entropy/client/packages/packages/amd64/5/sys-apps/sys-apps:systemd-sysv-utils-208.75d36f23df9e16a08f896014956eee0f4eade8e1~0.tbz2
  [22:51:16 25/03/2014 CET] INFO: [Package] [client] Installing package:
 sys-apps/systemd-sysv-utils-208
 [22:51:17 25/03/2014 CET] INFO: [Package] [client] Installing new SPM
 entry: sys-apps/systemd-sysv-utils-208
 [22:51:27 25/03/2014 CET] INFO: [Package] [client] Removing package:
 app-admin/eselect-init-0.6
 [22:51:28 25/03/2014 CET] INFO: [Package] [client] Removing from SPM:
 app-admin/eselect-init-0.6
 [22:51:28 25/03/2014 CET] INFO: [Package] [client] Unpacking package:
 /var/lib/entropy/client/packages/packages/amd64/5/app-misc/app-misc:sabayon-version-14.04-r2.14860fc183ded0b12aee1fac793a3ea7c5fe3ae5~0.tbz2
 [22:51:28 25/03/2014 CET] INFO: [Package] [client] Installing package:
 app-misc/sabayon-version-14.04-r2
 [22:51:29 25/03/2014 CET] INFO: [Package] [client] Remove old package
 (spm data): app-misc/sabayon-version-14.04
 [22:51:29 25/03/2014 CET] INFO: [Package] [client] Removing from SPM:
 app-misc/sabayon-version-14.04
 [22:51:29 25/03/2014 CET] INFO: [Package] [client] Installing new SPM
 entry: app-misc/sabayon-version-14.04-r2
 [22:52:19 25/03/2014 CET] INFO: [Package] [client] Unpacking package:
 /var/lib/entropy/client/packages/packages/amd64/5/sys-kernel/sys-kernel:dracut-037.69b2206b913ace722401c876f8606e02457f578e~0.tbz2
 [22:52:22 25/03/2014 CET] INFO: [Package] [client] Installing package:
 sys-kernel/dracut-037
 [22:52:23 25/03/2014 CET] INFO: [Package] [client] Remove old package
 (spm data): sys-kernel/dracut-036-r4
 [22:52:23 25/03/2014 CET] INFO: [Package] [client] Removing from SPM:
 sys-kernel/dracut-036-r4
 [22:52:23 25/03/2014 CET] INFO: [Package] [client] Installing new SPM
 entry: sys-kernel/dracut-037