You are not logged in.

#1 2013-09-12 10:49:19

badfish
Member
Registered: 2011-06-16
Posts: 4

Bug in mkarchiso or kernel?

Before running mkarchiso, I've got:

  $ mount | grep pts
  devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000)

Then I run mkarchiso and it does this:

  mount -t devpts devpts "${work_dir}/root-image/dev/pts"
  ...
  umount "${work_dir}/root-image/dev/pts"

and afterwards I see this:

  $ mount | grep pts
  devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,mode=600,ptmxmode=000)

And now I can't run another copy of urxvt; it fails trying to change the owner of the entry it creates in /dev/pts. But xterm works OK.

Who should I report this bug to? Is it a bug in mkarchiso (for mounting the devpts filesystem), or in systemd (which is supposed to be handling the devpts file system), or in the kernel (for changing the gid and mode of the 1st mount when I do the 2nd) or even in urxvt (for doing something that xterm finds unnecessary) ?

Offline

#2 2013-09-17 17:41:00

Mr Green
Forum Fellow
From: U.K.
Registered: 2003-12-21
Posts: 5,914
Website

Re: Bug in mkarchiso or kernel?

Have asked on archiso mailing list about this one as I am having the same issue but with lxterminal.


Mr Green

Offline

#3 2013-09-17 17:50:20

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Bug in mkarchiso or kernel?

Mr Green wrote:

Have asked on archiso mailing list about this one as I am having the same issue but with lxterminal.

The thread in question: https://mailman.archlinux.org/pipermail … 03266.html

https://bbs.archlinux.org/viewtopic.php … 5#p1312645
https://mailman.archlinux.org/pipermail … 33999.html

Offline

#4 2013-09-17 17:56:56

Mr Green
Forum Fellow
From: U.K.
Registered: 2003-12-21
Posts: 5,914
Website

Re: Bug in mkarchiso or kernel?

Do not have devpts in fstab

# 
# /etc/fstab: static file system information
#
# <file system>	<dir>	<type>	<options>	<dump>	<pass>
tmpfs		/tmp	tmpfs	nodev,nosuid,size=7G 0	0

/dev/sda2 /     ext4 defaults,noatime,discard 0 1
/dev/sda3 /home ext4 defaults,noatime,discard,x-systemd.automount 0 1
/dev/sda4 /var  ext4 defaults,noatime,discard 0 1

Mr Green

Offline

#5 2013-09-17 17:58:42

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Bug in mkarchiso or kernel?

That's my only lead / guess: it has something to do with glibc 2.18.

Offline

#6 2013-09-17 18:02:25

Mr Green
Forum Fellow
From: U.K.
Registered: 2003-12-21
Posts: 5,914
Website

Re: Bug in mkarchiso or kernel?

It only happens when I run mkarchiso

references

  mount -t devpts devpts "${work_dir}/root-image/dev/pts"
 umount "${work_dir}/root-image/dev/pts"

Mr Green

Offline

#7 2013-09-17 18:06:45

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Offline

#8 2013-09-17 18:14:05

Mr Green
Forum Fellow
From: U.K.
Registered: 2003-12-21
Posts: 5,914
Website

Re: Bug in mkarchiso or kernel?

Will just have to keep an eye out for any changes to glibc, guess its not really an arch-releng issue. Took me a while to figure out why lxterminal stopped working wink

Just tried building iso with those lines above commented out iso runs ok.... YMMV

Last edited by Mr Green (2013-09-17 18:29:47)


Mr Green

Offline

Board footer

Powered by FluxBB