On 04/06/2014 01:19 AM, thomas wrote:
> Am Samstag, den 05.04.2014, 16:41 -0500 schrieb Bruce Dubbs:
>> Working with systemd, there seem to be lots of "learning" issues.
>>
>> I was trying to watch the boot sequence and the screen clears and I get 
>> a login prompt.  How to disable clearing the screen?  Well that's simple 
>> enough:
>>
>> mkdir -p /etc/systemd/system/getty@tty1.service.d
>>
>> cat > /etc/systemd/system/getty@tty1.service.d/noclear.conf < EOF
>> [service]
>> TTYVTDisallocate=no
>> EOF
> 
> So you finally managed to start discovering all the real and fancy
> benefits of systemd. It has been really time now that a system comes up
> which forces the user to figure out how to deal with the login prompt
> again. Think about what else you could do in this time this new stuff
> prevents you from. Thanks the lord, otherwise you could even go meet
> friends and have a nice weekend. Ah, by default or not (i don't know),
> systemd ignores the /tmp mointpoint in fstab and handle it by itself
> somehow. It was overdue that something comes up which spread everything
> cross over the machine away from the places it alway has been. Too long
> we where stuck in /etc/fstab. Too long all the systems has simply

systemd has so called ".mount" files that act as a (not sure if this is
a right word) fstab "lines". There is a file shipped by systemd called
"tmp.mount" that will mount /tmp as a tmpfs as default. But as
everything else, defaults can be overriden. No single person/project can
please everyone.

To override or even to disable (called "mask") default (or any kind of)
unit in systemd environment is to create a file with the same name in
/etc/systemd/system as a symlink to /dev/null. In this case it would be
"ln -s /dev/null /etc/systemd/system/tmp.mount" if I'm not mistaken.

> worked. Next you will find a challenge to tell journalctl not immediatly
> end to command line when Ctrl-C has been given to end live-log-mode. The
> oldfashion "less" does that, but this pager worked well for too long,
> its time to do it in a new way. That's all real benefical stuff to deal
> with, proper invested time...

On my system, journalctl uses less. If for some reason it doesn't on
yours, you can always export PAGER env var, ie PAGER=less. Simple "q"
works to terminate pager here.

> </sarcasm>
> 
> Error: tag </sarcasm> without opening tag
> 
> --
> Sorry about that, but I still think it was one of the worst moves LFS
> has ever done. But it seems that I'm the only one thinking that way and
> facing that, it seems that I'm too old now for that shit^H^H^Htuff.
> 
> I believe giving the user the option between systemd and sysvinit is
> brilliant and in times systemd seems to become more popular (for
> whatever reason) simply consequent and valid. But I really do not
> understand the point in having both in parallel on the machine. The
> option should apply to the build time.

Yea, I'd prefer the same approach, but that would make it way harder for
BLFS. Ie, some packages in BLFS will be installed if building systemd,
others will not, and having two udevs will cause twice the trouble for
post-LFS part (2 udev sections, for gudev lib, etc).

> 
> Anyway, lets see the future will bring...
> Good luck!
> 
> 


-- 
Note: My last name is not Krejzi.
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page

Reply via email to