[arch-general] sway package systemd service

2020-01-31 Thread Stefan Tatschner
Hey,

the sway package repo includes a systemd service:
https://git.archlinux.org/svntogit/community.git/tree/trunk/sway.service?h=packages/sway

This file is not included in the package though. Is this systemd
service ready to use or just an obsolete artifact?

Thanks!
Stefan


Re: [arch-general] [arch-dev-public] [PATCH 1/1] move initramfs generation from install script to pacman hook

2016-05-19 Thread Stefan Tatschner
On 19.05.2016 22:24, Carsten Mattner wrote:
>> I'd guess everyone that maintains their own grub.cfg would really
>> appreciate not having a bad surprise after a kernel update.

But as a sysadmin I can configure my own hooks in /etc/hooks, right? So,
I could optionally add a hook which upates grub.


Re: [arch-general] Alternative init system proposal

2016-02-23 Thread Stefan Tatschner
On 23.02.2016 08:43, Eric Vidal wrote:
> Hello everyone,
> 
> I'm the creator of Obarun
> I use runit for PID1 and managing service. Repo is available for all package 
> builded without systemd support. All this package have the name xxx-systemd 
> to avoid trouble with original package. Package are maintained every week 
> (one time per week). all this package doesn't have service declaration to 
> allow other distro to use it like manjaro, alphaos etecetera...
> A github with all the pkgbuild used is available here 
> https://github.com/Obarun + some personnal scripts
> A complete site is available too with forum and a little wiki here 
> www.obarun.org
> Proposal an alternative to systemd on arch system isn't impossible even for 
> complex desktop environment. KF5, XFCE4 work on it.(using consolekit for the 
> moment)
> dev is managed by gentoo eudev (working with jcnelson vdev is in progress, 
> but not working for the moment).
> I use my system from almost one year now and share it from july 2015. This 
> system is not perfect (i'm not a good dev) and i'm alone to make all the 
> stuff (site, maintaining, new features and so one) but i'm the proof that can 
> be possible and without so much efford.
> 
> Isn't the work to arch to propose an alternative. Pacman, makepkg, pkgbuild 
> are beautiful tools which allow user to make every his want. So use it and 
> don't ask anything to arch dev :)
> 

Please stop spamming our inboxes with this topic over and over again!
There has been a gigantic thread a few days ago on arch-general.

Stefan


Re: [arch-general] pacman and hooks

2016-02-01 Thread Stefan Tatschner
On 01.02.2016 23:05, Magnus Therning wrote:
> Is there more information about this feature available somewhere?

$ man 5 alpm-hooks

S


Re: [arch-general] Unknown Trust and Corrupted Package

2016-01-25 Thread Stefan Tatschner
It is in testing; updating the keyring pkg from testing fixed the issue on my 
box.
-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.


Re: [arch-general] Code Bachelorarbeit & Stichwörter

2015-12-09 Thread Stefan Tatschner
On 09.12.2015 13:47, Matthias Zinner wrote:
> Hallo Alex,
> 
> ja, denn hab ich. Wenn die Stichwörter so passen würde ich die dort eintragen 
> und dir denn dann schicken.
> 
> Grüße,
> Matthias

Hi,

I guess this does not belong here and should stay private. :)

Stefan


[arch-general] i3 and .zprofile

2015-10-27 Thread Stefan Tatschner
Hi,

I have recently switched from gnome to i3. I really like it, but there
are still a few annoying problems left… Currently I use gdm to login;
my login shell is set to zsh in /etc/passwd. I have several dotfiles,
like ".zshrc" and ".zprofile" in $HOME.

The problem is, that i3 does not seem to spawn a login shell correctly
(is this even possible?). In gnome3 my settings in .zprofile are
applied globally and just fine. In i3 the entire .zprofile is missed.
Since .zprofile is sourced by interactive login shells, I guess that
there might be a problem. Am I missing something here?

Thanks,
Stefan


Re: [arch-general] i3 and .zprofile

2015-10-27 Thread Stefan Tatschner
On Di, 2015-10-27 at 11:14 +0100, Martti Kühne wrote:
> Whether the profile source file for your shell is run depends on how
> your terminal emulator launches your shell, and whether -i is passed
> or not.

It is different in gnome and i3. In gnome .zprofile is sourced in all
terminal emulators (default config, execute as login shell is
disabled): gnome-terminal, terminator, termite. i3 does not. That's why
I thought that might not be a terminal emulator problem. Maybe gdm does
something strange here…

> For i3, the case might be a bit less clear or obvious, since you
> haven't stated what terminal you use and how that one is set up.
> One possible solution would just be to source .zprofile on login
> through .xinitrc or whatever starts i3 for you.


Re: [arch-general] i3 and .zprofile

2015-10-27 Thread Stefan Tatschner
On Di, 2015-10-27 at 10:18 +, Alfredo Palhares wrote:
> Have you tried changing your default shell the "old fashined way"?
> 
> $ chsh /usr/bin/zsh
> 
> Then re login.

I have done that a long time ago. :)
My shell is set to /bin/zsh instead; but since that line appears in
/etc/shells as well, it should imo be fine.

Stefan


Re: [arch-general] i3 and .zprofile

2015-10-27 Thread Stefan Tatschner
On Di, 2015-10-27 at 11:42 +0100, b...@bebehei.de wrote:
> AFAIK, i3 will get started directly by gdm. I'm not sure, if there is
> a shell between gdm and i3, but if it's the case, it will only be a
> non-interactive login-shell.

I have fixed it by replacing gdm with plain console login and "startx".
There are no problems any more with ENV variables. Thanks to all!

Stefan


Re: [arch-general] Mariadb eats system ressources

2014-10-09 Thread Stefan Tatschner
On 2014-10-09 17:48, Leonidas Spyropoulos wrote:
 Can you share your my.cnf and a few information on your databases you
 host on the mariadb server?

The my.cnf is just the default one from the repo, I have enabled
skip-network. My setup is not that big. I host 5 wordpress sites and
one piwik instance on it. There are daily about 50 visitors maximum.
Apache is most of the time in idle state and -- as I mentioned before --
even disabling apache does not fix the cpu usage of mariadb.

Stefan


Re: [arch-general] Mariadb eats system ressources

2014-10-09 Thread Stefan Tatschner
On 2014-10-09 17:28, Pierre GINDRAUD wrote:
 If yes log in as privileges user, and go to section Status, then Query
 statistics and you will able to see what kind of queries is executed. Maybe
 you will find the guilty request ?

I had a look. About 80 percent of all requests are SELECT statements. I
have monitored the general query log and there are request every few
seconds. So mariadb idles most of the time. I see no reason why it
stucks on 100 percent cpu usage...

Stefan


Re: [arch-general] Mariadb eats system ressources

2014-10-09 Thread Stefan Tatschner
On 2014-10-09 18:35, Maykel Franco wrote:
 Hi, when MySQL is high, go to into cmd line MySQL command and exec: show
 peocesslist;
 
 What's result?

see here: http://snippets.sevenbyte.org/8/raw/

 You use raíd por single disk?? The state disk health is ok?

I have a virtual server. I suppose the diskstate is ok...

Stefan


Re: [arch-general] Mariadb eats system ressources

2014-10-09 Thread Stefan Tatschner
On 2014-10-09 18:39, Maykel Franco wrote:
 Hace you a latest versión mariadb?

Yes, the version number is even in the paste from my email before...^^


Re: [arch-general] pypy3 to pypy

2014-07-11 Thread Stefan Tatschner
Am Freitag, den 11.07.2014, 09:23 -0400 schrieb Charles Joachim:
 Hi, I'm really interested in Pypy and starting to use it daily but I mainly
 prefer the use of Python 3 in general.
 With the announcement of the first stable release of Pypy3, I would like to
 know what do people think of switching:
 pypy - pypy2
 pypy3 - pypy
 
 Like that, it would be in sync with the name change of Cpython.
 What do you think?

I think currently that's not really useful because pypy3 is the upstream
project name. It will just confuse people.

Stefan



Re: [arch-general] systemd 214, journal problem

2014-07-04 Thread Stefan Tatschner
Am Mittwoch, den 25.06.2014, 13:07 +0200 schrieb Davor Rotim:
 I have reported this to the bug tracker: https://bugs.archlinux.org/task/40970

- Update to systemd 214
- reboot
- rebuild the initramdisk (mkinitcpio -p linux-lts, mkinitcpio -p linux)
- reboot
- my problem was fixed

I always have rebuilt my initramdisk before rebooting; so my udev
version was 213...



Re: [arch-general] systemd 214, journal problem

2014-06-25 Thread Stefan Tatschner
Am Mittwoch, den 25.06.2014, 08:58 +0200 schrieb Ralf Mardorf:
 [rocketmouse@archlinux ~]$ uname -rm
 3.8.13-rt14-1-rt x86_64
 [rocketmouse@archlinux ~]$ pacman -Si linux-lts | grep Version
 Version: 3.10.44-1
 
 I still don't know what messages you don't get, however, I get messages
 without editing /etc/sysctl.d/50-coredump.conf for e.g. pppd and the
 graphics etc..

I dont't get *ANY* message after booting the machine. After every
service has been started (my last one is always fail2ban) I do not get
any more messages. This includes e.g. postfix, amavis, ssh, dovecot,
cron, sudo things, ...

The lack of journal messages also mean that fail2ban does not work;
that's really bad. I will try updating once again later this day and
I'll let you know.

Stefan



Re: [arch-general] systemd 214, journal problem

2014-06-25 Thread Stefan Tatschner
Am Mittwoch, den 25.06.2014, 11:01 +0200 schrieb Martti Kühne:
 On Wed, Jun 25, 2014 at 9:04 AM, Stefan Tatschner
  The lack of journal messages also mean that fail2ban does not work;
  that's really bad. I will try updating once again later this day and
  I'll let you know.
 
 I'm not sure how you configured fail2ban, but since it's not working
 for you and a quick research reveals it does things with logs... This
 clearly points to some incompatibility between systemd-214 and
 fail2ban. Did you contact devs of either? They might be able to point
 something out you have overlooked up to now.

This is not correct. Fail2ban works fine here, but with no journal
messages (which might be a systemd problem) it does not work as it
evaluates the messages from the journal. But that's not actually my
problem; it's just a messy side effect. :)

I will try updating to systemd-214 again later this day and I'll let you
know what happens.

Stefan



Re: [arch-general] systemd 214, journal problem

2014-06-25 Thread Stefan Tatschner
Am Mittwoch, den 25.06.2014, 12:40 +0200 schrieb Davor Rotim:
 Yes, same issue here. All services start normally just no logging to the
 journal. For example, journalctl -u systemd-networkd will only show logs
 until the systemd 214 upgrade after that as if it never existed (but
 strangely everything works normally). This is on 3.15.1-1-ARCH i686.

I was afraid I'm alone with this problem...



[arch-general] systemd 214, journal problem

2014-06-24 Thread Stefan Tatschner
Hi,
today I have run pacman -Syu on my arch server. Systemd was updated from
213 to 214 and now I don't get any new journal entries. I just get the
messages from the boot process and that's all.

Any ideas?

Stefan



Re: [arch-general] systemd 214, journal problem

2014-06-24 Thread Stefan Tatschner
Am Dienstag, den 24.06.2014, 12:29 +0200 schrieb Stefan Tatschner:
 Hi,
 today I have run pacman -Syu on my arch server. Systemd was updated from
 213 to 214 and now I don't get any new journal entries. I just get the
 messages from the boot process and that's all.

Downgrading systemd to 213 fixed the problem.

Stefan



Re: [arch-general] systemd 214, journal problem

2014-06-24 Thread Stefan Tatschner
Am Dienstag, den 24.06.2014, 19:11 +0200 schrieb Bjoern Franke: 
  I guess this command will re-enable the old feature.
 
 He spoke of any messages, not coredumps.

Yes, I did not mean the coredump thing.



Re: [arch-general] systemd 214, journal problem

2014-06-24 Thread Stefan Tatschner
Am Dienstag, den 24.06.2014, 18:16 +0100 schrieb Mauro Santos:
 It seems to be working fine here, the output of 'journalctl -b' includes
 output from dbus, polkitd, NetworkManager, etc.
 

It works on my desktop as well. My server seems to have a problem with
systemd 214...



Re: [arch-general] systemd 214, journal problem

2014-06-24 Thread Stefan Tatschner
Am Dienstag, den 24.06.2014, 13:31 -0400 schrieb Genes Lists:
   I had same issue with systemd 214 and kernel 3.15. For me,it was 
 resolved with 3.15.1 kernel (which had some capabilities and audit fixes 
 - not sure they were cause, but 3.15.1 fixed it for me).

I can try this. I use the arch lts-kernel on my server. Maybe it is not
yet fixed in the lts kernel?



Re: [arch-general] systemd 214, journal problem

2014-06-24 Thread Stefan Tatschner
Am Mittwoch, den 25.06.2014, 04:57 +0200 schrieb Ralf Mardorf:
 On Tue, 2014-06-24 at 12:29 +0200, Stefan Tatschner wrote:
  today I have run pacman -Syu on my arch server. Systemd was updated from
  213 to 214 and now I don't get any new journal entries. I just get the
  messages from the boot process and that's all.
 
 You got this messages when installing it:
 
 :: coredumps are no longer sent to the journal by default. To re-enable:
echo /etc/sysctl.d/50-coredump.conf \
kernel.core_pattern=|/usr/lib/systemd/systemd-coredump %p %u %g %s %t 
 %e


We already had this here:

https://mailman.archlinux.org/pipermail/arch-general/2014-June/036672.html

Stefan



[arch-general] Question on version numbers

2014-06-15 Thread Stefan Tatschner
Hi,
just because I'm inquisitive. What's the purpose of version numbers with
a colon? I've seen this in several packages, e.g. this one [1]. Upstream
version number is 5.0.2 and arch version number is 1:5.0.2.

Regards,
Stefan

[1]: https://www.archlinux.org/packages/extra/any/python-setuptools/



Re: [arch-general] Question on version numbers

2014-06-15 Thread Stefan Tatschner
Am Sonntag, den 15.06.2014, 14:36 +0200 schrieb Guillaume ALAUX:
 This is the `epoch` as explained here
 https://www.archlinux.org/pacman/PKGBUILD.5.html

Thanks for clarifying!



Re: [arch-general] Install php-apc in archlinux

2014-05-12 Thread Stefan Tatschner
Am 12.05.2014 17:47, schrieb Maykel Franco:
 Hi I have installed nginx + php-fpm + mariadb + php 5.5 and I like
 install php-apc but the package is:
 
 extra/php-apcu 4.0.4-1
 A userland caching module for PHP
 
 Is there the php-apc package??
 
 Thanks in advanced.

There was an announcement a while ago:
https://www.archlinux.org/news/php-55-available-in-the-extra-repository/

Stefan



[arch-general] Apache PID File not readable

2013-07-28 Thread Stefan Tatschner
Hi,

I always get this message after restarting apache via systemctl: PID
file /run/httpd/httpd.pid not readable (yet?) after start.
I have already used google and I found this:

http://serverfault.com/questions/501687/error-pid-file-run-httpd-httpd-pid-not-readable-yet-after-start-apache
https://bugs.archlinux.org/task/32708
http://stackoverflow.com/questions/16156761/error-pid-file-run-httpd-httpd-pid-not-readable-yet-after-start-apache

Any ideas to avoid this message? I can chown the file, but after
restarting apache it's the same problem. Apache seems to work fine but
the restarting procedure needs a very long time...


[arch-general] FS#30473 Patch

2013-07-14 Thread Stefan Tatschner
Hi,

I've created a patchfile for FS#30473 [1]. The Patchfile is for git,
pkgver=1.8.3.2, pkgrel=1.

The solution can be seen in [2]. I have justed merged the official
PGKBUILD with [2] to make git-subtree working.

Stefan

[1] https://bugs.archlinux.org/task/30473
[2] 
https://github.com/mtorromeo/archlinux-packages/blob/master/git-subtree/PKGBUILD


git.patch
Description: Binary data