DESTDIR="/home/friesen/rootfs/rootfs0"  strace -orootfs.log  opkg -f "/home/friesen/rootfs/opkg.conf" -o "/home/friesen/rootfs/rootfs0/" install rootfs_1.0.0_armhf.ipk
ââ[$] <> cat rootfs.log| grep run 
lstat("/home/friesen/rootfs/rootfs0///usr/local/var/run", 0x7ffdc16d6f60) = -1 ENOENT (No such file or directory)
stat("/home/friesen/rootfs/rootfs0///usr/local/var/run", 0x7ffdc16d6f40) = -1 ENOENT (No such file or directory)
mkdir("/home/friesen/rootfs/rootfs0///usr/local/var/run", 0777) = 0
chmod("/home/friesen/rootfs/rootfs0///usr/local/var/run", 0755) = 0
creat("/home/friesen/rootfs/rootfs0///usr/local/var/run/opkg.lock", 0640) = 4
lstat("/home/friesen/rootfs/rootfs0//run", 0x7ffdc16d6d40) = -1 ENOENT (No such file or directory)
lstat("/home/friesen/rootfs/rootfs0//var/run", 0x7ffdc16d6d40) = -1 ENOENT (No such file or directory)
connect(6, {sa_family=AF_UNIX, sun_path="/var/run/nscd/socket"}, 110) = -1 ENOENT (No such file or directory)
connect(6, {sa_family=AF_UNIX, sun_path="/var/run/nscd/socket"}, 110) = -1 ENOENT (No such file or directory)
connect(6, {sa_family=AF_UNIX, sun_path="/var/run/nscd/socket"}, 110) = -1 ENOENT (No such file or directory)
connect(6, {sa_family=AF_UNIX, sun_path="/var/run/nscd/socket"}, 110) = -1 ENOENT (No such file or directory)
mkdir("/home/friesen/rootfs/rootfs0/run", 0755) = 0
unlink("/home/friesen/rootfs/rootfs0/var/run") = -1 ENOENT (No such file or directory)
symlink("../run", "/home/friesen/rootfs/rootfs0/var/run") = 0
utimensat(AT_FDCWD, "/home/friesen/rootfs/rootfs0/var/run", [{tv_sec=1543927091, tv_nsec=0} /* 2018-12-04T13:38:11+0100 */, {tv_sec=1541030400, tv_nsec=0} /* 2018-11-01T01:00:00+0100 */], AT_SYMLINK_NOFOLLOW) = 0
utimensat(AT_FDCWD, "/home/friesen/rootfs/rootfs0//run/", [{tv_sec=1543927091, tv_nsec=0} /* 2018-12-04T13:38:11+0100 */, {tv_sec=1541030400, tv_nsec=0} /* 2018-11-01T01:00:00+0100 */], AT_SYMLINK_NOFOLLOW) = 0
chmod("/home/friesen/rootfs/rootfs0//run/", 040755) = 0
lstat("/home/friesen/rootfs/rootfs0//run", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
lstat("/home/friesen/rootfs/rootfs0//run", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
lstat("/home/friesen/rootfs/rootfs0//var/run", {st_mode=S_IFLNK|0777, st_size=6, ...}) = 0
lstat("/home/friesen/rootfs/rootfs0//var/run", {st_mode=S_IFLNK|0777, st_size=6, ...}) = 0
lstat("/home/friesen/rootfs/rootfs0///usr/local/var/run/opkg.lock", {st_mode=S_IFREG|0640, st_size=0, ...}) = 0
unlink("/home/friesen/rootfs/rootfs0///usr/local/var/run/opkg.lock") = 0
ââ[friesen@sumo] - [~/rootfs] - [Tue Dec 04, 13:43]


DESTDIR="/home/friesen/rootfs/rootfs" strace -orootfs0.log         /home/friesen/gitlab/quantumx-master/projects/ppc/ptx-multi/platform-soc/sysroot-host/bin/opkg -f "/home/friesen/rootfs/opkg.conf" -o "/home/friesen/rootfs/rootfs/" install  rootfs_1.0.0_armhf.ipk
ââ[$] <> cat rootfs0.log| grep run  
lstat("/home/friesen/rootfs/rootfs///var/run", 0x7ffd2707e040) = -1 ENOENT (No such file or directory)
stat("/home/friesen/rootfs/rootfs///var/run", 0x7ffd2707e020) = -1 ENOENT (No such file or directory)
mkdir("/home/friesen/rootfs/rootfs///var/run", 0777) = 0
chmod("/home/friesen/rootfs/rootfs///var/run", 0755) = 0
creat("/home/friesen/rootfs/rootfs///var/run/opkg.lock", 0640) = 4
lstat("/home/friesen/rootfs/rootfs//run", 0x7ffd2707de20) = -1 ENOENT (No such file or directory)
lstat("/home/friesen/rootfs/rootfs//var/run", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
lstat("/home/friesen/rootfs/rootfs//var/run", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
lstat("/home/friesen/rootfs/rootfs///var/run/opkg.lock", {st_mode=S_IFREG|0640, st_size=0, ...}) = 0
unlink("/home/friesen/rootfs/rootfs///var/run/opkg.lock") = 0
ââ[friesen@sumo] - [~/rootfs] - [Tue Dec 04, 13:43]


Am Di., 4. Dez. 2018 um 12:58 Uhr schrieb Michael Olbrich <m.olbrich@pengutronix.de>:
On Tue, Dec 04, 2018 at 12:53:14PM +0100, Andreas Friesen wrote:
> Here as attachment config.log files

No attachment?

Anyways, can you run the failing version with 'strace -osomelogfile ...'
und grep for /var/run in the resulting logfile? Anything suspicious there?

Michael

--
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de