00:21 | GodFather has left IRC (GodFather!~rcc@47.33.250.142, Quit: Ex-Chat) | |
00:22 | GodFather has joined IRC (GodFather!~rcc@47.33.250.142) | |
00:34 | lucascastro has left IRC (lucascastro!~lucas@138.68.106.79, Ping timeout: 248 seconds) | |
01:49 | adrianor1 has joined IRC (adrianor1!~adrianorg@201.22.230.252) | |
01:52 | adrianorg has left IRC (adrianorg!~adrianorg@177.204.151.153.dynamic.adsl.gvt.net.br, Ping timeout: 240 seconds) | |
02:24 | GodFather has left IRC (GodFather!~rcc@47.33.250.142, Ping timeout: 252 seconds) | |
02:47 | pppingme has left IRC (pppingme!~pppingme@unaffiliated/pppingme, Ping timeout: 240 seconds) | |
02:53 | pppingme has joined IRC (pppingme!~pppingme@unaffiliated/pppingme) | |
02:59 | GodFather has joined IRC (GodFather!~rcc@47.33.250.142) | |
04:20 | ogra_ has left IRC (ogra_!~ogra_@p5098ed03.dip0.t-ipconnect.de, Ping timeout: 248 seconds) | |
04:21 | ogra_ has joined IRC (ogra_!~ogra_@p5098ed03.dip0.t-ipconnect.de) | |
04:27 | gehidore has left IRC (gehidore!~username@unaffiliated/man, Ping timeout: 248 seconds) | |
04:30 | gehidore has joined IRC (gehidore!~username@unaffiliated/man) | |
04:49 | lucascastro has joined IRC (lucascastro!~lucas@138.68.106.79) | |
05:09 | GodFather has left IRC (GodFather!~rcc@47.33.250.142, Ping timeout: 252 seconds) | |
05:15 | Statler has joined IRC (Statler!~Georg@p579FE8DE.dip0.t-ipconnect.de) | |
05:40 | GodFather has joined IRC (GodFather!~rcc@47.33.250.142) | |
05:45 | lucascastro has left IRC (lucascastro!~lucas@138.68.106.79, Ping timeout: 252 seconds) | |
05:46 | vagrantc has joined IRC (vagrantc!~vagrant@unaffiliated/vagrantc) | |
05:54 | mikkel has joined IRC (mikkel!~mikkel@mail.dlvs.dk) | |
06:17 | Eric4 has joined IRC (Eric4!~eric@sdi.iut-valence.fr) | |
06:22 | <alkisg> !client-list
| |
06:22 | <ltsp> client-list: to get a list of all nbd-clients (which sometimes is the same as ltsp clients), run: netstat -tn | sed -n 's/.*:10809 *\([0-9.]*\):.*/\1/p' | sort -Vu
| |
06:26 | vagrantc has left IRC (vagrantc!~vagrant@unaffiliated/vagrantc, Quit: leaving) | |
06:32 | ricotz has joined IRC (ricotz!~ricotz@ubuntu/member/ricotz) | |
08:10 | Statler has left IRC (Statler!~Georg@p579FE8DE.dip0.t-ipconnect.de, Remote host closed the connection) | |
08:45 | Statler has joined IRC (Statler!~Georg@p579FE5DE.dip0.t-ipconnect.de) | |
09:23 | GodFather has left IRC (GodFather!~rcc@47.33.250.142, Ping timeout: 252 seconds) | |
09:34 | <tarzeau> ltsp-manager_17.08_all.deb
| |
09:34 | this is the version i got by git download and debuild
| |
09:34 | anything else i can test or try?
| |
09:34 | <alkisg> tarzeau: well, we have a .deb in our ppa
| |
09:34 | You can just use that one
| |
09:34 | Do you have any issues that are unreported or unresolved?
| |
09:34 | <tarzeau> but your .deb is for ubuntu 16.04 ?
| |
09:35 | and i was trying on stretch (that's why i rebuilt the src pkg)
| |
09:35 | <alkisg> It fits for stretch too
| |
09:35 | <tarzeau> yes as root, i run ltsp-manager and nothing happens. it just hangs
| |
09:35 | <alkisg> Not many differences between them...
| |
09:35 | <tarzeau> [ root@methyer:/scratch/ltsp/ >
| |
09:35 | # ltsp-manager
| |
09:35 | <alkisg> Why do you run it as root?
| |
09:35 | <tarzeau> i was told to run it as root?
| |
09:35 | 17:03 < alkisg> tarzeau: about ltsp-manager -h, it works fine if you run it with pkexec or as root as it's supposed to be ran, but it's indeed an issue that -h should bug about that
| |
09:36 | oh wait, after a while a window pops up
| |
09:36 | <alkisg> Wait, the point is to get the -h entry, or to run ltsp-manager?
| |
09:36 | ltsp manager runs from the gui menu
| |
09:36 | <tarzeau> both!
| |
09:36 | <alkisg> This indirectly calls pkexec, which authenticates
| |
09:36 | And if you run ltsp-manager from the gnome/mate etc menu, it doesn't run?
| |
09:36 | Somewhere under the system menu, depending on your DE
| |
09:37 | <tarzeau> the gui hangs. we've got like 1000+ users (ldap/nis)
| |
09:37 | <alkisg> does `time getent passwd username` take a long time?
| |
09:38 | <tarzeau> real 0m0.004s
| |
09:38 | rest 0, 0
| |
09:38 | ypcat passwd |wc -l
| |
09:38 | 7739
| |
09:38 | but only ~1000 +-300 are active
| |
09:39 | but i guess i should run ltsp-manager on the ltsp server anyways, and not just on a standard computer
| |
09:41 | if users are supposed to run it, should it not be in /usr/bin ? it's in /usr/sbin which my users PATH doesn't point to
| |
09:41 | ah and -h works. it just hangs the same amount of time until the gui appears
| |
09:42 | it would make sense to really display the help, without a # time ltsp-manager -h
| |
09:42 | (going to tell you how much i have to wait for some stdout letters)
| |
09:42 | real 0m27.362s
| |
09:42 | user 0m2.128s
| |
09:42 | sys 0m1.784s
| |
09:42 | half a minute
| |
09:43 | and as a user, i get a traceback for -v soemthing about: twisted.python._inotify.INotifyError: Failed to add watch on ''/etc/shadow'' - (-1)
| |
09:46 | edit lts.conf opens the wrong lts.conf here, the one from /var/lib/tftpboot/ltsp/i386 instead of the one amd64/lts.conf
| |
09:46 | complete Groups/Users is unusable here, since we have our users in nis/ldap
| |
09:48 | the application relies on the window maker to have a quit button, but it should provide a file,exit/quit
| |
09:48 | <alkisg> Users aren't supposed to run ltsp manager
| |
09:48 | <tarzeau> other than that, probably great
| |
09:49 | <alkisg> It's a sysadmin thing
| |
09:49 | bbiab
| |
09:55 | <tarzeau> now i get it! if run as root, this dialog:
| |
09:55 | === AUTHENTICATING FOR org.ltsp.ltsp-manager ===
| |
09:55 | Authentication is required to run LTSP Manager.
| |
09:55 | Authenticating as: root
| |
09:55 | is from pkexec, trying to authenticate as root
| |
09:56 | since we have a bit a different way of becoming root (no root ssh logins, and no local root logins without usb key 2factor) it doesn't work, unless fixing pam configurations
| |
09:56 | that is why i can just launch it as root, and then it works, what the 30 second delay at startup causes, not sure. if you want to improve i can try to run it with strace/ltrace to figure out
| |
10:01 | <alkisg> back
| |
10:01 | tarzeau: /usr/sbin is the normal path for system programs, like ltsp-update-image etc
| |
10:01 | It's in the path when you're a sudoer
| |
10:02 | The best way to launch it is from the gui menu which invokes pkexec
| |
10:02 | If you want to launch it from the command line without being a sudoer, then, as a *user* run: /usr/sbin/ltsp-manager
| |
10:02 | Eric4 has left IRC (Eric4!~eric@sdi.iut-valence.fr, Ping timeout: 255 seconds) | |
10:02 | <alkisg> It will invoke pkexec and authenticate as needed
| |
10:03 | About the big delay, it sounds like a problem in your setup, it doesn't sound ltsp-manager related
| |
10:03 | <tarzeau> the dialog i got, was just not very clear to me, that was why i was confused
| |
10:03 | <alkisg> Editing lts.conf should open *all* lts.conf that are there
| |
10:03 | Not the first one, but all of them
| |
10:03 | pkexec is the recommended method for applications to run as root, while respecting policykit
| |
10:04 | If you find the point which causes the 30 sec delay, and it's related to ltsp manager, then sure I can put patches or workarounds
| |
10:05 | <tarzeau> can't strace/ltrace python code properly, but it kind of keeps hanging at:
| |
10:05 | close(-1) = -1 EBADF (Bad file descriptor)
| |
10:05 | wait4(-1, 0x7fffbbb1784c, 0, NULL) = ? ERESTARTSYS (To be restarted if SA_RESTART is set)
| |
10:05 | --- SIGWINCH {si_signo=SIGWINCH, si_code=SI_KERNEL} ---
| |
10:05 | wait4(-1, ^Cstrace: Process 21676 detached
| |
10:05 | <detached ...>
| |
10:05 | it seems you are nohuping/forking processes to launch stuff
| |
10:05 | ltsp-manager starts ltsp-manager.py
| |
10:05 | <alkisg> strace -f attaches to child processes
| |
10:05 | <tarzeau> which does other stuff.
| |
10:06 | ack... a lot more output now
| |
10:06 | <alkisg> Need to go for now, will read logs when I come back, and reply then
| |
10:06 | <tarzeau> it seems to open /etc/group a million times
| |
10:06 | <alkisg> Probably enumerates through the users
| |
10:07 | File a bug report for a dev to test with e.g. 1000 user accounts
| |
10:07 | <tarzeau> but it always only shows: [pid 5496] open("/etc/group", O_RDONLY|O_CLOEXEC) = 11
| |
10:07 | then closes it again
| |
10:07 | <alkisg> Btw, running ltsp-manager elsewhere than the ltsp server doesn't make much sense
| |
10:07 | Yeah it just reads a user, then reads the next one etc
| |
10:07 | <tarzeau> but here it only reads the first one
| |
10:07 | and then something with /var/run/nslcd/socket happens
| |
10:07 | <alkisg> bbl, will reply then...
| |
10:08 | <tarzeau> cu
| |
10:08 | Eric4 has joined IRC (Eric4!~eric@sdi.iut-valence.fr) | |
10:09 | <tarzeau> # find . -name lts.conf
| |
10:09 | ./ltsp/amd64/lts.conf
| |
10:09 | ./ltsp/i386/lts.conf
| |
10:09 | making sure if we have the amd64/lts.conf indeed, however ltsp-manager only opened the i386/lts.conf in gedit, not the one we really use. the ohter one is a left over, not being used anymore
| |
10:28 | antares_ has joined IRC (antares_!c1929682@gateway/web/freenode/ip.193.146.150.130) | |
10:29 | <antares_> hello all. Is it possible to make a backup of a chroot from a ltsp running machine and put it in another ltsp machine?
| |
10:29 | machine=server
| |
10:50 | <vlt> antares_: Well, what stops you from exactly doing what you described?
| |
10:51 | lucascastro has joined IRC (lucascastro!~lucas@138.68.106.79) | |
10:51 | GodFather has joined IRC (GodFather!~rcc@96-92-43-9-static.hfc.comcastbusiness.net) | |
11:08 | lucascastro has left IRC (lucascastro!~lucas@138.68.106.79, Remote host closed the connection) | |
11:08 | lucascastro has joined IRC (lucascastro!~lucas@138.68.106.79) | |
11:13 | Eric4 has left IRC (Eric4!~eric@sdi.iut-valence.fr, Ping timeout: 240 seconds) | |
11:17 | lucascastro has left IRC (lucascastro!~lucas@138.68.106.79, Remote host closed the connection) | |
11:42 | GodFather has left IRC (GodFather!~rcc@96-92-43-9-static.hfc.comcastbusiness.net, Ping timeout: 252 seconds) | |
11:45 | lucascastro has joined IRC (lucascastro!~lucas@138.185.108.51) | |
11:58 | lucascastro has left IRC (lucascastro!~lucas@138.185.108.51, Read error: Connection reset by peer) | |
12:00 | antares_ has left IRC (antares_!c1929682@gateway/web/freenode/ip.193.146.150.130, Quit: Page closed) | |
12:09 | isouliotis has joined IRC (isouliotis!02545c8e@gateway/web/freenode/ip.2.84.92.142) | |
12:10 | isouliotis has left IRC (isouliotis!02545c8e@gateway/web/freenode/ip.2.84.92.142) | |
12:10 | eu^ppp-2-84-92-1 has joined IRC (eu^ppp-2-84-92-1!02545c8e@gateway/web/freenode/ip.2.84.92.142) | |
12:11 | eu^ppp-2-84-92-1 has left IRC (eu^ppp-2-84-92-1!02545c8e@gateway/web/freenode/ip.2.84.92.142) | |
12:14 | Eric4 has joined IRC (Eric4!~eric@sdi.iut-valence.fr) | |
12:53 | q9 has joined IRC (q9!~guido@p5DD6EB9F.dip0.t-ipconnect.de) | |
12:55 | <q9> Hi, if put my private ssh-key into ~root/.ssh/id_rsa ldm finds an uses it. But where do I put the key of a second user?
| |
13:37 | <alkisg> q9: what are you trying to do?
| |
13:37 | Autologin with ssh keys?
| |
13:38 | tarzeau: doesn't ltsp-manager open all lts.conf for you? It executes this, which is supposed to open all: for f in glob.glob('/var/lib/tftpboot/ltsp/*/lts.conf'): self.edit_file(f)
| |
13:39 | Maybe gedit opened them in 2 tabs, and you didn't see the first tab?
| |
13:39 | <tarzeau> maybe, let me retry
| |
13:39 | alkisg: that's python, right?
| |
13:40 | <alkisg> Yes, in ltsp-manager.py
| |
13:40 | <tarzeau> however at starting ltsp-manager, i keep getting the window "Initial LTSP setup" You need to run the initial ltsp setup actions.
| |
13:41 | indeed, two tabs
| |
13:41 | gee that gedit is ugly
| |
13:43 | <alkisg> tarzeau: that window will keep nagging you until you accept it :)
| |
13:43 | <tarzeau> why does it open firefox as root, for the help/live chat?
| |
13:43 | <alkisg> I didn't implement an ignore option yet, and I'm not sure it's needed
| |
13:43 | <tarzeau> alkisg: what does it do if i accept it? break my ltsp servers?
| |
13:43 | <alkisg> Because you run it as root instead of from the menu with pkexec
| |
13:43 | <tarzeau> i guess it's great to setup and get running an ltsp server
| |
13:43 | <alkisg> less /usr/share/ltsp-manager/initial-setup.sh to see
| |
13:44 | <tarzeau> but our setup is well, different. two ltsp servers, with glusterfs
| |
13:44 | 2 dhcp servers, and additionally an rdp windows server
| |
13:45 | you should add checks before trying to service network-manager whatever, if network-manager is installed at all (we don't have it)
| |
13:45 | likewise for dnsmasq (we have it though, nobody is required to have it)
| |
13:49 | here's some strace -f output: https://people.phys.ethz.ch/~myczko/ltsp/ltsp-manager-strace-f.log
| |
13:49 | maybe you have an idea looking at it, what causes ltsp-manager to take 30 seconds to start
| |
13:50 | indeed reading in all the users
| |
13:51 | time ypcat passwd > /dev/null
| |
13:51 | ypcat passwd > /dev/null 0.00s user 0.00s system 4% cpu 0.098 total
| |
13:52 | however using ypcat passwd to get the users is way faster, than i have no idea how you read them. getent?
| |
13:52 | time getent passwd > /dev/null
| |
13:52 | getent passwd > /dev/null 0.02s user 0.00s system 0% cpu 2.845 total
| |
13:52 | no idea why getent is way much slower
| |
14:00 | lucascastro has joined IRC (lucascastro!~lucas@177.84.109.246) | |
14:17 | mikkel has left IRC (mikkel!~mikkel@mail.dlvs.dk, Quit: Leaving) | |
14:19 | <alkisg> tarzeau: ltsp-manager is for setting up ltsp in small labs, with posix accounts etc
| |
14:19 | You have a large setup without dnsmasq, with ldap, etc etc, clearly ltsp-manager isn't for you
| |
14:19 | ltsp-manager is for implementing a small, recommended setup. If we add checks for everything, it's not the small recommended setup anymore
| |
14:20 | I read them with getent, yes
| |
14:22 | <tarzeau> but even just getent on the console only takes < 3 seconds, while ltsp-manager users almost 30 seconds
| |
14:22 | anyways. yes i figured it's not for me/us, i just gave it a short try, what could it do, and what not
| |
14:23 | kjackal_ has left IRC (kjackal_!~quassel@2a02:587:310f:3a00:4897:4bba:e337:5a2e, Ping timeout: 240 seconds) | |
14:23 | <tarzeau> what i wonder is will you make the ltsp-manager, also a user-manager (without ltsp), just for posix accounts?
| |
14:23 | because i couldn't find any useful graphical useramanager, working with /etc/passwd,shadow,group
| |
14:23 | (because i was writing one, well wanted to 10 years ago, and now, really writing it, although using gnustep-gui/applicationkit.h)
| |
14:24 | kjackal_ has joined IRC (kjackal_!~quassel@2a02:587:310f:3a00:749f:27a3:434f:190b) | |
14:29 | fitzman has joined IRC (fitzman!4a7b4a42@gateway/web/freenode/ip.74.123.74.66) | |
14:30 | Chap has joined IRC (Chap!4a7b4a42@gateway/web/freenode/ip.74.123.74.66) | |
14:30 | <fitzman> Hello, I have deployed ubuntu 14.04, after chroot update I have some users that can login fine and a few just spin and come to login screen
| |
14:32 | sorry can not login after the update. everyone else is fine. The users are valid user and worked before. The system auths the account fine just fails for there xsession
| |
14:33 | adrianor1 is now known as adrianorg | |
14:42 | <alkisg> fitzman: do you have the greek schools ppa in your sources?
| |
14:42 | !greek-schools-ppa
| |
14:42 | <ltsp> greek-schools-ppa: https://launchpad.net/~ts.sch.gr/+archive/ppa/ supports LTS Ubuntu releases with newer LTSP versions, bug fixes etc
| |
14:43 | <alkisg> fitzman: ltsp in ubuntu is usually broken without it...
| |
14:44 | tarzeau: no, not interested in maintaining a user manager outside of ltsp currently...
| |
14:48 | lucas__ has joined IRC (lucas__!~lucas@177.84.109.246) | |
14:50 | lucascastro has left IRC (lucascastro!~lucas@177.84.109.246, Ping timeout: 240 seconds) | |
14:50 | Chap has left IRC (Chap!4a7b4a42@gateway/web/freenode/ip.74.123.74.66, Ping timeout: 260 seconds) | |
14:52 | forum has joined IRC (forum!~Thunderbi@212-183-52-1.adsl.highway.telekom.at) | |
14:54 | vagrantc has joined IRC (vagrantc!~vagrant@unaffiliated/vagrantc) | |
14:55 | q9 has left IRC (q9!~guido@p5DD6EB9F.dip0.t-ipconnect.de, Quit: leaving) | |
14:56 | forum has left IRC (forum!~Thunderbi@212-183-52-1.adsl.highway.telekom.at, Client Quit) | |
15:03 | lucas__ has left IRC (lucas__!~lucas@177.84.109.246, Remote host closed the connection) | |
15:03 | lucas__ has joined IRC (lucas__!~lucas@177.84.109.246) | |
15:06 | <alkisg> tarzeau: but, if such a good user manager existed, then ltsp-manager code would be a lot smaller :)
| |
15:15 | lucas__ has left IRC (lucas__!~lucas@177.84.109.246, Ping timeout: 240 seconds) | |
16:13 | lucascastro has joined IRC (lucascastro!~lucas@138.68.106.79) | |
16:33 | lucascastro has left IRC (lucascastro!~lucas@138.68.106.79, Remote host closed the connection) | |
17:47 | kjackal_ has left IRC (kjackal_!~quassel@2a02:587:310f:3a00:749f:27a3:434f:190b, Ping timeout: 255 seconds) | |
17:53 | Eric4 has left IRC (Eric4!~eric@sdi.iut-valence.fr, Ping timeout: 248 seconds) | |
18:04 | GodFather has joined IRC (GodFather!~rcc@untangle.binsons.com) | |
18:21 | fitzman has left IRC (fitzman!4a7b4a42@gateway/web/freenode/ip.74.123.74.66, Ping timeout: 260 seconds) | |
18:41 | Statler has left IRC (Statler!~Georg@p579FE5DE.dip0.t-ipconnect.de, Remote host closed the connection) | |
19:17 | fnurl has joined IRC (fnurl!~fnurl@111-241-57-174.dynamic-ip.hinet.net) | |
19:19 | fnurl_c has left IRC (fnurl_c!~fnurl@111-241-59-207.dynamic-ip.hinet.net, Ping timeout: 240 seconds) | |
19:20 | ABIX_Adamj has left IRC (ABIX_Adamj!~quassel@2a01:7c8:aab0:3d9:5054:ff:fed3:602b, Remote host closed the connection) | |
21:34 | GodFather has left IRC (GodFather!~rcc@untangle.binsons.com, Ping timeout: 240 seconds) | |
21:42 | ricotz has left IRC (ricotz!~ricotz@ubuntu/member/ricotz, Quit: Leaving) | |