[systemd-devel] systemd-218 clfsmultilib linux-3.18.5 wont boot

2015-02-11 Thread lux-integ
Greetings I have a recently minted x86 clfs multilib build ) ( http://clfs.org/view/git/x86_64/ ) I am using stuff out of git with modifications such as linux-3.18.5 systemd-218 It refuses to boot On startup it reports [OK] reached target network [5.123288] systemd[1] reached target Networ

Re: [systemd-devel] help with compiling systemd-218 library only 32-bit multilib host

2015-02-09 Thread lux-integ
On Sunday 08 February 2015 16:52:47 Zbigniew Jędrzejewski-Szmek wrote: > Seriously, what's the point? All this complications to save a minute > or two of compile time? thanks for the hint everythinng is now OK however I found hard links to /usr/lib even when when passes --libexecdir=/usr/lib64 fo

[systemd-devel] help with compiling systemd-218 library only 32-bit multilib host

2015-02-08 Thread lux-integ
Greetings, I am having a go at compiling systemd on clfs-multilib described here:- ( http://clfs.org/view/git/x86_64/final-system/systemd.html ) Systemd-213 as in the book compiles for 32-bit. Paradoxically systemd-218 compiles for 64-bit as described ( on the next page ) here (http://clfs.o

Re: [systemd-devel] help with systemd socket file for programs in the quagga suite

2014-09-12 Thread lux-integ
On Friday 12 September 2014 18:28:30 Dave Reisner wrote: > I'll stop you here. You can't simply "synthesize" a socket unit for any > arbitrary program that uses a socket (regardless of the address family). > Socket units are specific to socket-activated services (which requires > code changes in th

[systemd-devel] help with systemd socket file for programs in the quagga suite

2014-09-12 Thread lux-integ
ams in the quagga suite AND the use of the lines ListenStream=PortNumberUsedByZebra BindToDevice=eth0 as /path/to/socket=/proc/sys/net/ipv6/conf/eth0 thanks in advance sincerely lux-integ ___ systemd-devel mailing list systemd-devel@lists.freedeskto

Re: [systemd-devel] transforming Iptables bash script to systemd service file -help

2014-09-12 Thread lux-integ
On Friday 12 September 2014 11:53:23 Simon McVittie wrote: > The way to do this is to write a script in the programming language of > your choice (bash is one possibility), and have the systemd service file > run that. There would be little point in systemd reinventing a generic > script interprete

[systemd-devel] transforming Iptables bash script to systemd service file -help

2014-09-12 Thread lux-integ
Greetings, I am attempting to learn to use systemd. I have an IPtbales script I intend to transform from a bash script to a systemd service file. It has lines such as iptables -A INPUt -p tcp ..-j ACCEPT which I intend to transform to ExecStart=iptables -A INPUT -p tcp ..-j ACCEPT

[systemd-devel] systemd read-only RootFS for flash-menory usage ?

2014-07-19 Thread lux-integ
above (/var in RAM and rest of FS is RO) is not feasible is there an alternative/better solution? Thanks in advance sincerely lux-integ ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman

[systemd-devel] guidance on how to start systemctrl with service files in specified locations

2013-11-08 Thread lux-integ
greetings I am learning to use systeMD. my computing machine has these:- --cpu- -amd64 --os blfsLinux linux-3.11.6, systemd-204 ( I think). I have created some systeMD service files for programs (call a typical one noise.service') and I placed then in say /path/to/bang. Now I want to s

Re: [systemd-devel] advice for fixing systemd206 installation please

2013-08-05 Thread lux-integ
On Monday 05 August 2013 16:15:03 Mantas Mikulėnas wrote: > Does `findmnt` show the same? Also, is your /etc/mtab a regular file, > or a symlink to /proc/self/mounts? thanks i had overlooked this and this has fixed the phantom mount point problem On Monday 05 August 2013 16:15:03 Mantas Mikulėn

[systemd-devel] advice for fixing systemd206 installation please

2013-08-05 Thread lux-integ
greetings, I am attempt to learn how to use systemd. I installed systemd-206 on a machine with these:- --OS cblfs pure 64bit --cpu amd64 --kerernel linux-3.10.5 --no X11 but radeon GPU I am using all the 'systemd' defaults:- These are my findings:- --A) The machine boots to command prompt wi

Re: [systemd-devel] guidance on how to get systemd to function

2013-08-02 Thread lux-integ
On Friday 02 August 2013 10:34:37 Tom Gundersen wrote: > When you point init=/usr/lib/systemd/systemd, systemd will be PID1 and > it will start your default.target (typically pointing to > multi-user.target or graphical.target), which will pull in all the > needed dependencies thanks for your repl

Re: [systemd-devel] guidance on how to get systemd to function

2013-08-02 Thread lux-integ
On Friday 02 August 2013 10:29:54 Carlos Silva wrote: > You failed to say what's your distro. this is my distribution, made by compiling EVERYTHING from source code. I hope this is informative sincerely luxInteg ___ systemd-devel mailing list syste

[systemd-devel] guidance on how to get systemd to function

2013-08-02 Thread lux-integ
Greetings I am learning to use systemd. My computer has grub2 installed. the linux kernel version is linux-3.10.4. It has sysV-init and udev-182. I am about to remove udev and install systemd-206 ( and all the dependencies thereof ). I will thentry starting the machine with systemd.

Re: [systemd-devel] macros in systemd unit files question

2013-08-01 Thread lux-integ
On Thursday 01 August 2013 12:58:46 Tom Gundersen wrote: > 'm not following. Do you mean that systemd is already doing what you > need, not sure as I am just learning ...but suppose I have already mounted proc, run and sys and I want just a read only root filesystem --a) how do I get

Re: [systemd-devel] macros in systemd unit files question

2013-08-01 Thread lux-integ
On Thursday 01 August 2013 12:15:21 Colin Guthrie wrote: > The rootfs mount is called -.mount (i.e. a leading -) many thanks for this > To be honest with you tho', unless you are tailoring your system for a > very specific case yes this is so, it is remounting / (RW) earlier in the boot proces

Re: [systemd-devel] [Install] question

2013-08-01 Thread lux-integ
On Thursday 01 August 2013 08:00:49 Tomasz Torcz wrote: > You can stuff mkdir into ExecStartPre and cp into ExecStart; > you have to make your unit Require the mount unit (or go with the > automounter); activation of your work unit should trigger mount. many thanks for this __

Re: [systemd-devel] macros in systemd unit files question

2013-08-01 Thread lux-integ
On Wednesday 31 July 2013 14:36:25 Colin Guthrie wrote: > Mount units have to be named specially after their mount points, so be > careful there e.g. if the mount point is /mnt/mymountpoint then the unit > should be called mnt-mymountpoint.mount thanks for your reply Now I have an init script to

Re: [systemd-devel] [Install] question

2013-08-01 Thread lux-integ
On Thursday 01 August 2013 08:00:49 Tomasz Torcz wrote: > They cannot be in mount. There are few way to accomplish what you want, > but without details I can provide only vague directions. You need to > create unit for your work. You can stuff mkdir into ExecStartPre and cp > into ExecStart; y

[systemd-devel] [Install] question

2013-07-31 Thread lux-integ
Greetings, I am trying to learn to use systemd. I scanned through some of the online manpages and looked at some example unit files. I keep seeing [Install] WantedBy=multi-user.target or [Install] WantedBy=sysinit.target or some such I have for example a need to mount stuff (via a mount

Re: [systemd-devel] macros in systemd unit files question

2013-07-31 Thread lux-integ
On Wednesday 31 July 2013 14:22:35 Michal Vyskocil wrote: > You can split the logic into two mount units with opposite Condition > > #mountpoint.mount > [Unit] > Description=mount mountpoint > ConditionPathIsMountPoint=/mountpoint > > [Mount] > What=/dev/something > Where=/mountpoint > > #somewh

Re: [systemd-devel] macros in systemd unit files question

2013-07-31 Thread lux-integ
On Wednesday 31 July 2013 14:13:56 Tom Gundersen wrote: > > example please? > > Make a bash script (or whatever else) doing what you want (the > pseudo-code you posted). Save it as /usr/local/bin/foo and create a > unit file with ExecStart=/usr/local/bin/foo. thanks for your suggestion. just one

Re: [systemd-devel] macros in systemd unit files question

2013-07-31 Thread lux-integ
On Wednesday 31 July 2013 13:26:18 Tom Gundersen wrote: > If you really need a proper programming > language, then you'd be better off using a script and pointing > ExecStart to that. example please? ___ systemd-devel mailing list systemd-devel@lists.fr

[systemd-devel] macros in systemd unit files question

2013-07-31 Thread lux-integ
I am trying to learn systemD. I scaned through some of the man pages. I am here asking if systemD unit file synthesis can be made to support macros; for example of the following type:- #-- IF mountpoint exists /bin/mount /dev/something $mountpoint ELSE /bin/mount /dev

[systemd-devel] systemd.mount questions

2013-07-29 Thread lux-integ
I am attempting to learn how to use systemd. I read the man page on systemd.mount ( http://www.freedesktop.org/software/systemd/man/systemd.mount.html ) and I have two questions 1: say you want to mount proc, sys, run, dev, devpts, tmpfs do you need multiple systemd.mount files (1 for each

[systemd-devel] EnvironmentFile, (-)sign

2013-02-28 Thread lux-integ
I am new to systemd. I notice in the service files the 'EnvironmentFile' path variable is prepended by a minus (-) sign like so:- EnvironmentFile=-/etc/sysconfig/whatever Could somene advise if this is necessary/advisable/advantageous ... or not thanks in advance LuxInteg __

[systemd-devel] a little help with $MAINPID please

2013-02-23 Thread lux-integ
Greetings I am an absolute beginner with systemd. I came across the gentoo systemd script ( http://en.gentoo-wiki.com/wiki/Systemd ) for mysql-daemon. It has these lines:- ExecStart=/usr/sbin/mysqld --pid-file=/var/run/mysqld/mysqld.pid ExecStop=/bin/kill -15 $MAINPID PIDFile=/var/run/mysql

Re: [systemd-devel] loopback and dhclient advice please

2013-02-22 Thread lux-integ
On Friday 22 February 2013 11:34:20 Colin Guthrie wrote: > This kind of setup might be desirable in very basic custom > configurations where the full network "initscripts" are not needed. many thanks ___ systemd-devel mailing list systemd-devel@lists.fr

Re: [systemd-devel] loopback and dhclient advice please

2013-02-22 Thread lux-integ
On Friday 22 February 2013 10:00:39 Lennart Poettering wrote: > DHCP does not apply to the loopback device as the loopback is > unconditionally configured to 127.0.0.1, and dynamic configuration is > not necessary Thanks for you information concerning the loopback interface. But my question ANDed

[systemd-devel] loopback and dhclient advice please

2013-02-22 Thread lux-integ
Greetings, I am attempting to learn to implement systemd. I have been searching the internet for example unit files for the loopback interface (lo) and dhclient. I would be grateful for advce on the location of any or how to go about synthesising the said. thanks in advance sincerely lu

Re: [systemd-devel] howto system-d non-graphical screen

2013-02-20 Thread lux-integ
On Wednesday 20 February 2013 01:21:37 Kok, Auke-jan H wrote: > On Tue, Feb 19, 2013 at 4:58 PM, lux-integ wrote: > > greetings, > > I am interested in learning to use systemd with output to an > > alphanumeric character screen (i.e. non graphical ). Is this doable >

[systemd-devel] howto system-d non-graphical screen

2013-02-19 Thread lux-integ
greetings, I am interested in learning to use systemd with output to an alphanumeric character screen (i.e. non graphical ). Is this doable without delving into shell programming? Examples, guidance, hints, advice etc would be much appreciated. sincerely luxinteg ___

[systemd-devel] killproc, pidofproc, ExecStop, ExecStart -advice please

2013-02-18 Thread lux-integ
Greetings, I am new to this list and learning to write systemd service scripts. I would like to know if there are equivalents for the shell functions:- killproc() pidofproc() used heavily in init scripts and as described in linuxstandardbase (url below) http://refspecs.linuxbase.org/LSB_3.1