Re: [DNG] suspend and hybernate

2016-04-12 Thread Brad Campbell

On 13/04/16 09:27, Steve Litt wrote:

Hi all,

What's the difference between suspend and hybernate?

How can I achieve each condition from the command prompt?

If I achieve each condition from the command prompt, how do I "wake up"
the computer when I'm ready to use it again?


In practical terms :

Hibernate saves state to disk and powers the machine off. Resume is 
effected by powering up the machine and booting the kernel you were 
using. Either the kernel or with the help of the initramfs will find the 
suspended state and restore it.


Suspend quiesces the machine, powers down accessories it can power down 
and put the machine into an ultra low power mode with state preserved in 
RAM. The machine will have one or more wakeup devices active and powered 
on and hitting one of those will bring the machine back.


Personally I use a hybrid known as s2both. It queisces the machine, 
saves state to disk and then suspends to ram. This has the disadvantage 
that it takes time to write out to disk, but has the advantage that when 
I inevitably forget to plug the machine in, or it runs out of battery 
because I've suspended it with 5% battery left and that goes in a day, 
when I plug it back in and boot it up it resumes from disk.


All of these options live in pm-utils and can be configured up from 
there. I have suspend scripts that unload the wireless driver module 
(broadcoms wl driver is not reliable on resume), configures my wakeup 
sources so only the power button brings it back (because the Macbook 
sometimes issues spurious usb keyboard/mouse wake events that turn your 
laptop into a backpack heater), and sets up other niceties that make 
things just nicer in general.


I also suspend to encrypted swap, so if I need to resume from disk the 
initramfs is required to unlock the swap prior to starting the resume 
process.



___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


[DNG] suspend and hybernate

2016-04-12 Thread Steve Litt
Hi all,

What's the difference between suspend and hybernate?

How can I achieve each condition from the command prompt?

If I achieve each condition from the command prompt, how do I "wake up"
the computer when I'm ready to use it again?

Thanks,

SteveT

Steve Litt 
April 2016 featured book: Rapid Learning for the 21st Century
http://www.troubleshooters.com/rl21
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] suspend

2016-04-12 Thread Simon Walter


On 2016/04/13 3:03, Jaromil wrote:
Now if you like this project to thrive then please lower the 
aggression you also recognize as disruptive in other projects. Let go, 
ignore what is not interesting. Noone here needs an expert to give an 
opinion on every topic, even if mistakes are made. Even a completely 
selfish behavior would be tolerable (then why bother if others aren't 
as expert as you are?) but really not aggressions. 


Yes, I was actually quite surprised at the level of emotion on this 
list. Then I realized that perhaps a lot of you have toiled in the fight 
to keep Debian full of options. I appreciate that struggle that you all 
have been through. I am actually amused most of the time.


We need to make sure that we portray ourselves in a way that others see 
we will not harm the community nor the project. Once someone starts 
expressing themselves in a way that makes it difficult for others to 
take seriously, that's unhealthy for the community. I don't mean that we 
have to be PC about everything, but we need to respect each other. Then 
we can challenge each other in honesty and seriousness. Otherwise it 
becomes personal. On this list, we are about Devuan, not about ourselves.

___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] suspend

2016-04-12 Thread Steve Litt
On Tue, 12 Apr 2016 18:12:21 + (UTC)
Go Linux  wrote:


> 
> There is a good reason that I have had Rainer's posts filtered
> directly to delete for many months. 

Me too.

>  So none of this kerfuffle
> reached my inbox.  

Nor my inbox

> Others can of course do the same so Rainer can
> rant in a cone of silence.

That would be my recommendation. As a matter of fact, I wrote about it
once:

http://www.troubleshooters.com/linux/init/killfile.htm

If a tree falls in the forest, but no living thing was within hearing
distance, did it really make a sound?

If a troll trolls on a list, but everybody's got him piped
to /dev/null, did he really troll?

There's a certain beauty in that philosophy.

SteveT

Steve Litt 
April 2016 featured book: Rapid Learning for the 21st Century
http://www.troubleshooters.com/rl21
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


[DNG] I have not seen any updates lately

2016-04-12 Thread dev

Hi All,
I run Devuan, as well as some ubuntu 12.04 and 14.04 boxes,and noticed 
many handfuls of updates over the past few weeks for Ubuntu but nothing 
for Devuan. Usually there is something that trickles down to Devuan when 
I notice a lot of Ubuntu updates so just wondering...


Are we just that awesome that nothing has needed patching lately or have 
I perhaps missed a thread about this?




___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] suspend

2016-04-12 Thread Rainer Weikusat
Arnt Gulbrandsen  writes:
> Rainer Weikusat writes:
>> ... their OT posts / trolls / rants / 'news' items for just
>> one month.
>
> It would be nice to have a bit less blahblah about random
> systemd-related topics and a bit more about devuan. I've more or less
> phased out from the list because of that, actually.

This could effectively be achieved in two ways (I can think of at the
moment):

- get rid of the "Debian is Not Gnome/ First discussion list
  after ..." and put something like "this is for discussing
  issues relating to Devuan development/ Devuan use" on the web
  page

- create a new list dedicated to this purpose

___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] suspend

2016-04-12 Thread Go Linux
On Tue, 4/12/16, Jaromil  wrote:

 Subject: Re: [DNG] suspend
 To: dng@lists.dyne.org
 Date: Tuesday, April 12, 2016, 12:17 PM
 
> dear Rainer,

On Tue, 12 Apr 2016, Rainer Weikusat wrote:
>> Ehh ... you do realize that - for as long as people [...]

> I don't understand the origin of your frustration nor appreciate the
> fact you are driving ad-personam attacks here, this being the main
> reason why I'm writing this on-list.
> 
> What puzzles me is: why you keep being here and well among the top
> posters? if you have such a low opinion of this place, please then
> just leave and don't waste your time with us. or do you think that
> Devuan must be somehow "liberated"... from its own people?!
> 
> I say this because the contributions and reports of the people you are
> aggressing, who are active both on and off this list, are absolutely
> valuable for the development of Devuan. Also in the past you aggressed
> other people who are contributing or even just when they were starting
> to contribute.
> 
> So now please stop doing this, consider leaving this place and think
> better about the origin of all this aggressivity, I suspect it may
> improve everyone's perception of your attempts to participate.
> 
> ciao
> 



There is a good reason that I have had Rainer's posts filtered directly to 
delete for many months.  So none of this kerfuffle reached my inbox.  Others 
can of course do the same so Rainer can rant in a cone of silence.

golinux


 
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] suspend

2016-04-12 Thread Jaromil
On Tue, 12 Apr 2016, Rainer Weikusat wrote:

>   - I don't have so much spare time that I could seriously work on
>   something I don't need myself for 'street creds' alone (1
>   day off per week, 51 weeks of work per year and on this
>   schedule since 2003)

ok, same here, but then really can't you see how much time you are
spending here putting up fights with other people?

Also I don't understand why you consider contributing to Devuan
something for the 'spare time' after stating you may be interested in
it for a VPN product.

Rest assured that the last year of "silence" for the project has been
not just because we have little spare time, but actually because all
core developers involved started adopting Devuan for more and more
tasks that are mission critical for our own work.

We are slow in eating our own dog-food, carefully learning to spice it
well. This is the best way to make software great as, let me
emphasize, there are many Debian developers who forgot to do that
nowadays and use OSX as their personal computer. Without doing this,
being in the front-line risking, we could never come out and tell the
GNU world at large; this works. We still take the word "beta" and will
be taking the word "stable" very seriously!

Now if you like this project to thrive then please lower the
aggression you also recognize as disruptive in other projects.
Let go, ignore what is not interesting. Noone here needs an expert to
give an opinion on every topic, even if mistakes are made. Even a
completely selfish behavior would be tolerable (then why bother if
others aren't as expert as you are?) but really not aggressions.

ciao
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] suspend

2016-04-12 Thread Arnt Gulbrandsen

Rainer Weikusat writes:

... their OT posts / trolls / rants / 'news' items for just
one month.


It would be nice to have a bit less blahblah about random systemd-related 
topics and a bit more about devuan. I've more or less phased out from the 
list because of that, actually.


Arnt

___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] suspend

2016-04-12 Thread Mitt Green

Rainer Weikusat wrote:


Ehh ... you do realize that - for as long as people like Mr Baum keeps
posting his entirely pointless insults or the person hiding behind the
moniker "GoLinux" keeps expatiating her inability to understand that
she's not the center of the universe and that the overwhelming majority
of people on this planet don't care about her and won't ever care about
her, the chances that anybody would willingly endure this sorrily
typical "open source jerk-fest" are terribly low?


Mr Baum, as a matter of fact, is right. We here tend to gossip about
everything, and if there were a scale for measuring most frequent
topics, Devuan wouldn't be in the top ten. His activity is remarkable,
in terms of, he tries at least to do something. Devuan for its a year
and a half has done less job but more hype than Adam with his repos.

And I couldn't find a word of "insult" from Mr Baum and no self-centred
behaviour of Go Linux (by the way, would love to know the name but don't
demand).

This is in case if my two cents are counted.

/ Mitt
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] suspend

2016-04-12 Thread Rainer Weikusat
Jaromil  writes:
> dear Rainer,
>
> On Tue, 12 Apr 2016, Rainer Weikusat wrote:
>> Ehh ... you do realize that - for as long as people [...]
>
> I don't understand the origin of your frustration nor appreciate the
> fact you are driving ad-personam attacks here, this being the main
> reason why I'm writing this on-list.

I'll sweeten the deal: If the list doesn't match the challenge, I'll
still do it if the 'usual' yentas on the list (you know who you are) can
keep a lid on their OT posts / trolls / rants / 'news' items for just
one month.

Yenta or Yente (Yiddish: יענטאַ‎) is a Yiddish designation for a woman who
is a gossip or busybody

https://en.wikipedia.org/wiki/Yenta

I don't think this was supposed to be a compliment.
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] suspend

2016-04-12 Thread Rainer Weikusat
Rainer Weikusat  writes:

[...]

> the chances that anybody would willingly endure this sorrily
> typical "open source ***-fest" are terribly low?

Elaborating a little on this: I'm subscribed to this list because I'm
looking for a systemd-free upgrade path for my work computer (presumably
within the next 1 or 2 months) and potentially, also for a (presently
still Debian 6 based) 'commercial' VPN product. Considering that I'm
just a lowly software developer, I presently can't offer anything except
opinions, advice and (possibly later), fixing odd bugs I happen to
encounter. I gave up on Debian 'as a community' pretty soon after I
started using it in 1999 because the people I encountered were just too
aggressive ("How can you beggarly user dare to ... when WE are "-style)
for me to stand them, taking a "well, for as long as they don't do
outright stupid stuff [like switching to systemd], I can just live with
the result" stance instead. Debian crossed the "doing outright stupid
stuff" boundary a while ago. I'm still unsure what I should think of
Devuan, however,

- I surely don't want to get personal hate mail (or be flamed in
  public) because I've been working as professional Linux
  developer at all levels of the stack down to kernel ports and
  boot loaders and up to PHP 'web applications' for more than 13
  years (and have been a developer hobbyist for another 10) 

- the innuendo some people apparently so much enjoy basking in
  ("all you yentas, you know who you are") is unpleasant and
  annoying, not the least because it's totally unrelated to
  anything-Devuan even in the most remote sense

- I don't have so much spare time that I could seriously work on
  something I don't need myself for 'street creds' alone (1
  day off per week, 51 weeks of work per year and on this
  schedule since 2003)

So far, I've only acquired one permanent - Gnus score file entry
which is certainly "above average not-unfriendly" for an open source
project but that's still one too much.
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] suspend

2016-04-12 Thread Jaromil

dear Rainer,

On Tue, 12 Apr 2016, Rainer Weikusat wrote:
> Ehh ... you do realize that - for as long as people [...]

I don't understand the origin of your frustration nor appreciate the
fact you are driving ad-personam attacks here, this being the main
reason why I'm writing this on-list.

What puzzles me is: why you keep being here and well among the top
posters? if you have such a low opinion of this place, please then
just leave and don't waste your time with us. or do you think that
Devuan must be somehow "liberated"... from its own people?!

I say this because the contributions and reports of the people you are
aggressing, who are active both on and off this list, are absolutely
valuable for the development of Devuan. Also in the past you aggressed
other people who are contributing or even just when they were starting
to contribute.

So now please stop doing this, consider leaving this place and think
better about the origin of all this aggressivity, I suspect it may
improve everyone's perception of your attempts to participate.

ciao

___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] suspend

2016-04-12 Thread Go Linux


On Tue, 4/12/16, Boruch Baum  wrote:

 Subject: Re: [DNG] suspend
 To: dng@lists.dyne.org
 Date: Tuesday, April 12, 2016, 2:38 AM

No polkit but I did find these in /var/log/dpkg.log :

policykit-1:i386 0.105-9+devuan1

policykit-1-gnome:i386 0.105-2

golinux

___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] suspend

2016-04-12 Thread Rainer Weikusat
Jaromil  writes:
> On Tue, 12 Apr 2016, Boruch Baum wrote:

[...]

>> I'll sweeten the deal: If the list doesn't match the challenge, I'll
>> still do it if the 'usual' yentas on the list (you know who you are) can
>> keep a lid on their OT posts / trolls / rants / 'news' items for just
>> one month.
>
> I hope it happens, since you have spotted a lot of things that would
> be useful to fix so far.
>
> however, with the occasion of beta release, two lists will soon be
> added to this list: devuan-announce and devuan-discuss. the latter
> should be open discussion but only about devuan, while this list 'dng'
> will stay as a more generic campfire about living a happy life without
> systemd,

Ehh ... you do realize that - for as long as people like Mr Baum keeps
posting his entirely pointless insults or the person hiding behind the
moniker "GoLinux" keeps expatiating her inability to understand that
she's not the center of the universe and that the overwhelming majority
of people on this planet don't care about her and won't ever care about
her, the chances that anybody would willingly endure this sorrily
typical "open source jerk-fest" are terribly low?
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


[DNG] devuan-announce and devuan-discuss

2016-04-12 Thread Hendrik Boom
On Tue, Apr 12, 2016 at 05:33:24PM +0200, Jaromil wrote:
> 
> however, with the occasion of beta release, two lists will soon be
> added to this list: devuan-announce and devuan-discuss. the latter
> should be open discussion but only about devuan, while this list 'dng'
> will stay as a more generic campfire about living a happy life without
> systemd, hoping it can serve also as a commnication place for other
> projects.

Would it be possible for those new lists to be placed onto gmane 
immediately when they are started?  I managed to get this list 
there, but only after a lot of messages had come and gone.

I find that gmane is by far the easiest way of accessing archives.  
Provided you use a usenet client to read it.

This mailing list when I put it there got the unfortunate name
gmane.linux.devuan.devel.  Perhaps these new ones could get gmane 
names more like the names Jaromil stated.

-- hendrik

___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] suspend

2016-04-12 Thread Jaromil
On Tue, 12 Apr 2016, Boruch Baum wrote:

> You're welcome. GoLinux's response may indicate that my problem is
> NOT due to polkit. I'll explain in my response to him after I finish
> writing this.

I don't think she cares a lot about restating it every time, however
Golinux is a woman.

> OK. I'll make a 'deal' with the other members on the list. If in the
> next week at least ten people other than hellenkin, Jaromil and Daniel
> Reurich each add two real issues or solve two real issues, I will
> manually go back through all my past postings since I joined the list,
> and re-enter them as issues on github.

eheh, this is a very constructive way to put forward your concern :^)

lets see,

> I'll sweeten the deal: If the list doesn't match the challenge, I'll
> still do it if the 'usual' yentas on the list (you know who you are) can
> keep a lid on their OT posts / trolls / rants / 'news' items for just
> one month.

I hope it happens, since you have spotted a lot of things that would
be useful to fix so far.

however, with the occasion of beta release, two lists will soon be
added to this list: devuan-announce and devuan-discuss. the latter
should be open discussion but only about devuan, while this list 'dng'
will stay as a more generic campfire about living a happy life without
systemd, hoping it can serve also as a commnication place for other
projects.

ciao
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] suspend

2016-04-12 Thread Go Linux
On Tue, 4/12/16, Boruch Baum  wrote:

 Subject: Re: [DNG] suspend
 To: dng@lists.dyne.org
 Date: Tuesday, April 12, 2016, 2:38 AM
 
> I'm assuming that when you installed devuan, you asked the installer to
> install a desktop environment. 
> 

Yes, XFCE took care of everything.  However, at the time of the install - 
November 2/3 - the logout functions weren't working properly here either via 
the gui but did in terminal.  Centurion_Dan had to tweak upower.  I installed 
his fix on December 21.  You can read the #devuan discussion here starting in 
early December:

https://botbot.me/freenode/devuan/search/?q=upower 

> 
> 1] You didn't get an error message, which tells me devuan installed
> polkit on your system. The next question is why.
> 
> 1.1] Could you look at the result of running the following:
> 
>   head -qn1 /var/log/dpkg.log*
> 

That command threw up gibberish in terminal but I looked at the archive for the 
original install, searched for polkit and it wasn't there.   Only these pkgs 
were installed:

libpolkit-gobject-1-0:i386 0.105-9+devuan1
libpolkit-agent-1-0:i386 0.105-9+devuan1
libpolkit-agent-1-0:i386 0.105-9+devuan1

> 
>  grep -hm1 polkit /var/log/dpkg.log*
>

No output.

>  
>  2] There shouldn't be more than one authorization agent operating. At
>  best, it's confusing to administer, and at worst could freeze a system.
>  

Interesting.  Since I have some Mate pkgs installed I do have mate-polkit and 
mate-polkit-common installed.

hth,

golinux
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] removing ftp:// from mirrors lists

2016-04-12 Thread Jaromil
On Tue, 12 Apr 2016, Hendrik Boom wrote:

> Just got this on the debian boot list.
> They are proposing shutting down ftp for package access.
> Does that affect us?

it doesn't, nextime's repo manager Amprolla relies on http/s

thanks for noticing

ciao


___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] removing ftp:// from mirrors lists

2016-04-12 Thread Hendrik Boom
Just got this on the debian boot list.
They are proposing shutting down ftp for package access.
Does that affect us?

-- hendrik

On Tue, Apr 12, 2016 at 07:10:38AM +, Peter Palfrader wrote:
> Hi,
> 
> talking to several mirror operators on IRC (including fewllow DSA
> members), I get the impression that a lot of us would appreciate if we
> could deprecate the FTP as a transport protocol.
> 
> I suggest we start by removing ftp:// links from the various mirror
> pages and from the mirror masterlist.
> 
> 
> The latter is also used by the installer, AIUI.  -boot folks, can we
> just go ahead and kill the *-ftp: entries from Mirrors.masterlist?
> Do you have any objections or do you need some time before we do that?
> 
> 
> Cheers,
> -- 
> |  .''`.   ** Debian **
>   Peter Palfrader   | : :' :  The  universal
>  https://www.palfrader.org/ | `. `'  Operating System
> |   `-https://www.debian.org/
> 
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] Ah, the joys of debugging SystemD

2016-04-12 Thread Jack L. Frost
On Tue, Apr 12, 2016 at 04:54:32PM +0300, Jack L. Frost wrote:
> 
> There should be no reaso systemd would not work like that. exec places it 
> right
> at the top of the process tree. I'm now curious to test this. Will do later.

Just tested: after booting with /bin/bash as init in a fresh default Arch Linux
install, I've been able to exec /usr/lib/systemd/systemd with no apparent
problems.


signature.asc
Description: PGP signature
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] Ah, the joys of debugging SystemD

2016-04-12 Thread Jack L. Frost
On Tue, Apr 12, 2016 at 02:32:27PM +0100, Rainer Weikusat wrote:
> NB: Just applying the init procedure to systemd based on the assumption
> that it will work like a well-behaved UNIX(*) program should is - how
> shall we say - a bit daring/ over-optimistic. There's presumably some
> kind of systemd-procedure which should be applied instead.

There should be no reaso systemd would not work like that. exec places it right
at the top of the process tree. I'm now curious to test this. Will do later.


signature.asc
Description: PGP signature
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] Ah, the joys of debugging SystemD

2016-04-12 Thread Rainer Weikusat
Simon Hobson  writes:
> I thought having a "big binary blob" wasn't supposed to be a problem ;-)
>
> http://lists.xen.org/archives/html/xen-users/2016-04/msg00031.html
>
>> [Xen-users] Debian 8.4, EFI, and systemd = Tricky
>> ...
>> My problem is that it hangs when trying so init systemd on dom0
>> ...
>> systemd is new to me.  I would have expected that I could exec it from the 
>> shell and ideally it all should work, if everything was actually correctly 
>> working.
>> 
>> At this point exec /bin/systemd hangs the machine, no output just a 
>> cursor(like every other hang)
>> I don't know how I can step through, or emulate systemd to see where the 
>> error occurs.
>
> Perhaps SysVinit would be similarly opaque in a failure,

At least not in this case: Considering that init is just a program,
it's perfectly possible to boot a system with something like

init=/bin/sh

on the kernel command line, say, in order to reset a root password
which got lost, and the boot into multi-user mode via

exec /sbin/init 3

after the problem has been solved.

NB: Just applying the init procedure to systemd based on the assumption
that it will work like a well-behaved UNIX(*) program should is - how
shall we say - a bit daring/ over-optimistic. There's presumably some
kind of systemd-procedure which should be applied instead.
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] suspend

2016-04-12 Thread Boruch Baum
On 04/12/2016 08:41 AM, Mitt Green wrote:
> Boruch Baum wrote:
>> No improvement.
> 
> ‎This requires, certainly, consolekit to be installed
Check. But see below, final paragraph.

> and. xinitrc with "startxfce4 --with-ck-launch"
Hmm. I've got "exec ck-launch-session dbus-launch startxfce4". Between
your version, the man page and /etc/xdg/xfce4/xinitrc, you've given me a
bunch of ideas to play with, more opportunities to bang my head against
the wall. Thanks, I think.

> I don't have an opportunity to try myself, as I dumped Xfce a
> quarter ago in favour of Openbox and then dwm,
I don't blame you. I'm an i3wm user by preference, but if I'm going to
evaluate devuan, this is what I should be doing for that.

BTW, if you're coming to dwm from openbox, check this out:

https://github.com/Boruch-Baum/morc_menu

> but the shenanigans I'm sending were sent by me earlier in the list 
> and thus were tested. I didn't incorporate the use of any kind of 
> display manager though, neither then, nor do now.
Yup, there is indication in the file /etc/xdg/xfce4/xinitrc that the
ck-launch option "is only required for starting from a console, not a
login manager". Since I'm doing this as an evaluation, I'm still using
devuan's default Slim login manager. So, more to play with. This looks
promising in that it invites a reason for the trouble: I had originally
installed devuan as cli-only, so there was no display manager installed.
When I later added the 'task' for the default desktop, which does
include a DM (doh!), the devuan config may not have performed all the
steps that the devuan installer would have. But, at this point that's a
few jumps to conclusion.

> Cheers, Mitt ___
Regards,

-- 
hkp://keys.gnupg.net
CA45 09B5 5351 7C11 A9D1  7286 0036 9E45 1595 8BC0

___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] suspend

2016-04-12 Thread Mitt Green
Boruch Baum wrote:
> No improvement.

‎This requires, certainly, consolekit
to be installed and. xinitrc with
"startxfce4 --with-ck-launch"

I don't have an opportunity to
try myself, as I dumped Xfce
a quarter ago in favour of Openbox
and then dwm, but the shenanigans
I'm sending were sent by me
earlier in the list and thus were tested.
I didn't incorporate the use of any kind
of display manager though, neither
then, nor do now.

Cheers,
Mitt
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] suspend

2016-04-12 Thread Boruch Baum
No improvement.

On 04/12/2016 01:32 AM, Mitt Green wrote:
> Boruch Baum wrote:‎
> 
>> I don't yet have a working solution for 'switch-users',
>> 'shutdown', or 'restart'.
> 
> Try these:
> create /etc/polkit-1/localauthority/50-local.d/‎consolekit.pkla and with the 
> content: 
> 
> --
> 
> [restart]
> Identity=unix-user:* 
> Action=org.freedesktop.consolekit.system.restart 
> ResultAny=yes 
> 
> [stop] 
> Identity=unix-user:* 
> Action=org.freedesktop.consolekit.system.stop 
> ResultAny=yes
> 
> --

-- 
hkp://keys.gnupg.net
CA45 09B5 5351 7C11 A9D1  7286 0036 9E45 1595 8BC0

___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] suspend

2016-04-12 Thread Boruch Baum
On 04/12/2016 01:32 AM, Mitt Green wrote:
> Boruch Baum wrote:‎
> 
>> I don't yet have a working solution for 'switch-users',
>> 'shutdown', or 'restart'.
> 
> Try these:
Thanks, Mitt. I had tried those earlier (along with the parallel actions
ending with "-multiple-users", to no avail. However, I put them all in
the same file as the org.freedesktop.upower.hibernate and .suspend
actions. I'll try them in their own file now, though I'm dubious that
should make a difference.

> create /etc/polkit-1/localauthority/50-local.d/‎consolekit.pkla and with the 
> content: 
> 
> --
> 
> [restart]
> Identity=unix-user:* 
> Action=org.freedesktop.consolekit.system.restart 
> ResultAny=yes 
> 
> [stop] 
> Identity=unix-user:* 
> Action=org.freedesktop.consolekit.system.stop 
> ResultAny=yes
> 
> --

-- 
hkp://keys.gnupg.net
CA45 09B5 5351 7C11 A9D1  7286 0036 9E45 1595 8BC0

___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] suspend

2016-04-12 Thread Boruch Baum
On 04/12/2016 01:36 AM, Go Linux wrote:
> On Mon, 4/11/16, Boruch Baum  wrote:
>  On 04/11/2016 09:40 PM, Go Linux wrote:
 On Mon, 4/11/16, Boruch Baum  wrote:
 Upon adding a GUI on top of a pre-existing cli-only install of
 devuan-alpha-4, the functionality of suspend, hibernate, switch-users,
 shutdown and restart were unavailable to the desktop user.

> 
> [snip]
> 

 I don't yet have a working solution for 'switch-users', 'shutdown', or
 'restart'.
>>>
>>> 
>>>
>>> Installing upower and libupower-glib1 from the devuan repos got the
>>> whole shebang working for me from the xfce panel and/or main menu. I
>>> suspect that xfce4-power-manager also has something to do with it.
>>
>>
>> My installed versions for upower, libupower-glib1:amd64, and
>> libupower-glib1:amd64 are all 1:0.9.23-2+devuan1.2
>>
>> The polkit actions:
>> org.freedesktop.consolekit.system.stop
>> org.freedesktop.consolekit.system.restart
>>   org.freedesktop.consolekit.stop-multiple-users
>>   org.freedesktop.consolekit.system.restart-multiple-users
>> seem to be those that would control the remaining issues, and the
>> installed version of consolekit is 0.4.6-5, from:
>> us.mirror.devuan.org_merged_dists_jessie_main_binary-amd64_Packages
>>
>> Do you get any ouput from running?:
>> find /etc/polkit-1/localauthority -type f -print -exec cat '{}' \;
>>
>> If so, could you post it?
>>
> 
> That command didn't spit out a thing.  Note that I am on 32 bit devuan if 
> that might make a difference.
I'm assuming that when you installed devuan, you asked the installer to
install a desktop environment. If so, your result tells me that my
tweaks to the polkit configuration are unnecessary and not the way
devuan is enabling those features. That's important for a few reasons:

1] You didn't get an error message, which tells me devuan installed
polkit on your system. The next question is why.

1.1] Could you look at the result of running the following:

  head -qn1 /var/log/dpkg.log*
  grep -hm1 polkit /var/log/dpkg.log*

The first should tell us when you installed devuan, and the date of the
second's output is a proxy for telling whether the installer did the
deed itself, or whether whether apt/gdebi/etc did it later.

2] There shouldn't be more than one authorization agent operating. At
best, it's confusing to administer, and at worst could freeze a system.

3] The tweaks I performed are the way the polkit developers want the
system to work, and it did work for me, so what else is going on in
parallel in devuan?

-- 
hkp://keys.gnupg.net
CA45 09B5 5351 7C11 A9D1  7286 0036 9E45 1595 8BC0

___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] Raspberry Pi 2 image

2016-04-12 Thread KatolaZ
On Mon, Apr 11, 2016 at 09:26:23PM +0100, Antonio Trkdz.tab wrote:
> Dear All,
> 
> can some of you be so kind to point out in a clear form (and possibly link
> it to uname outputs) the architectures needed by each raspberry version,
> namely 1,2 and 3?
> Thank you in advance!

rpi0 and rpi1 are amrv6 processors, but with a VFPv2, i.e. a floating
point architecture that is an optional extension of armv6. Hence, the
only native Debian/Devuan architecture you can use on rpi0/rpi1 is
armel (without floating point architecture), since armhf is by default
compiled for armv7.  Alternatively, you should have a custom-built
toolchain to cross-compile your packages for armv6+VFP2, which is
something I have already started experimenting with.

rpi2 is armv7, which normally includes a VFP. rpi3 is an armv8. Both
can work with the standard armhf, but the rpi3 is indeed a 64bit
processor, and its intimate desire might be to run 64-bit packages :)

The solution adopted by raspbian is to recompile everything for
armv6+VFPv2, and they had the "brilliant" idea to still call it
"armhf", just to add more confusion to the confusion. 

HND

KatolaZ

-- 
[ Enzo Nicosia aka KatolaZ --- GLUG Catania -- Freaknet Medialab ]
[ me [at] katolaz.homeunix.net -- http://katolaz.homeunix.net -- ]
[ GNU/Linux User:#325780/ICQ UIN: #258332181/GPG key ID 0B5F062F ]
[ Fingerprint: 8E59 D6AA 445E FDB4 A153 3D5A 5F20 B3AE 0B5F 062F ]
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


[DNG] Ah, the joys of debugging SystemD

2016-04-12 Thread Simon Hobson
I thought having a "big binary blob" wasn't supposed to be a problem ;-)

http://lists.xen.org/archives/html/xen-users/2016-04/msg00031.html

> [Xen-users] Debian 8.4, EFI, and systemd = Tricky
> ...
> My problem is that it hangs when trying so init systemd on dom0
> ...
> systemd is new to me.  I would have expected that I could exec it from the 
> shell and ideally it all should work, if everything was actually correctly 
> working.
> 
> At this point exec /bin/systemd hangs the machine, no output just a 
> cursor(like every other hang)
> I don't know how I can step through, or emulate systemd to see where the 
> error occurs.

Perhaps SysVinit would be similarly opaque in a failure, but I'm assuming that 
if you keep all the scripts away from it then it'll do very little and have 
much less chance of going wrong.

___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] suspend

2016-04-12 Thread Boruch Baum
On 04/12/2016 02:27 AM, Jaromil wrote:
> 
> I have created an issue to keep track of the ongoing research
> 
> https://git.devuan.org/devuan-packages/policykit-1/issues/5
> 
> thanks!
You're welcome. GoLinux's response may indicate that my problem is NOT
due to polkit. I'll explain in my response to him after I finish writing
this.

> please consider contributing this sort of issues to gitlab issues as
> it really helps organizing tasks for developers. Debating in email is
> fine, but then someone needs to roundup the conclusions in an issue to
> make sure its not lost in the mailinglist archive.
> 

I haven't been posting here to debate; I've been posting here because
the git issues arena has been in the past so lonely and unresponsive, it
seems that people only read this list.

OK. I'll make a 'deal' with the other members on the list. If in the
next week at least ten people other than hellenkin, Jaromil and Daniel
Reurich each add two real issues or solve two real issues, I will
manually go back through all my past postings since I joined the list,
and re-enter them as issues on github.

I'll sweeten the deal: If the list doesn't match the challenge, I'll
still do it if the 'usual' yentas on the list (you know who you are) can
keep a lid on their OT posts / trolls / rants / 'news' items for just
one month.

> ciao
aloha (better weather...)

-- 
hkp://keys.gnupg.net
CA45 09B5 5351 7C11 A9D1  7286 0036 9E45 1595 8BC0

___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] suspend

2016-04-12 Thread Jaromil

I have created an issue to keep track of the ongoing research

https://git.devuan.org/devuan-packages/policykit-1/issues/5

thanks!

please consider contributing this sort of issues to gitlab issues as
it really helps organizing tasks for developers. Debating in email is
fine, but then someone needs to roundup the conclusions in an issue to
make sure its not lost in the mailinglist archive.

ciao

___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng