Re: [arch-general] devtools?

2012-11-01 Thread Joakim Hernberg
On Fri, 2 Nov 2012 14:21:18 +0800
Rashif Ray Rahman  wrote:

> > Actually the mirrorlist never gets copied to the chroot.
> > jack@tor /home/jack $
> > cat /var/lib/archbuild/extra-x86_64/root/etc/pacman.d/mirrorlist
> > Server =
> 
> Have you tried recreating the chroot (by just
> deleting /var/lib/archbuild)?
> 

Sure, most of the times testing I've done: extra-x86_64-build -c, but
it also happens when manually deleted.

- 

   Joakim


Re: [arch-general] devtools?

2012-11-01 Thread Rashif Ray Rahman
On 2 November 2012 07:25, Joakim Hernberg  wrote:
> On Thu, 1 Nov 2012 20:14:16 +0100
> Joakim Hernberg  wrote:
>
>> On Thu, 01 Nov 2012 13:26:35 +1000
>> Allan McRae  wrote:
>>
>> >  What is the mirror at the top of your /etc/pacman.d/mirrorlist?
>> > >>>
>> > >>> Server = http://ftp5.gwdg.de/pub/linux/archlinux/$repo/os/$arch
>> > >>>
>> > >>
>> > >> And that correctly ends up in the mirrorlist file in the created
>> > >> chroot?
>> > >>
>> > >
>> > > No :(
>> > >
>> > > jack@tor /home/jack $
>> > > cat /var/lib/archbuild/extra-x86_64/root/etc/pacman.d/mirrorlist
>> > > Server =
>> > >
>> >
>> > Well...  we have located the bug then.   Can you post your
>> > mirrorlist file so we can see where it is failing at extracting
>> > this.
>>
>> I doubt that it's the mirrorlist file, but for what it's worth:
>>
>> http://dl.dropbox.com/u/879835/mirrorlist
>>
>
> Actually the mirrorlist never gets copied to the chroot.
> jack@tor /home/jack $
> cat /var/lib/archbuild/extra-x86_64/root/etc/pacman.d/mirrorlist
> Server =
>
> --
>
>Joakim

Have you tried recreating the chroot (by just deleting /var/lib/archbuild)?


--
GPG/PGP ID: C0711BF1


Re: [arch-general] devtools?

2012-11-01 Thread Joakim Hernberg
On Thu, 1 Nov 2012 20:14:16 +0100
Joakim Hernberg  wrote:

> On Thu, 01 Nov 2012 13:26:35 +1000
> Allan McRae  wrote:
> 
> >  What is the mirror at the top of your /etc/pacman.d/mirrorlist?
> > >>>
> > >>> Server = http://ftp5.gwdg.de/pub/linux/archlinux/$repo/os/$arch
> > >>>
> > >>
> > >> And that correctly ends up in the mirrorlist file in the created
> > >> chroot?
> > >>
> > > 
> > > No :(
> > > 
> > > jack@tor /home/jack $
> > > cat /var/lib/archbuild/extra-x86_64/root/etc/pacman.d/mirrorlist
> > > Server = 
> > > 
> > 
> > Well...  we have located the bug then.   Can you post your
> > mirrorlist file so we can see where it is failing at extracting
> > this.
> 
> I doubt that it's the mirrorlist file, but for what it's worth:
> 
> http://dl.dropbox.com/u/879835/mirrorlist
> 

Actually the mirrorlist never gets copied to the chroot.
jack@tor /home/jack $
cat /var/lib/archbuild/extra-x86_64/root/etc/pacman.d/mirrorlist
Server = 

-- 

   Joakim


Re: [arch-general] Systemd and inactive sessions

2012-11-01 Thread Ray Kohler
On Thu, Nov 1, 2012 at 5:43 PM, Leonid Isaev  wrote:
> Hi,
>
> I have just noticed that systemd-logind doesn't terminate inactive
> sessions. For example, when I login, do something, then relogin, there are 2
> sessions:
> $ loginctl
>SESSIONUID USER SEAT
>  1   1000 lisaev   seat0
>  4   1000 lisaev   seat0
> However, only session 4 is active. Session 1 is inactive and has 
> state=closing:
> $ loginctl show-session 1
> Id=1
> Timestamp=Thu, 2012-11-01 14:42:18 CDT
> TimestampMonotonic=32156744
> DefaultControlGroup=name=systemd:/user/lisaev/1
> VTNr=1
> TTY=tty1
> Remote=no
> Service=login
> Leader=327
> Audit=1
> Type=tty
> Class=user
> Active=no
> State=closing
> KillProcesses=no
> IdleHint=yes
> IdleSinceHint=1351805395173515
> IdleSinceHintMonotonic=6489608483
> Name=lisaev
>
> Is that expected?

Notice that State=closing. That means some process is still running
which was started under that session. The old session will be removed
when all processes in it exit. Run "systemd-cgls" to see what these
processes are.


Re: [arch-general] libtirpc from testing breaks login

2012-11-01 Thread Jeff Van Dam
On Thu, Nov 1, 2012 at 2:20 PM, Arthur Titeica  wrote:

> On Thursday 01 November 2012 13:54:04 Jeff Van Dam wrote:
> > How did you determine which package was breaking logging in? Thank you.
>
> There were only 4 packages upgraded. This one seemed the best candidate.
>
> --
> Arthur Titeica
>
>
Thank you. This happened to me right after enabling the testing repo so I
had a pant load of updates and didn't know where to start...


Re: [arch-general] systemd + crypttab

2012-11-01 Thread Sebastian Schwarz
On 2012-11-01 at 14:03 -0400, Dave Reisner wrote:
> crypttab(5) explains that "nofail" is the option you want to use:

I also have an encrypted drive which might be present
at boot or not, but nofail isn't working for me, or at
least not as expected.  I already filed a bug upstream:
https://bugs.freedesktop.org/show_bug.cgi?id=54210

André, you could comment there whether nofail is working for
you or not.


Re: [arch-general] devtools?

2012-11-01 Thread Joakim Hernberg
On Thu, 01 Nov 2012 13:26:35 +1000
Allan McRae  wrote:

>  What is the mirror at the top of your /etc/pacman.d/mirrorlist?
> >>>
> >>> Server = http://ftp5.gwdg.de/pub/linux/archlinux/$repo/os/$arch
> >>>
> >>
> >> And that correctly ends up in the mirrorlist file in the created
> >> chroot?
> >>
> > 
> > No :(
> > 
> > jack@tor /home/jack $
> > cat /var/lib/archbuild/extra-x86_64/root/etc/pacman.d/mirrorlist
> > Server = 
> > 
> 
> Well...  we have located the bug then.   Can you post your mirrorlist
> file so we can see where it is failing at extracting this.

I doubt that it's the mirrorlist file, but for what it's worth:

http://dl.dropbox.com/u/879835/mirrorlist

-- 

   Joakim


[arch-general] Kernel 3.6.x panic

2012-11-01 Thread Guillermo Leira
Hello!

I have upgraded a system from Linux 3.5.6 to 3.6.4, and now I get a kernel
panic on boot. It's an i686 system.

I have tried to download to 3.6.3 and 3.6.2, and they also panic.

3.5.6 boots fine, but I had to remove nvidia and virtualbox. Then upgraded
again to 3.6.4, got the kernel panic, and downgraded again (just to discard
nvidia or virtualbox)

I don't know how to solve this. Messages in screen seem to be related to
scsi. I have removed an Adaptec card, but it makes no difference.

I can't get (or can't find) a log, but there are things like:

Oops:  [#2] PREEMPT SMP
Process scsi_eh_2 (pid: 57, ...
A lot of lines with references to libata and pata_acpi.

This is the hardware seen by lspci.

00:00.0 Host bridge: Intel Corporation 82915G/P/GV/GL/PL/910GL Memory
Controller Hub (rev 04)
00:01.0 PCI bridge: Intel Corporation 82915G/P/GV/GL/PL/910GL PCI Express
Root Port (rev 04)
00:1b.0 Audio device: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family)
High Definition Audio Controller (rev 02)
00:1c.0 PCI bridge: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family)
PCI Express Port 1 (rev 02)
00:1c.1 PCI bridge: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family)
PCI Express Port 2 (rev 02)
00:1c.2 PCI bridge: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family)
PCI Express Port 3 (rev 02)
00:1c.3 PCI bridge: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family)
PCI Express Port 4 (rev 02)
00:1d.0 USB controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6
Family) USB UHCI #1 (rev 02)
00:1d.1 USB controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6
Family) USB UHCI #2 (rev 02)
00:1d.2 USB controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6
Family) USB UHCI #3 (rev 02)
00:1d.3 USB controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6
Family) USB UHCI #4 (rev 02)
00:1d.7 USB controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6
Family) USB2 EHCI Controller (rev 02)
00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev d2)
00:1f.0 ISA bridge: Intel Corporation 82801FB/FR (ICH6/ICH6R) LPC Interface
Bridge (rev 02)
00:1f.1 IDE interface: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family)
IDE Controller (rev 02)
00:1f.2 IDE interface: Intel Corporation 82801FB/FW (ICH6/ICH6W) SATA
Controller (rev 02)
00:1f.3 SMBus: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) SMBus
Controller (rev 02)
01:00.0 VGA compatible controller: NVIDIA Corporation G84 [GeForce 8600 GS]
(rev a1)
04:00.0 Ethernet controller: Marvell Technology Group Ltd. 88E8050 PCI-E ASF
Gigabit Ethernet Controller (rev 15)
06:01.0 Multimedia controller: Philips Semiconductors SAA7134/SAA7135HL
Video Broadcast Decoder (rev 01)
06:02.0 Ethernet controller: Intel Corporation 82557/8/9/0/1 Ethernet Pro
100 (rev 0c)

The processor is an old P4 HT. Has been working fine for years, and still
does with the previous kernel.

Any ideas?

Thanks,

Guillermo Leira




Re: [arch-general] systemd + crypttab

2012-11-01 Thread André Vitor de Lima Matos
Didn't work. Still hanging for more than a minute.
journalctl gives me this entries:

Nov 01 13:18:36 midichlorian kernel: EXT4-fs (sdc2): mounted
filesystem with ordered data mode. Opts: (null)
Nov 01 13:18:36 midichlorian systemd[1]: Mounted /boot.
Nov 01 13:19:49 midichlorian systemd[1]: Job

dev-disk-by\x2duuid-1de06510\x2d7b5a\x2d4cb6\x2d9380\x2db7fcc586498e.device/start
timed out.
Nov 01 13:19:49 midichlorian systemd[1]: Timed out waiting for
device
dev-disk-by\x2duuid-1de06510\x2d7b5a\x2d4cb6\x2d9380\x2db7fcc586498e.device.
Nov 01 13:19:49 midichlorian systemd[1]: Dependency failed for
Cryptography Setup for Backup.
Nov 01 13:19:49 midichlorian systemd[1]: Dependency failed for
dev-mapper-Backup.device.
Nov 01 13:19:49 midichlorian systemd[1]: Job
dev-mapper-Backup.device/start failed with result 'dependency'.
Nov 01 13:19:49 midichlorian systemd[1]: Job
systemd-cryptsetup@Backup.service/start failed with result 'dependency'.
Nov 01 13:19:49 midichlorian systemd[1]: Job

dev-disk-by\x2duuid-1de06510\x2d7b5a\x2d4cb6\x2d9380\x2db7fcc586498e.device/start
failed with result 'timeout'.
Nov 01 13:19:49 midichlorian systemd[1]: Starting Local File Systems.
Nov 01 13:19:49 midichlorian systemd[1]: Reached target Local File
Systems.

Any idea?

Em 01-11-2012 16:03, Dave Reisner escreveu:
> On Thu, Nov 01, 2012 at 03:42:42PM -0200, André Vitor de Lima Matos wrote:
>> Hi.
>> I've a system where there's a harddisk encrypted with luks and a lvm pv
>> over it, used for backup. This disk is never removed or inserted while
>> system is online, but not in every boot up it's present.
>> Setting this volume in crypttab, when disk is absent, cryptsetup service
>> hangs for several seconds, before timing out and allowing systemd to
>> complete boot. There's any way of avoiding this, may be putting it to
>> background, or something like this?
>> Thanks,
>>
> crypttab(5) explains that "nofail" is the option you want to use:
>
>   nofail
>  The system will not wait for the device to show up and be
>  unlocked at boot, and not fail the boot if it doesn't show up.
>
> You'll need this in /etc/fstab as well.
>
> d

-- 
/-=| ? ? ? ? ? |=-\ «» ???
http://www.google.com/profiles/andre.vmatos


signature.asc
Description: OpenPGP digital signature


Re: [arch-general] Systemd and inactive sessions

2012-11-01 Thread Leonid Isaev
On Thu, 01 Nov 2012 22:57:41 +0100
Thomas Bächler  wrote:

> Am 01.11.2012 22:51, schrieb Matthew Monaco:
> >> $ loginctl show-session 1
> 
> Try session-status.
> 

Yes, found the ghost fetchmail process.

> > The session doesn't get removed completely until all processes belonging
> > to it's cgroup have closed on their own.
> 
> See man logind.conf, search for 'KillUserProcesses'.
> 

OK, changed to 'yes' to avoid future confusion... Loving the support :)

-- 
Leonid Isaev
GnuPG key: 0x164B5A6D
Fingerprint: C0DF 20D0 C075 C3F1 E1BE  775A A7AE F6CB 164B 5A6D


signature.asc
Description: PGP signature


Re: [arch-general] Systemd and inactive sessions

2012-11-01 Thread Leonid Isaev
On Thu, 01 Nov 2012 15:51:38 -0600
Matthew Monaco  wrote:

> On 11/01/2012 03:43 PM, Leonid Isaev wrote:
> > Hi,
> > 
> > I have just noticed that systemd-logind doesn't terminate inactive
> > sessions. For example, when I login, do something, then relogin, there are
> > 2 sessions:
> > $ loginctl 
> >SESSIONUID USER SEAT
> >  1   1000 lisaev   seat0   
> >  4   1000 lisaev   seat0
> > However, only session 4 is active. Session 1 is inactive and has
> > state=closing: $ loginctl show-session 1
> > Id=1
> > Timestamp=Thu, 2012-11-01 14:42:18 CDT
> > TimestampMonotonic=32156744
> > DefaultControlGroup=name=systemd:/user/lisaev/1
> > VTNr=1
> > TTY=tty1
> > Remote=no
> > Service=login
> > Leader=327
> > Audit=1
> > Type=tty
> > Class=user
> > Active=no
> > State=closing
> > KillProcesses=no
> > IdleHint=yes
> > IdleSinceHint=1351805395173515
> > IdleSinceHintMonotonic=6489608483
> > Name=lisaev
> > 
> > Is that expected?
> > 
> > Thanks,
> > 
> 
> The session doesn't get removed completely until all processes belonging to
> it's cgroup have closed on their own.

Ahh, you are right, there was a fetchmail running in the background. Thanks
for the help.

-- 
Leonid Isaev
GnuPG key: 0x164B5A6D
Fingerprint: C0DF 20D0 C075 C3F1 E1BE  775A A7AE F6CB 164B 5A6D


signature.asc
Description: PGP signature


Re: [arch-general] Systemd and inactive sessions

2012-11-01 Thread Thomas Bächler
Am 01.11.2012 22:51, schrieb Matthew Monaco:
>> $ loginctl show-session 1

Try session-status.

> The session doesn't get removed completely until all processes belonging to 
> it's
> cgroup have closed on their own.

See man logind.conf, search for 'KillUserProcesses'.



signature.asc
Description: OpenPGP digital signature


Re: [arch-general] Systemd and inactive sessions

2012-11-01 Thread Matthew Monaco
On 11/01/2012 03:43 PM, Leonid Isaev wrote:
> Hi,
> 
>   I have just noticed that systemd-logind doesn't terminate inactive
> sessions. For example, when I login, do something, then relogin, there are 2
> sessions:
> $ loginctl 
>SESSIONUID USER SEAT
>  1   1000 lisaev   seat0   
>  4   1000 lisaev   seat0
> However, only session 4 is active. Session 1 is inactive and has 
> state=closing:
> $ loginctl show-session 1
> Id=1
> Timestamp=Thu, 2012-11-01 14:42:18 CDT
> TimestampMonotonic=32156744
> DefaultControlGroup=name=systemd:/user/lisaev/1
> VTNr=1
> TTY=tty1
> Remote=no
> Service=login
> Leader=327
> Audit=1
> Type=tty
> Class=user
> Active=no
> State=closing
> KillProcesses=no
> IdleHint=yes
> IdleSinceHint=1351805395173515
> IdleSinceHintMonotonic=6489608483
> Name=lisaev
> 
> Is that expected?
> 
> Thanks,
> 

The session doesn't get removed completely until all processes belonging to it's
cgroup have closed on their own.


[arch-general] Systemd and inactive sessions

2012-11-01 Thread Leonid Isaev
Hi,

I have just noticed that systemd-logind doesn't terminate inactive
sessions. For example, when I login, do something, then relogin, there are 2
sessions:
$ loginctl 
   SESSIONUID USER SEAT
 1   1000 lisaev   seat0   
 4   1000 lisaev   seat0
However, only session 4 is active. Session 1 is inactive and has state=closing:
$ loginctl show-session 1
Id=1
Timestamp=Thu, 2012-11-01 14:42:18 CDT
TimestampMonotonic=32156744
DefaultControlGroup=name=systemd:/user/lisaev/1
VTNr=1
TTY=tty1
Remote=no
Service=login
Leader=327
Audit=1
Type=tty
Class=user
Active=no
State=closing
KillProcesses=no
IdleHint=yes
IdleSinceHint=1351805395173515
IdleSinceHintMonotonic=6489608483
Name=lisaev

Is that expected?

Thanks,
-- 
Leonid Isaev
GnuPG key: 0x164B5A6D
Fingerprint: C0DF 20D0 C075 C3F1 E1BE  775A A7AE F6CB 164B 5A6D


signature.asc
Description: PGP signature


[arch-general] GDM is unable to choose language

2012-11-01 Thread Rodrigo Rivas
Hello, list!

After the recent upgrade to GNOME 3.6 I've been having weird characters in
the gnome-terminal. For example, if I run "pstree" the tree lines are all
changed into .

After some debugging I traced the problem to a bogus GDM_LANG value
(en_GB.utf8) passed to the session launcher by GDM. The curious thing is
that the GDM greeter doesn't show any control to choose the language...
it's making it up! That locale doesn't even exist in my machine.

Now, I can change the LANG variable back to a sane value in a
"/etc/X11/xinit/xinitrc.d/01-fix-language" script, but that is just a hack.

So, two questions remains:

1. Doesn't the GDM greeter have a language chooser any more?
2. From where is GDM reading the GDM_LANG value?

Thank you in advance.
--
Rodrigo.


Re: [arch-general] What is FONT_MAP for?

2012-11-01 Thread Jan Steffens
On Thu, Nov 1, 2012 at 7:22 PM, "Jérôme M. Berger"  wrote:
> Damjan wrote:
>> On чет, 01 ное 2012 14:28:43 CET, "Jérôme M. Berger" wrote:
>>> Tom Gundersen wrote:
 On Thu, Nov 1, 2012 at 10:33 AM, "Jérôme M. Berger"
  wrote:
>  So what is FONT_MAP for?

 Check the setfont(8) manpage.

>>> Thanks. So if I understand correctly, it is useful for programs
>>> that output 8 bit characters that are not valid UTF-8 sequences and
>>> serves to convert their output into valid unicode for display, right?
>>
>> No,
>> some console fonts don't have a Unicode map, so they're essentially an
>> index -> glyph file where index is from 0-255. A unicode map adds a
>> "Unicode Code Point -> index" mapping.
>>
>> Most fonts in /usr/share/kbd/consolefonts should have bult-in maps
>> (haven't checked though). For those that don't have it, there's the -m
>> option in setfont or FONT_MAP.
>>
>> Without an unicode map, you must make sure the loaded font has the same
>> layout as the charset you're using. Without the unicode map you can't
>> use utf8
>>
> Now I'm confused. According to setfont(8), there are two kinds of
> maps (not counting the keymap): the console map (option -m) and the
> unicode font map (option -u). What you describes appears to be the
> unicode font map but that still leaves the other one.
>
> BTW, which does FONT_MAP refer to? I tried to grep through /etc to
> see how it is used in the initscripts, but this only shows the
> vconsole.conf entry...
>
> Jerome
> --
> mailto:jeber...@free.fr
> http://jeberger.free.fr
> Jabber: jeber...@jabber.fr
>

If you look at "man vconsole.conf", you see there's both FONT_MAP and
FONT_UNIMAP.

FONT_MAP refers to the console map, not the unicode font map.


Re: [arch-general] What is FONT_MAP for?

2012-11-01 Thread Jérôme M. Berger
Damjan wrote:
> On чет, 01 ное 2012 14:28:43 CET, "Jérôme M. Berger" wrote:
>> Tom Gundersen wrote:
>>> On Thu, Nov 1, 2012 at 10:33 AM, "Jérôme M. Berger"
>>>  wrote:
  So what is FONT_MAP for?
>>>
>>> Check the setfont(8) manpage.
>>>
>> Thanks. So if I understand correctly, it is useful for programs
>> that output 8 bit characters that are not valid UTF-8 sequences and
>> serves to convert their output into valid unicode for display, right?
> 
> No,
> some console fonts don't have a Unicode map, so they're essentially an
> index -> glyph file where index is from 0-255. A unicode map adds a
> "Unicode Code Point -> index" mapping.
> 
> Most fonts in /usr/share/kbd/consolefonts should have bult-in maps
> (haven't checked though). For those that don't have it, there's the -m
> option in setfont or FONT_MAP.
> 
> Without an unicode map, you must make sure the loaded font has the same
> layout as the charset you're using. Without the unicode map you can't
> use utf8
> 
Now I'm confused. According to setfont(8), there are two kinds of
maps (not counting the keymap): the console map (option -m) and the
unicode font map (option -u). What you describes appears to be the
unicode font map but that still leaves the other one.

BTW, which does FONT_MAP refer to? I tried to grep through /etc to
see how it is used in the initscripts, but this only shows the
vconsole.conf entry...

Jerome
-- 
mailto:jeber...@free.fr
http://jeberger.free.fr
Jabber: jeber...@jabber.fr



signature.asc
Description: OpenPGP digital signature


Re: [arch-general] libtirpc from testing breaks login

2012-11-01 Thread Arthur Titeica
On Thursday 01 November 2012 13:54:04 Jeff Van Dam wrote:
> How did you determine which package was breaking logging in? Thank you.

There were only 4 packages upgraded. This one seemed the best candidate.

-- 
Arthur Titeica



Re: [arch-general] SystemD: Is there a way to disable PrivateTmp globally?

2012-11-01 Thread Jan Steffens
On Thu, Nov 1, 2012 at 5:40 PM, "Jérôme M. Berger"  wrote:
> Hi,
>
> Is there a way to disable Private Tmp globally? I know I can
> disable it by copying all the affected unit files to /etc/systemd
> and removing it there but is there a way to disable it once and for all?
>
> The reasons I want to disable it are:
> - I don't need it: this is a single user machine that sits behind a
> firewall and doesn't run any publicly available servers, so the
> security issues that private tmp solves are not important for this
> machine;
> - I want to know where the files are, and I especially do not want
> them in a tmpfs. According to the docs I was able to find, private
> tmp is implemented using "kernel namespace" but that tells me
> nothing about where the data is stored;
> - I want to be able to access those files for debugging purposes.
> For example, I have some custom Apache modules that dump debug
> information to files in /tmp and I need to be able to access them.
> However, I haven't found any way to access the private tmp of a
> service, even as root.
>
> Thanks,
> Jerome
> --
> mailto:jeber...@free.fr
> http://jeberger.free.fr
> Jabber: jeber...@jabber.fr
>

The files are in subdirectories. /tmp/systemd-private-XX is bound to /tmp,
/var/tmp/systemd-private-XX is bound to /var/tmp.


Re: [arch-general] systemd + crypttab

2012-11-01 Thread Dave Reisner
On Thu, Nov 01, 2012 at 03:42:42PM -0200, André Vitor de Lima Matos wrote:
> Hi.
> I've a system where there's a harddisk encrypted with luks and a lvm pv
> over it, used for backup. This disk is never removed or inserted while
> system is online, but not in every boot up it's present.
> Setting this volume in crypttab, when disk is absent, cryptsetup service
> hangs for several seconds, before timing out and allowing systemd to
> complete boot. There's any way of avoiding this, may be putting it to
> background, or something like this?
> Thanks,
> 

crypttab(5) explains that "nofail" is the option you want to use:

  nofail
 The system will not wait for the device to show up and be
 unlocked at boot, and not fail the boot if it doesn't show up.

You'll need this in /etc/fstab as well.

d


Re: [arch-general] libtirpc from testing breaks login

2012-11-01 Thread Jeff Van Dam
On Tue, Oct 30, 2012 at 6:09 PM, Arthur Titeica  wrote:

> Hello,
>
> Just a heads up.
>
> It seems that the upgrade to libtirpc 0.2.2-3 from testing breaks systemd-
> logind/pam and logging in to the system is not possible except in rescue
> mode.
>
> https://bugs.archlinux.org/task/32308
>
> --
> Arthur Titeica
>


How did you determine which package was breaking logging in? Thank you.


[arch-general] systemd + crypttab

2012-11-01 Thread André Vitor de Lima Matos
Hi.
I've a system where there's a harddisk encrypted with luks and a lvm pv
over it, used for backup. This disk is never removed or inserted while
system is online, but not in every boot up it's present.
Setting this volume in crypttab, when disk is absent, cryptsetup service
hangs for several seconds, before timing out and allowing systemd to
complete boot. There's any way of avoiding this, may be putting it to
background, or something like this?
Thanks,



signature.asc
Description: OpenPGP digital signature


[arch-general] unable to boot up

2012-11-01 Thread Thomas Rand
Hey Archers,
my issue begins with me trying to patch vmware for 3.6.3-1-arch
I tried using vmware & this told me the modules were not present for
3.6.3 so I went to grab latest from AUR (vmware-patch), the comments
on there suggested that the ones for 3.5.x still worked but needed to
be rebuilt.

so I read these instructions:
https://wiki.archlinux.org/index.php/VM … stallation

I noticed that in the finishing up section it gave a warning that if I
update the kernel need too issue the following:

vmware-modconfig --console --install-all

so I ran this & tried to run vmplayer
this opened but crashed as soon as i tried to play a VM, I then
decided that as I had not used it for some time I would just remove
it:

vmware-installer --uninstall-product vmware-player

this finished & so I ran:

pacman -R vmware-patch

all was ok (so I thought) a while later I had to reboot to do
something in my win7 install (non volatile) upon completing I rebooted
back to arch & now my install refuses to boot & I see:

Failed to start load Kernel Modules [FAILED] see 'systemctl status
systemd-modules-load.service' for details

obviously systemd fall's over & offers to enter password or control-D
to continue

well the system refuses to go any further & locks up totally (no
flashing kbd lights like a panic though!)
the exact same happens when I boot the fallback kernel

I can chroot into it using the old media (CORE 2011.08.19) which is
the most recent I have, whilst chrooted in I thought perhaps the old
vmware modules did not get removed correctly so I blacklisted them in:

/etc/modprobe.d/vmware.conf

blacklist vmmon
[...]

I have managed to get into the system using the following boot parameter:

systemd.unit=rescue.target

I then ran:

systemctl status systemd-modules-load.service

this provided the default message about the service not starting but
no reason why or what caused it to fail

So any advice or way forward would be appreciated as I am totally lost
& have googled everything I can think of which may help but this is
the first time I have b0rk3d the modules & am lost as to what to do.

-- 
Regards
Thomas Rand


[arch-general] SystemD: Is there a way to disable PrivateTmp globally?

2012-11-01 Thread Jérôme M. Berger
Hi,

Is there a way to disable Private Tmp globally? I know I can
disable it by copying all the affected unit files to /etc/systemd
and removing it there but is there a way to disable it once and for all?

The reasons I want to disable it are:
- I don't need it: this is a single user machine that sits behind a
firewall and doesn't run any publicly available servers, so the
security issues that private tmp solves are not important for this
machine;
- I want to know where the files are, and I especially do not want
them in a tmpfs. According to the docs I was able to find, private
tmp is implemented using "kernel namespace" but that tells me
nothing about where the data is stored;
- I want to be able to access those files for debugging purposes.
For example, I have some custom Apache modules that dump debug
information to files in /tmp and I need to be able to access them.
However, I haven't found any way to access the private tmp of a
service, even as root.

Thanks,
Jerome
-- 
mailto:jeber...@free.fr
http://jeberger.free.fr
Jabber: jeber...@jabber.fr



signature.asc
Description: OpenPGP digital signature


Re: [arch-general] What is FONT_MAP for?

2012-11-01 Thread Damjan

On чет, 01 ное 2012 14:28:43 CET, "Jérôme M. Berger" wrote:

Tom Gundersen wrote:

On Thu, Nov 1, 2012 at 10:33 AM, "Jérôme M. Berger"  wrote:

 So what is FONT_MAP for?


Check the setfont(8) manpage.


Thanks. So if I understand correctly, it is useful for programs
that output 8 bit characters that are not valid UTF-8 sequences and
serves to convert their output into valid unicode for display, right?


No,
some console fonts don't have a Unicode map, so they're essentially an 
index -> glyph file where index is from 0-255. A unicode map adds a 
"Unicode Code Point -> index" mapping.


Most fonts in /usr/share/kbd/consolefonts should have bult-in maps 
(haven't checked though). For those that don't have it, there's the -m 
option in setfont or FONT_MAP.


Without an unicode map, you must make sure the loaded font has the same 
layout as the charset you're using. Without the unicode map you can't 
use utf8



--
дамјан


[arch-general] shorewall-init

2012-11-01 Thread Paul Gideon Dann
Hi all,

Does anyone know if the shorewall-init feature of shorewall (to deal better 
with interfaces going up and down) has been packaged somehow?  I'm not seeing 
any indication of the associated configuration files, although the shorewall-
init manpage exists.

See the following for more info:
http://www.shorewall.net/Shorewall-init.html

Paul


Re: [arch-general] What is FONT_MAP for?

2012-11-01 Thread Jérôme M. Berger
Tom Gundersen wrote:
> On Thu, Nov 1, 2012 at 10:33 AM, "Jérôme M. Berger"  wrote:
>> So what is FONT_MAP for?
> 
> Check the setfont(8) manpage.
> 
Thanks. So if I understand correctly, it is useful for programs
that output 8 bit characters that are not valid UTF-8 sequences and
serves to convert their output into valid unicode for display, right?

Jerome
-- 
mailto:jeber...@free.fr
http://jeberger.free.fr
Jabber: jeber...@jabber.fr



signature.asc
Description: OpenPGP digital signature


Re: [arch-general] [arch-dev-public] Big changes to LVM2 in testing

2012-11-01 Thread Thomas Bächler
Am 01.11.2012 15:22, schrieb Christian Hesse:
> Thomas Bächler  on Thu, 2012/11/01 02:05:
>> I discovered some new awesomeness in LVM2 (okay, not THAT new, but
>> still, so far unknown to me).
> 
> Just to be sure and as "in testing" can lead to some confusion... This has
> been enabled in 2.02.98-2?

Yes, correct.




signature.asc
Description: OpenPGP digital signature


Re: [arch-general] [arch-dev-public] Big changes to LVM2 in testing

2012-11-01 Thread Christian Hesse
Thomas Bächler  on Thu, 2012/11/01 02:05:
> I discovered some new awesomeness in LVM2 (okay, not THAT new, but
> still, so far unknown to me).

Just to be sure and as "in testing" can lead to some confusion... This has
been enabled in 2.02.98-2?
-- 
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);}


Re: [arch-general] PowerDNS systemd script

2012-11-01 Thread Alexander Rødseth
Hi,

Yes, I will add systemd support for pdns as soon as I can.

- Alexander

2012/10/31 Δημήτρης Ζέρβας <01tto...@gmail.com>:
> thank you! :)
> --
> (\_ /) copy the bunny to your profile
> (0.o ) to help him achieve world domination.
> (> <) come join the dark side.
> /_|_\ (we have cookies.)
>
>
>
> On Thu, Nov 1, 2012 at 12:29 AM, Tom Gundersen  wrote:
>
>> On Wed, Oct 31, 2012 at 10:08 PM, Δημήτρης Ζέρβας <01tto...@gmail.com>
>> wrote:
>> > Does anyone have a systemd unit for pdns?
>>
>> I just moved it to community, where Alexander Rødseth will adopt it. I
>> expect a unit to appear shortly :-)
>>
>> Cheers,
>>
>> Tom
>>



-- 
Best regards,
  Alexander Rødseth
  xyproto / trontonic / TU


Re: [arch-general] A systemd less Linux alternative to Arch is hard to find but exists

2012-11-01 Thread Tom Gundersen
Sorry, I let these messages through in error.

I don't think this discussion will go anywhere, so let's just close it here.

-t


Re: [arch-general] What is FONT_MAP for?

2012-11-01 Thread Tom Gundersen
On Thu, Nov 1, 2012 at 10:33 AM, "Jérôme M. Berger"  wrote:
> So what is FONT_MAP for?

Check the setfont(8) manpage.

-t


Re: [arch-general] GNOME 3.6 upgrade / GDM / Removed consolekit

2012-11-01 Thread Simon Perry
On 01/11/12, Simon Perry wrote:

| On 31/10/12, Thomas Bächler wrote:
| 
| | VTNr=0 seems wrong.
| 
| Ok, thanks for that. I'm at work now, and on my laptop here VTNr=1 and
| Active=yes so it's all good on this machine.

Solved - I noticed that getty@tty1.service has:

After=rc-local.service

I disabled rc-local.service, rebooted and it worked.

So I modified my rc-local.service file to include a Before statement:

[Unit]
Description=/etc/rc.local Compatibility
Before=display-manager.service

[Service]
Type=oneshot
ExecStart=/etc/rc.local
TimeoutSec=0
StandardInput=tty
RemainAfterExit=yes

[Install]
WantedBy=multi-user.target

Works fine now. Thanks again for putting my on the right track!

Cheers.

-- 
Simon Perry (aka Pezz)



pgpIpOHa4l98B.pgp
Description: PGP signature


[arch-general] What is FONT_MAP for?

2012-11-01 Thread Jérôme M. Berger
Hi,

I've looked in the wiki, but I cannot find what FONT_MAP is for.
This wiki page seems to confuse it with the keymap:
https://wiki.archlinux.org/index.php/Fonts#Console_fonts since it
says "Now, set the proper keymap, [...]: FONT_MAP=...". However, I
thought the keymap was configured with "KEYMAP=...".

My system appears to work with:
KEYMAP="fr-latin1"
FONT="ter-122b"
FONT_MAP=""

I can't type accented characters in the console (neither the text
consoles F1-F6, nor the X terminals like urxvt or konsole) but those
characters are displayed fine when I cat a UTF-8 file. Not a big
issue, just curious.

So what is FONT_MAP for?

Thanks,
Jerome
-- 
mailto:jeber...@free.fr
http://jeberger.free.fr
Jabber: jeber...@jabber.fr



signature.asc
Description: OpenPGP digital signature


Re: [arch-general] Systemd : A big big thanks to all the dev work

2012-11-01 Thread Jeff Van Dam
Yes, great work thank you. Two laptops, no problems, and my old slow
netbook is booting like a champ.


On Wed, Oct 31, 2012 at 9:18 PM, Kyle  wrote:

> According to Arno Gaboury:
> # I just wanted to publicly thanks all the Arch devs for this smooth
> # transition.
>
> That's a big +1 for me. I also was using systemd long before it became
> part of the base installation, and couldn't have been more pleased with the
> performance boost I got even on a very old, very slow system after
> deployment, and I was not at all disappointed when I got my main box back
> up and rolling and deployed systemd on it as well. Thanks for all the great
> work that went into making it as good as it is now, and I look forward to
> future developments as well.
> ~Kyle
> http://kyle.tk
> --
> Linux killed Kenny, bastard!
> --Subject of a real e-mail to the Linux kernel mailing list
> 12 January, 2009
>


Re: [arch-general] A systemd less Linux alternative to Arch is hard to find but exists

2012-11-01 Thread gt
On Wed, Oct 31, 2012 at 05:14:22PM +, Kevin Chadwick wrote:
> Forgot a change Tom requested, please reject previous if not too late!
> 
> >  I'm sure I will
> > have to switch to systemd on all my systems eventually, but I don't
> > give up that easily ;-)
> 
> 
> For those looking for many of the plusses of Arch, you may want to
> check out Sabayon. The forums say there are no other distros akin
> enough to Arch, and that you will be stuck with systemd eventually
> anyway but I disagree and you may be surprised about what Sabayon
> offers and the similarities to Arch.

I have heard that sabayon is slow, i don't know if that's true or not.
Also, If one needs to compile a few packages such as we do from the abs,
should portage be used?, since it isn't generally advised to mix binary
packages and portage.

Also, have you tried calculate linux?

In any case i don't know why anyone would leave arch and want to use
systemd on sabayon :P