Uselessd ("useless daemon")

If you are looking for a specific 64-bit package and you can't find it in any of the 64-bit repos, please post a request for it here
beny
Full of knowledge
Full of knowledge
Posts: 2215
Joined: 02 Jan 2011, 11:33
Location: italy

Re: Uselessd

Post#1 by beny » 17 Feb 2015, 16:59

hi maybe i am wrong but slackware and also porteus do not support systemd yet.

User avatar
ncmprhnsbl
DEV Team
DEV Team
Posts: 4124
Joined: 20 Mar 2012, 03:42
Distribution: v5.0-64bit
Location: australia
Contact:

Re: Uselessd

Post#2 by ncmprhnsbl » 18 Feb 2015, 01:30

blue4meridian wrote:I tried to convert the .tar.gz package to .xzm unsuccessfully
Its easy to confuse a source package.tar.gz with a slackware package.tar.gz.
With a source package, you must unpack it and compile(the readme is sometimes helpful)and package.
In the dev.xzm, there is a program called 'source2pkg', which can, sometimes, do this automaticly(once build dependencies are met)

although 'uselessd' looks interesting, in the case of porteus/slackware, you would be replacing sysvinit and init scripts, not systemd, which is not present.
Forum Rules : https://forum.porteus.org/viewtopic.php?f=35&t=44

User avatar
brokenman
Site Admin
Site Admin
Posts: 6105
Joined: 27 Dec 2010, 03:50
Distribution: Porteus v4 all desktops
Location: Brazil

Re: Uselessd

Post#3 by brokenman » 24 Feb 2015, 14:29

I admire your persistence. What you are asking is certainly possible but it is a big job. I imagine uselessd won't run unless the system has been started with systemd. This requires compiling all of systemd and it's dependencies and then porting all of Porteus' sysvinit scripts to systemd and then tweaking the Porteus initrd. Like I said, it's not impossible but I doubt that anyone is going to fulfill this request just to provide a useless daemon (pun intended). I would move on from this project. I don't mean to knock the wind out of your sails, just saving you a ton of time and frustration based on my experience.

Having said the above, I am running systemd on a Porteus hybrid system and it runs fine. I made it to satisfy my itch to try out systemd.
How do i become super user?
Wear your underpants on the outside and put on a cape.

User avatar
wread
Module Guard
Module Guard
Posts: 1256
Joined: 09 Jan 2011, 18:48
Distribution: Porteus v5.0-kde-64 bits
Location: Santo Domingo
Contact:

Re: Uselessd

Post#4 by wread » 24 Feb 2015, 15:58

@brokenman

Hi Jay, is that systemd a big package (38.7 MB) that I - and I don't know what for- newly compiled (systemd-218-i486-1wre.xzm) for Porteus?

So gut as it may be as replacement of init, I find it too big for a Portable system... and the end effect is no different..

There must be an alternative application for "Uselessd", or not?

Regards!
Porteus is proud of the FASTEST KDE ever made.....(take akonadi, nepomuk and soprano out and you will have a decent OS).
The Porteus Community never sleeps!

User avatar
brokenman
Site Admin
Site Admin
Posts: 6105
Joined: 27 Dec 2010, 03:50
Distribution: Porteus v4 all desktops
Location: Brazil

Re: Uselessd

Post#5 by brokenman » 25 Feb 2015, 01:17

uselessd as a simple init is exactly what it is called. Useless. Why not just stick with openrc or sysvinit. Tried and proven. I admire to a degree what systemd does BECAUSE it is more than an init. It can live inside or interact with initrd.xz and it takes care of so much more than just booting. Others may find this intrusive and perhaps they are right. In any case, I have a portable lightweight version. My lxde hybrid with sytemd weighs in at 104Mb with locales and docs stripped. Is that lightweight enough?

Blue4meridian, if you go ahead with this I am at your disposal to answer any questions within my knowledge. In 1980 I was just nipper playing asteroids on a sega console. Kudos to you.
How do i become super user?
Wear your underpants on the outside and put on a cape.

cttan
Shogun
Shogun
Posts: 333
Joined: 26 Jan 2011, 16:15
Distribution: Porteus 3.2 and 4.0 64bit KDE
Location: Malaysia

Re: Uselessd

Post#6 by cttan » 26 Feb 2015, 01:23

Hi brokenman,

Is there a link to any lightweight systemd ISO from any distro available online?
If not, could you pls share your 104MB LXDE or LXQt ISO file?

I would like to understand more about this commotion on systemd vs sysV. :D

cttan
Shogun
Shogun
Posts: 333
Joined: 26 Jan 2011, 16:15
Distribution: Porteus 3.2 and 4.0 64bit KDE
Location: Malaysia

Re: Uselessd

Post#7 by cttan » 26 Feb 2015, 02:17

Hi brokenman,

Nevermind. I have downloaded virtual appliance NixOS from here:-
http://nixos.org/nixos/download.html

It is a systemd distro.

beny
Full of knowledge
Full of knowledge
Posts: 2215
Joined: 02 Jan 2011, 11:33
Location: italy

Re: Uselessd

Post#8 by beny » 27 Feb 2015, 16:30

sorry the make give this:
LN docs/html/man
GEN man/systemd.index.xml
Traceback (most recent call last):
File "tools/make-man-index.py", line 136, in <module>
f.write(xml_print(make_page(*sys.argv[2:])))
File "tools/make-man-index.py", line 128, in make_page
add_letter(template, letter, index[letter])
File "tools/make-man-index.py", line 95, in add_letter
for info in sorted(pages, key=lambda info: str.lower(info[0])):
File "tools/make-man-index.py", line 95, in <lambda>
for info in sorted(pages, key=lambda info: str.lower(info[0])):
TypeError: descriptor 'lower' requires a 'str' object but received a 'unicode'
make[2]: *** [man/systemd.index.xml] Errore 1
make[2]: *** Eliminazione del file «man/systemd.index.xml»
make[1]: *** [all-recursive] Errore 1
make: *** [all] Errore 2
error 1 and 2, so the fake package isn't possible to do sorry

Post Reply