SliTaz SliTaz Forum

You are not logged in.

#1 2012-06-03 19:32:11

lexeii
Administrator
Registered: 2012-03-21
Posts: 1,853

What is wrong with slitaz-base-files?

I don't know what actually doing. I worked with slitaz-base-files using mercurial. When I install this project to my regular SliTaz installation, I loose my tux user.

[c]

tux@slitaz:/home/hg/slitaz-base-files$ su

Password:

root@slitaz:/home/hg/slitaz-base-files# make install

Compiling fr mo file...

Compiling ru mo file...

install -m 0755 -d /usr/share/locale

cp -a po/mo/* /usr/share/locale

cp -a rootfs/* /

install -m 0755 -d /usr/share/doc/slitaz

cp -a doc/* /usr/share/doc/slitaz

chown -R root.root /usr/share/doc/slitaz

root@slitaz:/home/hg/slitaz-base-files# exit

@slitaz:/home/hg/slitaz-base-files$ whoami

whoami: unknown uid 1000

@slitaz:/home/hg/slitaz-base-files$ cd

@slitaz:/home/tux$

[/c]

If I log out from system, then I can't log in as tux, only as root.

Thanks I have not "full" install, and all worked as usually after rebooting from my USB-SliTaz.

Offline

#2 2012-06-03 23:59:49

Trixar_za
Administrator
Registered: 2011-03-29
Posts: 1,506

Re: What is wrong with slitaz-base-files?

Sounds like you had a similar day to me yesterday. Never use leafpad to edit /boot/grub/menu.lst - It wiped it and I had to boot SliTaz by hand using grub's command line. The upside? I now know how to do that if I need to and I also now know why it sometimes throws the tainted kernel error (no root= specified), but it was a real pain rewriting the menu.lst from scratch...

Anyway, I have to ask. Why is it chown /usr/share/doc/slitaz to root.root (should be root:root) recursively and why change the user and group to root? Shouldn't all users have access to SliTaz's docs?

Offline

#3 2012-06-04 01:17:44

lexeii
Administrator
Registered: 2012-03-21
Posts: 1,853

Re: What is wrong with slitaz-base-files?

Invaluable experience wink

In a few words, I think that my trouble is a result of meeting stable system with "cooking" "package". Maybe, I need to switch to cooking 'coz I'm always at the edge with my coding.

I want to see diff between stable system and new installed files, but have no time.

Shouldn't all users have access to SliTaz's docs?

You mean read access?

Offline

#4 2012-06-04 01:56:10

Trixar_za
Administrator
Registered: 2011-03-29
Posts: 1,506

Re: What is wrong with slitaz-base-files?

Yes, read access. Forcing user and group to root tends to break access for normal users hmm

Use cooking at your own risk. Incidentally, don't use irqpoll - it breaks avi video rendering speed for high pixel count videos for some reason. Disabling it fixes it again.

Offline

#5 2012-06-04 14:27:31

lexeii
Administrator
Registered: 2012-03-21
Posts: 1,853

Re: What is wrong with slitaz-base-files?

I think chmod 644 solves system documentation read needs of users.

Code with "root.root" is not mine, it's very old. I fix it now, thanks!

I find root of my trouble with installing "slitaz-base-files" from hg. I attached main differences from this file sets.

I'll just not install these "very system wink" files and still on 4.0.

PS: I think, the most right way is to create .tazpkg from this repo and then install it. But, time, time... Always lack of it.

Offline

#6 2012-06-04 20:16:26

pankso
Administrator
Registered: 2026-06-27
Posts: 341
Website

Re: What is wrong with slitaz-base-files?

Hi Aleksej,

Ther is nothing wrong with slitaz-base-files but you should NEVER do a 'make install' directly, it will owerwrite /etc/passwd and other system settings so no root or user account anymore (it install some radicaly minimal auth files), make install is only used for packaging and on upgrade it'a the packages manager who backup/restore any config files.

In slitaz-base-files you can do a 'make install-libtaz' or libpkg but not much more.

Offline

#7 2012-06-04 20:29:32

Trixar_za
Administrator
Registered: 2011-03-29
Posts: 1,506

Re: What is wrong with slitaz-base-files?

Hopefully you mentioned that in the README file.

Offline

#8 2012-06-04 21:02:19

pankso
Administrator
Registered: 2026-06-27
Posts: 341
Website

Re: What is wrong with slitaz-base-files?

Nope I did not :-) Because Aleksej is the first guy who did a 'make install' from the slitaz-base-files Hg repo! But I will and set DESTDIR automaticaly so even with make install it dont break anything...

Offline

Registered users online in this topic: 0, guests: 1
[Bot] ClaudeBot

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.024 seconds, 11 queries executed - Memory usage: 1.54 MiB (Peak: 1.77 MiB) ]