Looking at the changelog, I strongly suspect this bug was introduced by
the patch "pid/status: show all supplementary groups".  Now that more
groups are being returned for a process, ps is unable to handle it.
I'll look at filing a bug with procps, as that may be better than
reverting this patch.

Some links
* https://lists.ubuntu.com/archives/kernel-team/2013-January/024446.html
* https://launchpad.net/ubuntu/precise/+source/linux/3.2.0-38.60

Some sample output from my box where I've duplicated the problem using
local users.

root@alowther-d02:~# uname -a
Linux alowther-d02 3.2.0-36-generic #57-Ubuntu SMP Tue Jan 8 21:44:52 UTC 2013 
x86_64 x86_64 x86_64 GNU/Linux
root@alowther-d02:~# su - user1 -c ps
  PID TTY          TIME CMD
 2586 pts/0    00:00:00 su
 2587 pts/0    00:00:00 sh
 2589 pts/0    00:00:00 ps
root@alowther-d02:~# su - user1 -c "cat /proc/self/status"
Name:   cat
State:  R (running)
Tgid:   2580
Pid:    2580
PPid:   2578
TracerPid:      0
Uid:    1001    1001    1001    1001
Gid:    1351    1351    1351    1351
FDSize: 64
Groups: 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 
1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 
1236 1237
...

After a reboot into 3.2.0-38-generic
root@alowther-d02:~# uname -a
Linux alowther-d02 3.2.0-38-generic #61-Ubuntu SMP Tue Feb 19 12:18:21 UTC 2013 
x86_64 x86_64 x86_64 GNU/Linux
root@alowther-d02:~# su - user1 -c ps
xrealloc: realloc(1073741824) failedCannot allocate memory
root@alowther-d02:~# su - user1 -c "cat /proc/self/status"
Name:   cat
State:  R (running)
Tgid:   2531
Pid:    2531
PPid:   2529
TracerPid:      0
Uid:    1001    1001    1001    1001
Gid:    1351    1351    1351    1351
FDSize: 64
Groups: 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 
1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 
1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 
1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 
1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 
1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 
1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 
1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 1329 1330 1331 
1332 1333 1334 1335 1336 1337 1338 1339 1340 1341 1342 1343 1344 1345 1346 1347 
1348 1349 1350 1351 1353 1354 1355 1356 1357 1358 1359 1360 1361 1362 1363 1364 
1365 1366 1367 1368 1369 1370 1371 1372 1373 1374 1375 1376 1377 1378 1379 1380 
1381 1382 1383 1384 1385 1386 1387
...

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1132789

Title:
  linux-image-3.2.0-38-generic & winbind issue

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1132789/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to