Re: [arch-general] Telinit?

2020-08-16 Thread Christian Hesse
David Rosenstrauch  on Sun, 2020/08/16 14:59:
> On 2020-08-15 2:53 pm, David Rosenstrauch wrote:
> > Anyone know what happened to the "telinit" shortcut?  It used to be
> > included in systemd-sysvcompat
> > (https://wiki.archlinux.org/index.php/Systemd#systemd-sysvcompat) but
> > seems like it recently got removed.  Was it removed upstream?  (And if
> > so, anyone know why?)  
> 
> I looked into this a bit more, and it looks like this was not an 
> upstream change.  Rather, it was removed in Arch in this commit: 
> https://github.com/archlinux/svntogit-packages/commit/9ca7c019fe8f59505cf1f6dc4163e146f3e777a7#diff-8d0411b338c83cd8cd8ad9d9db127101
> 
> @eworm:   Any explanation as to why this was removed?

Upstream does no longer install it by default.

https://github.com/systemd/systemd/commit/6589a56972d9afe9d860889f11cb9c8e6cb8a60c

Do we still need it?
-- 
main(a){char*c=/*Schoene Gruesse */"B?IJj;MEH"
"CX:;",b;for(a/*Best regards my address:*/=0;b=c[a++];)
putchar(b-1/(/*Chriscc -ox -xc - && ./x*/b/42*2-3)*42);}


pgpJh1Bu82Vmh.pgp
Description: OpenPGP digital signature


Re: [arch-general] R: Eduroam madness with iwd

2020-01-23 Thread Christian Hesse
Riccardo Paolo Bestetti via arch-general  on Thu,
2020/01/23 08:37:
> I'm going to have another chance at testing this on Monday. What else could
> I try?

Possibly missing something like this?

EAP-Identity=anonym...@unipmn.it
-- 
main(a){char*c=/*Schoene Gruesse */"B?IJj;MEH"
"CX:;",b;for(a/*Best regards my address:*/=0;b=c[a++];)
putchar(b-1/(/*Chriscc -ox -xc - && ./x*/b/42*2-3)*42);}


pgpzPgweC4TCt.pgp
Description: OpenPGP digital signature


Re: [arch-general] Eduroam madness with iwd

2020-01-22 Thread Christian Hesse
Riccardo Paolo Bestetti via arch-general  on Wed,
2020/01/22 11:45:
> And the following error in the system journal:
> failed to load /home/random/.cat_installer/ca.pem

The certificate can not be loaded as iwd.service has ProtectHome=yes set.
Move it to a location where iwd can read it.
-- 
main(a){char*c=/*Schoene Gruesse */"B?IJj;MEH"
"CX:;",b;for(a/*Best regards my address:*/=0;b=c[a++];)
putchar(b-1/(/*Chriscc -ox -xc - && ./x*/b/42*2-3)*42);}


pgpVB2VSg30tV.pgp
Description: OpenPGP digital signature


Re: [arch-general] Small Monitoring Soulution

2020-01-11 Thread Christian Rebischke via arch-general
On Sat, Jan 11, 2020 at 10:26:51AM +0100, siefke_lis...@web.de wrote:
> Hello,
> 
> is there a small tool which do monitoring the different server services?
> Checking ping, port check and that's it. More I not need and best with
> a static index.html create. I find cacti to overload and I hate php
> setup.
> 
> Thank you for help
> Silvio

I just use PingTools Pro on my smartphone. This app checks Ping + Port.
It's enough for my private website and I don't need to set anything up.
Hence nothing will break. And If my phone has no access to the internet,
I will not have access to any monitoring data ^^ so what?

https://play.google.com/store/apps/details?id=ua.com.streamsoft.pingtoolspro=de

Best regards,

chris


signature.asc
Description: PGP signature


Re: [arch-general] Disable pam_securetty.so

2019-11-21 Thread Christian Rebischke via arch-general
On Thu, Nov 21, 2019 at 07:35:56PM +0100, Daan De Meyer via arch-general wrote:
> Hi,
> 
> I don't want to come across as impatient but I was wondering how I can
> accelerate handling of this particular issue:
> 
> https://bugs.archlinux.org/task/45903?project=1=pam
> 
> I've listed examples in the issue that pam_securetty has been disabled on
> other major distros. The main issue is that it prevents root login on
> systemd-nspawn containers. It should be easy to remove and there's a
> precedence in other distros. Any tips on how to proceed to get this fixed?
> 
> Regards,
> 
> Daan

Hi,
you can go around this problem via adding "pts/0" or "pts/1" and so on,
to the /etc/securetty file.

I wrote long ago a shell script to build such containers:

https://github.com/shibumi/mknspawn


The easier method is to just use containers from https://nspawn.org
https://nspawn.org builds containers with pts set in the /etc/securetty
file:

https://nspawn.org/images/

There is even a wrapper for it: https://github.com/nspawn/nspawn

Best regards,

shibumi


signature.asc
Description: PGP signature


Re: [arch-general] Many timers now running at boot. How to make them run later?

2019-11-21 Thread Christian Hesse
"David C. Rankin"  on Thu, 2019/11/21 12:13:
> I wonder why systemd doesn't do this by default?

It's not systemd to blame. The timer unit files are shipped by the respective
projects, like util-linux, man-db, mlocate, shadow, logrotate, ...
-- 
main(a){char*c=/*Schoene Gruesse */"B?IJj;MEH"
"CX:;",b;for(a/*Best regards my address:*/=0;b=c[a++];)
putchar(b-1/(/*Chriscc -ox -xc - && ./x*/b/42*2-3)*42);}


pgpGKlV36T7RC.pgp
Description: OpenPGP digital signature


Re: [arch-general] Many timers now running at boot. How to make them run later?

2019-11-21 Thread Christian Hesse
"David C. Rankin"  on Thu, 2019/11/21 04:08:
> [...]
>
>   What is the best way to modify this scheme to prevent, e.g.
> logrotate.time, man-db.timer and shadow.timer all trying to run on boot?
> I'd rather set them up to run a 5:00 localtime as I would with cronnie. But
> I do want to use the systemd timer, so what is the best way to configure
> the systemd timer to schedule these things to run at a convenient time
> instead of all firing on boot?

I've created systemd configuration overlay snippets for this, for example
/etc/systemd/system/man-db.timer.d/RandomizedDelaySec.conf:

[Timer]
RandomizedDelaySec=30min

Create a file for every timer you want to delay.
-- 
main(a){char*c=/*Schoene Gruesse */"B?IJj;MEH"
"CX:;",b;for(a/*Best regards my address:*/=0;b=c[a++];)
putchar(b-1/(/*Chriscc -ox -xc - && ./x*/b/42*2-3)*42);}


pgpPckiK7pIMN.pgp
Description: OpenPGP digital signature


Re: [arch-general] New kernel packages and mkinitcpio hooks? What does this mean to the average user?

2019-11-11 Thread Christian Hesse
"David C. Rankin"  on Mon, 2019/11/11 04:50:
> The only changes I see in the mkinitcpio.pacnew file
> is that all double-quotes have been replaced by parenthesis, e.g.

That is a change back from March 2017 and appeared in mkinitcpio v24:

https://git.archlinux.org/mkinitcpio.git/commit/?id=c5ad00c2e565eaae8e8b02b92d7f193852008c80
-- 
main(a){char*c=/*Schoene Gruesse */"B?IJj;MEH"
"CX:;",b;for(a/*Best regards my address:*/=0;b=c[a++];)
putchar(b-1/(/*Chriscc -ox -xc - && ./x*/b/42*2-3)*42);}


pgpgwIZNvpsTh.pgp
Description: OpenPGP digital signature


Re: [arch-general] New kernel packages and mkinitcpio hooks

2019-11-11 Thread Christian Hesse
Ondřej Hruška  on Mon, 2019/11/11 09:18:
> Hi,
> I have a question regarding the kernel changes.
> 
> It sounds like it might break my dm-crypt/luks setup with un-encrypted
> /boot partition, if the kernel is not in /boot anymore? Are there
> migration steps needed? I set it up exactly following the wiki.
> 
> It is my understanding that it is the kernel who handles the password
> prompt and decryption. Or am I misunderstanding how it works?

You have (sd-)encrypt hook in your mkinitcpio configuration. That does the
work and that does not change. No extra action is to be taken.
-- 
main(a){char*c=/*Schoene Gruesse */"B?IJj;MEH"
"CX:;",b;for(a/*Best regards my address:*/=0;b=c[a++];)
putchar(b-1/(/*Chriscc -ox -xc - && ./x*/b/42*2-3)*42);}


pgpD9i2_sRugl.pgp
Description: OpenPGP digital signature


Re: [arch-general] Cannot create account on bugs.archlinux.org

2019-11-04 Thread Christian Rebischke via arch-general
On Mon, Nov 04, 2019 at 07:48:28PM +0100, Daan De Meyer via arch-general wrote:
> Hi,
> 
> When trying to create an account on bugs.archlinux.org, I get the following
> error message:
> 
> Completely unexpected exception: Connection could not be established with
> > host 127.0.0.1:10027 [Connection refused #111]
> > This should never happend, please inform Flyspray Developers
> >
> 
> Have I missed a downtime announcement somewhere or is something wrong with
> Flyspray?
> 
> Best regards,
> 
> Daan De Meyer

Hi the bug is known and the devops is working on this.

Thanks

Chris


signature.asc
Description: PGP signature


Re: [arch-general] Silent boot with systemd and sd-encrypt initcpio hooks

2019-10-28 Thread Christian Hesse
Sefa Eyeoglu  on Mon, 2019/10/28 10:06:
> On Montag, 28. Oktober 2019 09:46:57 CET Christian Hesse wrote:
> > Sefa Eyeoglu via arch-general  on Sun,
> > 2019/10/27
> > 15:37:  
> > > [...]
> > > As you can see, I have an encrypted root partition. Before switching to
> > > systemd hooks, after typing the decryption password on boot there was no
> > > additional output. Now there is always the full systemd log where it
> > > says "Starting [unit]..." and so on.
> > > [...]  
> > 
> > If a unit takes too long to start systemd switches to verbose mode for
> > possible issue diagnose. Everything is correct and you take too long to
> > type your passphrase. ;)  
> 
> Thanks for the info.
> 
> Is there an easy way to set the timeout?

From man systemd(1):

   systemd.show_status
   Takes a boolean argument or the constant auto. Can be also
   specified without an argument, with the same effect as a positive
   boolean. If enabled, the systemd manager (PID 1) shows terse
   service status updates on the console during bootup.  auto
   behaves like false until a unit fails or there is a significant
   delay in boot. Defaults to enabled, unless quiet is passed as
   kernel command line option, in which case it defaults to auto. If
   specified overrides the system manager configuration file option
   ShowStatus=, see systemd-system.conf(5). However, the process
   command line option --show-status= takes precedence over both
   this kernel command line option and the configuration file
   option.

So you can disable this functionality, but not sure if you can set a timeout.
-- 
main(a){char*c=/*Schoene Gruesse */"B?IJj;MEH"
"CX:;",b;for(a/*Best regards my address:*/=0;b=c[a++];)
putchar(b-1/(/*Chriscc -ox -xc - && ./x*/b/42*2-3)*42);}


pgp1DLU97gM6k.pgp
Description: OpenPGP digital signature


Re: [arch-general] Silent boot with systemd and sd-encrypt initcpio hooks

2019-10-28 Thread Christian Hesse
Sefa Eyeoglu via arch-general  on Sun, 2019/10/27
15:37:
> [...]
> As you can see, I have an encrypted root partition. Before switching to 
> systemd hooks, after typing the decryption password on boot there was no 
> additional output. Now there is always the full systemd log where it says 
> "Starting [unit]..." and so on.
> [...]

If a unit takes too long to start systemd switches to verbose mode for
possible issue diagnose. Everything is correct and you take too long to type
your passphrase. ;)
-- 
main(a){char*c=/*Schoene Gruesse */"B?IJj;MEH"
"CX:;",b;for(a/*Best regards my address:*/=0;b=c[a++];)
putchar(b-1/(/*Chriscc -ox -xc - && ./x*/b/42*2-3)*42);}


pgpf5ut59oe8C.pgp
Description: OpenPGP digital signature


Re: [arch-general] Resetting pacman-key Still Asks to Import.

2019-10-27 Thread Christian Hesse
Ralph Corderoy  on Sun, 2019/10/27 11:14:
> Hi,
> 
> I have an Arch Linux laptop that hasn't been updated in a long time,
> mainly because it started to lock-up after a few minutes uptime,
> requiring a power cycle.  I'm now trying to update all its packages in
> the hope the lock-ups have gone, and if not to have a more modern base
> for diagnosis.
> 
> A ‘pacman -Syuw’ took a few goes but signature checking had problems, as
> did trying to update signatures.  I resorted to
> https://wiki.archlinux.org/index.php/Pacman/Package_signing#Resetting_all_the_keys
> that appeared to succeed.
> 
> The next attempt at ‘pacman -Syuw’ gets to
> 
> Total Download Size:  0.00 MiB
> 
> :: Proceed with download? [Y/n] 
> (250/250) checking keys in keyring
> [#]
> 100% downloading required keys... :: Import PGP key
> 2048R/02FD1C7A934E614545849F19A6234074498E9CEE, "Christian Hesse (Arch
> Linux Package Signing) ", created: 2011-08-12? [Y/n]
> (250/250) checking package integrity
>
> [#]
> 100% error: dav1d: signature from "Levente Polyak (anthraxx)
> " is invalid :: File
> /var/cache/pacman/pkg/dav1d-0.4.0-1-x86_64.pkg.tar.xz is corrupted (invalid
> or corrupted package (PGP signature)). Do you want to delete it? [Y/n] y
> error: libpulse: signature from "Jan Alexander Steffens (heftig)
> " is invalid :: File
> /var/cache/pacman/pkg/libpulse-13.0-2-x86_64.pkg.tar.xz is corrupted
> (invalid or corrupted package (PGP signature)). Do you want to delete it?
> [Y/n] 
> 
> This looks very similar to where I've been before.  The next attempt to
> download those, now deleted, packages does no better.  I'm going to
> https://wiki.archlinux.org/index.php/Pacman/Package_signing#Disabling_signature_checking
> but would still like to understand what I should attempt instead.

If the system is not too old just updating the package archlinux-keyring may
bring you back into business.
-- 
main(a){char*c=/*Schoene Gruesse */"B?IJj;MEH"
"CX:;",b;for(a/*Best regards my address:*/=0;b=c[a++];)
putchar(b-1/(/*Chriscc -ox -xc - && ./x*/b/42*2-3)*42);}


pgpB7l3tdRnLM.pgp
Description: OpenPGP digital signature


Re: [arch-general] Does Arch Linux support containers, dockers and Kubernetes?

2019-09-30 Thread Christian Rebischke via arch-general
Hi,

We do support docker and `kubectl` on Arch Linux.
What we are currently missing is full kubernetes support.
There is no official kubernetes package for Arch yet.

So what you can do with Arch Linux is:

* using docker
* using kubectl to administrate kubernetes

What you can't do (at least I don't know anybody who successfully run a
kubernete cluster):

* running a kubernetes cluster on Arch Linux.


Hope this is clear. If you have any further questions, feel free to do
so.

cheers,

chris


On Mon, Sep 30, 2019 at 09:04:26PM +0800, Turritopsis Dohrnii Teo En Ming via 
arch-general wrote:
> Good evening from Singapore,
> 
> Does Arch Linux support containers, dockers and Kubernetes?
> 
> Looking forward to hearing from you.
> 
> Thank you.
> 
> 
> 
> 
> 
> -BEGIN EMAIL SIGNATURE-
> 
> The Gospel for all Targeted Individuals (TIs):
> 
> [The New York Times] Microwave Weapons Are Prime Suspect in Ills of
> U.S. Embassy Workers
> 
> Link: 
> https://www.nytimes.com/2018/09/01/science/sonic-attack-cuba-microwave.html
> 
> 
> 
> Singaporean Mr. Turritopsis Dohrnii Teo En Ming's Academic
> Qualifications as at 14 Feb 2019 and refugee seeking attempts at the
> United Nations Refugee Agency Bangkok (21 Mar 2017) and in Taiwan (5
> Aug 2019):
> 
> [1] https://tdtemcerts.wordpress.com/
> 
> [2] https://tdtemcerts.blogspot.sg/
> 
> [3] https://www.scribd.com/user/270125049/Teo-En-Ming
> 
> -END EMAIL SIGNATURE-


signature.asc
Description: PGP signature


Re: [arch-general] Linux 5.3 - Virtualbox 5.2.32 modules fail to build - upstream bug opened

2019-09-19 Thread Christian Hesse
"David C. Rankin"  on Thu, 2019/09/19 20:12:
> All,
> 
>   Note to anyone is still using Virtualbox 5.2.32 (that can't move to Ver. 6
> due to headless behavior with Windows guests), on update to Linux 5.3,
> virtualbox models fail to build using dkms.
> 
> Upstream bug filed: https://www.virtualbox.org/ticket/18949
> 
> (make.log attached to bug report)
> 

We had to patch VirtualBox 6.0.12 as well. Probably you need something
like this:
https://git.archlinux.org/svntogit/community.git/tree/trunk/015-linux-5-3.patch?h=packages/virtualbox
-- 
main(a){char*c=/*Schoene Gruesse */"B?IJj;MEH"
"CX:;",b;for(a/*Best regards my address:*/=0;b=c[a++];)
putchar(b-1/(/*Chriscc -ox -xc - && ./x*/b/42*2-3)*42);}


pgpcuvaMrBY6U.pgp
Description: OpenPGP digital signature


Re: [arch-general] Acceso remoto consola (simil Teamviewer)

2019-08-07 Thread Christian Hesse
[ snipped a lot of Spanish (?) text ]

If I get this right you are searching for something that works like
Teamviewer, but for a terminal/console connection.

I'd suggest to have a look at "tmate". It's a fork of tmux and handles the
remote part via ssh.
-- 
main(a){char*c=/*Schoene Gruesse */"B?IJj;MEH"
"CX:;",b;for(a/*Best regards my address:*/=0;b=c[a++];)
putchar(b-1/(/*Chriscc -ox -xc - && ./x*/b/42*2-3)*42);}


pgp3m9Vi7VODr.pgp
Description: OpenPGP digital signature


Re: [arch-general] Mariadb Tables Still Compatible with Backup Server Running Earlier Version?

2019-06-28 Thread Christian Hesse
"David C. Rankin"  on Thu, 2019/06/27 21:29:
> This is more a general question following the mariadb feature update to
> 10.4.6-1. Do the tables remain compatible with servers running earlier
> versions of mariadb?

You should not expect the binary format to be compatible.

> What happens if a backup from an earlier version has to be rolled into the
> new version?

That should work without problem. Just make sure to run mariadb-upgrade again.

> Or more importantly, can a backup from the new version be used to update
> servers running earlier versions of mariadb?

This should be handled with care. Most dumps should work - as long as you do
not use features not available in earlier versions.
You should *not* restore the mysql schema into an older server.

> (I have the same database running on Arch with backup handled by openSuSE,
> still running 10.0.35)

Hmm... Wondering what this means. You run mysqldump from an openSuSE system
or is the older mariadb server involved?
-- 
main(a){char*c=/*Schoene Gruesse */"B?IJj;MEH"
"CX:;",b;for(a/*Best regards my address:*/=0;b=c[a++];)
putchar(b-1/(/*Chriscc -ox -xc - && ./x*/b/42*2-3)*42);}


pgp5GHig8yto6.pgp
Description: OpenPGP digital signature


Re: [arch-general] Maria update

2019-06-28 Thread Christian Hesse
mick howe via arch-general  on Fri, 2019/06/28
01:37:
> Could not create the upgrade info file '/var/lib/mysql/mysql_upgrade_info'
> in the MariaDB Servers datadir, errno: 13

What's the permission of /var/lib/mysql directory? I guess these were borked
before without being noticed. My systems have 0700 with mysql:mysql.
-- 
main(a){char*c=/*Schoene Gruesse */"B?IJj;MEH"
"CX:;",b;for(a/*Best regards my address:*/=0;b=c[a++];)
putchar(b-1/(/*Chriscc -ox -xc - && ./x*/b/42*2-3)*42);}


pgp54SrhRghLU.pgp
Description: OpenPGP digital signature


Re: [arch-general] mariadb package outdate for over a month

2018-12-18 Thread Christian Hesse
Florijan Hamzic via arch-general  on Tue,
2018/12/18 21:00:
> a working 10.3 exist in AUR and so far it workes very well in my environment
> https://aur.archlinux.org/packages/mariadb-10.3

The remaining issue is that zerofill support in libmariadb is broken.
-- 
main(a){char*c=/*Schoene Gruesse */"B?IJj;MEH"
"CX:;",b;for(a/*Best regards my address:*/=0;b=c[a++];)
putchar(b-1/(/*Chriscc -ox -xc - && ./x*/b/42*2-3)*42);}


pgpjgGBauTthi.pgp
Description: OpenPGP digital signature


Re: [arch-general] MariaDB package version

2018-09-29 Thread Christian Hesse
Genes Lists via arch-general  on Thu, 2018/09/27
09:36:
> On 9/27/18 7:04 AM, leoutat...@gmx.fr wrote:
> 
> >> If you have further news, feel free to share. :)
> >>  
> > Mariadb 10.2 and 10.3 are available in all distro except Arch
> > https://downloads.mariadb.org/mariadb/repositories/#mirror=cnrs  
> 
> The link Eli provided references lots of client programs having problems 
> - but I didn't find a list of which client programs.

We encountered random failures in different client... And did not record an
exact list. Possibly most of this was fixed in later version - I did not
check in detail.

I do build packages for recent versions of MariaDB from time to time. Still
failing is perl-dbd-mysql with its extensive test suite, that was my primary
test case.

Due to unaddressed issues with MariaDB (and Unicode) the original DBD::mysql
was forked into DBD::MariaDB [0]. Possibly we should have a look on whether or
not replacing this package is an option... But if I understand correctly this
brings new incompatibility.

[0] https://metacpan.org/pod/DBD::MariaDB
-- 
main(a){char*c=/*Schoene Gruesse */"B?IJj;MEH"
"CX:;",b;for(a/*Best regards my address:*/=0;b=c[a++];)
putchar(b-1/(/*Chriscc -ox -xc - && ./x*/b/42*2-3)*42);}


pgpvt4oo4OlKh.pgp
Description: OpenPGP digital signature


Re: [arch-general] [arch-dev-public] removed mariadb 10.1.27 from [testing]

2017-09-27 Thread Christian Hesse
Genes Lists via arch-general <arch-general@archlinux.org> on Wed, 2017/09/27
09:31:
> On Tue, 2017-09-26 at 23:06 +0200, Christian Hesse wrote:
> > ...
> > We tried to upgrade to MariaDB 10.2.6, which ended in a disaster. The
> > client
> > library has been renamed from libmysqlclient to libmariadb and it has
> > seen
> > structural changes for data types. Programs fail to link or - if they
> > do
> > link - crash or misbehave, including data corruption.
> > 
> > I do not see any way to upgrade any time soon. IMHO data structures
> > have to
> > be made opaque in favor of accessing data via functions.
> >   
> 
> Thanks - so it's clear - are you saying that the recommended method of
> running[1] mysql_upgrade does not in fact work properly?
> 
> [1]
> https://mariadb.com/kb/en/library/upgrading-from-mariadb-101-to-mariadb-102/

No, mysql_upgrade updates the table data (schema 'mysql'), that's not a
problem. The server itself works just fine.

But API/ABI in library /usr/lib/libmariadb.so and header files
in /usr/include/mysql/ changed. Lots of programs break because of this.
-- 
main(a){char*c=/*Schoene Gruesse */"B?IJj;MEH"
"CX:;",b;for(a/*Best regards my address:*/=0;b=c[a++];)
putchar(b-1/(/*Chriscc -ox -xc - && ./x*/b/42*2-3)*42);}


pgpzVHzWiU4z5.pgp
Description: OpenPGP digital signature


Re: [arch-general] [arch-dev-public] removed mariadb 10.1.27 from [testing]

2017-09-26 Thread Christian Hesse
Genes Lists via arch-general <arch-general@archlinux.org> on Tue, 2017/09/26
16:41:
> On Tue, 2017-09-26 at 21:28 +0200, Christian Hesse wrote:
> > Hello everybody,
> > 
> > after the release of 10.1.27 upstream was made aware of a regression,
> > so
> > the release has been pulled from the downloads system. The fix will
> > be
> > in 10.1.28.
> > I removed mariadb 10.1.27 packages from [testing].  
> 
> Thank you Christian - related note - can you share  thoughts around
> 10.2?

We tried to upgrade to MariaDB 10.2.6, which ended in a disaster. The client
library has been renamed from libmysqlclient to libmariadb and it has seen
structural changes for data types. Programs fail to link or - if they do
link - crash or misbehave, including data corruption.

I do not see any way to upgrade any time soon. IMHO data structures have to
be made opaque in favor of accessing data via functions.

OpenSSL suffered a similar problem, which has been solved with version 1.1.0.
MariaDB upstream would have to do something similar.
-- 
main(a){char*c=/*Schoene Gruesse */"B?IJj;MEH"
"CX:;",b;for(a/*Best regards my address:*/=0;b=c[a++];)
putchar(b-1/(/*Chriscc -ox -xc - && ./x*/b/42*2-3)*42);}


pgp3LbLpCjJXc.pgp
Description: OpenPGP digital signature


Re: [arch-general] problems with systemd hooks and encrypted root partition

2017-07-10 Thread Christian Rebischke
On Tue, Jul 11, 2017 at 02:45:58AM +0200, Christian Rebischke wrote:
> Hello,
> [..]


Problem solved.. sorry for the noise. My boot entry was incorrect.
Correct entry looks like this now (for current kernel):

title   motoko
linux   /vmlinuz-linux
initrd  /initramfs-linux.img
options rd.luks.uuid=1aa50d23-d139-4367-b552-448a1b14b086 
rd.luks.name=71f4088d-e06f-43b2-818f-7a34de921460=Root 
root=UUID=71f4088d-e06f-43b2-818f-7a34de921460 rw



signature.asc
Description: PGP signature


[arch-general] problems with systemd hooks and encrypted root partition

2017-07-10 Thread Christian Rebischke
Hello,
Does somebody else have problems with systemd hooks and an encrypted
root partition? I want to use systemd-boot with systemd hooks for my
whole boot process. Systemd-boot with the normal hooks works fine but
when I try to use systemd hooks I can't get through the cryptsetup
password prompt because it always jumps into emergency mode after 2
seconds.


My hooks line looks like this:

HOOKS="base systemd autodetect modconf block keyboard sd-vconsole sd-encrypt 
filesystems fsck"

My boot entry for systemd-boot looks like this:

title   motoko-lts
linux   /vmlinuz-linux-lts
initrd  /initramfs-linux-lts.img
options rd.luks.uuid=1aa50d23-d139-4367-b552-448a1b14b086 
rd.luks.name=71f4088d-e06f-43b2-818f-7a34de921460 
root=71f4088d-e06f-43b2-818f-7a34de921460 rw

And my `sudo blkid` output is this one:

/dev/sda1: UUID="DBC6-90A0" TYPE="vfat" PARTLABEL="EFI" 
PARTUUID="aad19313-36df-4433-98ec-3fc310181629"
/dev/sda2: UUID="1aa50d23-d139-4367-b552-448a1b14b086" TYPE="crypto_LUKS" 
PARTLABEL="Root" PARTUUID="720f9c51-6861-418e-90d4-622295937c39"
/dev/mapper/root: UUID="71f4088d-e06f-43b2-818f-7a34de921460" TYPE="ext4"


Here is screenshot:

https://paste.archlinux.de/HMZn/

Best regards,

Chris


signature.asc
Description: PGP signature


Re: [arch-general] systemd on bios computer

2017-07-05 Thread Christian Hesse
Jude DaShiell  on Tue, 2017/07/04 14:52:
> When doing a systemd upgrade I get:
> (3/7) Upgrading systemd-boot...
> Couldn't find EFI system partition. It is recommended to mount it to 
> /boot. Alternatively, use --path= to specify path to mount point.
> error: command failed to execute correctly
> Are either of the above alternatives even viable for a real bios machine? 
> This one got built when efi was somewhere on the drawing board or maybe 
> before efi ever got to the drawing board.

Just a guess as I have never seen this before... Did you install package
systemd-boot-pacman-hook from AUR? Remove that...
-- 
main(a){char*c=/*Schoene Gruesse */"B?IJj;MEH"
"CX:;",b;for(a/*Best regards my address:*/=0;b=c[a++];)
putchar(b-1/(/*Chriscc -ox -xc - && ./x*/b/42*2-3)*42);}


pgp2TW7YrsMje.pgp
Description: OpenPGP digital signature


Re: [arch-general] arch-audit didn't survive the openssl upgrade to 1.1.0

2017-04-27 Thread Christian Rebischke
On Thu, Apr 27, 2017 at 03:46:31PM +0200, Ricardo Band wrote:
> Ahoi,
> 
> arch-audit in version 0.1.8-2 still looks for openssl 1.0.0:
> 
> arch-audit: error while loading shared libraries: libssl.so.1.0.0:
> cannot open shared object file: No such file or directory
> 
> After installing openssl-1.0 it works again.
> 
> I see 2 solutions here. Update arch-audit to use OpenSSL 1.1 or add
> openssl-1.0 as a dependency to arch-audit package.


Thanks,
I will have a look at it and rebuild arch-audit today. Expect the next
release in some hours :)

chris


signature.asc
Description: PGP signature


Re: [arch-general] URXVT background color

2017-03-18 Thread Christian Rebischke
On Sat, Mar 18, 2017 at 10:51:16AM +, arnaud gaboury via arch-general wrote:
> I run many urxvt windows on my screen. Some are for the host system and
> some are for my container (managed by systemd-nspawn).
> I am looking for a way to change color background according to hostname in
> order to quickly see which terminal I am on.
>  My idea was to test $HOST variable in my ~/.xinitrc and give a specific
> .Xressource accordingly, but it doesn't work as .xinitrc is obviously not
> invoked when I fire a new terminal window.

Hi,
I think you don't want to use the terminal background for this. The
better solution would be a custom prompt for your containers (I use
powerlevel9k with zsh for this [1]).

The problem here is that if you want to do this over the terminal
background you would need custom wrappers that will open a new terminal
for you + your command to spawn into the container. I can imagine that
this workflow will annoy in future.

just my two cents,

chris


[1] https://paste.archlinux.de/xRYkm/ thats my current workflow. This
prompt detects virtualization and SSH sessions.


signature.asc
Description: PGP signature


Re: [arch-general] Firefox 52 Audio broken

2017-03-07 Thread Christian Rebischke
On Tue, Mar 07, 2017 at 05:32:30PM +0100, jjgaris via arch-general wrote:
> So what? Is linux now about restricting user choice?
> While I generally agree with the referenced text, using it to justify 
> restricting user chouce without reason is just 
> nonsence. The way it is used, it is also one of the most stupid sentences 
> ever created.


Sorry, but where do you see user-restriction? Firefox is opensource, you
can compile it by yourself or even provide a binary in the AUR. Nobody
would restrict you. You can even fork the firefox project.

So please, don't come with 'restricting user choice'.


signature.asc
Description: PGP signature


Re: [arch-general] Firefox 52 Audio broken

2017-03-07 Thread Christian Rebischke
On Tue, Mar 07, 2017 at 10:26:55AM +0100, jjgaris via arch-general wrote:
> Building firefox takes hours making this not really an option for many users.
> Arch has deviated before from the upstream default, I see no reason why we 
> should follow upstream by restricting the 
> choice of the user.


Linux is _not_ about choice [1]

cheers,

chris


[1] https://www.redhat.com/archives/fedora-devel-list/2008-January/msg00861.html


signature.asc
Description: PGP signature


Re: [arch-general] Nvidia backlight control - acpi_video0/brightness changes - display doesn't?

2016-11-20 Thread Christian Klaue
Well, this won't work for me. I don't have a NVidia. But I will search
the web if there is a module for my Intel Skylake graphics. Although my
brightness script actually works perfect. The only drawback currently:
a few apps (e.g. chromium) reset the brightness to max upon their
startup.

Thanks anyway!

Christian

On Sun, 2016-11-20 at 03:08 -0600, David C. Rankin wrote:
> On 11/19/2016 03:38 AM, Christian Klaue wrote:
> > I am having exactly the same problem with my HP. I went as far as
> > decompiling the ACPI bios. When I tried to compile it again, it
> > threw a
> > huge amount of errors. So I gave up. I didn't find any solution for
> > my
> > problem. I even tried other distros. I am still kind of convinced
> > the
> > error is in the ACPI module(s) of your UEFI. If you try to blame HP
> > (as
> > many people on their forum did before) they will ask you to test on
> > Windows. Unfortunately there it works. The newest BIOS update
> > doesn't
> > fix the problem for my toy.
> > 
> > I am lucky to have an OLED. Please keep me updated if you find a
> > solution.
> 
> Christian,
> 
>   You may be in luck. I did find a solution and now my backlight
> functions as
> it should using the nvidiabl kernel module (and a small helper script
> that I
> autostart in KDE, but you could just as easily start it in .xinitrc
> for any
> desktop) Basically, you have to use either of the following two
> packages to
> build a kernel module that will work with the proprietary nvidia
> driver:
> 
> nvidia-bl
> https://aur.archlinux.org/packages/nvidia-bl/
> 
> nvidiabl
> https://aur.archlinux.org/packages/nvidiabl/
> 
>   I built them both, but haven't tried nvidia-bl, (even though it was
> easier
> to build and should do the same thing)
> 
>   To build nvidiabl, just follow the notes on its aur page and it
> builds fine.
> nvidia-bl, builds without issue, just download the tarball, unpack
> it, and
> then a makepkg -s is all that is needed.
> 
>   Both provide the kernel module:
> 
> /usr/lib/modules/extramodules-4.8-ARCH/nvidiabl.ko
> 
>   Just build, then 'modprobe nvidiabl', and you will have backlight
> control
> through:
> 
> /sys/class/backlight/nvidia_backlight/brightness
> 
>   The kicker is that nothing talks to nvidia_backlight by default,
> instead all
> the normal backlight controls use:
> 
> /sys/class/backlight/acpi_video0/brightness
> 
>   The way to get your controls to work is to watch the
> acpi_video0/brightness
> values and automatically set nvidia_backlight/brightness any time the
> earlier
> one changes value. This is where the helper script comes into play
> (actually 2
> short scripts -- the second just to ease the sudo redirection issue)
> 
>   The first script just maps values (0-20) from
> acpi_video0/brightness into a
> range of (0-127) for nvidia_backlight/brightness (it calls the second
> script
> as a helper). Just launch the first script in whatever desktop you
> are using,
> and your backlight keys should work. If not, then you just have to
> copy
> whatever value you want for your backlight/brightness to
> nvidia_backlight/brightness, e.g.
> 
>  # echo 90 > /sys/class/backlight/nvidia_backlight/brightness
> 
>   Put both scripts in the same directory. You will need to configure
> sudo
> without a password for this to work when called as your normal user
> (as when
> using the laptop keys). The first is a quick modification of the
> xbacklight
> script. It reads the xbacklight value from acpi_video0 and then does
> a rough
> scale for what the nvidia_backlight value should be. Give it some
> name like
> nvbackligh.sh:
> 
> #!/bin/sh
> 
> path=/sys/class/backlight/acpi_video0
> dest=/sys/class/backlight/nvidia_backlight
> dmax=$(<$dest/max_brightness)
> 
> luminance() {
> read -r level < "$path"/actual_brightness
> factor=$((dmax / max))
> nvbrt=$((level * factor))
> case "$nvbrt" in
> [0-9]   )  printf "%d" $nvbrt;;
> [0-9][0-9]  )  printf "%d" $nvbrt;;
> [1][0-1][0-9] )  printf "%d" $nvbrt;;
> [1][2][0-9] )  printf "127";;
> default )  printf "error: in value conversion\n"
>    exit 1;;
> esac
> }
> 
> read -r max < "$path"/max_brightness
> 
> inotifywait -me modify --format '' "$path"/actual_brightness | while
> read; do
> if [ $UID -eq 0 ]; then
> echo $(luminance) > "$dest"/brightness
> else
> sudo ./nvhelper.sh $(luminance)  # helper script
>

Re: [arch-general] Nvidia backlight control - acpi_video0/brightness changes - display doesn't?

2016-11-19 Thread Christian Klaue
Hi,


your xrandr --brightness solution only works on oled screens. Those
don't have a backlight. From a quick search it looks like you have a
LCD, right?


I am having exactly the same problem with my HP. I went as far as
decompiling the ACPI bios. When I tried to compile it again, it threw a
huge amount of errors. So I gave up. I didn't find any solution for my
problem. I even tried other distros. I am still kind of convinced the
error is in the ACPI module(s) of your UEFI. If you try to blame HP (as
many people on their forum did before) they will ask you to test on
Windows. Unfortunately there it works. The newest BIOS update doesn't
fix the problem for my toy.

I am lucky to have an OLED. Please keep me updated if you find a
solution.

regards,

Christian

On Sat, 2016-11-19 at 03:09 -0600, David C. Rankin wrote:
> On 11/19/2016 02:35 AM, Patrick Burroughs (Celti) via arch-general
> wrote:
> > acpi_backlight=vendor is the default, acpi_backlight=none is
> > invalid.
> > The option you are looking for is acpi_backlight=video, which takes
> > the
> > backlight control away from the vendor driver and hands it back
> > over to
> > the standard ACPI backlight driver. This will generally solve the
> > issue
> > you are having.
> > 
> > ~Celti
> 
> Damn,
> 
>   And it worked so well that way :(  Thank you for identifying the
> brightness/backlight issue. The Backlight wiki is where I first got
> the
> acpi_backlight=none suggestion, see:
> 
> https://wiki.archlinux.org/index.php/Backlight#Kernel_command-line_op
> tions
> 
>   I've tried the acpi_backlight=video, and still no-joy (at least I
> still have
> the acpi_video0 sysfs interface with that setting). The nice pop-up
> still
> appears and shows the brightness adjustment, but the screen never
> changes.
> (same symptoms as before)
> 
>   How is adjusting xrandr --brightness bad compared to adjusting
> /sys/class/backlight/acpi_video0/brightness?? I understand setting
> xrandr
> --brightness greater than 1.0 will draw additional power, etc.., but
> how is
> setting it between 0.0 and 1.0 different than doing it with acpi? I'm
> just
> trying to get it sorted out in my mind to understand the difference
> between
> setting:
> 
>   /sys/class/backlight/acpi_video0/brightness
> 
> and
> 
>   xrandr --output LVDS-0 --brightness $foo
> 
>   I'll go search to see if I can find the difference, but if you have
> a
> favorite link, I'd appreciate the help.
> 


Re: [arch-general] 'invalid radix64 character 2D skipped' with pacman-key --refresh-keys

2016-11-17 Thread Christian Rebischke
On Thu, Nov 17, 2016 at 10:49:01PM +0100, Christian Rebischke wrote:
> gpg: invalid radix64 character 2E skipped
> gpg: [don't know]: invalid packet (ctb=11)
> gpg: read_block: read error: Invalid packet
> gpg: mpi larger than indicated length (2064 bits)
> 
> The full output is here:
> 
> https://paste.archlinux.de/DY6FC/


Ok, I anybody of you have the same issue. Try changing the keyserver. 
--refresh-keys has worked fine with pgp.mit.edu. Seems to be an issue
with the default keyserver.

Sorry for the noise.

chris


signature.asc
Description: PGP signature


[arch-general] 'invalid radix64 character 2D skipped' with pacman-key --refresh-keys

2016-11-17 Thread Christian Rebischke
Hello everybody,
Does some of you encount problems with `pacman-key --refresh-keys` like
me? I can't refresh my keyring due to some strange error messages:

gpg: invalid radix64 character 2E skipped
gpg: [don't know]: invalid packet (ctb=11)
gpg: read_block: read error: Invalid packet
gpg: mpi larger than indicated length (2064 bits)

The full output is here:

https://paste.archlinux.de/DY6FC/

Any idea how to solve this issue? I would guess it's something with gpg
and it has nothing todo with the keyring or with pacman-key.

Best regards

Chris


signature.asc
Description: PGP signature


Re: [arch-general] [OT] Favorite/best desktop in archlinux

2016-11-07 Thread Christian Klaue
There is no "best enviroment" for everyone.

Ask for advantages / disadvantages. Check if the answers still apply
nowadays. Let's see for my personal opinion.

When I started with linux I started on cinnamon / mate since it is been
 most closely to windows. It's also been as buggy as windows. Back
then. I am sure / I hope it is much more stable nowadays.

I tried a few "basic" / "specialized" and "experimental" desktops. (No
offence to anyone!). None did fit my personal "one for all"
requirements. Other people can't follow my "I paid for a mouse I wan't
to use it" philosophy. With such a "noob" philosophy back then there
had been KDE, gnome and mate/cinnamon.

One aspect is important: no matter which decission you take (KDE or
another): GTK and QT can be very well be used in parallel. So an
argument like "if you go for gnome you can't use Kaffeine" is bullshit.
QT and GTK can coexistent and nowadays with the right themes you won't
actually be able to say which app is using what.

Back to the 3 major players:
. KDE looks close to Windows and fancy. QT is closed sw. In my personal
opinion KDE offers too many configurations  (early plasma) and is been
laggy (KDE 4).
. Cinnamon is been wonderful. Unfortunately very buggy. (appr. 3 yrs
ago)
. Gnome is ugly. Very ugly. Ever seen a "Adwaita"-themed window header?
(still valid)

Well: I stayed with Gnome. While writing this I still use QT-
applications (namely I watch TV using Kaffeine on my second screen).
Just give every DE a try and after u decided look out for themes and
customizations. There are plenty out there. In most cases for all big
players. Eg. yakuake for qt/KDE and guake for gtk. As for Gnome: I use
arc-theme and viola, it looks bautiful now. I added guake, dash-to-dock 
extension and a few other things. Nowadays I would not even consider
KDE. Anyway, yours may be still KDE. Or Gnome. Or Cinnamon. Or
Enlightment. Or any other. A friend uses enlightment and won't consider
any other. Let me know if u have a valid reason for one specific.

On Mon, 2016-11-07 at 16:58 -0600, David C. Rankin wrote:
> On 11/06/2016 04:12 PM, Maykel Franco via arch-general wrote:
> > Hi, what the best desktop envieronment for archlinux? Only is the
> > question.
> > 
> > I like very much kde plasma but he used a lot of ram and sometimes
> > it
> > is very heavy. Do you think?
> > 
> 
>   I agree with the remainder, the choice is yours. That said, I built
> TDE (KDE3) for Arch for years after chakra stopped building kdemod3,
> and
> that was (and still is) my all time favorite. .I've recently started
> using Plasma, and while it is a behemoth, it is relatively well
> behaved
> from a resources standpoint. Gnome, I thoroughly enjoyed gnome 2. My
> experience with gnome 3 was much like my experience with KDE4.
> 
>   It all boils down to what do you need your desktop to do? Do you
> rely
> on any of the apps unique to any one desktop? (e.g. I like
> kate/kwrite
> and I like the tabbed interface to konsole) Were it not for those 3
> apps, I could care less which desktop I use. I like fluxbox as a
> minimal
> desktop (any of the boxtop desktops are pretty much the same --
> sawfish
> is a little too bare bones for me)
> 
>   The midlevel desktop goes to XFCE, capable, relatively full suite
> of
> basic apps, but it too has experienced growing pains over the past
> two
> years.
> 
>   Gnome or KDE - take your pick. Both are essentially a moving target
> at
> this point. Both are more than capable and both provided just about
> all
> you need built in.
> 
>   Best/Favorite is in the eye of the beholder...
> 


Re: [arch-general] WLAN

2016-11-06 Thread Christian Klaue
Just a guess: with my Lenovo initially I had a similar problem which
turned out to be a missing driver. Installing some 3rd party AUR
package it worked fine. Have you checked lspci? Kernel mods? Which
module is built in? Ever searched for it? 

With my HP I am having some bios problems (caused by HP - I will never
get any HP anymore). After each reboot I have to wait for approx 3
minutes before it is working. Meanwhile wifi is constantly turned on
and off again: there is no hardware button but bios is still reporting
it had been turned off and on. Check if there are bios reports on the
net. Usually you are not the first. The same error does not appear on
windows. unassambling efi and compiling it again threw something like
30 errors on the wifi module in efi...

ente

On Sun, 2016-11-06 at 22:56 +0100, Silvio Siefke wrote:
> Hello, 
> 
> i've installed Arch Linux today on Desktop (HP Elitebook 2540p) but 
> wifi work not. I become message "Wireless networks disabled by
> hardware
> switch"
> 
> Have someone an idea what can do? 
> 
> Thank you
> Silvio
> 
> [siefke@sisibox ~]$ rfkill list
> 0: phy0: Wireless LAN
>   Soft blocked: no
>   Hard blocked: yes
> 2: hci0: Bluetooth
>   Soft blocked: no
>   Hard blocked: no
> 
> [siefke@sisibox ~]$ iwconfig 
> lono wireless extensions.
> 
> enp0s25   no wireless extensions.
> 
> wlo1  IEEE 802.11abgn  ESSID:off/any  
>   Mode:Managed  Access Point: Not-Associated   Tx-
> Power=off   
>   Retry short limit:7   RTS thr:off   Fragment thr:off
>   Power Management:off
> 
> [siefke@sisibox ~]$ dmesg | grep phy0
> [3.097608] ieee80211 phy0: Selected rate control algorithm 'iwl-
> agn-rs'
> 
> [siefke@sisibox ~]$ dmesg | grep wlo1
> [3.306866] iwlwifi :43:00.0 wlo1: renamed from wlan0
> [3.775157] IPv6: ADDRCONF(NETDEV_UP): wlo1: link is not ready
> [4.078492] IPv6: ADDRCONF(NETDEV_UP): wlo1: link is not ready
> [4.385304] IPv6: ADDRCONF(NETDEV_UP): wlo1: link is not ready
> [4.720437] IPv6: ADDRCONF(NETDEV_UP): wlo1: link is not ready
> 
> [siefke@sisibox ~]$ dmesg | grep iwl
> [3.051266] iwlwifi :43:00.0: can't disable ASPM; OS doesn't
> have ASPM control
> [3.051662] iwlwifi :43:00.0: Direct firmware load for
> iwlwifi-6000-6.ucode failed with error -2
> [3.051681] iwlwifi :43:00.0: Direct firmware load for
> iwlwifi-6000-5.ucode failed with error -2
> [3.056639] iwlwifi :43:00.0: loaded firmware version
> 9.221.4.1 build 25532 op_mode iwldvm
> [3.075301] iwlwifi :43:00.0: CONFIG_IWLWIFI_DEBUG disabled
> [3.075305] iwlwifi :43:00.0: CONFIG_IWLWIFI_DEBUGFS disabled
> [3.075307] iwlwifi :43:00.0: CONFIG_IWLWIFI_DEVICE_TRACING
> enabled
> [3.075309] iwlwifi :43:00.0: Detected Intel(R) Centrino(R)
> Advanced-N 6200 AGN, REV=0x74
> [3.075413] iwlwifi :43:00.0: L1 Enabled - LTR Disabled
> [3.097608] ieee80211 phy0: Selected rate control algorithm 'iwl-
> agn-rs'
> [3.306866] iwlwifi :43:00.0 wlo1: renamed from wlan0
> [3.775329] iwlwifi :43:00.0: L1 Enabled - LTR Disabled
> [3.781845] iwlwifi :43:00.0: L1 Enabled - LTR Disabled
> [3.781936] iwlwifi :43:00.0: Radio type=0x1-0x3-0x1
> [3.993451] iwlwifi :43:00.0: L1 Enabled - LTR Disabled
> [3.68] iwlwifi :43:00.0: L1 Enabled - LTR Disabled
> [4.61] iwlwifi :43:00.0: Radio type=0x1-0x3-0x1
> [4.080224] iwlwifi :43:00.0: L1 Enabled - LTR Disabled
> [4.086756] iwlwifi :43:00.0: L1 Enabled - LTR Disabled
> [4.086859] iwlwifi :43:00.0: Radio type=0x1-0x3-0x1
> [4.300192] iwlwifi :43:00.0: L1 Enabled - LTR Disabled
> [4.306715] iwlwifi :43:00.0: L1 Enabled - LTR Disabled
> [4.306816] iwlwifi :43:00.0: Radio type=0x1-0x3-0x1
> [6.993231] iwlwifi :43:00.0: RF_KILL bit toggled to disable
> radio.
> [6.994137] iwlwifi :43:00.0: Not sending command - RF KILL
> 
> [siefke@sisibox ~]$ lspci | grep Network
> 00:19.0 Ethernet controller: Intel Corporation 82577LM Gigabit
> Network Connection (rev 05)
> 43:00.0 Network controller: Intel Corporation Centrino Advanced-N
> 6200 (rev 35)


Re: [arch-general] WLAN

2016-11-06 Thread Christian Rebischke
On Sun, Nov 06, 2016 at 10:56:15PM +0100, Silvio Siefke wrote:
> Hello, 
> 
> i've installed Arch Linux today on Desktop (HP Elitebook 2540p) but 
> wifi work not. I become message "Wireless networks disabled by hardware
> switch"
> 
> Have someone an idea what can do? 
> 
> Thank you
> Silvio
> 
> [siefke@sisibox ~]$ rfkill list
> 0: phy0: Wireless LAN
>   Soft blocked: no
>   Hard blocked: yes
> 2: hci0: Bluetooth
>   Soft blocked: no
>   Hard blocked: no


Hello Silvio,
rfkill was already the right direction. You have to unblock the phy0
device via rfkill. Try `rfkill unblock 0` This should work.

cheers,

chris


signature.asc
Description: PGP signature


Re: [arch-general] Updates blocked by ttf-dejavu

2016-11-01 Thread Christian Klaue
I subscribed to the Arch Announcement feed at https://lists.archlinux.o
rg/listinfo/arch-announce

You almost never get any mail (which I love). It's actually a copy of
everything which will be shown on the arch website frontpage. Since I
never had any trouble with updates besides those mentioned on this
page, it perfectly fits my requirements. Of course you may still run
into AUR trouble... but that's kinda another story.

With respect to update information: just run a full update on a daily
basis. That's what I am doing. Pacman informs me. For gnome there is a
neat tool: Arch Linux Update Indicator. It hides the icon if there are
no updates. I used to use Kalu (which may be helpful on KDE). Works
fine as well but shows the icon all the time. Actually such tools are
unnecessary since there is an update available each day for my system.
Even if you go for a weekly check, it is not waste of time. 

So, if I understood your question correct: use pacman + Arch
Announcement mailing list.


regards,
ente


On Tue, 2016-11-01 at 13:28 +0100, Peter Nabbefeld wrote:
> Thank You. At some time I've subscribed to the arch linux update
> feed, 
> but it doesn't seem very useful, so I'll remove it:
> 
> 1. It seems not all updates are reported
> 2. It doesn't show any hints - just like this
> 
> Do You probably know of any other more useful feed(s)?
> 
> Kind regards
> Peter
> 
> 
> Am 01.11.2016 um 09:49 schrieb Christian Klaue:
> > See the website for tips on how to update: https://www.archlinux.or
> > g/ne
> > ws/ttf-dejavu-237-will-require-forced-upgrade/
> > 
> > pacman -S --force ttf-deja
> > 
> > 
> > ente
> > 
> > On Tue, 2016-11-01 at 09:47 +0100, Peter Nabbefeld wrote:
> > > Hello,
> > > 
> > > cannot update packages, as ttf-dejavu has conflicts.
> > > 
> > > 
> > > ---
> > > Output
> > > ---
> > > Fehler: Konnte den Vorgang nicht durchführen (In Konflikt
> > > stehende
> > > Dateien)
> > > ttf-dejavu: /etc/fonts/conf.d/20-unhint-small-dejavu-sans-
> > > mono.conf
> > > existiert im Dateisystem
> > > ttf-dejavu: /etc/fonts/conf.d/20-unhint-small-dejavu-sans.conf
> > > existiert
> > > im Dateisystem
> > > ttf-dejavu: /etc/fonts/conf.d/20-unhint-small-dejavu-serif.conf
> > > existiert im Dateisystem
> > > ttf-dejavu: /etc/fonts/conf.d/57-dejavu-sans-mono.conf existiert
> > > im
> > > Dateisystem
> > > ttf-dejavu: /etc/fonts/conf.d/57-dejavu-sans.conf existiert im
> > > Dateisystem
> > > ttf-dejavu: /etc/fonts/conf.d/57-dejavu-serif.conf existiert im
> > > Dateisystem
> > > Fehler sind aufgetreten, keine Pakete wurden aktualisiert.
> > > 
> > > ---
> > > Translation for output
> > > ---
> > > Error: Could not proceed (files in conflict)
> > > ttf-dejavu: /etc/fonts/conf.d/20-unhint-small-dejavu-sans-
> > > mono.conf
> > > exists in file system
> > > ...
> > > Errors occured, no packages updated
> > > 
> > > ---
> > > 
> > > Kind regards
> > > Peter


Re: [arch-general] Updates blocked by ttf-dejavu

2016-11-01 Thread Christian Klaue
See the website for tips on how to update: https://www.archlinux.org/ne
ws/ttf-dejavu-237-will-require-forced-upgrade/

pacman -S --force ttf-deja


ente

On Tue, 2016-11-01 at 09:47 +0100, Peter Nabbefeld wrote:
> Hello,
> 
> cannot update packages, as ttf-dejavu has conflicts.
> 
> 
> ---
> Output
> ---
> Fehler: Konnte den Vorgang nicht durchführen (In Konflikt stehende
> Dateien)
> ttf-dejavu: /etc/fonts/conf.d/20-unhint-small-dejavu-sans-mono.conf 
> existiert im Dateisystem
> ttf-dejavu: /etc/fonts/conf.d/20-unhint-small-dejavu-sans.conf
> existiert 
> im Dateisystem
> ttf-dejavu: /etc/fonts/conf.d/20-unhint-small-dejavu-serif.conf 
> existiert im Dateisystem
> ttf-dejavu: /etc/fonts/conf.d/57-dejavu-sans-mono.conf existiert im 
> Dateisystem
> ttf-dejavu: /etc/fonts/conf.d/57-dejavu-sans.conf existiert im
> Dateisystem
> ttf-dejavu: /etc/fonts/conf.d/57-dejavu-serif.conf existiert im
> Dateisystem
> Fehler sind aufgetreten, keine Pakete wurden aktualisiert.
> 
> ---
> Translation for output
> ---
> Error: Could not proceed (files in conflict)
> ttf-dejavu: /etc/fonts/conf.d/20-unhint-small-dejavu-sans-mono.conf 
> exists in file system
> ...
> Errors occured, no packages updated
> 
> ---
> 
> Kind regards
> Peter


[arch-general] Transparent gnome-terminal with Wayland

2016-10-13 Thread Christian Kruse
Hi there,

with GNOME 3.22 defaulting to Wayland I thought I give it a try. All in
all it works pretty well. I just miss the possibility to make some
windows a bit less opaque. With Xorg I do it using Devil's Pie, but that
doesn't seem to work with Wayland.

Is there a way to get transparency with GNOME/Mutter on Wayland?

Best regards,
-- 
Christian Kruse
https://wwwtech.de/about


signature.asc
Description: PGP signature


Re: [arch-general] Microsoft Signature PC Requirements Now Blocks Linux Installation

2016-09-29 Thread Christian Kruse
Hi,

Dragon ryu via arch-general <arch-general@archlinux.org> writes:

> I generality don't hate DIY PC. I think it worth pay your time to do
> so.

I don't hate them. When I was younger all my computers were DIY
computers. But times change, and my work load increased; now my spare
time is *very* limited and I am no longer willing to spend time on
things like looking for the right hardware.

Best regards,
-- 
Christian Kruse
https://wwwtech.de/about


signature.asc
Description: PGP signature


Re: [arch-general] Microsoft Signature PC Requirements Now Blocks Linux Installation

2016-09-29 Thread Christian Kruse
Hi,

Ralf Mardorf <silver.bul...@zoho.com> writes:

> You are right, but you also missed something. I've taken a look at an
> averaged tower PC. At first appearance the price seems to be ok, but
> after a further look I noticed that it's just the basic price, if you
> want at least one hard disk drive, you already need to pay more. How do
> they install an Ubuntu flavor, if you buy a computer without hard disk
> drive? In the end it's plain daylight robbery.

I don't think that this is true; generally their desktop systems come
with a 500GB Segate HDD. And as I just checked I couldn't find a system
without a disk; could you provide a link?

> DIY is significant less expensive, even if you should buy some
> hardware that shouldn't work with Linux, even if you then wouldn't get
> your money back and need to buy some hardware twice.

DIY was always less expensive and will always be. But it will cost you
your time. I'm not willing to pay that price.

Best regards,
-- 
Christian Kruse
https://wwwtech.de/about


signature.asc
Description: PGP signature


Re: [arch-general] Microsoft Signature PC Requirements Now Blocks Linux Installation

2016-09-29 Thread Christian Kruse
Hi,

Merlin Büge <t...@bluenox07.de> writes:

> But note that all that is not open source hardware (as mentioned
> above).

True, that's why I answered here and not earlier :-)

> Also I'm not getting the point in buying such hardware -- there is
> some linux distribution preinstalled, but that's it I guess. Or am I
> missing something?

I can be sure that everything works with Linux. I don't have the time or
the energy to check the hardware vendors manually, I want to buy
hardware that just works; my time is too limited and to precious to me
to work around hardware/driver flaws.

Best regards,
-- 
Christian Kruse
https://wwwtech.de/about


signature.asc
Description: PGP signature


Re: [arch-general] Microsoft Signature PC Requirements Now Blocks Linux Installation

2016-09-29 Thread Christian Kruse
Hi,

Maxwell Anselm via arch-general <arch-general@archlinux.org> writes:

>>
>> Do you Have any pointer to good opensource hardware ?
>
>
> Not exactly open-source/FSF-endorsed but https://system76.com/ sells
> laptops with Ubuntu-preinstalled so those are also guaranteed to run Arch.

Germany has such a company as well:

<http://www.tuxedocomputers.com/>

They're selling devices with either Ubuntu or ElementaryOS
pre-installed. I bought a InfinityBook, it works pretty well and
flawless.

UK has something like that, too:

<https://www.entroware.com/store/>

They sell devices with Ubuntu pre-installed.

Best regards,
-- 
Christian Kruse
https://wwwtech.de/about


signature.asc
Description: PGP signature


Re: [arch-general] Virtualbox pxe boot fails and freeze system

2016-09-27 Thread Christian Hesse
Maykel Franco via arch-general  on Tue,
2016/09/27 15:19:
> Hi, I have a virtualbox, version 5.1.6. When boot the VM from PXE, fails
> with error unknown and my archlinux freeze...
> 
> Anybody with these problem??

I had PXE issue with 5.1.[024]. The guest had stalling connections.
Everything works just fine with 5.1.6.

What is your guest hardware configuration? I am using paravirtualized network
in bridged mode here.
-- 
main(a){char*c=/*Schoene Gruesse */"B?IJj;MEH"
"CX:;",b;for(a/*Best regards my address:*/=0;b=c[a++];)
putchar(b-1/(/*Chriscc -ox -xc - && ./x*/b/42*2-3)*42);}


pgp3y5g6SJClT.pgp
Description: OpenPGP digital signature


Re: [arch-general] Opinions on PowerShell?

2016-08-18 Thread Christian Hesse
Hunter Connelly via arch-general  on Thu,
2016/08/18 21:28:
> On Thu, Aug 18, 2016 at 09:00:33PM -0400, Eli Schwartz via arch-general
> wrote:
> > Why would anyone want to use an overly-verbose scripting language like
> > PowerShell as an interactive shell, **unless it was their only option**?  
> 
> While I tend to prefer Unix-style shells, there are *some* things that
> PowerShell does better.
> 
> Here's an example I found on Reddit in the thread about this on /r/linux.
> Both of the following commands find the size and name of the three largest
> files in a directory.
> 
> Bash:ls -l | sed 's/ \+/,/g' | cut -d',' -f 5,9 | sort -g | tail -3

ls -1 --sort=size | head -n3

> PowerShell:  ls -file | sort -pr length | select length, name -l 3
> 
> What seems to be the most noticable difference is that PowerShell, being an
> object-oriented language, pipes objects instead of raw text. I think this
> might make many things easier while writing scripts.
-- 
main(a){char*c=/*Schoene Gruesse */"B?IJj;MEH"
"CX:;",b;for(a/*Best regards my address:*/=0;b=c[a++];)
putchar(b-1/(/*Chriscc -ox -xc - && ./x*/b/42*2-3)*42);}


pgpNqCq7bbbh8.pgp
Description: OpenPGP digital signature


Re: [arch-general] Package are signed... but pacman doesn't like them...?

2016-07-04 Thread Christian Hesse
Giovanni 'ItachiSan' Santini <itachi.sama.amater...@gmail.com> on Mon,
2016/07/04 11:58:
> Il 03/07/2016 23:50, Christian Hesse ha scritto:
> > 
> > The db file is just a simple tar archive, compressed with gzip. Unzip it
> > and you will find a directory for every package. Every directory contains
> > the file 'desc' at least. Within the file you should find a line
> > '%PGPSIG%', followed by a single line containing the signature.
> > Looks like the build service breaks this line, which confuses pacman.
> >   
> 
> I've opened an issue and created a pull request, as I made some
> experiments with perl in order to have the script working; the issue
> (now closed) is here:
> https://github.com/openSUSE/open-build-service/issues/1907
> 
> Now, pacman recognises the key and accepts the package, but it still
> complains a little, saying that the signature format is unsupported:
> 
> --- Terminal output starts here
> $ LANG=C sudo pacman -Sy dpkg
> :: Synchronizing package databases...
>  ... sync stuff here ...
> resolving dependencies...
> looking for conflicting packages...
> 
> Packages (1) dpkg-1.17.25-1
> 
> Total Download Size:   1.46 MiB
> Total Installed Size:  9.20 MiB
> 
> :: Proceed with installation? [Y/n]
> :: Retrieving packages...
>  dpkg-1.17.25-1-x86_64   1492.1 KiB   $speed 00:00 [--] 100%
> (1/1) checking keys in keyring [--] 100%
> error: dpkg: unsupported signature format(0/1)
> checking package integrity [co  o  o  o  o  o
> (1/1) checking package integrity   [--] 100%
> (1/1) loading package files[--] 100%
>  ... installation stuff here ...
> --- Terminal output ends here
> 
> Why does pacman give that error?
> As it marks it as an error, but it install the package anyways...!

We have three places where this can come from...

https://git.archlinux.org/pacman.git/tree/lib/libalpm/signing.c#n1008
https://git.archlinux.org/pacman.git/tree/lib/libalpm/signing.c#n1038
https://git.archlinux.org/pacman.git/tree/lib/libalpm/signing.c#n1045

Not sure what goes wrong here. Is source of the build service available? How
do they sign the packages?
-- 
main(a){char*c=/*Schoene Gruesse */"B?IJj;MEH"
"CX:;",b;for(a/*Best regards my address:*/=0;b=c[a++];)
putchar(b-1/(/*Chriscc -ox -xc - && ./x*/b/42*2-3)*42);}


pgpTkPQ6f9lva.pgp
Description: OpenPGP digital signature


Re: [arch-general] Package are signed... but pacman doesn't like them...?

2016-07-03 Thread Christian Hesse
Giovanni 'ItachiSan' Santini via arch-general  on
Sun, 2016/07/03 10:09:
> Good morning,
> some days ago I found a nice service called "Open Build Service", which
> allows all kind of packagers, including also Arch ones, to have
> different repos of their packages, having them built online.
> This is awesome for me, as some of them require heavy building time.
> 
> I fought a bit against the service, in order to make the GPG public key
> to be uploaded to a key server, in order to allow users to add it
> properly to pacman-key.
> 
> Now, I am facing a really strange issue: I've added the key to pacman
> keyring, using:
> 
> sudo pacman-key -r 05E0A765C649DE23
> sudo pacman-key --lsign-key 05E0A765C649DE23
> 
> Database syncing works properely and the signature is verified...
> But for packages it is not.
> Every time it gives an error as this:
> 
> $pkgname-$pkgver   $pkgsize  $dw_speed 00:00 [] 100%
> (1/1) checking keys in keyring   [] 100%
> error: $pkgname: unsupported signature format(0/1) checking package
> integrity
> (1/1) checking package integrity [] 100%
> error: GPGME error: No data
> 
> I tried to download the public key and adding to my personal GPG
> keyring. Verifying the packages signatures works perfectly. To try this,
> I fetched the .sig file online and used the GPG --verify command.
> Any hints?
> 
> Now, the needed data.
> My personal repo configuration for pacman
> 
> [home_ItachiSan_archlinux_Arch_Extra]
> Server =
> http://download.opensuse.org/repositories/home:/ItachiSan:/archlinux/Arch_Extra/$arch
> 
> The public key mentioned above:
> http://keyserver.ubuntu.com/pks/lookup?op=get=on=0x05E0A765C649DE23
> or
> http://keyserver.ubuntu.com/pks/lookup?op=vindex=home%3AItachiSan=on
> 
> Sorry to be so verbose. :<
> Thanks in advance!

Looks like the build service produces invalid db files,
home_ItachiSan_archlinux_Arch_Extra.db in your case.

The db file is just a simple tar archive, compressed with gzip. Unzip it and
you will find a directory for every package. Every directory contains the
file 'desc' at least. Within the file you should find a line '%PGPSIG%',
followed by a single line containing the signature.
Looks like the build service breaks this line, which confuses pacman.

To verify you can extract the db file, make your changes and create a new
one. Do not forget to remove the db signature (or resign).

BTW, It's pretty simple why the db signature is valid: It is used as-is. The
package signatures in your repository are useless, though. The signatures are
stored withing the db file, as seen above.
-- 
main(a){char*c=/*Schoene Gruesse */"B?IJj;MEH"
"CX:;",b;for(a/*Best regards my address:*/=0;b=c[a++];)
putchar(b-1/(/*Chriscc -ox -xc - && ./x*/b/42*2-3)*42);}


pgpKFoLSPyleS.pgp
Description: OpenPGP digital signature


Re: [arch-general] Problem with pacman hooks, alphabetic order.

2016-05-19 Thread Christian Hesse
LoneVVolf  on Thu, 2016/05/19 17:24:
> On 14-05-16 01:15, Carsten Feuls wrote:
> > Hello Everybody,
> >
> > I have some trouble with pacman hooks.
> > Arch is going to use pacman hooks in every package.
> > etckeeper was one of the first package that use pacman hooks, without any
> > trouble.
> > But now it becomes more tricky to run.
> > My Problem is that the pacman hooks run in alphabetic order.
> > And not in a Prirority order.
> >
> > How this problem could be solved?
> > Yes I know I can number every hook but I prefer a more upstream 
> > solution..
> >
> >
> > Sincerly Yours
> > Carsten Feuls
> >  
> 
> I do think there may be better way to solve this then adding a priority 
> system for hooks.
> 
> this is current trigger used by etckeeper hooks :
> [Trigger]
> Operation = Install
> Operation = Upgrade
> Operation = Remove
> Type = Package
> Target = *
> 
> I think the purpose of etckeeper is to keep track of changes in the /etc 
> folder, right?
> 
> How about using this as trigger :
> 
> [Trigger]
> Operation = Install
> Operation = Upgrade
> Operation = Remove
> Type = File
> Target = /etc/*

That is what current version does. Well, except that the install root is
omitted, so correct target is just 'etc/*'.

But that does not solve the problem: Think of etckeeper hook runs
first, followed by ca-certificates hook. The changes are not committed.
That's why we want prefix for order, so etckeeper hook can run last.
-- 
main(a){char*c=/*Schoene Gruesse */"B?IJj;MEH"
"CX:;",b;for(a/*Best regards my address:*/=0;b=c[a++];)
putchar(b-1/(/*Chriscc -ox -xc - && ./x*/b/42*2-3)*42);}


pgpbtiMdeLjid.pgp
Description: OpenPGP digital signature


Re: [arch-general] Problem with pacman hooks, alphabetic order.

2016-05-18 Thread Christian Hesse
Carsten Feuls  on Sat, 2016/05/14 01:15:
> Hello Everybody,
> 
> I have some trouble with pacman hooks.
> Arch is going to use pacman hooks in every package.
> etckeeper was one of the first package that use pacman hooks, without any 
> trouble.
> But now it becomes more tricky to run.
> My Problem is that the pacman hooks run in alphabetic order.
> And not in a Prirority order.

Want to try etckeeper 1.18.3.r27.geeae1aa-1?
-- 
main(a){char*c=/*Schoene Gruesse */"B?IJj;MEH"
"CX:;",b;for(a/*Best regards my address:*/=0;b=c[a++];)
putchar(b-1/(/*Chriscc -ox -xc - && ./x*/b/42*2-3)*42);}


pgpvWQX1kex8W.pgp
Description: OpenPGP digital signature


Re: [arch-general] things specific to Arch?

2016-04-16 Thread Christian Rebischke
On Sat, Apr 16, 2016 at 10:38:14PM +0200, Maarten de Vries wrote:
> mkdosfs in part of the dosfstools package. In general, if you're looking
> for a specific tool (or other file) you can search the repositories for it
> using pkgfile. You first have to install pkgfile though, it's in the
> pkgfile package ;)


Hello,
Since pacman 5.0 you even don't need to install pkgfile for it. You can just
query the pacman database via:

pacman -Fy (for updating the database)

and then

pacman -Fs mkdosfs

I recommend allans blogpost for this new feature:

http://allanmcrae.com/2016/01/pacman-5-0-released/


best regards

chris


signature.asc
Description: PGP signature


[arch-general] Strange abs behaviour

2016-03-25 Thread Christian Rebischke
Hello,
I have strange abs behaviour maybe you have an idea for this issue:

https://paste.archlinux.de/cJN/

I can catch every package via abs except virt-install. Do you have any idea
why?

greetings

chris


signature.asc
Description: PGP signature


Re: [arch-general] terminal

2016-03-19 Thread Christian Hesse
Sebastiaan Lokhorst  on Wed, 2016/03/16 15:24:
> This is a known bug in Linux 4.4.[1]
> It should be fixed in 4.5, which is in [testing] now, so you can try it out.
> 
> [1] https://bugs.freedesktop.org/show_bug.cgi?id=93483

This bug you referenced is marked as duplicate, this is the real one:

https://bugs.freedesktop.org/show_bug.cgi?id=93822

However Linux 4.5 crashes even worse for me...
-- 
main(a){char*c=/*Schoene Gruesse */"B?IJj;MEH"
"CX:;",b;for(a/*Best regards my address:*/=0;b=c[a++];)
putchar(b-1/(/*Chriscc -ox -xc - && ./x*/b/42*2-3)*42);}


pgpD71506m1d1.pgp
Description: OpenPGP digital signature


Re: [arch-general] systemctl --user broken

2016-02-23 Thread Christian Rebischke
On Mon, Feb 22, 2016 at 08:49:23PM +0100, Niels Kobschaetzki wrote:
> On 16/02/22 14:40, juan tascon wrote:
> >Gday everyone,
> >
> >Since the last systemd update (229) I haven't been able to run my
> >systemd user instance.
> >
> >I'm getting this error when I try to run "systemctl --user status":
> >Failed to connect to bus: No such file or directory
> >
> >Running strace reveals that it tries to connect to kdbus which isn't
> >available on the current kernel:
> >
> >open("/sys/fs/kdbus/1000-user/bus", O_RDWR|O_NOCTTY|O_CLOEXEC) = -1
> >ENOENT (No such file or directory)
> >
> >I've tried disabling kdbus adding "kdbus=0" as kernel parameter but that
> >didn't work.
> 
> I had the exact same problem with Ubuntu (Testing) und Fedora these
> days. I had some timers with "OnBootSec=0Min".
> 
> And when I started such a timer they crashed the dbus user session.  I
> found it out after moving .config/systemd/user to something else,
> rebooting and then moving and starting services and timers one by one.
> I hope that helps.
> 
> Niels

Hello Guys,
Did you open a bugreport for your issues? I had also some issues with
systemd --user services. But I have my services in /etc/systemd/user/ and my
problem was that they are not starting automatically although I have enabled
them. I have opened a bugreport for this here:

https://github.com/systemd/systemd/issues/2690

Please open an issue in the systemd-repository.

best regards

Chris


signature.asc
Description: PGP signature


[arch-general] How much people use Arch Linux

2016-02-18 Thread Christian Rebischke
Hello everyone,
Is there any counter for ISO-downloads or something? I want to have a number
how much people are using Arch Linux worldwide. I don't need an exact
number.

Does somebody has some statistics?

best regards

Chris


signature.asc
Description: PGP signature


Re: [arch-general] Htop 2.0 fonts

2016-02-16 Thread Christian Hesse
Garmine 42  on Tue, 2016/02/16 18:33:
> Hi!
> 
> Since the update to 2.0 the usage graphs use nonexisting fonts - both
> TTY and uxterm show the "empty box" unicode character instead of the
> fonts shown on htop 2.0 screenshots.
> 
> I did not find any missing dependency for htop on my system.
> 
> Do anyone else have this issue?
> 
> Any ideas? Shall I install a new font for this? If so, which one?
> 
> Thank you in advance.

Make sure your locales support UTF-8 and select a terminal font that has
braille character. Terminus (package terminus-font) works perfectly fine.
-- 
main(a){char*c=/*Schoene Gruesse */"B?IJj;MEH"
"CX:;",b;for(a/*Best regards my address:*/=0;b=c[a++];)
putchar(b-1/(/*Chriscc -ox -xc - && ./x*/b/42*2-3)*42);}


pgp6BSawZmfsc.pgp
Description: OpenPGP digital signature


Re: [arch-general] Alternative init system proposal

2016-02-09 Thread Christian Rebischke
Hello everone,
First of all I want to remind you that systemd is no longer an init system.
Systemd has become to be much more than just starting/stopping some daemons.
You must see systemd with every part. You cannot just strip systemd from
every package, ignore the other parts of systemd and run openRC. This will
not work. This is just one part..

the other part is: I don't think that the Arch Linux developers would be
happy if they would need to maintain an alternative init system like openRC.

Here are some reasons for it:

1. Maintaining:
The maintaining of systemd and another init-system would be a lot of double
work. We would need every package twice. One systemd version and one version
without systemd. Moreover some packages like netctl depend on systemd. You
cannot just repackage netctl without systemd. You would have to change the
codebase of netctl.

Moreover I think that the developer team has other work todo. For example I
would prefer to have full SELinux support this would be for me much more
important as another init system.

2. Arch Linux itself:
When I think about Arch Linux i must think about:
- rolling release
- a very fast release system. Upstream version == package version in the
  official repositories.

What does this mean? It means that I prefer a linux distribution that
supports the newest changes in the linux development. Systemd is one of
thesee changes. Systemd improves a lot of stuff. There is a reason why all
other big distribtions are also moving to systemd. It's the future. All the
shellscript-based init systems are the past. Also, with systemd comes a lot
of new cool stuff like cgroups, systemd-nspawn, networkd, logind and a lot
more. 

I really think that Arch Linux shouldn't be a rock in this flow of
development. We should do it like fedora and support it. We shouldn't help
to tube-fed all other init systems. 

Furthermore there will be (maybe) kdbus in the kernel. Kdbus is at the
moment still systemd only. I am sure there will come more systemd-specific
interfaces for the kernel. Kdbus is just one example.

3. The ISO and Arch Linux installation process
If Arch Linux would support openRC we would have to offer two ISOs. One with
systemd and one with openRC. Also the way of the installation process would
be different. We would need to edit all wikipages. I often hear that the
Arch Linux wiki is one of the best wikis for GNU/Linux. I think this would
change if we would have a second init system. We would have a lot of chaos.
And for what? Only for making 'some' people happy.


This is just my humble opinion,

best regards,

chris

--
Christian Rebischke

Website: www.nullday.de
Twitter: @sh1bumi
Jabber : shib...@jabber.ccc.de
PGP: 0xDFE2060D
Fingerprint: 6DAF 7B80 8F9D F251 3962  D214 61E3 DFE2 060D
--



signature.asc
Description: PGP signature


Re: [arch-general] suckless-terminal (st) in community - is there an issue with st-255color terminfo and tmux?

2015-11-26 Thread Christian Hesse
Oon-Ee Ng  on Thu, 2015/11/26 11:37:
> I'm really glad st is now in community, though I find it slightly odd
> its orphaned even though it's just been moved.

Probably Sergej forgot to adopt... Nothing to worry about.

> Anyway, on the upgrade my terminal would not start, and I tracked that
> down to the default config.h setting termname to 'st-256color'
> 
> Changing that to 'stterm-256color' means it doesn't crash on startup
> anymore. It's because I start tmux automatically in terminal.
> 
> The problem with 'st' is that the name is nigh-on un-google-able...
> anyone else knows about this issue or has hit it before?

Is your system up-to-date? You need recent ncurses.

% pacman -Q ncurses
ncurses 6.0-3
% pacman -Ql ncurses | grep st-256color
ncurses /usr/share/terminfo/s/st-256color

-- 
main(a){char*c=/*Schoene Gruesse */"B?IJj;MEH"
"CX:;",b;for(a/*Chris   get my mail address:*/=0;b=c[a++];)
putchar(b-1/(/*   gcc -o sig sig.c && ./sig*/b/42*2-3)*42);}


pgp2bezI8dtPI.pgp
Description: OpenPGP digital signature


Re: [arch-general] grub

2015-11-26 Thread Christian Hesse
flow  on Sun, 2015/11/08 16:34:
> Is it possible to boot archlinux-2015.11.01-dual.iso (and install then)
> with grub?

For me the boot entry looks like this:

menuentry "Arch Linux ISO image" --class arch --class gnu-linux --class gnu 
--class os --class tool {
insmod iso9660
loopback loop /archlinux/archlinux.iso
linux (loop)/arch/boot/x86_64/vmlinuz archisobasedir=arch img_dev=/dev/sdaX 
img_loop=/archlinux/archlinux.iso archisodevice=/dev/loop0 copytoram=y quiet
initrd (loop)/arch/boot/intel-ucode.img (loop)/arch/boot/x86_64/archiso.img
}

Should work just fine...
-- 
main(a){char*c=/*Schoene Gruesse */"B?IJj;MEH"
"CX:;",b;for(a/*Chris   get my mail address:*/=0;b=c[a++];)
putchar(b-1/(/*   gcc -o sig sig.c && ./sig*/b/42*2-3)*42);}


pgp90m4AHKTyD.pgp
Description: OpenPGP digital signature


Re: [arch-general] Kernel NULL pointer and crash - raid bug in 4.1.6 - and fix

2015-09-21 Thread Christian Hesse
Tobias Powalowski  on Thu, 2015/09/03 17:08:
> Am 03.09.2015 um 15:03 schrieb Genes Lists:
> > I (and others) have enocuntered a pretty nasty raid bug that crashes
> > the machine running current 4.1.x stable. It seems a commit is
> > available but not yet in 4.1.6.
> >
> > (commit 49895bcc7e566ba455eb2996607d6fbd3447ce16)
> >
> > Seems like it is in 4.2 tho.
> >
> > Not sure it's worth patching 4.1.6 with this if 4.2 is imminent - but
> > it may be - it kills the machine and has caused some file lossage.
> >
> > Bugzilla:
> >
> >Upstream: https://bugzilla.kernel.org/show_bug.cgi?id=103711
> >Arch: https://bugs.archlinux.org/task/46188
> >
> > Tobias - what do you suggest best way to proceed - skip as 4.2 is out
> > or patch 4.1.6?
> >
> > Thanks
> >
> > gene/
> Uploading 4.2 to testing now, so no need to patch 4.1.x.

Uh, we have linux-lts 4.1.7-2 in [core], which has this RAID5 issue, no?

Can we get a fix there?
-- 
main(a){char*c=/*Schoene Gruesse */"B?IJj;MEH"
"CX:;",b;for(a/*Chris   get my mail address:*/=0;b=c[a++];)
putchar(b-1/(/*   gcc -o sig sig.c && ./sig*/b/42*2-3)*42);}


pgpIcgtryUc2j.pgp
Description: OpenPGP digital signature


Re: [arch-general] Having trouble understanding UEFI booting

2015-08-28 Thread Christian Demsar
On Wed, Aug 26, 2015, at 10:17 PM, mick wrote:
 The disk is currently split into 11 partitions
 partsizecodename
 [...]
 2   260mb   EF00EFI system partition
 [...]
 when installing I have only used partitions 9, 10  11. partitions 1 -
 8 were on the disc from the windows pre-install and shrunk to make way
 for linux.

If you didn't mount your ESP (EFI System Partition), then that's why
your installation failed.

You need to mount the partition of type EF00 (EFI System Partition) on
/boot. By the looks of it, it's your second partition (if your drive is
/dev/sda, then most likely /dev/sda2).

Follow this after you have the partition mounted correctly:
https://wiki.archlinux.org/index.php/Systemd-boot#EFI_boot

Unless you really need GRUB, you should use bootctl.


Re: [arch-general] Extremely slow battery status on MBP

2015-08-28 Thread Christian Demsar
On Fri, Aug 28, 2015, at 02:40 PM, Emanuel Evans wrote:
 Apologies for the repeat posting--I think my previous posting ended up
 bouncing due to some misconfigured dmarc settings.

Your email actually got through successfully. I saved the thread in case
anyone figured it out. (I regrettably can't solve your problem,
however.)


Re: [arch-general] filezilla won't start

2015-08-23 Thread Christian Demsar
On Sun, Aug 23, 2015, at 06:37 PM, James wrote:
 http://lockie.ca/test/filezilla_017.png
 An assertion failed!

I thought assertions are usually not compiled into releases.

Anyway, you might want to include a little bit more info. What do you
mean by fresh install?


Re: [arch-general] motherboard change - strategies for saving current install?

2015-08-12 Thread Christian Demsar
On Wed, Aug 12, 2015, at 10:08 PM, David C. Rankin wrote:
 can I boot the install media, assemble raid arrays, chroot old and
 update, or do I just dump the root partition and reinstall
 completely?

You'll need to reinstall, I think. According to [1], ESP on RAID is not
a good idea, which means one of your drives will have to host the EFI
(and also usually boot) partition.

[1] https://wiki.archlinux.org/index.php/EFI#ESP_on_RAID

Instead, you can do something similar to the full-disk encryption /
plausible deniability setup I experimented with a few months ago [2] --
host the EFI / boot partition on a high quality USB drive instead and
keep your RAID array intact.

[2] 
https://wiki.archlinux.org/index.php/Dm-crypt/Encrypting_an_entire_system#Plain_dm-crypt


Re: [arch-general] Cannot install bacula-client error unknown public key

2015-08-06 Thread Christian Hesse
Maykel Franco maykeldeb...@gmail.com on Thu, 2015/08/06 13:01:
 Hi, I try install bacula-client in my archlinux but I get this error:
 
   - Found bacula-fd.service
 == Validating source files with sha256sums...
 bacula-7.0.5.tar.gz ... Passed
 bacula-7.0.5.tar.gz.sig ... Skipped
 bacula-fd.service ... Passed
 == Verifying source file signatures with gpg...
 bacula-7.0.5.tar.gz ... FAILED (unknown public key 9E98BF3210A792AD)
 == ERROR: One or more PGP signatures could not be verified!
 == ERROR: Makepkg was unable to build bacula-client.
 == Restart building bacula-client ? [y/N]
 
 
 How can resolve it?
 
 Thanks in advanced.

gpg --recv-key 9E98BF3210A792AD

-- 
main(a){char*c=/*Schoene Gruesse */B?IJj;MEH
CX:;,b;for(a/*Chris   get my mail address:*/=0;b=c[a++];)
putchar(b-1/(/*   gcc -o sig sig.c  ./sig*/b/42*2-3)*42);}


pgp9E9dV6oaio.pgp
Description: OpenPGP digital signature


Re: [arch-general] NetworkManager warn logs, Is it something to be concerned?

2015-07-22 Thread Christian Demsar
There might be a negligible decrease in speed since 220 bytes less are
being transmitted per frame, but I don't think it's a breaking issue.
Problems arise when the MTU is set higher than all parts of the network
can handle, which is why the standard seems to be 1500 (although I've
seen some openvpn configuration files restricting the MTU to 1400 for
reducing packet loss -- I've never tested to see if it works or not).

I'm not sure why your NIC is broadcasting an MTU of 0. Someone more
experienced with the (Arch) Linux network stack should be able to help
here.


Re: [arch-general] current flash vulnerabilities - what to do?

2015-07-17 Thread Christian Demsar
On Fri, Jul 17, 2015, at 02:13 AM, Ralf Mardorf wrote:
 In Western civilisations we seldom need TOR, what we need are less
 bloated browsers, that still provide some comfort.

There are a few minimalist browsers out there. Gnome, KDE, and XFCE all
have them. 

The basic comfort I require is cross-platform bookmark sync. None of
these small browsers have the manpower to do this unless they wrap
themselves into FF sync like icecat does. 

Anyone have any ideas on how to sync bookmarks, history, and tabs across
FLOSS browsers on all platforms? 


Aside, flash is still important. It should just be treated as if it is
riddled with 0-days (which it is) and an open door for malware. I've used
it more than a few times viewing .swf`s for college classes, for
instance, and I doubt the university is going to pay someone to convert
content that is still functional.

There's a lot of legacy flash content that should be preserved and
accessible, but there definitely shouldn't be any new flash content
being created.


Re: [arch-general] Firefox display problem

2015-06-07 Thread Christian Demsar
On June 7, 2015 3:31:26 PM EDT, Francis Gerund ranr...@gmail.com wrote:
Using Firefox to access http://cnn.com, photos show up, but often have
a
superimposed small, hollow rectangle in the center of each.  The
rectangles
contain the characters FI above the characters 33.

Is this a sign of some missing component from Firefox, or just an error
at
the cnn.com website?  Or something else?

Are you blocking javascript? When I allow CNN in noscript, those characters are 
replaced (by a search icon, or the weather, for instance).
-- 
vixsomnis


Re: [arch-general] Firefox display problem

2015-06-07 Thread Christian Demsar
On Sun, Jun 7, 2015, at 04:27 PM, Francis Gerund wrote:
 Thank you.

 Yes, temporarily allowing cnn.com in NoScript did get rid of the
 rectangles.

 But try it youself, and then click the NoScript icon in the Firefox menu
 bar to count the still-blocked third-party revenue leeches cnn
 lets tag along on it's website.  11 by my count.

 So much for privacy.

 Remeber when the websites said to visitors, what can we do for you?,
 not
 what can we do you for? . . .

Privacy issues aside, javascript on certain websites tends to slow my
browser down to a crawl. Amazon.com, for instance, is impossibly
sluggish when I whitelist it. It's crashed my DE before when I had more
than a few tabs open.

In terms of both privacy and performance, the third-party scripts and
trackers really do slow down browsing.

(The Amazon scripts aren't third party, they're just surprisingly
slow...)

As an aside, if anyone knows a fix for Amazon on Firefox, I'd appreciate
a tip. I'm not sure if it's just my local setup.

--
vixsomnis


Re: [arch-general] Duplicated keycodes

2015-06-02 Thread Christian Demsar
On Tue, Jun 2, 2015, at 09:41 PM, Kodephault wrote:
 Is your keyboard based on Microdia board? I had the same issue and I
 fixed
 it using a custom driver.
 
 Please check the idVendor and idProduct with the lsusb command and maybe
 I
 can help you.
 
 Regards.

Replying for OP (he attached the lsusb output -- appears to be
Microdia). Some info is missing, probably not run under root.

Bus 003 Device 003: ID 0c45:7603 Microdia 
Couldn't open device, some information will be missing
Device Descriptor:
  bLength18
  bDescriptorType 1
  bcdUSB   2.00
  bDeviceClass0 
  bDeviceSubClass 0 
  bDeviceProtocol 0 
  bMaxPacketSize0 8
  idVendor   0x0c45 Microdia
  idProduct  0x7603 
  bcdDevice1.06
  iManufacturer   1 
  iProduct2 
  iSerial 0 
  bNumConfigurations  1
  Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength   59
bNumInterfaces  2
bConfigurationValue 1
iConfiguration  0 
bmAttributes 0xa0
  (Bus Powered)
  Remote Wakeup
MaxPower  300mA
Interface Descriptor:
  bLength 9
  bDescriptorType 4
  bInterfaceNumber0
  bAlternateSetting   0
  bNumEndpoints   1
  bInterfaceClass 3 Human Interface Device
  bInterfaceSubClass  1 Boot Interface Subclass
  bInterfaceProtocol  1 Keyboard
  iInterface  0 
HID Device Descriptor:
  bLength 9
  bDescriptorType33
  bcdHID   1.11
  bCountryCode0 Not supported
  bNumDescriptors 1
  bDescriptorType34 Report
  wDescriptorLength  65
 Report Descriptors: 
   ** UNAVAILABLE **
  Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81  EP 1 IN
bmAttributes3
  Transfer TypeInterrupt
  Synch Type   None
  Usage Type   Data
wMaxPacketSize 0x0008  1x 8 bytes
bInterval  10
Interface Descriptor:
  bLength 9
  bDescriptorType 4
  bInterfaceNumber1
  bAlternateSetting   0
  bNumEndpoints   1
  bInterfaceClass 3 Human Interface Device
  bInterfaceSubClass  1 Boot Interface Subclass
  bInterfaceProtocol  1 Keyboard
  iInterface  0 
HID Device Descriptor:
  bLength 9
  bDescriptorType33
  bcdHID   1.11
  bCountryCode0 Not supported
  bNumDescriptors 1
  bDescriptorType34 Report
  wDescriptorLength 169
 Report Descriptors: 
   ** UNAVAILABLE **
  Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x82  EP 2 IN
bmAttributes3
  Transfer TypeInterrupt
  Synch Type   None
  Usage Type   Data
wMaxPacketSize 0x0008  1x 8 bytes
bInterval  10


-- 
vixsomnis


Re: [arch-general] Duplicated keycodes

2015-06-01 Thread Christian Demsar
On Tue, Jun 2, 2015, at 12:01 AM, Facundo Curti wrote:
 2015-06-02 0:56 GMT-03:00 Christian Demsar vixsom...@fastmail.com:
 
  On Mon, Jun 1, 2015, at 11:47 PM, Facundo Curti wrote:
   2015-06-02 0:38 GMT-03:00 Christian Demsar vixsom...@fastmail.com:
  
On Mon, Jun 1, 2015, at 11:26 PM, Facundo Curti wrote:
 2015-06-02 0:10 GMT-03:00 Christian Demsar vixsom...@fastmail.com:

  On Mon, Jun 1, 2015, at 10:36 PM, Facundo Curti wrote:
   Distros/computer, I didn't. But in windows it works fine. :/
   El 01/06/2015 22:55, Christian Demsar vixsom...@fastmail.com
   escribió:
  
On Mon, Jun 1, 2015, at 09:50 PM, Facundo Curti wrote:
 Hi. I hope someone can help me please.

 I bought a new keyboard, a noga NKB-710. The problem is that,
  according
 to
 xev, four of the keys have the same keycode...

 The keys Ctrl, Alt, Win*** and shift, have the same keycode,
  50.
Off
 course, it doesn't work correctly. and this way, It's
  imposible
to
  me to
 configure it with xmodmap.

 I don't know what data I can share. I hope this to be
  sufficient:

 attached a lsusb -v output

 Thx, bye! :P
 Email had 1 attachment:
 + lsusb-v2
   20k (application/octet-stream)
   
Have you tested if it works in other distros or other
  computers?
Might
narrow down the problem.
   
--
vixsomnis
   
 
  (please bottom-post if you can)
 
  I installed the xorg-xev package to compare to what you're seeing.
  I
  think the X11 keycodes are different from the codes actually sent
  by
the
  keyboard.
 
  Can you post the output of typing the problem keys when running
  $ sudo showkey
 
  I have:
 
  left-ctrl = 29
  windows = 125
  left-alt = 56
  right-alt = 57
  right-ctrl = 97
  left-shift = 24
  right-shift = 54
 
  I think these are standard for all US keyboards.
 
  That should confirm if the problem is with your keyboard (if the
  keys
  show the same code) or in the driver (or somewhere else).
 
  There's also the slight possibility that it's a kernel bug, which
  would
  show up as repeating codes from showkey, since showkey is as close
  to
  the kernel as possible.
 
  --
  vixsomnis
 

 Yes, sorry. My bad. I answered from my phone

 With showkey I have the code 42 In alt, ctrl, shift and windows.
  Again,
 the
 same code on the keys :/

 I'm from Argentina, So I don't have an english keyboard.

 The keyboard works fine on windows :/. ¿Maybe is a Driver thing? :S

 I dont know what else I can do :S. Is really a nice keyboard :'(
  jaja.

 Thank you!
   
What's your keymap set to? I don't know what the Argentina layout or
file is.
   
Try temporarily switching to US qwerty (it'll clear on reboot) and see
if that differentiates the keys.
   
$  loadkeys us
   
You can see which keymaps you have by checking /usr/share/kbd/keymaps
   
--
vixsomnis
   
  
   Switching to us keymap makes me the same :/ it doesn't works
  
   I was using es layout before
 
  I may have been mistaken about scancodes vs keycodes (see
  https://wiki.archlinux.org/index.php/Extra_keyboard_keys#Scancodes).
 
  Try this in a virtual terminal (ttyX, not xterm, gnome-terminal, etc):
 
  $  sudo showkeys --scancodes
 
  --
  vixsomnis
 
 
 Nope. :S Again have the same code.
 
 0x2a when pressing, 0xaa when release.

Ah, sorry. That's the extent of my knowledge. It might be a kernel bug,
so you can submit a bug report (or try out the latest kernel in the
testing repo).

Another option is trying an operating system with a different kernel,
say freebsd. If you still have a problem, it's the fault of the keyboard
(although this is unlikely since Windows sees it fine).

-- 
vixsomnis


Re: [arch-general] Duplicated keycodes

2015-06-01 Thread Christian Demsar
On Mon, Jun 1, 2015, at 11:38 PM, Christian Demsar wrote:
 On Mon, Jun 1, 2015, at 11:26 PM, Facundo Curti wrote:
  2015-06-02 0:10 GMT-03:00 Christian Demsar vixsom...@fastmail.com:
  
   On Mon, Jun 1, 2015, at 10:36 PM, Facundo Curti wrote:
Distros/computer, I didn't. But in windows it works fine. :/
El 01/06/2015 22:55, Christian Demsar vixsom...@fastmail.com
escribió:
   
 On Mon, Jun 1, 2015, at 09:50 PM, Facundo Curti wrote:
  Hi. I hope someone can help me please.
 
  I bought a new keyboard, a noga NKB-710. The problem is that,
   according
  to
  xev, four of the keys have the same keycode...
 
  The keys Ctrl, Alt, Win*** and shift, have the same keycode, 50. Off
  course, it doesn't work correctly. and this way, It's imposible to
   me to
  configure it with xmodmap.
 
  I don't know what data I can share. I hope this to be sufficient:
 
  attached a lsusb -v output
 
  Thx, bye! :P
  Email had 1 attachment:
  + lsusb-v2
20k (application/octet-stream)

 Have you tested if it works in other distros or other computers? Might
 narrow down the problem.

 --
 vixsomnis

  
   (please bottom-post if you can)
  
   I installed the xorg-xev package to compare to what you're seeing. I
   think the X11 keycodes are different from the codes actually sent by the
   keyboard.
  
   Can you post the output of typing the problem keys when running
   $ sudo showkey
  
   I have:
  
   left-ctrl = 29
   windows = 125
   left-alt = 56
   right-alt = 57
   right-ctrl = 97
   left-shift = 24
   right-shift = 54
  
   I think these are standard for all US keyboards.
  
   That should confirm if the problem is with your keyboard (if the keys
   show the same code) or in the driver (or somewhere else).
  
   There's also the slight possibility that it's a kernel bug, which would
   show up as repeating codes from showkey, since showkey is as close to
   the kernel as possible.
  
   --
   vixsomnis
  
  
  Yes, sorry. My bad. I answered from my phone
  
  With showkey I have the code 42 In alt, ctrl, shift and windows. Again,
  the
  same code on the keys :/
  
  I'm from Argentina, So I don't have an english keyboard.
  
  The keyboard works fine on windows :/. ¿Maybe is a Driver thing? :S
  
  I dont know what else I can do :S. Is really a nice keyboard :'( jaja.
  
  Thank you!
 
 What's your keymap set to? I don't know what the Argentina layout or
 file is.
 
 Try temporarily switching to US qwerty (it'll clear on reboot) and see
 if that differentiates the keys.
 
 $  loadkeys us
 
 You can see which keymaps you have by checking /usr/share/kbd/keymaps
 
 -- 
 vixsomnis

This probably won't work, since I think X overrides this, but it's worth
a shot. It doesn't normally override gnome (my DE) when I set it to
dvorak, for instance.

-- 
vixsomnis


Re: [arch-general] Duplicated keycodes

2015-06-01 Thread Christian Demsar
On Mon, Jun 1, 2015, at 09:50 PM, Facundo Curti wrote:
 Hi. I hope someone can help me please.
 
 I bought a new keyboard, a noga NKB-710. The problem is that, according
 to
 xev, four of the keys have the same keycode...
 
 The keys Ctrl, Alt, Win*** and shift, have the same keycode, 50. Off
 course, it doesn't work correctly. and this way, It's imposible to me to
 configure it with xmodmap.
 
 I don't know what data I can share. I hope this to be sufficient:
 
 attached a lsusb -v output
 
 Thx, bye! :P
 Email had 1 attachment:
 + lsusb-v2
   20k (application/octet-stream)

Have you tested if it works in other distros or other computers? Might
narrow down the problem.

-- 
vixsomnis


Re: [arch-general] Duplicated keycodes

2015-06-01 Thread Christian Demsar
On Mon, Jun 1, 2015, at 10:36 PM, Facundo Curti wrote:
 Distros/computer, I didn't. But in windows it works fine. :/
 El 01/06/2015 22:55, Christian Demsar vixsom...@fastmail.com
 escribió:
 
  On Mon, Jun 1, 2015, at 09:50 PM, Facundo Curti wrote:
   Hi. I hope someone can help me please.
  
   I bought a new keyboard, a noga NKB-710. The problem is that, according
   to
   xev, four of the keys have the same keycode...
  
   The keys Ctrl, Alt, Win*** and shift, have the same keycode, 50. Off
   course, it doesn't work correctly. and this way, It's imposible to me to
   configure it with xmodmap.
  
   I don't know what data I can share. I hope this to be sufficient:
  
   attached a lsusb -v output
  
   Thx, bye! :P
   Email had 1 attachment:
   + lsusb-v2
 20k (application/octet-stream)
 
  Have you tested if it works in other distros or other computers? Might
  narrow down the problem.
 
  --
  vixsomnis
 
 
(please bottom-post if you can)

I installed the xorg-xev package to compare to what you're seeing. I
think the X11 keycodes are different from the codes actually sent by the
keyboard.

Can you post the output of typing the problem keys when running
$ sudo showkey

I have:

left-ctrl = 29
windows = 125
left-alt = 56
right-alt = 57
right-ctrl = 97
left-shift = 24
right-shift = 54

I think these are standard for all US keyboards.

That should confirm if the problem is with your keyboard (if the keys
show the same code) or in the driver (or somewhere else).

There's also the slight possibility that it's a kernel bug, which would
show up as repeating codes from showkey, since showkey is as close to
the kernel as possible.

-- 
vixsomnis


Re: [arch-general] Duplicated keycodes

2015-06-01 Thread Christian Demsar
On Mon, Jun 1, 2015, at 11:26 PM, Facundo Curti wrote:
 2015-06-02 0:10 GMT-03:00 Christian Demsar vixsom...@fastmail.com:
 
  On Mon, Jun 1, 2015, at 10:36 PM, Facundo Curti wrote:
   Distros/computer, I didn't. But in windows it works fine. :/
   El 01/06/2015 22:55, Christian Demsar vixsom...@fastmail.com
   escribió:
  
On Mon, Jun 1, 2015, at 09:50 PM, Facundo Curti wrote:
 Hi. I hope someone can help me please.

 I bought a new keyboard, a noga NKB-710. The problem is that,
  according
 to
 xev, four of the keys have the same keycode...

 The keys Ctrl, Alt, Win*** and shift, have the same keycode, 50. Off
 course, it doesn't work correctly. and this way, It's imposible to
  me to
 configure it with xmodmap.

 I don't know what data I can share. I hope this to be sufficient:

 attached a lsusb -v output

 Thx, bye! :P
 Email had 1 attachment:
 + lsusb-v2
   20k (application/octet-stream)
   
Have you tested if it works in other distros or other computers? Might
narrow down the problem.
   
--
vixsomnis
   
 
  (please bottom-post if you can)
 
  I installed the xorg-xev package to compare to what you're seeing. I
  think the X11 keycodes are different from the codes actually sent by the
  keyboard.
 
  Can you post the output of typing the problem keys when running
  $ sudo showkey
 
  I have:
 
  left-ctrl = 29
  windows = 125
  left-alt = 56
  right-alt = 57
  right-ctrl = 97
  left-shift = 24
  right-shift = 54
 
  I think these are standard for all US keyboards.
 
  That should confirm if the problem is with your keyboard (if the keys
  show the same code) or in the driver (or somewhere else).
 
  There's also the slight possibility that it's a kernel bug, which would
  show up as repeating codes from showkey, since showkey is as close to
  the kernel as possible.
 
  --
  vixsomnis
 
 
 Yes, sorry. My bad. I answered from my phone
 
 With showkey I have the code 42 In alt, ctrl, shift and windows. Again,
 the
 same code on the keys :/
 
 I'm from Argentina, So I don't have an english keyboard.
 
 The keyboard works fine on windows :/. ¿Maybe is a Driver thing? :S
 
 I dont know what else I can do :S. Is really a nice keyboard :'( jaja.
 
 Thank you!

What's your keymap set to? I don't know what the Argentina layout or
file is.

Try temporarily switching to US qwerty (it'll clear on reboot) and see
if that differentiates the keys.

$  loadkeys us

You can see which keymaps you have by checking /usr/share/kbd/keymaps

-- 
vixsomnis


Re: [arch-general] Duplicated keycodes

2015-06-01 Thread Christian Demsar
On Mon, Jun 1, 2015, at 11:47 PM, Facundo Curti wrote:
 2015-06-02 0:38 GMT-03:00 Christian Demsar vixsom...@fastmail.com:
 
  On Mon, Jun 1, 2015, at 11:26 PM, Facundo Curti wrote:
   2015-06-02 0:10 GMT-03:00 Christian Demsar vixsom...@fastmail.com:
  
On Mon, Jun 1, 2015, at 10:36 PM, Facundo Curti wrote:
 Distros/computer, I didn't. But in windows it works fine. :/
 El 01/06/2015 22:55, Christian Demsar vixsom...@fastmail.com
 escribió:

  On Mon, Jun 1, 2015, at 09:50 PM, Facundo Curti wrote:
   Hi. I hope someone can help me please.
  
   I bought a new keyboard, a noga NKB-710. The problem is that,
according
   to
   xev, four of the keys have the same keycode...
  
   The keys Ctrl, Alt, Win*** and shift, have the same keycode, 50.
  Off
   course, it doesn't work correctly. and this way, It's imposible
  to
me to
   configure it with xmodmap.
  
   I don't know what data I can share. I hope this to be sufficient:
  
   attached a lsusb -v output
  
   Thx, bye! :P
   Email had 1 attachment:
   + lsusb-v2
 20k (application/octet-stream)
 
  Have you tested if it works in other distros or other computers?
  Might
  narrow down the problem.
 
  --
  vixsomnis
 
   
(please bottom-post if you can)
   
I installed the xorg-xev package to compare to what you're seeing. I
think the X11 keycodes are different from the codes actually sent by
  the
keyboard.
   
Can you post the output of typing the problem keys when running
$ sudo showkey
   
I have:
   
left-ctrl = 29
windows = 125
left-alt = 56
right-alt = 57
right-ctrl = 97
left-shift = 24
right-shift = 54
   
I think these are standard for all US keyboards.
   
That should confirm if the problem is with your keyboard (if the keys
show the same code) or in the driver (or somewhere else).
   
There's also the slight possibility that it's a kernel bug, which would
show up as repeating codes from showkey, since showkey is as close to
the kernel as possible.
   
--
vixsomnis
   
  
   Yes, sorry. My bad. I answered from my phone
  
   With showkey I have the code 42 In alt, ctrl, shift and windows. Again,
   the
   same code on the keys :/
  
   I'm from Argentina, So I don't have an english keyboard.
  
   The keyboard works fine on windows :/. ¿Maybe is a Driver thing? :S
  
   I dont know what else I can do :S. Is really a nice keyboard :'( jaja.
  
   Thank you!
 
  What's your keymap set to? I don't know what the Argentina layout or
  file is.
 
  Try temporarily switching to US qwerty (it'll clear on reboot) and see
  if that differentiates the keys.
 
  $  loadkeys us
 
  You can see which keymaps you have by checking /usr/share/kbd/keymaps
 
  --
  vixsomnis
 
 
 Switching to us keymap makes me the same :/ it doesn't works
 
 I was using es layout before

I may have been mistaken about scancodes vs keycodes (see 
https://wiki.archlinux.org/index.php/Extra_keyboard_keys#Scancodes).

Try this in a virtual terminal (ttyX, not xterm, gnome-terminal, etc):

$  sudo showkeys --scancodes 

-- 
vixsomnis


Re: [arch-general] Additional mouse (Lenovo N700) gesture binding

2015-05-17 Thread Christian Demsar
On May 15, 2015 11:12:20 AM EDT, Oon-Ee Ng ngoonee.t...@gmail.com wrote:
On Thu, May 14, 2015 at 9:22 PM, Christian Demsar
vixsom...@fastmail.com wrote:

Does anyone have any idea what could be going on? Could this all just
be a limitation of trying to use xkb with a bluetooth mouse?

 I can't help you, but I am very interested in this problem. I have an
old gaming mouse with additional buttons I'd like to bind.

 Perhaps there is a way to do this without the keyboard? There must be
a way to define a new button for a mouse. Or perhaps there's a way to
do this without X.

Yes there is, but for that to happen the signal received must be a
button signal. Your old gaming mouse should work just fine if you
follow instructions in [1].

The N700 is a bit of an odd case because the signals its sending out
are odd (see my original email). I doubt your gaming mouse does that.

[1] - https://wiki.archlinux.org/index.php/All_Mouse_Buttons_Working

Yes, my mouse doesn't actually have that problem, although I thought it did.

However, I do have a special key on my laptop that would normally activate a 
proprietary menu on the factory Windows install. `scankeys` reports it as a 
series of codes instead of a single code, so I can't reassign it in GNOME. 
-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.


Re: [arch-general] Additional mouse (Lenovo N700) gesture binding

2015-05-14 Thread Christian Demsar
On May 14, 2015 5:53:22 AM EDT, Oon-Ee Ng ngoonee.t...@gmail.com wrote:
On Wed, Apr 22, 2015 at 10:34 AM, Oon-Ee Ng ngoonee.t...@gmail.com
wrote:q
snip
 Firstly, regarding the gestures, here's what I obtain from xinput
 test. I've also listed which keys these correspond to.

 Left swipe:-
 key press   22  Backspace
 key press   133Super_L (left Windows key)
 key press   37  Control_L
 key release 22  Backspace
 key release 133Super_L (left Windows key)
 key release 37  Control_L

 Right swipe:-
 key press   54  c
 key press   133Super_L (left Windows key)
 key release 54  c
 key release 133Super_L (left Windows key)
snip
 How can I bind gestures to the above? Is it possible, for example, to
 bind keys to a specific input device (so for example I can bind to
the
 letter c but only from the mouse, not from my keyboard)? Or something
 involving xmodmap?

It's been a month, and off and on I've been looking at this more. It
appear xkb allows per-device settings, but I've run into several
roadblocks.

First, I can obtain the current settings using xkbcomp $DISPLAY
file.xkb, I then edit it to replace the letter 'c' with the letter
'q'.

To test, when I use file.xkb (xkbcomp file.xkb $DISPLAY) this works as
expected. Of course, I then reset it to the original behaviour because
I don't really want to not be able to type the letter c at all.

However, when I try to specify only a specific device (in my case the
bluetooth mouse on id 14), this does not seem to change anything. My
keyboard works the same (c does not change to q) and the mouse also
outputs c rather than q. However after trying to 'type' c on the
mouse, my keyboard then outputs q instead of c. This is despite the
fact that the keyboard should be id 11.

This behaviour sometimes seems to happen the other way as well, a
change (c becomes q) in the id 11 keyboard may suddenly affect the
mouse, not immediately, but after typing some characters for testing.

Does anyone have any idea what could be going on? Could this all just
be a limitation of trying to use xkb with a bluetooth mouse?

I can't help you, but I am very interested in this problem. I have an old 
gaming mouse with additional buttons I'd like to bind.

Perhaps there is a way to do this without the keyboard? There must be a way to 
define a new button for a mouse. Or perhaps there's a way to do this without X.
-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.


Re: [arch-general] at times when booting system-logind fails and system hangs

2015-04-30 Thread Christian Hesse
Javier Vasquez j.e.vasque...@gmail.com on Wed, 2015/04/29 15:40:
 I haven't identified under which circumstances, when booting the
 system hangs, and the only thing that can be related to that is the
 message:
 
 Failed to start Login Service
 
 Of course the recommendation to see the output of:
 
 systemctl status systemd-logind.service
 
 Is useless when that happens.  That because the system hangs.
 
 A phisical hard power down is what I've done, and then usually by
 starting the system again everything works.
 
 Has anyone experienced this?  Any suggestion?

Possibly this is related:

FS#44016 - [systemd] journald regression in v219 makes boot hang
https://bugs.archlinux.org/task/44016

You could try to rebuild system with patches included, see my upload of
systemd.diff.
-- 
main(a){char*c=/*Schoene Gruesse */B?IJj;MEH
CX:;,b;for(a/*Chris   get my mail address:*/=0;b=c[a++];)
putchar(b-1/(/*   gcc -o sig sig.c  ./sig*/b/42*2-3)*42);}


pgpYKOD7fQdCt.pgp
Description: OpenPGP digital signature


Re: [arch-general] Add wpa_supplicant to the Group 'Base'

2015-04-27 Thread Christian Demsar
On Mon, Apr 27, 2015, at 02:46 PM, Eli Schwartz wrote:
 On Mon, Apr 27, 2015 at 1:32 AM, William Hatch willgha...@gmail.com
 wrote:
 Why automatically assume everyone needs RAID, or encrypted
 filesystems? I am fine with keeping in tools for not-so-common
 filesystem types, though I will still remove them myself.
 
 All these are things that it can be reasonably expected many many
 people won't ever use.  base should be restricted to things that
 everyone agrees should be part of an Arch system.

I agree that the base group should be as minimal as is realistic, but I
think cryptsetup belongs in base. FDE should be standard install
procedure since most modern x86_64 processors have hardware accelerated
AES (minimal overhead).

-- 
vixsomnis


Re: [arch-general] Updated to gnome 3.16 and I'm getting the oh no. Something has gone wrong. All extensions have been disabled as a precaution error.

2015-04-21 Thread Christian Demsar
On Mon, Apr 20, 2015, at 11:04 PM, Dinesh Narayan wrote:
 Hey guys,
 
 Updated the system last night and right how I'm not able to see the DM.
 Gnome is popping the oh no. Something has gone wrong. All extensions
 have
 been disabled as a precaution error. Can anyone help me here.
 
 Kernel : 3.19.3.3

I'm getting a similar problem when displaying to an external monitor,
but I can't reproduce it at will.

Are you getting the message as soon as you log in? Can you get to GDM
(if you're using GDM)?

-- 
vixsomnis


Re: [arch-general] Unzip archive in which are multiple sub zip archiers?

2015-04-20 Thread Christian Demsar
On Mon, Apr 20, 2015, at 08:27 AM, Csányi Pál wrote:
 2015-04-17 23:38 GMT+02:00 Maarten de Vries maar...@de-vri.es:
 
  On 04/17/2015 10:57 PM, Christian Demsar wrote:
 
  I'll try to use the globbing. That's new to me.
 
  Is there anything else you saw that was odd? This is the first non-trivial
  script I've written (recursion in bash!), so I'm not sure about the
  placement of the functions, etc.
 
 
  At a second look, this check might also be a problem:
 
  if [ $zipFiles ]; then
 
  To be honest I'm not sure what bash will do with that when $zipFiles is an
  array. The check isn't really needed with an array since looping over an
  empty array won't do anything anyway. When you do need it you can get the
  number of elements in an array in bash with ${#array[@]} and test on that.
  Knowing how bash arrays work can be very useful in writing effective bash
  scripts. If you haven't yet I would recommend reading up on their specifics.
 
  In bash (and some other shells), you might also prefer [[ ]] for tests over
  [ ]. It is somewhat less confusing in some situations, but be aware that it
  is not POSIX. Then again, arrays aren't POSIX either. Just be sure to use a
  proper bash shebang and not #!/bin/sh when you're using bash features (you
  already did this, but it's important so I'm emphasizing ;) ).
 
  I also saw that you check for read permissions before trying to extract the
  zip file. It doesn't hurt, but it's generally better to just try doing what
  you want to do and detect errors by checking the exit code of programs you
  run. Otherwise you will likely forget to check for some uncommon error
  conditions. In some cases it can even happen that the error conditions are
  not present when you test for them, but they are later when you try to
  extract the file (or do something else with it) because something or someone
  changed something in between.
 
  Is there a way to declare the functions like in C? I couldn't figure that
  out from the section on functions in Advanced Bash Scripting.
 
  If you mean first declare a function and define it later: no, you can't do
  that in bash. On the other hand, you can use a function B the body of
  function A before B is defined, as long as you don't call A until B is
  defined. So in general it doesn't really matter. For example, this will work
  fine:
 
 foo() {
  bar
 }
 
 bar() {
  echo Hello world!
 }
 
 foo
 
 
  I hope my comments are useful. If not, feel free to ignore them ;)
 
  Regards,
  Maarten
 
 Thank you all for help.
 The script works, it can unzip archives recursively.
 
 -- 
 Regards from Pal

Thanks for the tips Maarten.

I was thinking of trying to implement a more advanced version of this
script as an open source project, but there already is one.

https://aur.archlinux.org/packages/dtrx/

I tested it on a 7z{ xz{ txt }, tar.gz{ zip{ txt } } } and it worked
pretty much flawlessly, albeit leaving behind the extracted inner
archives (which would be annoying to delete if you had a mess of
different sorts of archives like the test file I used).

In any case, I recommend that over my script if you ever need to do some
intelligent archive extracting again.

-- 
vixsomnis


Re: [arch-general] Unzip archive in which are multiple sub zip archiers?

2015-04-17 Thread Christian Demsar
On April 17, 2015 12:29:36 PM EDT, Maarten de Vries maar...@de-vri.es wrote:
On 17 April 2015 at 18:08, Csányi Pál csanyi...@gmail.com wrote:

 Hi,

 I just get a ZIP archive and want to unzip it.

 I'm using unzip to unpack this archive.

 But when I did first unzip command, I get more ZIP archives, which
 have again in it more ZIP archives.

 Is there a command or application whic can unzip this ZIP archive and
 it's sub ZIP archives at once?


​Hey,

That doesn't sound like a common enough use case that someone would
have
written a program just for that purpose. But you could write a simple
shell
script (or whatever you prefer) to recursively unzip a bunch of zip
files.​
Keep in mind not to unzip the same files forever of course.

​Regards,
Maarten​

If you're not familiar with shell scripting I can write one (with detailed 
comments). I need the practice.

It'll have to wait until later today, however.
--
vixsomnis


Re: [arch-general] Unzip archive in which are multiple sub zip archiers?

2015-04-17 Thread Christian Demsar
On Fri, Apr 17, 2015, at 01:12 PM, Csányi Pál wrote:
 2015-04-17 18:53 GMT+02:00 Christian Demsar vixsom...@fastmail.com:
  On April 17, 2015 12:29:36 PM EDT, Maarten de Vries maar...@de-vri.es 
  wrote:
 On 17 April 2015 at 18:08, Csányi Pál csanyi...@gmail.com wrote:
  I just get a ZIP archive and want to unzip it.
 
  I'm using unzip to unpack this archive.
 
  But when I did first unzip command, I get more ZIP archives, which
  have again in it more ZIP archives.
 
  Is there a command or application whic can unzip this ZIP archive and
  it's sub ZIP archives at once?
 
 That doesn't sound like a common enough use case that someone would
 have
 written a program just for that purpose. But you could write a simple
 shell
 script (or whatever you prefer) to recursively unzip a bunch of zip
 files.
 Keep in mind not to unzip the same files forever of course.
 
  If you're not familiar with shell scripting I can write one (with detailed 
  comments). I need the practice.
 
 OK, write one and I'm willing to try it out and modify if it would
 have GPL licence. :)
 I'm newbie in bash shell scripting.
 
 -- 
 Regards from Pal

http://pastebin.com/YJFvUt13

It works on my (single) test case so far. I don't have any more time to work in 
this right now, but I'll test edge cases and add more comments later (feedback 
is welcome).

If you use this, please, please, please back up your zip file in a different 
directory. I haven't tested it thoroughly enough to be confident that it won't 
suck your files into the black hole of /dev/null.

On a side note, it does check to make sure the directory doesn't exist, so it 
shouldn't clobber anything. That goes for the internal zips as well.

The only cryptic thing in the $IFS env var. That's needed for newline 
delimiters, so I can iterate over the zip files in a directory. I'll experiment 
with leaving that section out.

There's probably a bash guru out there that can do this with a one-liner, but 
that's beyond my skills (I'm a newbie at bash, too).

-- 
vixsomnis


Re: [arch-general] Unzip archive in which are multiple sub zip archiers?

2015-04-17 Thread Christian Demsar
On Fri, Apr 17, 2015, at 04:46 PM, Maarten de Vries wrote:
 
 
 On 04/17/2015 10:34 PM, Maarten de Vries wrote:
 
 
  On 04/17/2015 10:19 PM, Christian Demsar wrote:
  http://pastebin.com/YJFvUt13
 
  It works on my (single) test case so far. I don't have any more time to 
  work in this right now, but I'll test edge cases and add more comments 
  later (feedback is welcome).
 
  If you use this, please, please, please back up your zip file in a 
  different directory. I haven't tested it thoroughly enough to be confident 
  that it won't suck your files into the black hole of /dev/null.
 
  On a side note, it does check to make sure the directory doesn't exist, so 
  it shouldn't clobber anything. That goes for the internal zips as well.
 
  The only cryptic thing in the $IFS env var. That's needed for newline 
  delimiters, so I can iterate over the zip files in a directory. I'll 
  experiment with leaving that section out.
 
  There's probably a bash guru out there that can do this with a one-liner, 
  but that's beyond my skills (I'm a newbie at bash, too).
 
  You should be able to avoid fiddling with IFS by using:
 
  shopt -s nullglob
  zipfiles=(*.zip)
 
  It also has the advantage of not spawning a process to find zip files. 
  The nullglob option is needed in case there are no zip files, 
  otherwise (*.zip) will turn into a literal ('*.zip') instead of an 
  empty array.
 
  Regards,
  Maarten
 
 Oh, and I forgot to mention that when you do that you ought to loop over 
 the array as (bash is a bit weird):
 
 for file in ${zipfiles[@]}; do
 
 Otherwise paths with spaces would be a problem.
 
 Regards,
 Maarten
 

I'll try to use the globbing. That's new to me.

Is there anything else you saw that was odd? This is the first non-trivial 
script I've written (recursion in bash!), so I'm not sure about the placement 
of the functions, etc. Is there a way to declare the functions like in C? I 
couldn't figure that out from the section on functions in Advanced Bash 
Scripting.

-- 
vixsomnis


Re: [arch-general] git bug? (2.3.4-1)

2015-03-25 Thread Christian Hesse
Magnus Therning mag...@therning.org on Wed, 2015/03/25 13:47:
 On Wed, Mar 25, 2015 at 12:47:30PM +0100, Christian Hesse wrote:
  Magnus Therning mag...@therning.org on Wed, 2015/03/25 12:36:
   I thought I'd ask here before raising a ticket.
   
   Is anyone else seeing this behaviour with git 2.3.4-1:
   
   ~~~
   [I] % git fetch
   ssh: Could not resolve hostname build01:: Name or service not known
   fatal: Could not read from remote repository.
   
   Please make sure you have the correct access rights
   and the repository exists.
   ~~~
   
   Downgrading to 2.3.3-1 solves it.
  
  What does the URL look like? You can get it for origin with:
  
  % git remote show origin
  
  I suppose you use a non-standard ssh port (or specified it nevertheless)
  with host:port, no? man git-clone tells us to use something like:
  
  ssh://[user@]host.xz[:port]/path/to/repo.git/
 
 It looks like this:
 
 ssh://build01.evidente.local:/home/husqvarna/git/evi-cst.git
 
 Nothing non-standard about that and it has worked fine with every
 version of git I've used the last 6 months or so, until the upgrade to
 2.3.4... I really don't expect the format of remotes to change when
 going from 2.3.3 to 2.3.4!

This should read:

ssh://build01.evidente.local/home/husqvarna/git/evi-cst.git

So try to remove the colon after the hostname...

URL parsing changed from v2.3.3 to v2.3.4. It should not break, but probably
it was never intended to work the way you used it.
-- 
main(a){char*c=/*Schoene Gruesse */B?IJj;MEH
CX:;,b;for(a/*Chris   get my mail address:*/=0;b=c[a++];)
putchar(b-1/(/*   gcc -o sig sig.c  ./sig*/b/42*2-3)*42);}


pgp5UGtiReN7v.pgp
Description: OpenPGP digital signature


Re: [arch-general] git bug? (2.3.4-1)

2015-03-25 Thread Christian Hesse
Magnus Therning mag...@therning.org on Wed, 2015/03/25 12:36:
 I thought I'd ask here before raising a ticket.
 
 Is anyone else seeing this behaviour with git 2.3.4-1:
 
 ~~~
 [I] % git fetch
 ssh: Could not resolve hostname build01:: Name or service not known
 fatal: Could not read from remote repository.
 
 Please make sure you have the correct access rights
 and the repository exists.
 ~~~
 
 Downgrading to 2.3.3-1 solves it.

What does the URL look like? You can get it for origin with:

% git remote show origin

I suppose you use a non-standard ssh port (or specified it nevertheless) with
host:port, no? man git-clone tells us to use something like:

ssh://[user@]host.xz[:port]/path/to/repo.git/
-- 
main(a){char*c=/*Schoene Gruesse */B?IJj;MEH
CX:;,b;for(a/*Chris   get my mail address:*/=0;b=c[a++];)
putchar(b-1/(/*   gcc -o sig sig.c  ./sig*/b/42*2-3)*42);}


pgpeVtjujz1OH.pgp
Description: OpenPGP digital signature


Re: [arch-general] postfix 3.0.0-3 in testing wont start

2015-03-20 Thread Christian Hesse
Genes Lists li...@sapience.com on Fri, 2015/03/20 10:13:
 On 03/19/2015 07:51 PM, Gaetan Bisson wrote:
  [2015-03-19 19:36:35 -0400] Genes Lists:
  fatal: /usr/lib/postfix/postfix-script: No such file o
 
  $ /usr/lib/postfix/bin/postfix-script
  This script must be run by the postfix command.
  Do not run directly.
 
 Yah sorry i wasn't clear - that is the error I get when running 
 systemctl start postfix
 
 
 I am not running anything by hand.
 
 The above error is revealed by journalctl -xe
 
 The problem seems to be that file does not exist:
 
 # ls -l /usr/lib/postfix/postfix-script
 ls: cannot access /usr/lib/postfix/postfix-script: No such file or directory

I did not yet install postfix from testing, so just a guess... Does it help
to run

systemctl daemon-reload

to make systemd reload its unit files before restarting postfix?
-- 
main(a){char*c=/*Schoene Gruesse */B?IJj;MEH
CX:;,b;for(a/*Chris   get my mail address:*/=0;b=c[a++];)
putchar(b-1/(/*   gcc -o sig sig.c  ./sig*/b/42*2-3)*42);}


pgp2ph1lWJrQl.pgp
Description: OpenPGP digital signature


Re: [arch-general] Can't reboot or shutdown my computer (cgroup: option or name mismatch)

2015-03-17 Thread Christian Demsar
On March 17, 2015 6:59:25 PM EDT, Daniel Micay danielmi...@gmail.com wrote:
On 17/03/15 09:13 AM, Janilson Andrade wrote:
 Hi all.
 After months trying many things and after posting in arch forum[1] I
am here asking if anyone could help me.Everytime I try to reboot or
shutdown my computer, after turning everything off, my system hangs and
display one of these messages below.
 a) cgroup : option or name mismatch, new: 0x0, old: 0x4 systemd
 shutdown[1]: Failed to finalize  file systems, ignoring
 
 b) A stop job is running for Daemon for power management (20s/1min
30s)I use Gnome 3, when I've changed to my DE to KDE the reboot options
worked sometimes, but most of the times it didn't. After it stop
working at all I've come back to Gnome, since I can't reboot my system
no matter what I do.
 OBS: I know the cgroup message is just a warning to most of people,
but for me it freezes my system and I can only turn the power off and
on in order to reboot my computer,
 I really want some help of how can I at least search for the possible
things that is causing this problem.Sorry for long e-mail.
 
 [1] System doesn't reboot/shutdown (cgroup : option or name
mismatch) / System Administration / Arch Linux Forums

The fact that it's the last message printed out before it stalls does
not imply it is the cause. AFAIK this warning occurs *everywhere* so I
doubt it has anything to do with your issue.

I can confirm that I have that message on all of my archlinux computers, and 
they function fine.

Try booting an arch iso on a USB and see if you still have the problem. It 
might be hardware related, so testing another operating system will help narrow 
things down.
--
vixsomnis


Re: [arch-general] Fwd: Kernel panic - after upgrade

2015-01-31 Thread Christian Demsar
On Sat, Jan 31, 2015, at 12:13 PM, Csányi Pál wrote:
 Indeed. I find the solution at:
 https://wiki.manjaro.org/index.php?title=Clamav
 
  Okay, so in regards to ClamAV, I encountered no errors [1] starting
  clamd with the service file in the clamav package [2].
 
  [2] http://pastebin.com/3Frbkf3B
 
  You should check your service file at
  /usr/lib/systemd/system/clamd.service
  and make sure it matches the one I uploaded to pastebin.
 
 I have the same /usr/lib/systemd/system/clamd.service file as you.
 
  If you can link a paste of your log at /var/log/clamav/clamd.log, that 
  would help.
 
 http://pastebin.com/RC9ZzYMs
 
 This log was I get before solve the clamav problem.

Glad you solved that problem. Did it have to do with the
/var/lib/clamav/clamd.sock? Permissions problem with creating the
socket?

 I did check these 500 lines and don't find anything sensitive, like
 passwords. Only find the lines bellow and don't know whether are these
 lines all right:

Oh, I was actually hoping you'd upload the file to pastebin so I could
check it (why I recommended checking for sensitive info).

I don't think having it would help me understand your issues, though. It
might be a systemd bug?

 I observe that that I can't use my DVD writer; it can't read neither
 any CD nor DVD.
 I must to disassemble this DVD writer and assemble my old IDE CD
 writer to can reach the broken system when had kernel panic.

At this point, I'd backup configuration files and home directories and
do a full reinstall. Sounds like there's something going terribly wrong.
Hopefully that works...

-- 
vixsomnis


Re: [arch-general] Fwd: Kernel panic - after upgrade

2015-01-30 Thread Christian Demsar
On January 30, 2015 2:21:34 PM EST, Csányi Pál csanyi...@gmail.com wrote:
2015-01-30 20:04 GMT+01:00 Csányi Pál csanyi...@gmail.com:
 Hi Damjan,

 2015-01-30 19:39 GMT+01:00 Damjan Georgievski gdam...@gmail.com:
 I'm thinking now about following.
 Whether to purge my Desktop Arch linux installation from hard disk
and
 install a fresh Arch linux again, or not?

 What would you do in my case? ( I'm not a bash and Arch linux guru.
)

 First thing is, how did it happen to become broken again.

 If I could to know that.

 Normally it shouldn't break by itself.

 I just update my system every day.

I think it is broken somehow.
Say, bash command starts and after a while freezes.
Same in Midnight Commander.

Your pacman log and journalctl might give some clues.

Of course, I'm guilty of using the throw-it-out method, because the concept 
of a repaired system just doesn't compare to an unbroken one, even if they're 
identical... 
--
vixsomnis


Re: [arch-general] postgresql 9.3 - 9.4

2015-01-30 Thread Christian Demsar
On Fri, Jan 30, 2015, at 08:11 PM, William Gathoye wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA256
 
 On 01/29/2015 07:01 PM, Georg Altmann wrote:
  On 29.01.2015 17:40, Don deJuan wrote: I am merely _suggesting_ to
  implement a warning message. It certainly _is_ easy to miss
  something in the pacman -Suy output. As such, I think this would
  be beneficial to everybody running postgresql, be it on a single
  desktop computer or a farm of servers.
 
 I'm silently following this discussion from the start and I completely
 agree with this POV.


-- 
vixsomnis


Re: [arch-general] postgresql 9.3 - 9.4

2015-01-30 Thread Christian Demsar
On Fri, Jan 30, 2015, at 08:11 PM, William Gathoye wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA256
 
 On 01/29/2015 07:01 PM, Georg Altmann wrote:
  On 29.01.2015 17:40, Don deJuan wrote: I am merely _suggesting_ to
  implement a warning message. It certainly _is_ easy to miss
  something in the pacman -Suy output. As such, I think this would
  be beneficial to everybody running postgresql, be it on a single
  desktop computer or a farm of servers.
 
 I'm silently following this discussion from the start and I completely
 agree with this POV.

I've also been following this discussion. I think having warnings can
make upgrades easier without taking any control away from the user.

There's already a flag in pacman for disabling interactivity
(auto-selecting yes), so that same concept could be used for ignoring
any upgrade warnings.

-- 
vixsomnis


Re: [arch-general] Fwd: Kernel panic - after upgrade

2015-01-30 Thread Christian Demsar
  So I just installed clamav but when I'm trying to start it with:
 
  'sudo systemctl start clamd.service'
 
  I get:
  Job for clamd.service failed. See systemctl status clamd.service and
  journalctl -xe for details.
 
  'systemctl status clamd.service'
   clamd.service - clamav daemon
 Loaded: loaded (/usr/lib/systemd/system/clamd.service; enabled;
  vendor preset: disabled)
 Active: failed (Result: exit-code) since p 2015-01-30 21:14:04 CET;
  10s ago
Process: 9693 ExecStart=/usr/bin/clamd (code=exited, status=1/FAILURE)
 
  It tells you to look in the logs. Did you do that?!
  Without wanting to be condescending: I don't think you should be using
  archlinux if you are not capable of looking through logs and searching
  google (I found the package for your error through a fast google
  search)
 

Honestly, the idea of looking through logs was very foreign to me when I
started using linux. And Arch Linux was my first linux distro I actually
got to know. I think Arch is an excellent place to learn these skills.

Okay, so in regards to ClamAV, I encountered no errors [1] starting
clamd with the service file in the clamav package [2].

[1] http://pastebin.com/vDSrAhje 
[2] http://pastebin.com/3Frbkf3B

You should check your service file at
/usr/lib/systemd/system/clamd.service and make sure it matches the one
I uploaded to pastebin. If you can link a paste of your log at
/var/log/clamav/clamd.log, that would help. 

Your journalctl log can be captured using:

journalctl -xe | tail -n 500 | tee journal.log 
^^^  ^^^ 
Takes last 500 lines. Saves and prints output. 

Make sure to check these 500 lines that get printed to your terminal for
anything sensitive, like passwords.  NetworkManager doesn't show
passwords in the log, but it does show network SSIDs and connection
protocols, and other bits of information. There's probably more in there
than you would guess (there is in mine).

I had some kernel panic problems I couldn't diagnose with a much-used
MSI P67 motherboard. I'm pretty sure it was a motherboard issue, since
I'm using the same power supply, most of the same RAM, and the same
storage (different motherboard and CPU) and I haven't encountered any
more. If you decide to do a fresh install and you still get kernel
panics, I'd guess it's hardware related. Like a broken SATA port or a
loose connection.

-- 
vixsomnis


Re: [arch-general] Fwd: Kernel panic - after upgrade

2015-01-30 Thread Christian Demsar
  So I just installed clamav but when I'm trying to start it with:
 
  'sudo systemctl start clamd.service'
 
  I get:
  Job for clamd.service failed. See systemctl status clamd.service and
  journalctl -xe for details.
 
  'systemctl status clamd.service'
   clamd.service - clamav daemon
 Loaded: loaded (/usr/lib/systemd/system/clamd.service; enabled;
  vendor preset: disabled)
 Active: failed (Result: exit-code) since p 2015-01-30 21:14:04 CET;
  10s ago
Process: 9693 ExecStart=/usr/bin/clamd (code=exited, status=1/FAILURE)
 
  It tells you to look in the logs. Did you do that?!
  Without wanting to be condescending: I don't think you should be using
  archlinux if you are not capable of looking through logs and searching
  google (I found the package for your error through a fast google
  search)
 

Honestly, the idea of looking through logs was very foreign to me when I
started
using linux. And Arch Linux was my first linux distro I actually got to
know. I
think Arch is an excellent place to learn these skills.

Okay, so in regards to ClamAV, I encountered no errors [1] starting
clamd with
the service file in the clamav package [2].

[1] http://pastebin.com/vDSrAhje 
[2] http://pastebin.com/3Frbkf3B

You should check your service file at
/usr/lib/systemd/system/clamd.service
and make sure it matches the one I uploaded to pastebin. If you can link
a paste
of your log at /var/log/clamav/clamd.log, that would help. 

Your journalctl log can be captured using:

journalctl -xe | tail -n 500 | tee journal.log 
^^^  ^^^ 
Takes last 500 lines. Saves and prints output. 

Make sure to check these 500 lines that get printed to your terminal for
anything sensitive, like passwords.  NetworkManager doesn't show
passwords in
the log, but it does show network SSIDs and connection protocols, and
other bits
of information. There's probably more in there than you would guess
(there is in
mine).

I had some kernel panic problems I couldn't diagnose with a much-used
MSI P67
motherboard. I'm pretty sure it was a motherboard issue, since I'm using
the same
power supply, most of the same RAM, and the same storage (different
motherboard
and CPU) and I haven't encountered any more. If you decide to do a fresh
install
and you still get kernel panics, I'd guess it's hardware related. Like a
broken
SATA port or a loose connection.

-- 
vixsomnis


Re: [arch-general] Libre Office Freezing system?

2015-01-26 Thread Christian Demsar
On January 26, 2015 7:58:42 PM EST, Michael Rasmussen mich...@jamhome.us 
wrote:
It does for me. 
Have a Writer document with a embedded table, click and drag to
highlight a segment. 
Boom, my user interface is locked up.  No CTRALTF# to get a
terminal, no toggle of the 
caps lock indicactor LED, no CTRLALTBackspace to kill X.  No
nothing. 
I can ssh in from another system and top shows nothing unusual going
on.

I've disabled hardware acceleration, that did not affect the problem.

Does this sound familiar?
Suggestions for resolving?

I probably won't be able to help, but what window manager are you using?
--
vixsomnis


Re: [arch-general] Is there a non file manager daemon for automounting like the ones provided by pcmanfm -d

2015-01-06 Thread Christian Demsar
On January 7, 2015 1:03:35 AM EST, Javier Vasquez j.e.vasque...@gmail.com 
wrote:
 On Tue, Jan 6, 2015 at 11:51 PM, Javier Vasquez
j.e.vasque...@gmail.com wrote:
 Hi,

 I've been using pcmanfm -d  in my ~/.xinitrc, as suggested by [1].
 However I would like something similar without the need of the file
 manager.  Hopefully something that shows in the tray bar what's
 mounted and allows umounting.

 I don't use a DE, just plain fluxbox, and having to use whether
 pcmanfm or thunar or any other file manager with daemon capability is
 something I would like to prevent.

 I read about ldm, suggested by [2], but it doesn't seem to offer what
 I'm looking for.  Seems to be something to automount with particular
 uid/gid only.  though I might be wrong.

 Any suggestions?

 Thanks,

 --
 Javier

 [1] 
https://wiki.archlinux.org/index.php/File_manager_functionality#File_manager_daemon
 [2] 
https://wiki.archlinux.org/index.php/List_of_applications#Mount_tools

BTW, using gvfs is not a problem, but might make things easier
recognizing the filesystem of the partitions.

Thanks,

I believe it's possible to mount with systemd (I haven't tried this yet).

It should be able to automatically mount drives you've written the unit files 
for, but I don't know about automatic mounting (hot-swapping USB drives, etc.).
--
vixsomnis


Re: [arch-general] gpg source validation for kernel.org style signatures

2015-01-05 Thread Christian Hesse
Daniel Micay danielmi...@gmail.com on Mon, 2015/01/05 04:01:
 On 04/01/15 05:03 PM, Doug Newgard wrote:
  On Sun, 4 Jan 2015 22:05:21 +0100
  Christian Hesse l...@eworm.de wrote:
  
  Hello everybody,
 
  pacman 4.2.0 gained support for verifying source tarballs with
  kernel.org style signature. Some (even essential) packages could
  benefit from that, linux and git come to mind.
 
  How to handle this? Report a bug for every package? Provide a list
  here?
  
  A lot of it is already happening:
  https://www.archlinux.org/todo/validpgpkeys-integrity-check/
  
  If you want it added to a package that isn't on that list, the bug
  tracker is probably the best bet. Note that the linux package already
  has it.
  
  Doug
 
 That rebuild is just to fix packages that were already using GPG
 signatures and need the fingerprint(s) added. There are a lot that could
 be using them and aren't yet. This could likely be automated to a large
 extent.
 
 Using a script to detect if HTTPS works for fetching the sources along
 with checking for signature files by appending .asc and .sig seems like
 a promising plan.

I do not think we need HTTPS, though it does not hurt. If anybody tries to
fool us with man-in-the-middle via HTTP we should detect that just fine with
broken signatures (given signatures are provided...).

Appending .sign may help as well. In fact for an example file archive.tar.xz
we may want to check for {${FILE},${FILE%.(xz|bz2|gz)}}.{asc,sig,sign}

$ export FILE=archive.tar.xz
$ echo {${FILE},${FILE%.(xz|bz2|gz)}}.{asc,sig,sign}
archive.tar.xz.asc
archive.tar.xz.sig
archive.tar.xz.sign
archive.tar.asc
archive.tar.sig
archive.tar.sign
-- 
main(a){char*c=/*Schoene Gruesse */B?IJj;MEH
CX:;,b;for(a/*Chris   get my mail address:*/=0;b=c[a++];)
putchar(b-1/(/*   gcc -o sig sig.c  ./sig*/b/42*2-3)*42);}


pgpz4qFs3pEPe.pgp
Description: OpenPGP digital signature


[arch-general] gpg source validation for kernel.org style signatures

2015-01-04 Thread Christian Hesse
Hello everybody,

pacman 4.2.0 gained support for verifying source tarballs with kernel.org
style signature. Some (even essential) packages could benefit from that,
linux and git come to mind.

How to handle this? Report a bug for every package? Provide a list here?
-- 
main(a){char*c=/*Schoene Gruesse */B?IJj;MEH
CX:;,b;for(a/*Chris   get my mail address:*/=0;b=c[a++];)
putchar(b-1/(/*   gcc -o sig sig.c  ./sig*/b/42*2-3)*42);}


pgpGZMWSvwfUj.pgp
Description: OpenPGP digital signature


Re: [arch-general] gpg source validation for kernel.org style signatures

2015-01-04 Thread Christian Hesse
Doug Newgard scim...@archlinux.info on Sun, 2015/01/04 16:03:
 On Sun, 4 Jan 2015 22:05:21 +0100
 Christian Hesse l...@eworm.de wrote:
 
  Hello everybody,
  
  pacman 4.2.0 gained support for verifying source tarballs with
  kernel.org style signature. Some (even essential) packages could
  benefit from that, linux and git come to mind.
  
  How to handle this? Report a bug for every package? Provide a list
  here?
 
 A lot of it is already happening:
 https://www.archlinux.org/todo/validpgpkeys-integrity-check/

This is about validpgpkeys array. Glad to see this happen, but it is not what
I was speaking about: If the tar archive (instead of the compressed archive)
was signed pacman  4.2.0 could not check. That is why you can not find these
with grep.

 If you want it added to a package that isn't on that list, the bug
 tracker is probably the best bet. Note that the linux package already
 has it.

Ah, I can see it on the website, but abs did not yet sync it. Thanks!
-- 
main(a){char*c=/*Schoene Gruesse */B?IJj;MEH
CX:;,b;for(a/*Chris   get my mail address:*/=0;b=c[a++];)
putchar(b-1/(/*   gcc -o sig sig.c  ./sig*/b/42*2-3)*42);}


pgpODpnyo7XzR.pgp
Description: OpenPGP digital signature


Re: [arch-general] makepkg as root

2015-01-03 Thread Christian Demsar
On January 3, 2015 10:59:41 AM EST, Doug Newgard scim...@archlinux.info wrote:
Without going completely into the battle that can be started by the
link you mentioned, what about the choice and freedom of the authors?
Don't they have the choice and freedom to write their software as
they
see fit? This would certainly seem to trump the choice and freedom of
those that contribute nothing.

Doug

Removing asroot reduces flexibility. For instance, when making packages on a 
live install usb. You'd have to create a new account and su into it.

It seems like a projection of morals to me. Just because it's not good practice 
to use root permissions when it's not necessary, doesn't mean it won't ever be 
useful.

The argument for choice and freedom of the creators can also be successfully 
used to justify DRM.
--
vixsomnis


  1   2   3   >