Displaying #traffic-server/2015-12-07.log:

Mon Dec 7 00:16:52 2015  biilmann:Joined the channel
Mon Dec 7 00:58:35 2015  biilmann:Joined the channel
Mon Dec 7 01:41:05 2015  biilmann:Joined the channel
Mon Dec 7 02:47:52 2015  biilmann:Joined the channel
Mon Dec 7 03:14:49 2015  gancho:Joined the channel
Mon Dec 7 03:25:01 2015  ibrezac:Joined the channel
Mon Dec 7 03:26:14 2015  gancho:Joined the channel
Mon Dec 7 03:42:11 2015  biilmann:Joined the channel
Mon Dec 7 03:59:13 2015  gancho:Joined the channel
Mon Dec 7 04:02:28 2015  biilmann:Joined the channel
Mon Dec 7 04:14:15 2015  es:Joined the channel
Mon Dec 7 04:18:56 2015  ibrezac:Joined the channel
Mon Dec 7 04:52:10 2015  gancho:Joined the channel
Mon Dec 7 06:13:36 2015  slx86:Joined the channel
Mon Dec 7 06:20:01 2015  BlackCobra:Joined the channel
Mon Dec 7 06:28:24 2015  biilmann:Joined the channel
Mon Dec 7 06:33:24 2015  biilmann:Joined the channel
Mon Dec 7 06:56:21 2015  _klk_:Joined the channel
Mon Dec 7 06:58:10 2015  briang:zwoop, the python tests don't seem to run
Mon Dec 7 06:58:19 2015  briang:any idea how long that's been the case
Mon Dec 7 07:14:39 2015  gancho:Joined the channel
Mon Dec 7 07:49:47 2015  dxu:briang: Around halloween iirc
Mon Dec 7 07:50:11 2015  dxu:I was looking into it for a while and I think I narrowed it down to ats not starting up or something
Mon Dec 7 07:50:25 2015  dxu:I assume you're talking about the tsqa stuff right?
Mon Dec 7 09:13:34 2015  Lethalman:Joined the channel
Mon Dec 7 09:23:49 2015  gancho:Joined the channel
Mon Dec 7 10:07:10 2015  gancho:Joined the channel
Mon Dec 7 10:25:39 2015  briang:dxu, yes correct.
Mon Dec 7 10:49:44 2015  niq:Joined the channel
Mon Dec 7 12:11:16 2015  JSeymour:Joined the channel
Mon Dec 7 14:38:41 2015  ibrezac:Joined the channel
Mon Dec 7 15:10:34 2015  niq:Joined the channel
Mon Dec 7 15:11:06 2015  bahumbug:Joined the channel
Mon Dec 7 15:12:15 2015  esproul:Joined the channel
Mon Dec 7 15:19:11 2015  BlackCobra:Joined the channel
Mon Dec 7 15:31:02 2015  danielxu:Joined the channel
Mon Dec 7 15:40:34 2015  zwoop:briang no idea, tsqa is mostly abandoned I think :/
Mon Dec 7 16:13:55 2015  swoc:Joined the channel
Mon Dec 7 16:40:14 2015  bcall:jpeach: I have never done it before
Mon Dec 7 16:40:22 2015  bcall:jpeach: are you dual booting?
Mon Dec 7 16:44:22 2015  jpeach:yeh, grub2 thinks it knows how to dual boot but is actually unable to boot OS X
Mon Dec 7 16:44:54 2015  jpeach:closing the lid seems to put it into an unwakeable sleep :(
Mon Dec 7 16:45:21 2015  bcall:yeah, that is not good - why dual boot vs using a vm?
Mon Dec 7 16:46:43 2015  jpeach:I figured native would let me do something useful wrt performance
Mon Dec 7 16:46:59 2015  jpeach:also I can run kvm
Mon Dec 7 16:47:37 2015  jpeach:the gnome UI seems generally worse and less responsive than OS X, but I can probably live with it
Mon Dec 7 16:48:15 2015  jpeach:can't find a graphical vm in fedora anymore :(
Mon Dec 7 16:57:40 2015  danielxu:booo gnome is #1
Mon Dec 7 16:57:49 2015  es:Joined the channel
Mon Dec 7 16:58:39 2015  jpeach:haha
Mon Dec 7 16:59:14 2015  jpeach:trackpad responsiveness is a lot worse than OS X ... maybe I shoulda got a thinkpad, but I had a macbook discount :)
Mon Dec 7 17:01:32 2015  es1:Joined the channel
Mon Dec 7 17:19:30 2015  bahumbug:Joined the channel
Mon Dec 7 17:19:52 2015  niq:Joined the channel
Mon Dec 7 17:30:12 2015  biilmann:Joined the channel
Mon Dec 7 17:34:01 2015  jpeach:bcall: TS-4057 for 6.0.1?
Mon Dec 7 17:44:28 2015  blattj:Joined the channel
Mon Dec 7 18:28:18 2015  es:Joined the channel
Mon Dec 7 18:29:57 2015  blattj:Joined the channel
Mon Dec 7 18:30:29 2015  gancho:Joined the channel
Mon Dec 7 18:51:06 2015  swoc:zwoop - ping
Mon Dec 7 19:13:52 2015  shinrich1:Joined the channel
Mon Dec 7 19:17:58 2015  shinrich1:Joined the channel
Mon Dec 7 19:18:05 2015  jumby:Joined the channel
Mon Dec 7 19:21:10 2015  Humbedooh:swoc: why not swooc and make the confusion complete
Mon Dec 7 19:21:41 2015  swoc:I think "Humbedoh" would be more confusing.
Mon Dec 7 19:22:04 2015  Humbedoh:Definitely.
Mon Dec 7 19:22:10 2015  Humbedooh::p
Mon Dec 7 19:22:32 2015  yamc:let's try this, then.
Mon Dec 7 19:22:35 2015  Humbedooh:or maybe thatVestGuy
Mon Dec 7 19:23:31 2015  Humbedooh:counts down til the next conf call...
Mon Dec 7 19:23:49 2015  yamc:Wait, you have time to count down between them? That's just wrong.
Mon Dec 7 19:24:37 2015  Humbedooh:yes, a whole 6 minutes!
Mon Dec 7 19:25:00 2015  yamc:That's like a day at non-infra speed, right?
Mon Dec 7 19:26:13 2015  Humbedooh:enough time to play this elevator music a few more times
Mon Dec 7 19:36:58 2015  biilmann:Joined the channel
Mon Dec 7 19:48:22 2015  danielxu:Can somone assign TS-4058 to me (Daniel Xu)?
Mon Dec 7 19:52:55 2015  jumby:Joined the channel
Mon Dec 7 19:53:55 2015  jumby:Joined the channel
Mon Dec 7 19:58:02 2015  zwoop:yamc pong
Mon Dec 7 20:31:13 2015  shinrich1:Joined the channel
Mon Dec 7 20:38:56 2015  niq:Joined the channel
Mon Dec 7 20:39:06 2015  bahumbug:Joined the channel
Mon Dec 7 21:04:05 2015  reveller:Joined the channel
Mon Dec 7 21:23:39 2015  shinrich1:Joined the channel
Mon Dec 7 21:29:00 2015  swoc:Joined the channel
Mon Dec 7 21:34:59 2015  yamc:Joined the channel
Mon Dec 7 21:39:01 2015  yamc:Did you look at my pull request for auto_ptr?
Mon Dec 7 21:39:07 2015  zwoop:me ?
Mon Dec 7 21:39:11 2015  yamc:Yes.
Mon Dec 7 21:39:17 2015  zwoop:nope, but I can!
Mon Dec 7 21:39:27 2015  zwoop:I'm like your government, I'm here to help!
Mon Dec 7 21:39:33 2015  yamc:briang - ping
Mon Dec 7 21:39:43 2015  zwoop:rofl
Mon Dec 7 21:42:34 2015  zwoop:I have to remember this trick to get our of reviews
Mon Dec 7 21:58:35 2015  bcall:TS-4057
Mon Dec 7 21:59:00 2015  bcall:jpeach: is TS-4057 really needed?
Mon Dec 7 21:59:17 2015  jpeach:in what sense?
Mon Dec 7 21:59:47 2015  biilmann:Joined the channel
Mon Dec 7 22:00:41 2015  es1:Joined the channel
Mon Dec 7 22:01:01 2015  bcall:how long has this been an issue? - doesn't seem like it that big of an issue
Mon Dec 7 22:01:04 2015  yamc:bcall - DanTern was working on that and it was failing because of a return of EACCES instead of EPERM.
Mon Dec 7 22:01:39 2015  yamc:It came up as part of the log rotation fix, where it tries without elevation and if that doesn't work due to access rights, it retries with elevated priviledges.
Mon Dec 7 22:02:07 2015  bcall:log rotation isn't in 6.0.0 to my knowledge
Mon Dec 7 22:02:14 2015  yamc:AFAICT from my research on the subject, EACCES is the correct response but EPERM is the more common case.
Mon Dec 7 22:02:25 2015  yamc:Oh, you're asking about a back port.
Mon Dec 7 22:02:34 2015  yamc:Never mind.
Mon Dec 7 22:02:35 2015  bcall:yes, to 6.0.1
Mon Dec 7 22:02:40 2015  bcall:yeah, I wouldn't think so
Mon Dec 7 22:02:50 2015  yamc:I thought you meant in general.
Mon Dec 7 22:03:03 2015  jpeach:yeh I don't care about a backport, just suggesting it as a candidate
Mon Dec 7 22:03:11 2015  bcall:going to get some lunch - been flying today
Mon Dec 7 22:03:24 2015  jpeach:it's isolated and useful so maybe that is good enough
Mon Dec 7 22:48:43 2015  danielxu:jpeach: Do you have any suggestions on how to detect if TS has sudo rights?
Mon Dec 7 22:49:11 2015  jpeach:need to look at it but my first reaction is we shouldn't do that
Mon Dec 7 22:49:19 2015  danielxu:Do what?
Mon Dec 7 22:49:24 2015  jpeach:why did you need to Elevate in the first place?
Mon Dec 7 22:49:38 2015  danielxu:So we can create files in var/log/trafficserver
Mon Dec 7 22:50:03 2015  danielxu:I don't think the Elevate part can be avoided at all
Mon Dec 7 22:50:20 2015  jpeach:that directory is supposed to be owned by the traffic server useer
Mon Dec 7 22:50:57 2015  danielxu:Are you sure? The files all say they're owned by nobody
Mon Dec 7 22:52:22 2015  jpeach:nobody is the default ATS user though
Mon Dec 7 22:52:31 2015  jpeach:I'm not 100% positive but relatively sure :)
Mon Dec 7 22:52:46 2015  jpeach:checking "am I root" is a path I would like to avoid
Mon Dec 7 22:54:00 2015  danielxu:The other option we have is to just try the syscalls without elevating, and if it doesn't work we elevate
Mon Dec 7 22:54:39 2015  danielxu:But I think that's a lot of extra code for answering the "am i root" question
Mon Dec 7 22:54:57 2015  jpeach:this is not a direction we want to go it
Mon Dec 7 22:55:08 2015  zwoop:jpeach is right, I'm fairly certain
Mon Dec 7 22:55:27 2015  jpeach:the direction we should be moving towards is running traffic_server permanently as an unprivileged user
Mon Dec 7 22:55:31 2015  shinrich1:Joined the channel
Mon Dec 7 22:55:45 2015  jpeach:flipping up and down takes us farther from that goal
Mon Dec 7 22:56:15 2015  jpeach:I think it might be wrong for TS-306 to Elevate in the first place ...
Mon Dec 7 22:59:38 2015  shinrich1:Joined the channel
Mon Dec 7 23:01:27 2015  danielxu:I'm not 100% sure how all the different permissions with TS interact, but my impression was that if I didn't elevate, it would spit out permission errors
Mon Dec 7 23:02:14 2015  danielxu:But technically Elevate isn't getting us sudo, it's just giving giving us certain file capabilities
Mon Dec 7 23:38:08 2015  jpeach:I still think that the best alternative is to not elevate at all ...

Comments