Hi,

Am Freitag, den 07.11.2008, 12:34 -0500 schrieb Stefan Monnier:
> Some of the config changes I made that I think might be worth making in
> the default install:
> 
> - enable busybox's syslog daemon.  I currently just start "busybox klogd"
>   and "busybox syslogd -C16" at startup, plus add a symlink "logread ->
>   busybox".

Could be looked into, yes.

> - Move the ~/.xsession-error messages to the syslog.  I don't do that
>   but my .xsession-errors is currently 4MB and constantly growing.
>   Of course, maybe the problem is in al those repeated messages I get
>   there like:
> 
>    checking for unsent messages
>    did not receive any unsent messages: org.freesmartphone.GSM.SIM.NotFound: 
> SimNotFound: org.freesmartphone.GSM.SIM.NotFound: 

Yes, maybe zhone should produce less output by default, or the loglevel
adjusted. BTW, does the .xsession-errors file get reset after a reboot,
as it does on a desktop machine after a re-login? If not, we need to
check who’s task that is (gdm? some session scripts?) and make sure we
get that on debian.

> - install xglamo rather than xorg.  It seems this is somewhat
>   controversial, but I think it makes sense to install the same server
>   used by the other FR distributions.  It also appears to use
>   less diskspace.

Aren’t there some severe and unresolved problems with xglamo and
matchbox-keyboard?

> - Make a symlink "/var/lib/apt/lists -> /var/cache/apt/lists"
>   But more importantly, mount tmpfs over /var/cache/apt.  This saves
>   a good deal of disk space and in my case it also sped up apt-get
>   update significantly (I was seeing *major* performance problems where
>   the "gzip" process would take forever (literally: I tried letting it
>   run for a few hours) to finish; it seemed to be a problem of
>   horrendously slow write; this was back on the 512MB uSD card,
>   I haven't tried to reproduce it since moving to the NAND).
>   The downside of course, is that doing "apt-get update" will eat your
>   RAM unless you add some swap space.  I find it OK: I just get used to
>   rebooting after installing|upgrading packages.
> 
> - Actually IIRC mounting tmpfs over the apt lists area is mandatory on
>   the NAND because APT uses mmap on those files and jffs2 doesn't
>   support it (at least, that was the case last time I setup up my
>   "Debian USB Live" using jffs2).

These two divert too far from a standard Debian system IMHO, and should
not be default. But a good description of how and why doing so put at an
appropriate place, maybe linked from the list at section “Using your
Debian system” on http://wiki.debian.org/DebianOnFreeRunner would be
good.

> - install the sftp-server part of openssh-server (it's just 50KB; too
>   bad Debian currently requires you to install 7MB of files in order to
>   get it).

It’s not packaged separately, and we could not use dropbear any more,
right?

> - Use a non-root account for the main X11 session.  I haven't noticed
>   any downside, tho it may require some tweaks with sudo, but it makes
>   it more like a normal Debian system.

No problem with zhone so far? Then we should definitely look into that
for milestone 4.

> BTW, among the space savings, I also noticed that the /lib/modules that
> came with my Debian install was large (like 50MB) compared to about 5MB
> for the /lib/modules that came with my Om2008.9 distribution, so when
> I moved to NAND, I decided to use the Om kernel with its 5MB
> /lib/modules.

I think the rationale is that all features of the kernel should be
available. We could group and separate them into packages if it becomes
an issue.

> >    - /root/.xsession
> >      This is fundamental and should stay there like this, because
> >      otherwise at reboot Zhone will not come up
> 
> I don't understand: neither root nor my main user has a ~/.xsession file
> and I don't remember removing it, nor having to do anything special
> to avoid it.

You probably installed before we moved from zhone-session to nodm in the
installer script.

Greetings,
Joachim

-- 
Joachim "nomeata" Breitner
Debian Developer
  [EMAIL PROTECTED] | ICQ# 74513189 | GPG-Keyid: 4743206C
  JID: [EMAIL PROTECTED] | http://people.debian.org/~nomeata

Attachment: signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil

_______________________________________________
Smartphones-userland mailing list
Smartphones-userland@linuxtogo.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/smartphones-userland

Reply via email to