Does tmpfs exist at all on FreeBSD?

2007-05-14 Thread Jerome Warnier
I found yet another bug, in /etc/init.d/mountkernfs.sh this time
(package initscripts).
It tries to mount a tmpfs on /lib/init/rw.

The offending lines at the beginning are:
RW_OPT=
[ "${RW_SIZE:=$TMPFS_SIZE}" ] && RW_OPT=",size=$RW_SIZE"
domount tmpfs "" /lib/init/rw tmpfs -omode=0755,nosuid$RW_OPT
touch /lib/init/rw/.ramfs

Of course, there are further lines, but as they are not used by default
(ie without editing /etc/default/tmpfs), they are not as troublesome.

Hope it helps
-- 
Jérôme Warnier
FLOSS Consultant
http://beeznest.net



Re: Installing GNOME

2007-05-14 Thread Jerome Warnier
Le lundi 14 mai 2007 à 09:43 +0200, Jerome Warnier a écrit :
> Le lundi 14 mai 2007 à 07:27 +0200, Aurelien Jarno a écrit :
> > Jerome Warnier a écrit :
> > > Hi,
> > > 
> > > I just tried the latest installation CD of GNU/kFreeBSD today.
> > > It seems to work fine, except several things.
> > > 
> > > The first one is that I cannot get to install GNOME. Several unsolvable
> > > dependencies are making it impossible, while it works in GNU/Linux Sid.
> > > How should I report this, and how could I help solving it?
> > > I'm already  confident with packaging for Debian GNU/Linux, but I'm not
> > > a DD, though I would love to become one someday.
> > > 
> > 
> > This is a known problem. The main server of GNU/kFreeBSD has experienced
> > a downtime, which prevents packages from being built for two weeks.
> > 
> > We are now trying to build the missing packages, but it has to be done
> > in the correct order, so there is a lot of work. KDE suffer from the
> > same problem.
> First problem I see is with latest libhal-dev not available (FTBFS).
I reported it as https://bugs.freedesktop.org/show_bug.cgi?id=10940

> I will also take a look at building OOo, as the machine (and possibly
> others) will eventually be used as an office workstation.
> 
> > Bye,
> > Aurelien
-- 
Jérôme Warnier
FLOSS Consultant
http://beeznest.net



Re: kbdcontrol: typo in initscript

2007-05-14 Thread Petr Salinger

Fixed in svn, see

http://svn.debian.org/wsvn/glibc-bsd/?op=log&sc=1

Petr


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



kbdcontrol: typo in initscript

2007-05-14 Thread Jerome Warnier
Package: kbdcontrol
Version: 6.2-3
Severity: minor

The "Usage" line in initscript shows a moutall.sh, which is probably a leftover.
Please replace it with $0.

Thanks

-- System Information:
Debian Release: lenny/sid
Architecture: kfreebsd-i386 (i686)

Kernel: kFreeBSD 6.2-1-686
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/bash

Versions of packages kbdcontrol depends on:
ii  debconf1.5.13Debian configuration management sy
ii  libbsd00.0-1.2+r1710 BSD compatibility library - shared
ii  libc0.12.5-7 GNU C Library: Shared libraries
ii  libfreebsd00.0-5 FreeBSD compatibility library - sh

kbdcontrol recommends no packages.

-- debconf information excluded


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Bug report: module-init-tools: depends upon sort and uniq, which are located in /usr

2007-05-14 Thread Jerome Warnier
Le lundi 14 mai 2007 à 11:53 +0200, Petr Salinger a écrit :
> > I tried to report it using reportbug, but it ended in Debian's official
> > BTS as #423662 (so maybe this is another bug to report) and was almost
> > instantly closed. Feel free to point me to the right place to report.
> 
> Ohh, you just discovered bug in a package, that have compeletely different
> content compared to Linux one (and is from different source package).
Don't worry, I have more. ;-)
> There is a small number of such kfreebsd specific packages,
> this one belongs to them.

> > Here is the report as generated by reportbug:
> > Package: module-init-tools
> > Version: 6.2-3
> > Severity: normal
> >
> > The initscript module-init-tools uses /usr/bin/sort and /usr/bin/uniq
> > while /usr may not yet be mounted. Worst, it is the default with the
> > current installation.
> 
> As a workaround, just drop "| sort | uniq" from the initscript.
> In the worst case, it will show confusing
> "Not loading xxx (already loaded)".
> 
> Proper fix would be write "sort -u" using only /bin a /sbin binaries.
1) I see how to do it just using awk, which is unluckily in /usr/bin
also so doesn't solve anything.
2) It would be slightly more efficient, even if hardly noticeable to
remove the call to uniq and only use "sort -u"
3) But as the next step in this script is to:
 if ! kldstat -n $i >/dev/null 2>/dev/null
It should do no harm at all to remove completely the sort|uniq pair.

> Any volunteer ? ;-)
> 
> Petr
-- 
Jérôme Warnier
FLOSS Consultant
http://beeznest.net



Re: Reportbug

2007-05-14 Thread Petr Salinger

Is it a good idea to use reportbug to submit bug reports to Debian
GNU/kFreeBSD?


It depends ...

The most common problem would be FTBFS, in this case, please submit 
bugs only with patch (or recipe) to fix that.

See link "Patches submitted in the Debian BTS" from
http://wiki.debian.org/Debian_GNU/kFreeBSD

Petr


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Bug report: module-init-tools: depends upon sort and uniq, which are located in /usr

2007-05-14 Thread Petr Salinger

I tried to report it using reportbug, but it ended in Debian's official
BTS as #423662 (so maybe this is another bug to report) and was almost
instantly closed. Feel free to point me to the right place to report.


Ohh, you just discovered bug in a package, that have compeletely different
content compared to Linux one (and is from different source package).
There is a small number of such kfreebsd specific packages,
this one belongs to them.


Here is the report as generated by reportbug:
Package: module-init-tools
Version: 6.2-3
Severity: normal

The initscript module-init-tools uses /usr/bin/sort and /usr/bin/uniq
while /usr may not yet be mounted. Worst, it is the default with the
current installation.


As a workaround, just drop "| sort | uniq" from the initscript.
In the worst case, it will show confusing
"Not loading xxx (already loaded)".

Proper fix would be write "sort -u" using only /bin a /sbin binaries.
Any volunteer ? ;-)

Petr


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Bug report: module-init-tools: depends upon sort and uniq, which are located in /usr

2007-05-14 Thread Jerome Warnier
I tried to report it using reportbug, but it ended in Debian's official
BTS as #423662 (so maybe this is another bug to report) and was almost
instantly closed. Feel free to point me to the right place to report.

Here is the report as generated by reportbug:
Package: module-init-tools
Version: 6.2-3
Severity: normal

The initscript module-init-tools uses /usr/bin/sort and /usr/bin/uniq
while /usr may not yet be mounted. Worst, it is the default with the 
current installation.

Regards

-- System Information:
Debian Release: lenny/sid
Architecture: kfreebsd-i386 (i686)

Kernel: kFreeBSD 6.2-1-686
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/bash

Versions of packages module-init-tools depends on:
ii  debconf1.5.13Debian configuration
management sy
ii  kfreebsd-image-6.2-1-486 [ 6.2-2 kernel of FreeBSD 6.2 image
ii  kfreebsd-image-6.2-1-686 [ 6.2-2 kernel of FreeBSD 6.2 image
ii  libbsd00.0-1.2+r1710 BSD compatibility library -
shared
ii  libc0.12.5-7 GNU C Library: Shared
libraries
ii  libfreebsd00.0-5 FreeBSD compatibility
library - sh

module-init-tools recommends no packages.

-- debconf information:
* module-init-tools/other: r128, unionfs
* module-init-tools/sound: snd_cs4281, snd_es137x, snd_ess, snd_sb16,
snd_sb8, snd_sbc (Creative Sound Blaster ISA and compatible)
* module-init-tools/network:
-- 
Jérôme Warnier
FLOSS Consultant
http://beeznest.net



Re: Installing GNOME

2007-05-14 Thread Jerome Warnier
Le lundi 14 mai 2007 à 07:27 +0200, Aurelien Jarno a écrit :
> Jerome Warnier a écrit :
> > Hi,
> > 
> > I just tried the latest installation CD of GNU/kFreeBSD today.
> > It seems to work fine, except several things.
> > 
> > The first one is that I cannot get to install GNOME. Several unsolvable
> > dependencies are making it impossible, while it works in GNU/Linux Sid.
> > How should I report this, and how could I help solving it?
> > I'm already  confident with packaging for Debian GNU/Linux, but I'm not
> > a DD, though I would love to become one someday.
> > 
> 
> This is a known problem. The main server of GNU/kFreeBSD has experienced
> a downtime, which prevents packages from being built for two weeks.
> 
> We are now trying to build the missing packages, but it has to be done
> in the correct order, so there is a lot of work. KDE suffer from the
> same problem.
First problem I see is with latest libhal-dev not available (FTBFS).

I will also take a look at building OOo, as the machine (and possibly
others) will eventually be used as an office workstation.

> Bye,
> Aurelien
-- 
Jérôme Warnier
FLOSS Consultant
http://beeznest.net



Re: Installing GNOME

2007-05-14 Thread Jerome Warnier
Le lundi 14 mai 2007 à 08:32 +0200, Petr Salinger a écrit :
> Hi.
> 
> >> I just tried the latest installation CD of GNU/kFreeBSD today.
> >> It seems to work fine, except several things.
> >>
> >> The first one is that I cannot get to install GNOME. Several unsolvable
> >> dependencies are making it impossible, while it works in GNU/Linux Sid.
> >> How should I report this, and how could I help solving it?
> >> I'm already  confident with packaging for Debian GNU/Linux, but I'm not
> >> a DD, though I would love to become one someday.
> >>
> >
> > This is a known problem. The main server of GNU/kFreeBSD has experienced
> > a downtime, which prevents packages from being built for two weeks.
> >
> > We are now trying to build the missing packages, but it has to be done
> > in the correct order, so there is a lot of work. KDE suffer from the
> > same problem.
> 
> You can also put into /etc/apt/sources.list
> 
> deb http://ftp.gnuab.org/debian-snapshot/2007-04-05 unstable main
> deb http://ftp.gnuab.org/debian-snapshot/2007-04-05 unreleased main
> deb http://ftp.debian.org/debian dists/etch/main/binary-i386/
> 
> and comment-out all other lines (and refresh Packages by "apt-get update").
> 
> This way, you will get etch based snapshot, which does not contain
> many unsolvable dependencies. This should be sufficient for
> installing GNOME.
Thanks for the info. A little late, though, as I don't feel like
reinstalling now downgrading now.
However, this machine is not critical to me, I just installed it to see
how faster Debian GNU/kFreeBSD can be compared to GNU/Linux on aging
machines (early PII/III-class, of which I maintain a lot).
I'm willing to help fix the problems though. So I first try to notice,
then report, then try to provide a fix.

> Petr
-- 
Jérôme Warnier
FLOSS Consultant
http://beeznest.net