x11/slim is a X11 login manager. When used as the default desktop
manager through /etc/ttys the login screen comes up ok but init emits a
stream of 'getty repeating too quickly' for the corresponding terminal.
This is due to the use of an uninitialized boolean variable
('daemonmode'); with gcc optimization above O0 the memory allocated via
'new' is not zeroed out, thus 'daemonmode' defaults to values other than
0. Furthermore, the code only checks for equality with 'false', thus
x11/slim enters daemon mode by default, hence the 'getty...' error
stream. This is with both gcc 4.2.x on 7-CURRENT and 3.4.x on 6-STABLE.
How-To-Repeat: Install x11/slim and use it as a desktop manager through /etc/ttys.
Awaiting maintainers feedback
Thanks a lot for this patch. It works nicely. I will submit it upstream
for inclusion, and integrate it into the freshly released 1.3.0, for
which I will send a PR in the next few days. This PR can be closed.
Close by maintainer request.
rafan 2007-07-19 16:09:00 UTC
FreeBSD ports repository
x11/slim Makefile distinfo
x11/slim/files patch-Makefile.freebsd patch-app.cpp
- Update to 1.3.0 
- Respect PREFIX 
- Remove 4.x check 
- Allow slim starting from /etc/ttys 
PR: ports/114708 , ports/114366 
Submitted by: Tobias Roth <ports at fsck.ch> (maintainer) ,
Nikos Ntarmos <ntarmos at ceid.upatras.gr> 
Approved by: maintainer 
Revision Changes Path
1.9 +13 -22 ports/x11/slim/Makefile
1.4 +3 -3 ports/x11/slim/distinfo
1.3 +12 -9 ports/x11/slim/files/patch-Makefile.freebsd
1.2 +11 -29 ports/x11/slim/files/patch-app.cpp
1.2 +0 -12 ports/x11/slim/files/patch-cfg.cpp (dead)
1.4 +4 -4 ports/x11/slim/files/patch-slim.conf
1.1 +7 -0 ports/x11/slim/files/pkg-message.in (new)
1.3 +5 -1 ports/x11/slim/files/slim.sh.in
firstname.lastname@example.org mailing list
To unsubscribe, send any mail to "email@example.com"