[arch-general] systemd pulseaudio
Sorry for this second post, but I forgot [arch-general] in subject Dear list, I am able to boot with systemd. For now, I am still using the mixed systemd installation, until everything is clear. The only issue is with pulseaudio. $ journalctl returns [pulseaudio] module-equalizer-sink.c: resume state exists but is wrong size! I am on XFCE4, and when I start mixer, i have this error: GStreamer was unable to detect any sound device.Some sound system specific Gstreamer packages maybe missing. It may also be a permission problem. In /var/log/errors, I find these entries: localhost pulseaudio[29270]: [pulseaudio] module-equalizer-sink.c: resume state exists but is wrong size! localhost login: pam_systemd(login:session): Failed to release session: Connection was disconnected before a reply was received localhost pulseaudio[2257]: [pulseaudio] pid.c: Stale PID file, overwriting. When I start Pulse audio volume control, it is waiting to connect to pulse audio and give me this error in everything.log: localhost kernel: [ 150.080570] pulseaudio[2257]: segfault at 48 ip 00007fdbd3df404e sp 00007fff3b1e9860 error 4 in module-equalizer-sink.so[7fdbd3def000+f000] My music player (ncmpcpp with mpd) is indeed playing music, and I can control volume with the +/- keys. Thank you for help. Reply-To: arnaud.gaboury@gmail.com Host: Magnolia on Arch Linux
On Wed, 2012-08-29 at 10:07 +0200, Arno Gaboury wrote:
Sorry for this second post, but I forgot [arch-general] in subject
You don't need to add [arch-general] to the subject, it automatically is add to the mails coming through the list. Regards, Ralf
On Wed, Aug 29, 2012 at 10:10:22AM +0200, Ralf Mardorf wrote:
On Wed, 2012-08-29 at 10:07 +0200, Arno Gaboury wrote:
Sorry for this second post, but I forgot [arch-general] in subject
You don't need to add [arch-general] to the subject, it automatically is add to the mails coming through the list.
And, I don't see any extra [arch-general] in the subject. so you forgot to add it again :D
On Wednesday 29 Aug 2012 14:18:48 gt wrote:
On Wed, Aug 29, 2012 at 10:10:22AM +0200, Ralf Mardorf wrote:
On Wed, 2012-08-29 at 10:07 +0200, Arno Gaboury wrote:
Sorry for this second post, but I forgot [arch-general] in subject
You don't need to add [arch-general] to the subject, it automatically is add to the mails coming through the list.
And, I don't see any extra [arch-general] in the subject. so you forgot to add it again :D
I see it. It looks exactly the same as his original e-mail: "[arch-general] systemd pulseaudio". Maybe your mail client filters out the prefix? Paul
On Wed, 2012-08-29 at 09:59 +0100, Paul Gideon Dann wrote:
On Wednesday 29 Aug 2012 14:18:48 gt wrote:
On Wed, Aug 29, 2012 at 10:10:22AM +0200, Ralf Mardorf wrote:
On Wed, 2012-08-29 at 10:07 +0200, Arno Gaboury wrote:
Sorry for this second post, but I forgot [arch-general] in subject
You don't need to add [arch-general] to the subject, it automatically is add to the mails coming through the list.
And, I don't see any extra [arch-general] in the subject. so you forgot to add it again :D
No, I always remove [arch-general] manually from the subject ;D and then it's added automatically. On Wed, 2012-08-29 at 02:05 -0700, Patrick Burroughs (Celti) wrote:
No, the mailing list just doesn't add it again if it's already there. If it didn't you'd see steadily growing strings of "[arch-general] [arch-general]" in the subject, and nobody wants that.
We are just kidding! ;) But serious, some mailing lists don't add [mailing-list-name] to the subject, e.g. the English language wanderlust (an emacs MUA) mailing list and that's really is annoying.
On Wed, Aug 29, 2012 at 1:48 AM, gt <static.vortex@gmx.com> wrote:
And, I don't see any extra [arch-general] in the subject. so you forgot to add it again :D
No, the mailing list just doesn't add it again if it's already there. If it didn't you'd see steadily growing strings of "[arch-general] [arch-general]" in the subject, and nobody wants that. ~Celti
Please run pulseaudio --cleanup-shm then run pulseaudio --start then run echo $? and see if you get a zero back. I'm on debian now and dumped pulseaudio completely since it got in the way of too many things and made an attempt to install a desktop environment unmanageable. But this should get you along a little further. On Wed, 29 Aug 2012, Arno Gaboury wrote:
Sorry for this second post, but I forgot [arch-general] in subject
Dear list,
I am able to boot with systemd. For now, I am still using the mixed systemd installation, until everything is clear. The only issue is with pulseaudio. $ journalctl returns [pulseaudio] module-equalizer-sink.c: resume state exists but is wrong size! I am on XFCE4, and when I start mixer, i have this error: GStreamer was unable to detect any sound device.Some sound system specific Gstreamer packages maybe missing. It may also be a permission problem. In /var/log/errors, I find these entries: localhost pulseaudio[29270]: [pulseaudio] module-equalizer-sink.c: resume state exists but is wrong size! localhost login: pam_systemd(login:session): Failed to release session: Connection was disconnected before a reply was received localhost pulseaudio[2257]: [pulseaudio] pid.c: Stale PID file, overwriting. When I start Pulse audio volume control, it is waiting to connect to pulse audio and give me this error in everything.log: localhost kernel: [ 150.080570] pulseaudio[2257]: segfault at 48 ip 00007fdbd3df404e sp 00007fff3b1e9860 error 4 in module-equalizer-sink.so[7fdbd3def000+f000]
My music player (ncmpcpp with mpd) is indeed playing music, and I can control volume with the +/- keys.
Thank you for help. Reply-To: arnaud.gaboury@gmail.com Host: Magnolia on Arch Linux
--------------------------------------------------------------------------- jude <jdashiel@shellworld.net>
On 29/08/12||05:37, Jude DaShiell wrote:
Please run pulseaudio --cleanup-shm then run pulseaudio --start then run echo $? and see if you get a zero back. I'm on debian now and dumped pulseaudio completely since it got in the way of too many things and made an attempt to install a desktop environment unmanageable. But this should get you along a little further.
On Wed, 29 Aug 2012, Arno Gaboury wrote:
Dear list,
I am able to boot with systemd. For now, I am still using the mixed systemd installation, until everything is clear. The only issue is with pulseaudio. $ journalctl returns [pulseaudio] module-equalizer-sink.c: resume state exists but is wrong size! I am on XFCE4, and when I start mixer, i have this error: GStreamer was unable to detect any sound device.Some sound system specific Gstreamer packages maybe missing. It may also be a permission problem. In /var/log/errors, I find these entries: localhost pulseaudio[29270]: [pulseaudio] module-equalizer-sink.c: resume state exists but is wrong size! localhost login: pam_systemd(login:session): Failed to release session: Connection was disconnected before a reply was received localhost pulseaudio[2257]: [pulseaudio] pid.c: Stale PID file, overwriting. When I start Pulse audio volume control, it is waiting to connect to pulse audio and give me this error in everything.log: localhost kernel: [ 150.080570] pulseaudio[2257]: segfault at 48 ip 00007fdbd3df404e sp 00007fff3b1e9860 error 4 in module-equalizer-sink.so[7fdbd3def000+f000]
Thank you for help. Reply-To: arnaud.gaboury@gmail.com Host: Magnolia on Arch Linux I ran all your command, and get 0. Each time I $ pulseaudio --start, I see this errors in my log files: Aug 29 11:48:58 localhost pulseaudio[3361]: [pulseaudio] pid.c: Stale PID file, overwriting. Aug 29 11:48:59 localhost pulseaudio[3361]: [pulseaudio] module-equalizer-sink.c: resume state exists but is wrong size! Aug 29 11:48:59 localhost kernel: [ 6669.429172] pulseaudio[3361]: segfault at 48 ip 00007fd0be96e04e sp 00007ffff21144c0 error 4 in module-equalizer-sink.so[7fd0be969000+f000]
I am totally lost on this issue, especially the fact that my sound card is not recognized with $aplay -l
Can you do lspci -v? That may at least tell you what pulseaudio fails to recognize. On Wed, 29 Aug 2012, Arno Gaboury wrote:
On 29/08/12||05:37, Jude DaShiell wrote:
Please run pulseaudio --cleanup-shm then run pulseaudio --start then run echo $? and see if you get a zero back. I'm on debian now and dumped pulseaudio completely since it got in the way of too many things and made an attempt to install a desktop environment unmanageable. But this should get you along a little further.
On Wed, 29 Aug 2012, Arno Gaboury wrote:
Dear list,
I am able to boot with systemd. For now, I am still using the mixed systemd installation, until everything is clear. The only issue is with pulseaudio. $ journalctl returns [pulseaudio] module-equalizer-sink.c: resume state exists but is wrong size! I am on XFCE4, and when I start mixer, i have this error: GStreamer was unable to detect any sound device.Some sound system specific Gstreamer packages maybe missing. It may also be a permission problem. In /var/log/errors, I find these entries: localhost pulseaudio[29270]: [pulseaudio] module-equalizer-sink.c: resume state exists but is wrong size! localhost login: pam_systemd(login:session): Failed to release session: Connection was disconnected before a reply was received localhost pulseaudio[2257]: [pulseaudio] pid.c: Stale PID file, overwriting. When I start Pulse audio volume control, it is waiting to connect to pulse audio and give me this error in everything.log: localhost kernel: [ 150.080570] pulseaudio[2257]: segfault at 48 ip 00007fdbd3df404e sp 00007fff3b1e9860 error 4 in module-equalizer-sink.so[7fdbd3def000+f000]
Thank you for help. Reply-To: arnaud.gaboury@gmail.com Host: Magnolia on Arch Linux I ran all your command, and get 0. Each time I $ pulseaudio --start, I see this errors in my log files: Aug 29 11:48:58 localhost pulseaudio[3361]: [pulseaudio] pid.c: Stale PID file, overwriting. Aug 29 11:48:59 localhost pulseaudio[3361]: [pulseaudio] module-equalizer-sink.c: resume state exists but is wrong size! Aug 29 11:48:59 localhost kernel: [ 6669.429172] pulseaudio[3361]: segfault at 48 ip 00007fd0be96e04e sp 00007ffff21144c0 error 4 in module-equalizer-sink.so[7fd0be969000+f000]
I am totally lost on this issue, especially the fact that my sound card is not recognized with $aplay -l
--------------------------------------------------------------------------- jude <jdashiel@shellworld.net>
On 29/08/12||05:59, Jude DaShiell wrote:
Can you do lspci -v? That may at least tell you what pulseaudio fails to recognize. On Wed, 29 Aug 2012, Arno Gaboury wrote:
On 29/08/12||05:37, Jude DaShiell wrote:
Please run pulseaudio --cleanup-shm then run pulseaudio --start then run echo $? and see if you get a zero back. I'm on debian now and dumped pulseaudio completely since it got in the way of too many things and made an attempt to install a desktop environment unmanageable. But this should get you along a little further.
On Wed, 29 Aug 2012, Arno Gaboury wrote:
Dear list,
I am able to boot with systemd. For now, I am still using the mixed systemd installation, until everything is clear. The only issue is with pulseaudio. $ journalctl returns [pulseaudio] module-equalizer-sink.c: resume state exists but is wrong size! I am on XFCE4, and when I start mixer, i have this error: GStreamer was unable to detect any sound device.Some sound system specific Gstreamer packages maybe missing. It may also be a permission problem. In /var/log/errors, I find these entries: localhost pulseaudio[29270]: [pulseaudio] module-equalizer-sink.c: resume state exists but is wrong size! localhost login: pam_systemd(login:session): Failed to release session: Connection was disconnected before a reply was received localhost pulseaudio[2257]: [pulseaudio] pid.c: Stale PID file, overwriting. When I start Pulse audio volume control, it is waiting to connect to pulse audio and give me this error in everything.log: localhost kernel: [ 150.080570] pulseaudio[2257]: segfault at 48 ip 00007fdbd3df404e sp 00007fff3b1e9860 error 4 in module-equalizer-sink.so[7fdbd3def000+f000]
Thank you for help. Reply-To: arnaud.gaboury@gmail.com Host: Magnolia on Arch Linux I ran all your command, and get 0. Each time I $ pulseaudio --start, I see this errors in my log files: Aug 29 11:48:58 localhost pulseaudio[3361]: [pulseaudio] pid.c: Stale PID file, overwriting. Aug 29 11:48:59 localhost pulseaudio[3361]: [pulseaudio] module-equalizer-sink.c: resume state exists but is wrong size! Aug 29 11:48:59 localhost kernel: [ 6669.429172] pulseaudio[3361]: segfault at 48 ip 00007fd0be96e04e sp 00007ffff21144c0 error 4 in module-equalizer-sink.so[7fd0be969000+f000]
I am totally lost on this issue, especially the fact that my sound card is not recognized with $aplay -l
$ lscpi bash: lscpi: command not found !!!
I guess something must be wrong in my systemd settings.
--------------------------------------------------------------------------- jude <jdashiel@shellworld.net>
$ lscpi bash: lscpi: command not found !!!
I guess something must be wrong in my systemd settings.
The "p" comes before the "c": lspci lspci is unrelated to systemd. -- John K Pate http://jkpate.net/ The University of Edinburgh is a charitable body, registered in Scotland, with registration number SC005336.
On 29/08/12||11:16, John K Pate wrote:
$ lscpi bash: lscpi: command not found !!!
I guess something must be wrong in my systemd settings.
The "p" comes before the "c": lspci
lspci is unrelated to systemd.
Oh la la, again a typo issue. I know this has nothing to do with systemd, but found it weird not to be able to run the command. TY
-- John K Pate http://jkpate.net/
The University of Edinburgh is a charitable body, registered in Scotland, with registration number SC005336.
On 29/08/12||05:59, Jude DaShiell wrote:
Can you do lspci -v? That may at least tell you what pulseaudio fails to recognize. On Wed, 29 Aug 2012, Arno Gaboury wrote:
$ lspci 00:1b.0 Audio device: Intel Corporation 6 Series/C200 Series Chipset Family High Definition Audio Controller (rev 05)
On 29/08/12||05:37, Jude DaShiell wrote:
Please run pulseaudio --cleanup-shm then run pulseaudio --start then run echo $? and see if you get a zero back. I'm on debian now and dumped pulseaudio completely since it got in the way of too many things and made an attempt to install a desktop environment unmanageable. But this should get you along a little further.
On Wed, 29 Aug 2012, Arno Gaboury wrote:
Dear list,
I am able to boot with systemd. For now, I am still using the mixed systemd installation, until everything is clear. The only issue is with pulseaudio. $ journalctl returns [pulseaudio] module-equalizer-sink.c: resume state exists but is wrong size! I am on XFCE4, and when I start mixer, i have this error: GStreamer was unable to detect any sound device.Some sound system specific Gstreamer packages maybe missing. It may also be a permission problem. In /var/log/errors, I find these entries: localhost pulseaudio[29270]: [pulseaudio] module-equalizer-sink.c: resume state exists but is wrong size! localhost login: pam_systemd(login:session): Failed to release session: Connection was disconnected before a reply was received localhost pulseaudio[2257]: [pulseaudio] pid.c: Stale PID file, overwriting. When I start Pulse audio volume control, it is waiting to connect to pulse audio and give me this error in everything.log: localhost kernel: [ 150.080570] pulseaudio[2257]: segfault at 48 ip 00007fdbd3df404e sp 00007fff3b1e9860 error 4 in module-equalizer-sink.so[7fdbd3def000+f000]
Thank you for help. Reply-To: arnaud.gaboury@gmail.com Host: Magnolia on Arch Linux I ran all your command, and get 0. Each time I $ pulseaudio --start, I see this errors in my log files: Aug 29 11:48:58 localhost pulseaudio[3361]: [pulseaudio] pid.c: Stale PID file, overwriting. Aug 29 11:48:59 localhost pulseaudio[3361]: [pulseaudio] module-equalizer-sink.c: resume state exists but is wrong size! Aug 29 11:48:59 localhost kernel: [ 6669.429172] pulseaudio[3361]: segfault at 48 ip 00007fd0be96e04e sp 00007ffff21144c0 error 4 in module-equalizer-sink.so[7fd0be969000+f000]
I am totally lost on this issue, especially the fact that my sound card is not recognized with $aplay -l
--------------------------------------------------------------------------- jude <jdashiel@shellworld.net>
Has archlinux got firmware packages for Linux yet? If so, it could be one of those packages after an install and reboot may cause that card to get recognized. You might as root try dmesg | grep -i "audio" and see what else may be showing up. I wouldn't take pulseaudio off of the system entirely unless it enabled your sound system be it esd or alsa to actually recognize that card and talk to it. As root you might try pulseaudio --kill and then try doing things with aplay and other multimedia packages. If those suddenly start working, then you need to get rid of pulseaudio and keep it off of your system in the future. On Wed, 29 Aug 2012, Arno Gaboury wrote:
On 29/08/12||05:59, Jude DaShiell wrote:
Can you do lspci -v? That may at least tell you what pulseaudio fails to recognize. On Wed, 29 Aug 2012, Arno Gaboury wrote:
$ lspci 00:1b.0 Audio device: Intel Corporation 6 Series/C200 Series Chipset Family High Definition Audio Controller (rev 05)
On 29/08/12||05:37, Jude DaShiell wrote:
Please run pulseaudio --cleanup-shm then run pulseaudio --start then run echo $? and see if you get a zero back. I'm on debian now and dumped pulseaudio completely since it got in the way of too many things and made an attempt to install a desktop environment unmanageable. But this should get you along a little further.
On Wed, 29 Aug 2012, Arno Gaboury wrote:
Dear list,
I am able to boot with systemd. For now, I am still using the mixed systemd installation, until everything is clear. The only issue is with pulseaudio. $ journalctl returns [pulseaudio] module-equalizer-sink.c: resume state exists but is wrong size! I am on XFCE4, and when I start mixer, i have this error: GStreamer was unable to detect any sound device.Some sound system specific Gstreamer packages maybe missing. It may also be a permission problem. In /var/log/errors, I find these entries: localhost pulseaudio[29270]: [pulseaudio] module-equalizer-sink.c: resume state exists but is wrong size! localhost login: pam_systemd(login:session): Failed to release session: Connection was disconnected before a reply was received localhost pulseaudio[2257]: [pulseaudio] pid.c: Stale PID file, overwriting. When I start Pulse audio volume control, it is waiting to connect to pulse audio and give me this error in everything.log: localhost kernel: [ 150.080570] pulseaudio[2257]: segfault at 48 ip 00007fdbd3df404e sp 00007fff3b1e9860 error 4 in module-equalizer-sink.so[7fdbd3def000+f000]
Thank you for help. Reply-To: arnaud.gaboury@gmail.com Host: Magnolia on Arch Linux I ran all your command, and get 0. Each time I $ pulseaudio --start, I see this errors in my log files: Aug 29 11:48:58 localhost pulseaudio[3361]: [pulseaudio] pid.c: Stale PID file, overwriting. Aug 29 11:48:59 localhost pulseaudio[3361]: [pulseaudio] module-equalizer-sink.c: resume state exists but is wrong size! Aug 29 11:48:59 localhost kernel: [ 6669.429172] pulseaudio[3361]: segfault at 48 ip 00007fd0be96e04e sp 00007ffff21144c0 error 4 in module-equalizer-sink.so[7fd0be969000+f000]
I am totally lost on this issue, especially the fact that my sound card is not recognized with $aplay -l
--------------------------------------------------------------------------- jude <jdashiel@shellworld.net>
--------------------------------------------------------------------------- jude <jdashiel@shellworld.net>
On Wed, 2012-08-29 at 11:54 +0200, Arno Gaboury wrote:
I am totally lost on this issue, especially the fact that my sound card is not recognized with $aplay -l
I bet your soundcard is able to record ;), but only playing doesn't work. Get rid of PA, if you don't need it for something special. I installed $ pacman -Qi pulseaudio-dummy Name : pulseaudio-dummy Version : 1.0-1 URL : None Licenses : BSD Groups : None Provides : pulseaudio Depends On : None Optional Deps : None Required By : gnome-settings-daemon pulseaudio-alsa Conflicts With : pulseaudio Replaces : None Installed Size : 4.00 KiB Packager : Unknown Packager Architecture : any Build Date : Sun 15 Jan 2012 01:43:53 AM CET Install Date : Sun 15 Jan 2012 01:45:38 AM CET Install Reason : Explicitly installed Install Script : No Description : A dummy package that pretends to provide pulseaudio. Regards, Ralf
On 29/08/12||12:00, Ralf Mardorf wrote:
On Wed, 2012-08-29 at 11:54 +0200, Arno Gaboury wrote:
I am totally lost on this issue, especially the fact that my sound card is not recognized with $aplay -l
I bet your soundcard is able to record ;), but only playing doesn't work. Get rid of PA, if you don't need it for something special.
I installed
$ pacman -Qi pulseaudio-dummy Name : pulseaudio-dummy Version : 1.0-1 URL : None Licenses : BSD Groups : None Provides : pulseaudio Depends On : None Optional Deps : None Required By : gnome-settings-daemon pulseaudio-alsa Conflicts With : pulseaudio Replaces : None Installed Size : 4.00 KiB Packager : Unknown Packager Architecture : any Build Date : Sun 15 Jan 2012 01:43:53 AM CET Install Date : Sun 15 Jan 2012 01:45:38 AM CET Install Reason : Explicitly installed Install Script : No Description : A dummy package that pretends to provide pulseaudio.
Regards, Ralf
Thank you, I will give a try, but first would like to understand the reasons of this issue. I guess there are some errors in my systemd set up. Why lscpi is not found, when pciutils package is already installed?
On Wed, 2012-08-29 at 12:15 +0200, Arno Gaboury wrote:
On Wed, 2012-08-29 at 11:54 +0200, Arno Gaboury wrote:
I am totally lost on this issue, especially the fact that my sound card is not recognized with $aplay -l
I bet your soundcard is able to record ;), but only playing doesn't work. Get rid of PA, if you don't need it for something special.
I installed
$ pacman -Qi pulseaudio-dummy Name : pulseaudio-dummy Version : 1.0-1 URL : None Licenses : BSD Groups : None Provides : pulseaudio Depends On : None Optional Deps : None Required By : gnome-settings-daemon pulseaudio-alsa Conflicts With : pulseaudio Replaces : None Installed Size : 4.00 KiB Packager : Unknown Packager Architecture : any Build Date : Sun 15 Jan 2012 01:43:53 AM CET Install Date : Sun 15 Jan 2012 01:45:38 AM CET Install Reason : Explicitly installed Install Script : No Description : A dummy package that pretends to provide
On 29/08/12||12:00, Ralf Mardorf wrote: pulseaudio.
Regards, Ralf
Thank you, I will give a try, but first would like to understand the reasons of this issue. I guess there are some errors in my systemd set up. Why lscpi is not found, when pciutils package is already installed?
I send the PKGBUILD and the package with a second mail. For good reasons only the PKGBUILD came through the list. I could send the package off-line, but it's more secure to build it yourself using the PKGBUILD. Inside of the directory where the PKGBUILD is run makepkg then as root run pacman -U pulseaudio-dummy-1.0-1-any.pkg.tar.xz
On Wed, 29 Aug 2012 12:30:00 +0200 Ralf Mardorf <ralf.mardorf@alice-dsl.net> wrote:
makepkg then as root run pacman -U pulseaudio-dummy-1.0-1-any.pkg.tar.xz
Or just sudo makepkg -cfi --- Joakim
On Wed, 29 Aug 2012 12:39:49 +0200 Joakim Hernberg <jbh@alchemy.lu> wrote:
Or just sudo makepkg -cfi
Oh dear, where is my brain today... $ makepkg -cfi is the correct way of doing it... --- Joakim
On Wed, 29 Aug 2012 12:39:49 +0200 Joakim Hernberg <jbh@alchemy.lu> wrote:
Or just sudo makepkg -cfi
Oh dear, where is my brain today...
$ makepkg -cfi
is the correct way of doing it...
---
Joakim
Why's that correct? Don't you need to sign it too? I would -- _______________________________________________________________________ 'Write programs that do one thing and do it well. Write programs to work together. Write programs to handle text streams, because that is a universal interface' (Doug McIlroy) _______________________________________________________________________
On Wed, 29 Aug 2012 12:52:22 +0100 Kevin Chadwick <ma1l1ists@yahoo.co.uk> wrote:
On Wed, 29 Aug 2012 12:39:49 +0200 Joakim Hernberg <jbh@alchemy.lu> wrote:
Or just sudo makepkg -cfi
Oh dear, where is my brain today...
$ makepkg -cfi
is the correct way of doing it...
---
Joakim
Why's that correct?
If for nothing else the fact that the first gives you: ==> ERROR: Running makepkg as root is a BAD idea and can cause permanent, catastrophic damage to your system. If you wish to run as root, please use the --asroot option. The 2:nd will prompt for your password when it installs the package.
Don't you need to sign it too? I would
? --- Joakim
On Wed, 2012-08-29 at 15:02 +0200, Joakim Hernberg wrote:
On Wed, 29 Aug 2012 12:52:22 +0100 Kevin Chadwick <ma1l1ists@yahoo.co.uk> wrote:
On Wed, 29 Aug 2012 12:39:49 +0200 Joakim Hernberg <jbh@alchemy.lu> wrote:
Or just sudo makepkg -cfi
Oh dear, where is my brain today...
$ makepkg -cfi
is the correct way of doing it...
---
Joakim
Why's that correct?
If for nothing else the fact that the first gives you: ==> ERROR: Running makepkg as root is a BAD idea and can cause permanent, catastrophic damage to your system. If you wish to run as root, please use the --asroot option.
The 2:nd will prompt for your password when it installs the package.
Don't you need to sign it too? I would
?
Signing a package you build for yourself, knowing that it's a dummy, without a source and even if there should be a source, why signing this package. Is this an UEFI thingy? Sarcasm lost in translation ;).
On Wed, 2012-08-29 at 15:02 +0200, Joakim Hernberg wrote:
On Wed, 29 Aug 2012 12:52:22 +0100 Kevin Chadwick <ma1l1ists@yahoo.co.uk> wrote:
Don't you need to sign it too? I would
?
Signing a package you build for yourself, knowing that it's a dummy, without a source and even if there should be a source, why signing this package. Is this an UEFI thingy?
Sarcasm lost in translation ;).
If you would be signing it locally for one system then I see why you think of sarcasm but otherwise pacman should be configured to stop on a non-signed package install. p.s. I wasn't being sarcastic about the JS package, polkit now has javascript based config files! and as I don't use it I see no point installing extra code and an attacker familiar package that I won't use. Conversely there is little point putting any effort into it as it's not important, so you saved me a cruder quick hack. Regards, Kc -- _______________________________________________________________________ 'Write programs that do one thing and do it well. Write programs to work together. Write programs to handle text streams, because that is a universal interface' (Doug McIlroy) _______________________________________________________________________
On Wed, 29 Aug 2012 16:57:05 +0100 Kevin Chadwick <ma1l1ists@yahoo.co.uk> wrote:
p.s. I wasn't being sarcastic about the JS package, polkit now has javascript based config files!
WTF... I want some of that stuff they smoke at Red Hat :) --- Joakim
On Wed, Aug 29, 2012 at 11:13 AM, Joakim Hernberg <jbh@alchemy.lu> wrote:
On Wed, 29 Aug 2012 16:57:05 +0100 Kevin Chadwick <ma1l1ists@yahoo.co.uk> wrote:
p.s. I wasn't being sarcastic about the JS package, polkit now has javascript based config files!
WTF...
I want some of that stuff they smoke at Red Hat :)
... i'm guessing it's not "javascript based config files", but rather a little thing known as JSON, which is hardly confined to JavaScript. any JSON object is a valid Python dictionary, and it has natural analogues in pretty much any language -- aka Hash Table. aside: take a look at: # ls -l /usr/share/gir-1.0/ ... good things are making their way to a machine Near You. -- C Anthony
On Wed, Aug 29, 2012 at 6:30 PM, C Anthony Risinger <anthony@xtfx.me> wrote:
On Wed, Aug 29, 2012 at 11:13 AM, Joakim Hernberg <jbh@alchemy.lu> wrote:
On Wed, 29 Aug 2012 16:57:05 +0100 Kevin Chadwick <ma1l1ists@yahoo.co.uk> wrote:
p.s. I wasn't being sarcastic about the JS package, polkit now has javascript based config files!
WTF...
I want some of that stuff they smoke at Red Hat :)
... i'm guessing it's not "javascript based config files", but rather a little thing known as JSON, which is hardly confined to JavaScript.
Nope. It's the whole of JS. Here's a sample rule file from my laptop: polkit.addRule(function(action, subject) { if (subject.local && subject.active) { if (action.id == "org.libvirt.unix.manage" && subject.isInGroup("wheel")) return polkit.Result.YES; if (action.id == "org.freedesktop.NetworkManager.settings.modify.system" && subject.isInGroup("users")) return polkit.Result.YES; } }); This defines that when the user has a local, active session, "wheel" users may manage VMs and "users" users may modify network connections, both without additional authentication. For any other conditions, the default system policy applies.
Don't you need to sign it too? I would
?
Signing a package you build for yourself, knowing that it's a dummy, without a source and even if there should be a source, why signing this package. Is this an UEFI thingy?
Sarcasm lost in translation ;).
If you would be signing it locally for one system then I see why you think of sarcasm but otherwise pacman should be configured to stop on a non-signed package install.
You don't need sudo or su to sign a package with your own key, just import your own (public) key into the pacman keyring as normal and trust it. -- John K Pate http://jkpate.net/ The University of Edinburgh is a charitable body, registered in Scotland, with registration number SC005336.
You don't need sudo or su to sign a package with your own key, just import your own (public) key into the pacman keyring as normal and trust it.
I know The makepkg -i uses sudo or su if missing You'll need root to import the key once. Sudo can enforce signed packages are required. -- _______________________________________________________________________ 'Write programs that do one thing and do it well. Write programs to work together. Write programs to handle text streams, because that is a universal interface' (Doug McIlroy) _______________________________________________________________________
The 2:nd will prompt for your password when it installs the package.
Aah, uses sudo and then su. I was wondering how pacman would gain the permissions. # check for sudo if we will need it during makepkg execution if (( ! ( ASROOT || INFAKEROOT ) && ( DEP_BIN || RMDEPS || INSTALL ) )); then if ! type -p sudo >/dev/null; then warning "$(gettext "Sudo can not be found. Will use su to acquire root privileges.")" fi fi Does it or shouldn't it just try sudo or check it's allowed and fall back to su as sudo may be there but not allow the particular command or arguments. /usr/bin/grep -C 5 -i sudo /usr/bin/makepkg printf -v cmd "%q " "$PACMAN" $PACMAN_OPTS "$@" else printf -v cmd "%q " "$PACMAN" "$@" fi if (( ! ASROOT )) && [[ ! $1 = -@(T|Qq) ]]; then if type -p sudo >/dev/null; then cmd="sudo $cmd" else cmd="su root -c '$cmd'" fi fi eval "$cmd" -- _______________________________________________________________________ 'Write programs that do one thing and do it well. Write programs to work together. Write programs to handle text streams, because that is a universal interface' (Doug McIlroy) _______________________________________________________________________
I send the PKGBUILD and the package with a second mail. For good reasons only the PKGBUILD came through the list. I could send the package off-line, but it's more secure to build it yourself using the PKGBUILD. Inside of the directory where the PKGBUILD is run makepkg then as root run pacman -U pulseaudio-dummy-1.0-1-any.pkg.tar.xz
Thanks, this makes it easier to keep javascript demanded by polkit off my systems completely ;-) I keep an impotent polkit to prevent any potential timeouts. -- _______________________________________________________________________ 'Write programs that do one thing and do it well. Write programs to work together. Write programs to handle text streams, because that is a universal interface' (Doug McIlroy) _______________________________________________________________________
On Wed, 2012-08-29 at 12:52 +0100, Kevin Chadwick wrote:
I send the PKGBUILD and the package with a second mail. For good reasons only the PKGBUILD came through the list. I could send the package off-line, but it's more secure to build it yourself using the PKGBUILD. Inside of the directory where the PKGBUILD is run makepkg then as root run pacman -U pulseaudio-dummy-1.0-1-any.pkg.tar.xz
Thanks, this makes it easier to keep javascript demanded by polkit off my systems completely ;-) I keep an impotent polkit to prevent any potential timeouts.
I prefer sarcasm to flame :), but since my English is broken, I might miss something between the lines. And don't worry, the OP is willing to solve the issue, regarding to his needs, it would be his last resort to install a dummy package. Regards, Ralf PS + OT: If I run gparted, I need to cancel tons of requests, regarding to mount all unmounted partitions. What kit does cause this?
PS
Am 29.08.2012 10:07, schrieb Arno Gaboury:
Sorry for this second post, but I forgot [arch-general] in subject
Dear list,
I am able to boot with systemd. For now, I am still using the mixed systemd installation, until everything is clear. The only issue is with pulseaudio. $ journalctl returns [pulseaudio] module-equalizer-sink.c: resume state exists but is wrong size!
I would try to find where this "equalizer sink resume state" is and delete it. Or disable the module-equalizer-sink module from your default.pa.
When I start Pulse audio volume control, it is waiting to connect to pulse audio and give me this error in everything.log: localhost kernel: [ 150.080570] pulseaudio[2257]: segfault at 48 ip 00007fdbd3df404e sp 00007fff3b1e9860 error 4 in module-equalizer-sink.so[7fdbd3def000+f000]
That is clearly a bug. Report it.
On 29/08/12||15:44, Thomas Bächler wrote:
Am 29.08.2012 10:07, schrieb Arno Gaboury:
Sorry for this second post, but I forgot [arch-general] in subject
Dear list,
I am able to boot with systemd. For now, I am still using the mixed systemd installation, until everything is clear. The only issue is with pulseaudio. $ journalctl returns [pulseaudio] module-equalizer-sink.c: resume state exists but is wrong size!
I would try to find where this "equalizer sink resume state" is and delete it. Or disable the module-equalizer-sink module from your default.pa.
When I start Pulse audio volume control, it is waiting to connect to pulse audio and give me this error in everything.log: localhost kernel: [ 150.080570] pulseaudio[2257]: segfault at 48 ip 00007fdbd3df404e sp 00007fff3b1e9860 error 4 in module-equalizer-sink.so[7fdbd3def000+f000]
That is clearly a bug. Report it.
YES, this is a bug. I already commented the module in my default.pa, and now the message has gone. But pulse audio is still not able to play sound.
On Wed, Aug 29, 2012 at 10:51 AM, Arno Gaboury <arnaud.gaboury@gmail.com> wrote:
YES, this is a bug. I already commented the module in my default.pa, and now the message has gone. But pulse audio is still not able to play sound.
Have you installed pulseaudio-alsa? It provides a default asound.conf that sets Pulseaudio as the default output. What really intrigues me is that you commented about your aplai -l not showing any info. -- A: Because it obfuscates the reading. Q: Why is top posting so bad? For more information, please read: http://idallen.com/topposting.html ------------------------------------------- Denis A. Altoe Falqueto Linux user #524555 -------------------------------------------
On 29/08/12||11:20, Denis A. Altoé Falqueto wrote:
On Wed, Aug 29, 2012 at 10:51 AM, Arno Gaboury <arnaud.gaboury@gmail.com> wrote:
YES, this is a bug. I already commented the module in my default.pa, and now the message has gone. But pulse audio is still not able to play sound.
Have you installed pulseaudio-alsa? It provides a default asound.conf that sets Pulseaudio as the default output. What really intrigues me is that you commented about your aplai -l not showing any info.
Yes, it is installed. And yes, I can't understand why $ aplay -l returns nothing. As stated in my new OP, pulseaudio is working, the issue doesn't come from any misconfig with my X session (seat0 returns the right info).
-- A: Because it obfuscates the reading. Q: Why is top posting so bad? For more information, please read: http://idallen.com/topposting.html
------------------------------------------- Denis A. Altoe Falqueto Linux user #524555 -------------------------------------------
On Wed, Aug 29, 2012 at 11:39 AM, Arno Gaboury <arnaud.gaboury@gmail.com> wrote:
On 29/08/12||11:20, Denis A. Altoé Falqueto wrote:
On Wed, Aug 29, 2012 at 10:51 AM, Arno Gaboury <arnaud.gaboury@gmail.com> wrote:
YES, this is a bug. I already commented the module in my default.pa, and now the message has gone. But pulse audio is still not able to play sound.
Have you installed pulseaudio-alsa? It provides a default asound.conf that sets Pulseaudio as the default output. What really intrigues me is that you commented about your aplai -l not showing any info.
Yes, it is installed. And yes, I can't understand why $ aplay -l returns nothing. As stated in my new OP, pulseaudio is working, the issue doesn't come from any misconfig with my X session (seat0 returns the right info).
I remember having some problems with alsa settings loading at boot time with systemd. I solved it with # alsactl store After that, it saved and loade the settings fine. -- A: Because it obfuscates the reading. Q: Why is top posting so bad? For more information, please read: http://idallen.com/topposting.html ------------------------------------------- Denis A. Altoe Falqueto Linux user #524555 -------------------------------------------
On 29/08/12||12:07, Denis A. Altoé Falqueto wrote:
On Wed, Aug 29, 2012 at 11:39 AM, Arno Gaboury <arnaud.gaboury@gmail.com> wrote:
On 29/08/12||11:20, Denis A. Altoé Falqueto wrote:
On Wed, Aug 29, 2012 at 10:51 AM, Arno Gaboury <arnaud.gaboury@gmail.com> wrote:
YES, this is a bug. I already commented the module in my default.pa, and now the message has gone. But pulse audio is still not able to play sound.
Have you installed pulseaudio-alsa? It provides a default asound.conf that sets Pulseaudio as the default output. What really intrigues me is that you commented about your aplai -l not showing any info.
Yes, it is installed. And yes, I can't understand why $ aplay -l returns nothing. As stated in my new OP, pulseaudio is working, the issue doesn't come from any misconfig with my X session (seat0 returns the right info).
I remember having some problems with alsa settings loading at boot time with systemd. I solved it with
# alsactl store
After that, it saved and loade the settings fine.
GGrrhhh $ alsactl store alsactl: save_state:1580: No soundcards found... again to same issue. Will investigate the module-alsa-sink way.
-- A: Because it obfuscates the reading. Q: Why is top posting so bad? For more information, please read: http://idallen.com/topposting.html
------------------------------------------- Denis A. Altoe Falqueto Linux user #524555 -------------------------------------------
Am 29.08.2012 18:05, schrieb Arno Gaboury:
GGrrhhh $ alsactl store alsactl: save_state:1580: No soundcards found...
Alsa problem? Permission problem? Have a look at /dev/snd/. Also note that permissions change when you change the session (for example, switch from X to a terminal).
On 29/08/12||18:18, Thomas Bächler wrote:
Am 29.08.2012 18:05, schrieb Arno Gaboury:
GGrrhhh $ alsactl store alsactl: save_state:1580: No soundcards found...
Alsa problem? Permission problem? Have a look at /dev/snd/. Also note that permissions change when you change the session (for example, switch from X to a terminal).
OK, now i am progressing. On console, $ aplay -l lists correctly all the devices On X, it doesn't found the soundcard. So you are right, it is a permission issue. How can I solve it now? Thank you for your help.
On Wed, Aug 29, 2012 at 1:47 PM, Arno Gaboury <arnaud.gaboury@gmail.com> wrote:
On 29/08/12||18:18, Thomas Bächler wrote:
Am 29.08.2012 18:05, schrieb Arno Gaboury:
GGrrhhh $ alsactl store alsactl: save_state:1580: No soundcards found...
Alsa problem? Permission problem? Have a look at /dev/snd/. Also note that permissions change when you change the session (for example, switch from X to a terminal).
OK, now i am progressing. On console, $ aplay -l lists correctly all the devices On X, it doesn't found the soundcard. So you are right, it is a permission issue. How can I solve it now?
Thank you for your help.
Do you have any .pacnew in /etc/pam.d? There is a pam module for systemd that should be loaded. -- A: Because it obfuscates the reading. Q: Why is top posting so bad? For more information, please read: http://idallen.com/topposting.html ------------------------------------------- Denis A. Altoe Falqueto Linux user #524555 -------------------------------------------
On 29/08/12||14:14, Denis A. Altoé Falqueto wrote:
On Wed, Aug 29, 2012 at 1:47 PM, Arno Gaboury <arnaud.gaboury@gmail.com> wrote:
On 29/08/12||18:18, Thomas Bächler wrote:
Am 29.08.2012 18:05, schrieb Arno Gaboury:
GGrrhhh $ alsactl store alsactl: save_state:1580: No soundcards found...
Alsa problem? Permission problem? Have a look at /dev/snd/. Also note that permissions change when you change the session (for example, switch from X to a terminal).
OK, now i am progressing. On console, $ aplay -l lists correctly all the devices On X, it doesn't found the soundcard. So you are right, it is a permission issue. How can I solve it now?
Thank you for your help.
Do you have any .pacnew in /etc/pam.d? There is a pam module for systemd that should be loaded.
No. I already checked this. My system is up to date, and no .pacnew.
-- A: Because it obfuscates the reading. Q: Why is top posting so bad? For more information, please read: http://idallen.com/topposting.html
------------------------------------------- Denis A. Altoe Falqueto Linux user #524555 -------------------------------------------
On Aug 29, 2012 6:47 PM, "Arno Gaboury" <arnaud.gaboury@gmail.com> wrote:
On 29/08/12||18:18, Thomas Bächler wrote:
Am 29.08.2012 18:05, schrieb Arno Gaboury:
GGrrhhh $ alsactl store alsactl: save_state:1580: No soundcards found...
Alsa problem? Permission problem? Have a look at /dev/snd/. Also note that permissions change when you change the session (for example, switch from X to a terminal).
OK, now i am progressing. On console, $ aplay -l lists correctly all the devices On X, it doesn't found the soundcard. So you are right, it is a permission issue. How can I solve it now?
Thank you for your help.
How do you start X? If you don't use a DM, have a look at Dave's last blog post on the planet. -t
On 29/08/12||19:32, Tom Gundersen wrote:
On Aug 29, 2012 6:47 PM, "Arno Gaboury" <[1]arnaud.gaboury@gmail.com> wrote:
On 29/08/12||18:18, Thomas Bächler wrote:
Am 29.08.2012 18:05, schrieb Arno Gaboury:
GGrrhhh $ alsactl store alsactl: save_state:1580: No soundcards found...
Alsa problem? Permission problem? Have a look at /dev/snd/. Also
note
that permissions change when you change the session (for example, switch from X to a terminal).
OK, now i am progressing. On console, $ aplay -l lists correctly all the devices On X, it doesn't found the soundcard. So you are right, it is a permission issue. How can I solve it now?
Thank you for your help.
How do you start X? If you don't use a DM, have a look at Dave's last blog post on the planet.
-t
WWWOOOUUUAAHHHH. You saved my day. Almost one full day to solve this issue. I added the .xserverrc in my home directory, and bingo, pulse audio is Ok and $ aplay -l returns the devices. I removed ck-launch-session from .xinitrc too. Honestly, I couldn't find the trick alone. Almost impossible to me. Thank you very much for your attention. I am now a happy archer booting with systemd. One full day to solve one issue...I love systemd ! Good luck to all the other newbies when setting systemd. I am a 6 months old Arch user, and very new to Linux. I usually find the solution, but this time, systemd kept me in check.
References
1. mailto:arnaud.gaboury@gmail.com
On 29/08/12||11:20, Denis A. Altoé Falqueto wrote:
On Wed, Aug 29, 2012 at 10:51 AM, Arno Gaboury <arnaud.gaboury@gmail.com> wrote:
YES, this is a bug. I already commented the module in my default.pa, and now the message has gone. But pulse audio is still not able to play sound.
Have you installed pulseaudio-alsa? It provides a default asound.conf that sets Pulseaudio as the default output. What really intrigues me is that you commented about your aplai -l not showing any info.
I >>>list-modules but couldn't see in the returning list module-alsa-sink. Could it explain my issue with aplay returning nothing and pulse unable to connect to the sound card?
-- A: Because it obfuscates the reading. Q: Why is top posting so bad? For more information, please read: http://idallen.com/topposting.html
------------------------------------------- Denis A. Altoe Falqueto Linux user #524555 -------------------------------------------
On 29/08/2012 11:04 AM, Arno Gaboury wrote:
On 29/08/12||11:20, Denis A. Altoé Falqueto wrote:
YES, this is a bug. I already commented the module in my default.pa, and now the message has gone. But pulse audio is still not able to play sound. Have you installed pulseaudio-alsa? It provides a default asound.conf
On Wed, Aug 29, 2012 at 10:51 AM, Arno Gaboury <arnaud.gaboury@gmail.com> wrote: that sets Pulseaudio as the default output. What really intrigues me is that you commented about your aplai -l not showing any info.
I >>>list-modules but couldn't see in the returning list module-alsa-sink. Could it explain my issue with aplay returning nothing and pulse unable to connect to the sound card? Yes, I was going to mention that I have an issue on one of my boxes where I have to specify load-module alsa-module-sink with my sound device details in /etc/pulse/default.pa or else (in my case) it doesn't load the right ones. That happens without systemd though so I guessed it wasn't related - still if it's having trouble with udev that will help.
-- A: Because it obfuscates the reading. Q: Why is top posting so bad? For more information, please read: http://idallen.com/topposting.html
------------------------------------------- Denis A. Altoe Falqueto Linux user #524555 -------------------------------------------
participants (15)
-
Arno Gaboury
-
C Anthony Risinger
-
Denis A. Altoé Falqueto
-
gt
-
Jan Steffens
-
Joakim Hernberg
-
John K Pate
-
Jude DaShiell
-
Kevin Chadwick
-
Patrick Burroughs (Celti)
-
Paul Gideon Dann
-
Ralf Mardorf
-
Stephen E. Baker
-
Thomas Bächler
-
Tom Gundersen