Re: [gentoo-user] [ANNOUNCE] I like systemd now :)

2012-11-12 Thread Keith Dart
Re
2012192731.149dc082@dartworks.biz2012192731.149dc082@dartworks.bizCADPrc83TGeegA0UXadMEy=B62xZYOE50bqfw+dxDJ8f=FkPTHA@mail.gmail.com2012185801.58964939@dartworks.bizCADPrc83+5zUQ+GzCSvyHhZa7BZfMqqagZCosktasOY1sdhCx0Q@mail.gmail.com2012175313.54b9acf1@dartworks.bizCADPrc80EwExpbdcJX1a+aE0DA=iopqw-QOaozmUBJCs5FGew-g@mail.gmail.com20121109171149.1d8a3e18@dartworks.biz509D9C62.9040909@gmail.com509D8E00.4030208@coolmail.sek7k1hn$ce6$1...@ger.gmane.org,
Canek Peláez Valdés said:
 That it's weird. What does systemd-analyze blame say after a fresh
 boot?


Something related to consolekit was taking by far the most time. But I
thought I was supposed to remove that. So I make USE include
-consolekit, and removed console kit, and did emerge -uD --newuse
world, but yet, pambase insists on pulling in consolekit no matter
what. I compile it separate (emerge -1 ...) without consolekit USE, and
the works. But whenever I update consolekit wants get added again.

Anyway, right now I have it removed and it does come up faster without
it. 

But another thing I miss is knowing where it is in the boot process.
The systemd doesn't tell me anything.


-- Keith


-- 

-- ~
   Keith Dart ke...@dartworks.biz
   public key: ID: 19017044
   http://www.dartworks.biz/
   =



Re: [gentoo-user] [ANNOUNCE] I like systemd now :)

2012-11-12 Thread Canek Peláez Valdés
On Mon, Nov 12, 2012 at 3:40 PM, Keith Dart ke...@dartworks.biz wrote:
 Re
 2012192731.149dc082@dartworks.biz2012192731.149dc082@dartworks.bizCADPrc83TGeegA0UXadMEy=B62xZYOE50bqfw+dxDJ8f=FkPTHA@mail.gmail.com2012185801.58964939@dartworks.bizCADPrc83+5zUQ+GzCSvyHhZa7BZfMqqagZCosktasOY1sdhCx0Q@mail.gmail.com2012175313.54b9acf1@dartworks.bizCADPrc80EwExpbdcJX1a+aE0DA=iopqw-QOaozmUBJCs5FGew-g@mail.gmail.com20121109171149.1d8a3e18@dartworks.biz509D9C62.9040909@gmail.com509D8E00.4030208@coolmail.sek7k1hn$ce6$1...@ger.gmane.org,
 Canek Peláez Valdés said:
 That it's weird. What does systemd-analyze blame say after a fresh
 boot?


 Something related to consolekit was taking by far the most time. But I
 thought I was supposed to remove that. So I make USE include
 -consolekit, and removed console kit, and did emerge -uD --newuse
 world, but yet, pambase insists on pulling in consolekit no matter
 what. I compile it separate (emerge -1 ...) without consolekit USE, and
 the works. But whenever I update consolekit wants get added again.

Do an equery depends pambase and see what it's trying to pull
pambase with consolekit. Perhaps do you have something in
/etc/portage/package.use?

 Anyway, right now I have it removed and it does come up faster without
 it.

Cool.

 But another thing I miss is knowing where it is in the boot process.
 The systemd doesn't tell me anything.

Actually it does; if you are not using plymouth (or another splash),
the standard listing of services gets printed on the console, with
even the [ OK ] that a lot of people like. A copy of this output
gets logged in /var/log/boot.log.

Also, you can boot with systemd.log_target=kmsg
systemd.log_level=debug, and everything (which is a lot) will get
stored in the kernel ring buffer, so you can check it out afterwards
with dmesg.

The thing with this output is that, when properly configured, systemd
is just too fast for it to be useful; my laptop boots so fast that I
cannot even see it even if I disable plymouth.

Regards.
-- 
Canek Peláez Valdés
Posgrado en Ciencia e Ingeniería de la Computación
Universidad Nacional Autónoma de México



Re: [gentoo-user] [ANNOUNCE] I like systemd now :)

2012-11-12 Thread Keith Dart
Re
20121112134014.632fa8c7@dartworks.biz20121112134014.632fa8c7@dartworks.bizCADPrc80e46k1JN3jE0Y=Xobbo7Vh6jotc=dnhzLo9-Z_vj+wkw@mail.gmail.com2012192731.149dc082@dartworks.bizCADPrc83TGeegA0UXadMEy=B62xZYOE50bqfw+dxDJ8f=FkPTHA@mail.gmail.com2012185801.58964939@dartworks.bizCADPrc83+5zUQ+GzCSvyHhZa7BZfMqqagZCosktasOY1sdhCx0Q@mail.gmail.com2012175313.54b9acf1@dartworks.bizCADPrc80EwExpbdcJX1a+aE0DA=iopqw-QOaozmUBJCs5FGew-g@mail.gmail.com20121109171149.1d8a3e18@dartworks.biz509D9C62.9040909@gmail.com509D8E00.4030208@coolmail.sek7k1hn$ce6$1...@ger.gmane.org,
Canek Peláez Valdés said:
 Do an equery depends pambase and see what it's trying to pull
 pambase with consolekit. Perhaps do you have something in
 /etc/portage/package.use?


It seems like polkit is actually the culprit.

 * These packages depend on pambase:
app-admin/sudo-1.8.6_p3 (pam ? sys-auth/pambase)
net-misc/openssh-6.1_p1 (pam ? =sys-auth/pambase-20081028)
sys-apps/openrc-0.11.5 (pam ? sys-auth/pambase)
sys-apps/shadow-4.1.5.1 (pam ? =sys-auth/pambase-20120417)
sys-auth/polkit-0.107-r1 (pam ? sys-auth/pambase)
 (systemd ? sys-auth/pambase[systemd])
 (!systemd ? sys-auth/pambase[consolekit])
sys-libs/pam-1.1.6 (sys-auth/pambase)
x11-misc/lightdm-1.4.0 (=sys-auth/pambase-20101024-r2)


diffing polkit 104 and 107 ebuilds shows some changes in the systemd
related USE selection logic. 

I DO also have the systemd USE flag set. Yet, polkit is requiring
pambase with consolekit.



-- Keith


-- 

-- ~
   Keith Dart ke...@dartworks.biz
   public key: ID: 19017044
   http://www.dartworks.biz/
   =



Re: [gentoo-user] [ANNOUNCE] I like systemd now :)

2012-11-12 Thread Canek Peláez Valdés
On Mon, Nov 12, 2012 at 5:11 PM, Keith Dart ke...@dartworks.biz wrote:
 Re
 20121112134014.632fa8c7@dartworks.biz20121112134014.632fa8c7@dartworks.bizCADPrc80e46k1JN3jE0Y=Xobbo7Vh6jotc=dnhzLo9-Z_vj+wkw@mail.gmail.com2012192731.149dc082@dartworks.bizCADPrc83TGeegA0UXadMEy=B62xZYOE50bqfw+dxDJ8f=FkPTHA@mail.gmail.com2012185801.58964939@dartworks.bizCADPrc83+5zUQ+GzCSvyHhZa7BZfMqqagZCosktasOY1sdhCx0Q@mail.gmail.com2012175313.54b9acf1@dartworks.bizCADPrc80EwExpbdcJX1a+aE0DA=iopqw-QOaozmUBJCs5FGew-g@mail.gmail.com20121109171149.1d8a3e18@dartworks.biz509D9C62.9040909@gmail.com509D8E00.4030208@coolmail.sek7k1hn$ce6$1...@ger.gmane.org,
 Canek Peláez Valdés said:
 Do an equery depends pambase and see what it's trying to pull
 pambase with consolekit. Perhaps do you have something in
 /etc/portage/package.use?


 It seems like polkit is actually the culprit.

  * These packages depend on pambase:
 app-admin/sudo-1.8.6_p3 (pam ? sys-auth/pambase)
 net-misc/openssh-6.1_p1 (pam ? =sys-auth/pambase-20081028)
 sys-apps/openrc-0.11.5 (pam ? sys-auth/pambase)
 sys-apps/shadow-4.1.5.1 (pam ? =sys-auth/pambase-20120417)
 sys-auth/polkit-0.107-r1 (pam ? sys-auth/pambase)
  (systemd ? sys-auth/pambase[systemd])
  (!systemd ? sys-auth/pambase[consolekit])
 sys-libs/pam-1.1.6 (sys-auth/pambase)
 x11-misc/lightdm-1.4.0 (=sys-auth/pambase-20101024-r2)


 diffing polkit 104 and 107 ebuilds shows some changes in the systemd
 related USE selection logic.

 I DO also have the systemd USE flag set. Yet, polkit is requiring
 pambase with consolekit.

Enable the systemd USE flag in polkit and it will not require consolekit:

pam? (
systemd? ( sys-auth/pambase[systemd] )
!systemd? ( sys-auth/pambase[consolekit] )
)

That means: you want pam?, then if you want systemd, I require pambase
with systemd; otherwise, I require pambase with consolekit.

Regards.
-- 
Canek Peláez Valdés
Posgrado en Ciencia e Ingeniería de la Computación
Universidad Nacional Autónoma de México



Re: [gentoo-user] [ANNOUNCE] I like systemd now :)

2012-11-12 Thread Keith Dart
Re
20121112134014.632fa8c7@dartworks.biz20121112134014.632fa8c7@dartworks.bizCADPrc80e46k1JN3jE0Y=Xobbo7Vh6jotc=dnhzLo9-Z_vj+wkw@mail.gmail.com2012192731.149dc082@dartworks.bizCADPrc83TGeegA0UXadMEy=B62xZYOE50bqfw+dxDJ8f=FkPTHA@mail.gmail.com2012185801.58964939@dartworks.bizCADPrc83+5zUQ+GzCSvyHhZa7BZfMqqagZCosktasOY1sdhCx0Q@mail.gmail.com2012175313.54b9acf1@dartworks.bizCADPrc80EwExpbdcJX1a+aE0DA=iopqw-QOaozmUBJCs5FGew-g@mail.gmail.com20121109171149.1d8a3e18@dartworks.biz509D9C62.9040909@gmail.com509D8E00.4030208@coolmail.sek7k1hn$ce6$1...@ger.gmane.org,
Canek Peláez Valdés said:
 Do an equery depends pambase and see what it's trying to pull
 pambase with consolekit. Perhaps do you have something in
 /etc/portage/package.use?


Just synced with latest portage and here is what emerge is currently
telling me:

venus ~ # emerge -uDpv --newuse world

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild  N ] sci-libs/suitesparseconfig-4.0.2  USE=-static-libs
318 kB [ebuild U  ] sci-libs/colamd-2.8.0 [2.7.4]
USE=-static-libs 362 kB [ebuild U  ] dev-perl/Net-HTTP-6.50.0
[6.30.0] 16 kB
[ebuild U  ] dev-python/pyxdg-0.24 [0.23] USE={-test%} (-examples%*) 46 kB
[ebuild U  ] sys-apps/mlocate-0.26 [0.25] USE=nls (-selinux) 351 kB
[ebuild U  ] x11-drivers/xf86-video-intel-2.20.13 [2.20.12] USE=dri sna 
udev xvmc -glamor -uxa 1,611 kB
[ebuild U  ] net-misc/aria2-1.15.2 [1.15.0] USE=bittorrent gnutls 
libxml2%* nettle* nls scripts sqlite ssl xmlrpc -adns% -metal
ink {-test} (-ares%) (-bash-completion%*) (-doc%) (-expat%*) 1,996 kB
[ebuild U  ] app-text/calibre-0.9.6 [0.9.5] USE=udisks 26,706 kB
[ebuild  N ] sys-auth/consolekit-0.4.5_p20120320-r1  USE=acl pam policykit 
-debug -doc (-selinux) {-test} 0 kB
[ebuild   R] sys-auth/pambase-20120417-r1  USE=consolekit* cracklib 
gnome-keyring sha512 systemd -debug -minimal -mktemp -pam_k
rb5 -pam_ssh -passwdqc (-selinux) 0 kB

Total: 10 packages (7 upgrades, 2 new, 1 reinstall), Size of downloads: 31,403 
kB

The following USE changes are necessary to proceed:
#required by sys-auth/polkit-0.107-r1, required by @selected, required by 
@world (argument)
=sys-auth/consolekit-0.4.5_p20120320-r1 policykit
#required by sys-auth/polkit-0.107-r1[pam], required by 
sys-auth/consolekit-0.4.5_p20120320-r1[policykit]
=sys-auth/pambase-20120417-r1 consolekit



-- Keith


-- 

-- ~
   Keith Dart ke...@dartworks.biz
   public key: ID: 19017044
   http://www.dartworks.biz/
   =



Re: [gentoo-user] [ANNOUNCE] I like systemd now :)

2012-11-12 Thread Keith Dart
Re
20121112151105.44071321@dartworks.biz20121112151105.44071321@dartworks.bizCADPrc83npGRPaaNfJqSHYRWb+CJWaU4GtU1CqaR=_Cc9q6eokQ@mail.gmail.com20121112134014.632fa8c7@dartworks.bizCADPrc80e46k1JN3jE0Y=Xobbo7Vh6jotc=dnhzLo9-Z_vj+wkw@mail.gmail.com2012192731.149dc082@dartworks.bizCADPrc83TGeegA0UXadMEy=B62xZYOE50bqfw+dxDJ8f=FkPTHA@mail.gmail.com2012185801.58964939@dartworks.bizCADPrc83+5zUQ+GzCSvyHhZa7BZfMqqagZCosktasOY1sdhCx0Q@mail.gmail.com2012175313.54b9acf1@dartworks.bizCADPrc80EwExpbdcJX1a+aE0DA=iopqw-QOaozmUBJCs5FGew-g@mail.gmail.com20121109171149.1d8a3e18@dartworks.biz509D9C62.9040909@gmail.com509D8E00.4030208@coolmail.sek7k1hn$ce6$1...@ger.gmane.org,
Canek Peláez Valdés said:
 That means: you want pam?, then if you want systemd, I require pambase
 with systemd; otherwise, I require pambase with consolekit.


I already have it set globally, but I just added it specially to
package.use just to make sure.  Same result. Something is wrong with
the logic there. 


-- Keith


-- 

-- ~
   Keith Dart ke...@dartworks.biz
   public key: ID: 19017044
   http://www.dartworks.biz/
   =



Re: [gentoo-user] [ANNOUNCE] I like systemd now :)

2012-11-12 Thread Canek Peláez Valdés
On Mon, Nov 12, 2012 at 5:25 PM, Keith Dart ke...@dartworks.biz wrote:
 Re
 20121112151105.44071321@dartworks.biz20121112151105.44071321@dartworks.bizCADPrc83npGRPaaNfJqSHYRWb+CJWaU4GtU1CqaR=_Cc9q6eokQ@mail.gmail.com20121112134014.632fa8c7@dartworks.bizCADPrc80e46k1JN3jE0Y=Xobbo7Vh6jotc=dnhzLo9-Z_vj+wkw@mail.gmail.com2012192731.149dc082@dartworks.bizCADPrc83TGeegA0UXadMEy=B62xZYOE50bqfw+dxDJ8f=FkPTHA@mail.gmail.com2012185801.58964939@dartworks.bizCADPrc83+5zUQ+GzCSvyHhZa7BZfMqqagZCosktasOY1sdhCx0Q@mail.gmail.com2012175313.54b9acf1@dartworks.bizCADPrc80EwExpbdcJX1a+aE0DA=iopqw-QOaozmUBJCs5FGew-g@mail.gmail.com20121109171149.1d8a3e18@dartworks.biz509D9C62.9040909@gmail.com509D8E00.4030208@coolmail.sek7k1hn$ce6$1...@ger.gmane.org,
 Canek Peláez Valdés said:
 That means: you want pam?, then if you want systemd, I require pambase
 with systemd; otherwise, I require pambase with consolekit.


 I already have it set globally, but I just added it specially to
 package.use just to make sure.  Same result. Something is wrong with
 the logic there.

Yeah, portage is doing something weird here (or you have some rogue
config files). Did you move make.conf from /etc to /etc/portage? It is
possible that the old copy is still in /etc?

What does emerge -1pv sys-auth/polkit says?

Regards.
-- 
Canek Peláez Valdés
Posgrado en Ciencia e Ingeniería de la Computación
Universidad Nacional Autónoma de México



Re: [gentoo-user] [ANNOUNCE] I like systemd now :)

2012-11-12 Thread Keith Dart
Re
20121112152513.62482d17@dartworks.biz20121112152513.62482d17@dartworks.bizCADPrc81rNbM2XLnOsANLsY5dL-8o2Lmdwe1+8+GNrtNuxV4h0w@mail.gmail.com20121112151105.44071321@dartworks.bizCADPrc83npGRPaaNfJqSHYRWb+CJWaU4GtU1CqaR=_Cc9q6eokQ@mail.gmail.com20121112134014.632fa8c7@dartworks.bizCADPrc80e46k1JN3jE0Y=Xobbo7Vh6jotc=dnhzLo9-Z_vj+wkw@mail.gmail.com2012192731.149dc082@dartworks.bizCADPrc83TGeegA0UXadMEy=B62xZYOE50bqfw+dxDJ8f=FkPTHA@mail.gmail.com2012185801.58964939@dartworks.bizCADPrc83+5zUQ+GzCSvyHhZa7BZfMqqagZCosktasOY1sdhCx0Q@mail.gmail.com2012175313.54b9acf1@dartworks.bizCADPrc80EwExpbdcJX1a+aE0DA=iopqw-QOaozmUBJCs5FGew-g@mail.gmail.com20121109171149.1d8a3e18@dartworks.biz509D9C62.9040909@gmail.com509D8E00.4030208@coolmail.sek7k1hn$ce6$1...@ger.gmane.org,
Canek Peláez Valdés said:
 What does emerge -1pv sys-auth/polkit says?

The pam use flag has always been set globally. 

Here is the output:


venus ~ # emerge -1pv sys-auth/polkit

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild  N ] sys-auth/consolekit-0.4.5_p20120320-r1  USE=acl pam policykit 
-debug -doc (-selinux) {-test} 0 kB
[ebuild   R] sys-auth/pambase-20120417-r1  USE=consolekit* cracklib 
gnome-keyring sha512 systemd -debug -minimal -mktemp -pam_k
rb5 -pam_ssh -passwdqc (-selinux) 0 kB
[ebuild   R] sys-auth/polkit-0.107-r1  USE=examples gtk introspection nls 
pam -kde (-selinux) (-systemd) 0 kB

Total: 3 packages (1 new, 2 reinstalls), Size of downloads: 0 kB

The following USE changes are necessary to proceed:
#required by sys-auth/polkit-0.107-r1, required by sys-auth/polkit (argument)
=sys-auth/consolekit-0.4.5_p20120320-r1 policykit
#required by sys-auth/polkit-0.107-r1[pam], required by 
sys-auth/consolekit-0.4.5_p20120320-r1[policykit]
=sys-auth/pambase-20120417-r1 consolekit

Usually package.use entry should also work:

venus ~ # grep polkit /etc/portage/package.use 
sys-auth/polkit systemd

Yet something is forcing systemd flag off for polkit, but I can't figure out 
what it is. 


-- Keith


-- 

-- ~
   Keith Dart ke...@dartworks.biz
   public key: ID: 19017044
   http://www.dartworks.biz/
   =



Re: [gentoo-user] [ANNOUNCE] I like systemd now :)

2012-11-12 Thread Canek Peláez Valdés
On Mon, Nov 12, 2012 at 5:53 PM, Keith Dart ke...@dartworks.biz wrote:
 Re
 20121112152513.62482d17@dartworks.biz20121112152513.62482d17@dartworks.bizCADPrc81rNbM2XLnOsANLsY5dL-8o2Lmdwe1+8+GNrtNuxV4h0w@mail.gmail.com20121112151105.44071321@dartworks.bizCADPrc83npGRPaaNfJqSHYRWb+CJWaU4GtU1CqaR=_Cc9q6eokQ@mail.gmail.com20121112134014.632fa8c7@dartworks.bizCADPrc80e46k1JN3jE0Y=Xobbo7Vh6jotc=dnhzLo9-Z_vj+wkw@mail.gmail.com2012192731.149dc082@dartworks.bizCADPrc83TGeegA0UXadMEy=B62xZYOE50bqfw+dxDJ8f=FkPTHA@mail.gmail.com2012185801.58964939@dartworks.bizCADPrc83+5zUQ+GzCSvyHhZa7BZfMqqagZCosktasOY1sdhCx0Q@mail.gmail.com2012175313.54b9acf1@dartworks.bizCADPrc80EwExpbdcJX1a+aE0DA=iopqw-QOaozmUBJCs5FGew-g@mail.gmail.com20121109171149.1d8a3e18@dartworks.biz509D9C62.9040909@gmail.com509D8E00.4030208@coolmail.sek7k1hn$ce6$1...@ger.gmane.org,
 Canek Peláez Valdés said:
 What does emerge -1pv sys-auth/polkit says?

 The pam use flag has always been set globally.

 Here is the output:


 venus ~ # emerge -1pv sys-auth/polkit

 These are the packages that would be merged, in order:

 Calculating dependencies... done!
 [ebuild  N ] sys-auth/consolekit-0.4.5_p20120320-r1  USE=acl pam 
 policykit -debug -doc (-selinux) {-test} 0 kB
 [ebuild   R] sys-auth/pambase-20120417-r1  USE=consolekit* cracklib 
 gnome-keyring sha512 systemd -debug -minimal -mktemp -pam_k
 rb5 -pam_ssh -passwdqc (-selinux) 0 kB
 [ebuild   R] sys-auth/polkit-0.107-r1  USE=examples gtk introspection 
 nls pam -kde (-selinux) (-systemd) 0 kB

 Total: 3 packages (1 new, 2 reinstalls), Size of downloads: 0 kB

 The following USE changes are necessary to proceed:
 #required by sys-auth/polkit-0.107-r1, required by sys-auth/polkit (argument)
=sys-auth/consolekit-0.4.5_p20120320-r1 policykit
 #required by sys-auth/polkit-0.107-r1[pam], required by 
 sys-auth/consolekit-0.4.5_p20120320-r1[policykit]
=sys-auth/pambase-20120417-r1 consolekit

 Usually package.use entry should also work:

 venus ~ # grep polkit /etc/portage/package.use
 sys-auth/polkit systemd

 Yet something is forcing systemd flag off for polkit, but I can't figure out 
 what it is.

Oops, sorry, I forgot about it. They included systemd in
package.use.mask, since it conflicts with consolekit (which is the
standard in Gentoo still). You need to add this to
/etc/portage/profile/package.use.mask:

sys-auth/polkit -systemd

Then you will be able to use polkit with systemd, and consolekit will
be expunged from your system.

Regards.
-- 
Canek Peláez Valdés
Posgrado en Ciencia e Ingeniería de la Computación
Universidad Nacional Autónoma de México



Re: [gentoo-user] [ANNOUNCE] I like systemd now :)

2012-11-12 Thread Keith Dart
Re
20121112155355.3766e304@dartworks.biz20121112155355.3766e304@dartworks.bizCADPrc83xjvcJgkRW32iWK_D_tyJN_gvaMOCR58CiFeZxwihxow@mail.gmail.com20121112152513.62482d17@dartworks.bizCADPrc81rNbM2XLnOsANLsY5dL-8o2Lmdwe1+8+GNrtNuxV4h0w@mail.gmail.com20121112151105.44071321@dartworks.bizCADPrc83npGRPaaNfJqSHYRWb+CJWaU4GtU1CqaR=_Cc9q6eokQ@mail.gmail.com20121112134014.632fa8c7@dartworks.bizCADPrc80e46k1JN3jE0Y=Xobbo7Vh6jotc=dnhzLo9-Z_vj+wkw@mail.gmail.com2012192731.149dc082@dartworks.bizCADPrc83TGeegA0UXadMEy=B62xZYOE50bqfw+dxDJ8f=FkPTHA@mail.gmail.com2012185801.58964939@dartworks.bizCADPrc83+5zUQ+GzCSvyHhZa7BZfMqqagZCosktasOY1sdhCx0Q@mail.gmail.com2012175313.54b9acf1@dartworks.bizCADPrc80EwExpbdcJX1a+aE0DA=iopqw-QOaozmUBJCs5FGew-g@mail.gmail.com20121109171149.1d8a3e18@dartworks.biz509D9C62.9040909@gmail.com509D8E00.4030208@coolmail.sek7k1hn$ce6$1...@ger.gmane.org,
Canek Peláez Valdés said:
 You need to add this to
 /etc/portage/profile/package.use.mask:
 
 sys-auth/polkit   -systemd
 
 Then you will be able to use polkit with systemd, and consolekit will
 be expunged from your system


Thanks a lot, that fixed it.  Now it seems to work much better.

Now I have to change some habits... such as when I switch to the
console I may sometimes do /etc/init.d/xdm stop, and /etc/init.d/gpm
start. Now I can't do that. It doesn't seem gpm has a .start file, so
I guess I'll have to make one myself.  Where do I add that? It looks
like /etc/systemd/user? 



-- Keith


-- 

-- ~
   Keith Dart ke...@dartworks.biz
   public key: ID: 19017044
   http://www.dartworks.biz/
   =



Re: [gentoo-user] [ANNOUNCE] I like systemd now :)

2012-11-11 Thread Keith Dart
Re
20121109171149.1d8a3e18@dartworks.biz20121109171149.1d8a3e18@dartworks.biz509D9C62.9040909@gmail.com509D8E00.4030208@coolmail.sek7k1hn$ce6$1...@ger.gmane.org,
Canek Peláez Valdés said:
 Just a word of advice: if you are a normal laptop user, systemd has
 replaced most of the functionality of consolekit; so if you boot with
 systemd, several packages need to have enable the systemd USE flag
 (and the consolekit one disabled). In particular, pambase and polkit
 need to set either systemd or consolekit, but cannot set both.


Ok, it's also helpful to add the systemd overlay and emerge
systemd-units and baselayout-systemd. 

You also have to enable by hand most services. There wasn't one for
lightdm (to get graphical login), but slim had one so I just switched
to that. Turns out I like that one better, anyway. :-)


-- Keith


-- 

-- ~
   Keith Dart ke...@dartworks.biz
   public key: ID: 19017044
   http://www.dartworks.biz/
   =



Re: [gentoo-user] [ANNOUNCE] I like systemd now :)

2012-11-11 Thread Canek Peláez Valdés
On Sun, Nov 11, 2012 at 7:53 PM, Keith Dart ke...@dartworks.biz wrote:
 Re
 20121109171149.1d8a3e18@dartworks.biz20121109171149.1d8a3e18@dartworks.biz509D9C62.9040909@gmail.com509D8E00.4030208@coolmail.sek7k1hn$ce6$1...@ger.gmane.org,
 Canek Peláez Valdés said:
 Just a word of advice: if you are a normal laptop user, systemd has
 replaced most of the functionality of consolekit; so if you boot with
 systemd, several packages need to have enable the systemd USE flag
 (and the consolekit one disabled). In particular, pambase and polkit
 need to set either systemd or consolekit, but cannot set both.


 Ok, it's also helpful to add the systemd overlay and emerge
 systemd-units and baselayout-systemd.

Mmmh. I stopped using that overlay years ago. It's still maintained?

 You also have to enable by hand most services. There wasn't one for
 lightdm (to get graphical login), but slim had one so I just switched
 to that. Turns out I like that one better, anyway. :-)

You can also link /etc/systemd/system/display-manager.service to your
preferred login manager. Recent versions of systemd will take care of
everything else.

Regards.
-- 
Canek Peláez Valdés
Posgrado en Ciencia e Ingeniería de la Computación
Universidad Nacional Autónoma de México



Re: [gentoo-user] [ANNOUNCE] I like systemd now :)

2012-11-11 Thread Keith Dart
Re
2012175313.54b9acf1@dartworks.biz2012175313.54b9acf1@dartworks.bizCADPrc80EwExpbdcJX1a+aE0DA=iopqw-QOaozmUBJCs5FGew-g@mail.gmail.com20121109171149.1d8a3e18@dartworks.biz509D9C62.9040909@gmail.com509D8E00.4030208@coolmail.sek7k1hn$ce6$1...@ger.gmane.org,
Canek Peláez Valdés said:
 Mmmh. I stopped using that overlay years ago. It's still maintained?

Must be, it had all the necessary .service files that were missing from
the systemd install. You probably still had those laying around from
when you did use the overlay.
 
 You can also link /etc/systemd/system/display-manager.service to your
 preferred login manager. Recent versions of systemd will take care of
 everything else.

Except that there was no service file for my preferred login manager.
But I saw there was one installed for the slim manager. So rather
than fight, I switched. I also googled a little and found that lightdm
has an open bug for requesting systemd support Anyway, works fine
with slim, and it turns out I like it better anyway. Especially since
lightdm-gtk-greeter recently broke the background image support.


-- Keith


-- 

-- ~
   Keith Dart ke...@dartworks.biz
   public key: ID: 19017044
   http://www.dartworks.biz/
   =



Re: [gentoo-user] [ANNOUNCE] I like systemd now :)

2012-11-11 Thread Canek Peláez Valdés
On Sun, Nov 11, 2012 at 8:58 PM, Keith Dart ke...@dartworks.biz wrote:
 Re
 2012175313.54b9acf1@dartworks.biz2012175313.54b9acf1@dartworks.bizCADPrc80EwExpbdcJX1a+aE0DA=iopqw-QOaozmUBJCs5FGew-g@mail.gmail.com20121109171149.1d8a3e18@dartworks.biz509D9C62.9040909@gmail.com509D8E00.4030208@coolmail.sek7k1hn$ce6$1...@ger.gmane.org,
 Canek Peláez Valdés said:
 Mmmh. I stopped using that overlay years ago. It's still maintained?

 Must be, it had all the necessary .service files that were missing from
 the systemd install.

That doesn't mean anything; the format of the .service files is really
simple and most of them will work from systemd-1 to systemd-195.

 You probably still had those laying around from
 when you did use the overlay.

No, I do not. Which service files do you need from the package? The
only one I needed (and wasn't included in its own package) was for
vixie-cron.

 You can also link /etc/systemd/system/display-manager.service to your
 preferred login manager. Recent versions of systemd will take care of
 everything else.

 Except that there was no service file for my preferred login manager.
 But I saw there was one installed for the slim manager. So rather
 than fight, I switched. I also googled a little and found that lightdm
 has an open bug for requesting systemd support Anyway, works fine
 with slim, and it turns out I like it better anyway. Especially since
 lightdm-gtk-greeter recently broke the background image support.

systemd support is generally optional, not mandatory. In other
words, if lightdm works with OpenRC, it will work with systemd; maybe
it will not integrate a lot of features from it, but it will work as
it works in OpenRC: as a standalone service.

I'm pretty sure a Google search will give you several instances of
service files for lightdm (or wathever login manager you want to use).

Regards.
-- 
Canek Peláez Valdés
Posgrado en Ciencia e Ingeniería de la Computación
Universidad Nacional Autónoma de México



Re: [gentoo-user] [ANNOUNCE] I like systemd now :)

2012-11-11 Thread Keith Dart
Re
2012185801.58964939@dartworks.biz2012185801.58964939@dartworks.bizCADPrc83+5zUQ+GzCSvyHhZa7BZfMqqagZCosktasOY1sdhCx0Q@mail.gmail.com2012175313.54b9acf1@dartworks.bizCADPrc80EwExpbdcJX1a+aE0DA=iopqw-QOaozmUBJCs5FGew-g@mail.gmail.com20121109171149.1d8a3e18@dartworks.biz509D9C62.9040909@gmail.com509D8E00.4030208@coolmail.sek7k1hn$ce6$1...@ger.gmane.org,
Canek Peláez Valdés said:
 That doesn't mean anything; the format of the .service files is really
 simple and most of them will work from systemd-1 to systemd-195.

As long as you know what the dependencies are and how to invoke it (is
it a deamon, or not?). Yes you can figure all that out and write all
files but it would take some time. the overlay saved me a lot of time. 

 No, I do not. Which service files do you need from the package? The
 only one I needed (and wasn't included in its own package) was for
 vixie-cron.

And syslog-ng, and others I forgot. These have already been done in the
overlay. 

So after some experience with it, I see that booting is a little
faster, but not much. But my xfce session startup seems to take longer
now. hm... It's also less clear how to manage this thing. The systemadm
tool segfaults on me.  on the plus side the shutdown is much faster.



-- Keith


-- 

-- ~
   Keith Dart ke...@dartworks.biz
   public key: ID: 19017044
   http://www.dartworks.biz/
   =



Re: [gentoo-user] [ANNOUNCE] I like systemd now :)

2012-11-11 Thread Canek Peláez Valdés
On Sun, Nov 11, 2012 at 9:27 PM, Keith Dart ke...@dartworks.biz wrote:
 Re
 2012185801.58964939@dartworks.biz2012185801.58964939@dartworks.bizCADPrc83+5zUQ+GzCSvyHhZa7BZfMqqagZCosktasOY1sdhCx0Q@mail.gmail.com2012175313.54b9acf1@dartworks.bizCADPrc80EwExpbdcJX1a+aE0DA=iopqw-QOaozmUBJCs5FGew-g@mail.gmail.com20121109171149.1d8a3e18@dartworks.biz509D9C62.9040909@gmail.com509D8E00.4030208@coolmail.sek7k1hn$ce6$1...@ger.gmane.org,
 Canek Peláez Valdés said:
 That doesn't mean anything; the format of the .service files is really
 simple and most of them will work from systemd-1 to systemd-195.

 As long as you know what the dependencies are and how to invoke it (is
 it a deamon, or not?). Yes you can figure all that out and write all
 files but it would take some time. the overlay saved me a lot of time.

I can see now that the overlay is indeed being maintained.

 No, I do not. Which service files do you need from the package? The
 only one I needed (and wasn't included in its own package) was for
 vixie-cron.

 And syslog-ng, and others I forgot. These have already been done in the
 overlay.

I used rsyslog, which contains its own service file (like most of the
packages I use). Now I'm using only the journal.

 So after some experience with it, I see that booting is a little
 faster, but not much. But my xfce session startup seems to take longer
 now.

That it's weird. What does systemd-analyze blame say after a fresh boot?

 hm... It's also less clear how to manage this thing. The systemadm
 tool segfaults on me.

That is a bug, and probably related to the slow boot.

  on the plus side the shutdown is much faster.

If you give us more information, perhaps we can try to figure out the issues.

Regards.
-- 
Canek Peláez Valdés
Posgrado en Ciencia e Ingeniería de la Computación
Universidad Nacional Autónoma de México



Re: [gentoo-user] [ANNOUNCE] I like systemd now :)

2012-11-09 Thread pk
On 2012-11-09 23:53, walt wrote:

 You Lennart haters out there (and I was one of you not so long ago ;)
 now I think he's not so bad after all.  He just doesn't know yet how to
 explain things properly to old farts.

Good for you. I really don't see the point in preaching systemd's
greatness (or Lennart's). I'm not going to try it anyway. Also, I really
don't see a point in booting fast (and I don't see anything wrong with
openrc). So why do you feel the need to preach? Just curious...

Best regards

Peter K



Re: [gentoo-user] [ANNOUNCE] I like systemd now :)

2012-11-09 Thread Dale
pk wrote:
 On 2012-11-09 23:53, walt wrote:

 You Lennart haters out there (and I was one of you not so long ago ;)
 now I think he's not so bad after all.  He just doesn't know yet how to
 explain things properly to old farts.
 Good for you. I really don't see the point in preaching systemd's
 greatness (or Lennart's). I'm not going to try it anyway. Also, I really
 don't see a point in booting fast (and I don't see anything wrong with
 openrc). So why do you feel the need to preach? Just curious...

 Best regards

 Peter K




I don't worry about boot up times much either.  Here is why:

root@fireball / # uptime
 18:09:00 up 48 days, 11:18,  3 users,  load average: 0.18, 0.25, 0.30
root@fireball / #


As long as the local power company gives me power, I'm running.  My rig,
fast as it might be, pulls significantly less power than my old rig that
is only about a tenth as fast.  So, faster rig, less power.  I can
handle that. 

As long as I can have good uptimes, I just don't see any need to convert
to something I only use once every couple months. 

Now for someone who has to reboot a lot, sounds windowish doesn't it,
then by all means convert to systemd or whatever suites your fancy.  As
always, what works for one doesn't suite the needs of another.  That's
why we use Gentoo.  We get to use what suites us.  ;-) 

Dale

:-)  :-) 

-- 
I am only responsible for what I said ... Not for what you understood or how 
you interpreted my words!




Re: [gentoo-user] [ANNOUNCE] I like systemd now :)

2012-11-09 Thread 微蔡
On Saturday 10 November 2012 00:13:04 pk wrote:
 On 2012-11-09 23:53, walt wrote:
  You Lennart haters out there (and I was one of you not so long ago 
;)
  now I think he's not so bad after all.  He just doesn't know yet how 
to
  explain things properly to old farts.
 
 Good for you. I really don't see the point in preaching systemd's
 greatness (or Lennart's). I'm not going to try it anyway. Also, I really
 don't see a point in booting fast (and I don't see anything wrong with
 openrc). So why do you feel the need to preach? Just curious...
 

systemd is not just about booting fast. If booting fast is the only thing 
you can have in systemd, then systemd is nothing.

what systemd give you:  easier maintainance !

what openrc give you: already maintained well by Gentoo self-less-
ness guy. but if an update goes, the Gentoo Devs will be busy again. 

Again , you're not the one maintainning such shell script crap.It's the 
ebuild maintainer that does.


 __ 
 gentoo rocks 
 -- 
\   ^__^
 \  (oo)\___
(__)\   )\/\
||w |
|| ||




Re: [gentoo-user] [ANNOUNCE] I like systemd now :)

2012-11-09 Thread Keith Dart
Re
509D8E00.4030208@coolmail.se509D8E00.4030208@coolmail.sek7k1hn$ce6$1...@ger.gmane.org,
Dale said:
 I don't worry about boot up times much either.  Here is why:


I was thinking of converting to systemd on my Gentoo laptop. There I do
boot frequently, and could benefit from quicker bootups. So I'm happy
to some success stories with it, since I've been holding off on taking
that plunge. 


-- Keith


-- 

-- ~
   Keith Dart ke...@dartworks.biz
   public key: ID: 19017044
   http://www.dartworks.biz/
   =



Re: [gentoo-user] [ANNOUNCE] I like systemd now :)

2012-11-09 Thread Canek Peláez Valdés
On Fri, Nov 9, 2012 at 7:11 PM, Keith Dart ke...@dartworks.biz wrote:
 Re
 509D8E00.4030208@coolmail.se509D8E00.4030208@coolmail.sek7k1hn$ce6$1...@ger.gmane.org,
 Dale said:
 I don't worry about boot up times much either.  Here is why:


 I was thinking of converting to systemd on my Gentoo laptop. There I do
 boot frequently, and could benefit from quicker bootups.

As 微蔡 said, fast boots is only one of the many advantages that systemd
offers. It's probably the most user-visible, though.

 So I'm happy
 to some success stories with it, since I've been holding off on taking
 that plunge.

We have had some of those lately. I believe João Matos just did the
switch some weeks ago, using KDE. I did it almost two years ago,
around December 2010, using GNOME (then 2, now 3). I haven't heard any
insurmountable problem when switching: if you are a regular desktop or
simple server user, it probably will work without you needing to do
anything special (except using init=/usr/bin/systemd in your kernel
command line and maybe needing to reemerge a couple of packages with
USE=systemd). If you use something more complicated (RAID, LVM, NFS,
that kind of stuff), you probably will  need to enable or perhaps
change a couple of services, but that's it. If you use a not very
common daemon, maybe you will need to write its service file; but it's
ridiculous easy (specially when compared to sysvinit scripts).

Just a word of advice: if you are a normal laptop user, systemd has
replaced most of the functionality of consolekit; so if you boot with
systemd, several packages need to have enable the systemd USE flag
(and the consolekit one disabled). In particular, pambase and polkit
need to set either systemd or consolekit, but cannot set both.

Regards.
-- 
Canek Peláez Valdés
Posgrado en Ciencia e Ingeniería de la Computación
Universidad Nacional Autónoma de México



Re: [gentoo-user] [ANNOUNCE] I like systemd now :)

2012-11-09 Thread Keith Dart
Re
20121109171149.1d8a3e18@dartworks.biz20121109171149.1d8a3e18@dartworks.biz509D9C62.9040909@gmail.com509D8E00.4030208@coolmail.sek7k1hn$ce6$1...@ger.gmane.org,
Canek Peláez Valdés said:
 Just a word of advice: if you are a normal laptop user, systemd has
 replaced most of the functionality of consolekit; so if you boot with
 systemd, several packages need to have enable the systemd USE flag
 (and the consolekit one disabled). In particular, pambase and polkit
 need to set either systemd or consolekit, but cannot set both.


Thanks for the advice! So now I'm motivated to go do it. :)



-- Keith


-- 

-- ~
   Keith Dart ke...@dartworks.biz
   public key: ID: 19017044
   http://www.dartworks.biz/
   =



Re: [gentoo-user] [ANNOUNCE] I like systemd now :)

2012-11-09 Thread Dale
Keith Dart wrote:
 Re
 509D8E00.4030208@coolmail.se509D8E00.4030208@coolmail.sek7k1hn$ce6$1...@ger.gmane.org,
 Dale said:
 I don't worry about boot up times much either.  Here is why:

 I was thinking of converting to systemd on my Gentoo laptop. There I do
 boot frequently, and could benefit from quicker bootups. So I'm happy
 to some success stories with it, since I've been holding off on taking
 that plunge. 


 -- Keith




I mentioned in my post that there are reasons some may want to use
systemd.  Here it is:

Now for someone who has to reboot a lot, sounds windowish doesn't it,
then by all means convert to systemd or whatever suites your fancy. As
always, what works for one doesn't suite the needs of another. That's
why we use Gentoo. We get to use what suites us. 

It sounds like systemd would benefit you since you have to reboot a lot.  Thing 
is, lots of people don't reboot that often.  Given you have a laptop, you 
likely reboot quite often and even a faster boot up would be nice so maybe you 
should give it a try.  After all, when you are running off of a battery, every 
bit counts.  

I have seen quite a few posts where people have switched to it.  It seems it 
has a bit of a curve to getting it working but once working, it works.  Me, if 
I was going to switch, I'd use a second install or copy my current install to 
another partition, just in case I can't get around that curve.  ;-)  

My point was that I don't see any reason to switch myself.  While sort of 
agreeing with pk, I do see what some would want to switch and I have no problem 
with someone posting a success story.  I have done so myself when I went to 
LVM.  I'm sure there are others but that is one I remember pretty well.  

Dale

:-)  :-)  

-- 
I am only responsible for what I said ... Not for what you understood or how 
you interpreted my words!




Re: [gentoo-user] [ANNOUNCE] I like systemd now :)

2012-11-09 Thread Volker Armin Hemmann
Am Freitag, 9. November 2012, 17:11:49 schrieb Keith Dart:
 Re
 509D8E00.4030208@coolmail.se509D8E00.4030208@coolmail.sek7k1hn$ce6$1...@ger.gma
 ne.org,
 Dale said:
  I don't worry about boot up times much either.  Here is why:
 I was thinking of converting to systemd on my Gentoo laptop. There I do
 boot frequently, and could benefit from quicker bootups. So I'm happy
 to some success stories with it, since I've been holding off on taking
 that plunge.
 
 
 -- Keith

suspend to ram is the answer. Faster than any boot.

-- 
#163933



Re: [gentoo-user] [ANNOUNCE] I like systemd now :)

2012-11-09 Thread 微蔡
On Saturday 10 November 2012 07:54:21 Volker Armin Hemmann 
wrote:
 Am Freitag, 9. November 2012, 17:11:49 schrieb Keith Dart:
  Re
  
509D8E00.4030208@coolmail.se509D8E00.4030208@coolmail.sek7k1hn$ce6$1@ger.g
  ma ne.org,
  
  Dale said:
   I don't worry about boot up times much either.  Here is why:
  I was thinking of converting to systemd on my Gentoo laptop. 
There I do
  boot frequently, and could benefit from quicker bootups. So I'm 
happy
  to some success stories with it, since I've been holding off on 
taking
  that plunge.
  
  
  -- Keith
 
 suspend to ram is the answer. Faster than any boot.

The you are happy to use a system take take a year to boot, then 
never shutdown.

-- 
 __ 
 gentoo rocks 
 -- 
\   ^__^
 \  (oo)\___
(__)\   )\/\
||w |
|| ||




Re: [gentoo-user] [ANNOUNCE] I like systemd now :)

2012-11-09 Thread Volker Armin Hemmann
Am Samstag, 10. November 2012, 15:17:26 schrieb 微蔡:
 On Saturday 10 November 2012 07:54:21 Volker Armin Hemmann
 
 wrote:
  Am Freitag, 9. November 2012, 17:11:49 schrieb Keith Dart:
   Re
 
 509D8E00.4030208@coolmail.se509D8E00.4030208@coolmail.sek7k1hn$ce6$1@ger.g
 
   ma ne.org,
   
   Dale said:
I don't worry about boot up times much either.  Here is why:
   I was thinking of converting to systemd on my Gentoo laptop.
 
 There I do
 
   boot frequently, and could benefit from quicker bootups. So I'm
 
 happy
 
   to some success stories with it, since I've been holding off on
 
 taking
 
   that plunge.
   
   
   -- Keith
  
  suspend to ram is the answer. Faster than any boot.
 
 The you are happy to use a system take take a year to boot, then
 never shutdown.

more like 6 seconds - and suspend-to-ram is like shutdown.
-- 
#163933